@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #0b0b0f;
  --panel: #14141d;
  --text: #f5f5f7;
  --muted: #b3b3b3;
  --accent: #e50914;
  --accent-2: #ffb347;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.app {
  min-height: 100vh;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: linear-gradient(180deg, rgba(11, 11, 15, 0.95) 0%, rgba(11, 11, 15, 0.4) 100%);
  backdrop-filter: blur(12px);
}

.logo {
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--accent);
  font-size: 20px;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--text);
  min-width: 220px;
}

.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-2);
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 70vh;
  padding: 160px 48px 80px;
  background: url("https://images.unsplash.com/photo-1524985069026-dd778a71c7b4?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 11, 15, 0.9) 0%, rgba(11, 11, 15, 0.4) 60%, rgba(11, 11, 15, 0.95) 100%);
}

.hero-content {
  position: relative;
  max-width: 560px;
  z-index: 1;
}

.tag {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 56px;
  margin: 0 0 12px;
}

.hero p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin: 24px 0 12px;
}

button {
  cursor: pointer;
}

.primary,
.secondary,
.accent {
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
}

.primary {
  background: white;
  color: #111;
}

.secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text);
}

.accent {
  background: var(--accent);
  color: white;
}

.meta {
  font-size: 12px;
  color: var(--muted);
}

.rows {
  padding: 32px 48px 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.row h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.row-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.card {
  background: var(--panel);
  border-radius: 12px;
  min-height: 200px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 55%);
}

.card-title {
  font-weight: 600;
  z-index: 1;
}

.card-meta {
  font-size: 12px;
  color: var(--muted);
  z-index: 1;
}

.footer {
  padding: 24px 48px 64px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--panel);
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.toast.error {
  border-color: rgba(229, 9, 20, 0.6);
  color: #f4d9dc;
}

.hidden {
  display: none;
}

@media (max-width: 1024px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .search {
    min-width: 160px;
  }

  .hero {
    padding: 140px 32px 60px;
  }

  .rows {
    padding: 24px 32px 48px;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 40px;
  }
}
