:root {
  --bg: #0a0e1a;
  --bg-2: #0d1320;
  --card: #131a2b;
  --card-2: #182138;
  --text: #eef2fb;
  --muted: #9aa6c2;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #f59e0b;
  --accent-2: #6366f1;
  --radius: 18px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 50% -10%, #11192c 0%, var(--bg) 55%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* Background decoration */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(900px 700px at 50% 0%, #000 30%, transparent 75%);
  z-index: -2;
}

.bg-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.bg-glow--one { top: -160px; left: -120px; background: #6366f1; }
.bg-glow--two { top: 220px; right: -160px; background: #f59e0b; opacity: 0.28; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(10, 14, 26, 0.6);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #e63946, #c1121f);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.brand__text {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  color: var(--text);
  max-width: 160px;
}

.brand__text span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}

.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }

.nav__cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #1a1206 !important;
  font-weight: 700 !important;
}
.nav__cta:hover { filter: brightness(1.06); }

/* Hero */
.hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 24px 56px;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.04;
  margin: 0 0 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 30%, #b9c4e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 auto 34px;
  max-width: 620px;
}
.hero__lede strong { color: var(--text); font-weight: 600; }

.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s, filter 0.2s, background 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #1a1206;
}
.btn--primary:hover { filter: brightness(1.08); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* Sections */
.section { max-width: 1120px; margin: 0 auto; padding: 40px 24px 20px; }

.section__head { text-align: center; margin-bottom: 40px; }
.section__title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section__desc { color: var(--muted); margin: 0; font-size: 16px; }

/* Grid — portrait card columns */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
  gap: 24px;
  justify-content: center;
}

.card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.4);
}

.card__thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: hidden;
}
.card__thumb video,
.card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.55));
  pointer-events: none;
}

.card__play {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.card__thumb:hover .card__play { opacity: 1; transform: scale(1.05); }

.card__tag {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line);
  color: var(--text);
}

.card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 17px; font-weight: 800; margin: 0; }
.card__desc { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; flex: 1; }

.card__watch {
  align-self: flex-start;
  margin-top: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: #1a1206;
  background: linear-gradient(135deg, var(--accent), #f97316);
  cursor: pointer;
  border: none;
  transition: filter 0.2s;
}
.card--indigo .card__watch { background: linear-gradient(135deg, var(--accent-2), #818cf8); color: #fff; }
.card__watch:hover { filter: brightness(1.08); }

/* Coming Soon */
.coming-soon {
  max-width: 1120px;
  margin: 70px auto 40px;
  padding: 0 24px;
}
.coming-soon__inner {
  position: relative;
  border-radius: 26px;
  padding: 70px 32px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(99, 102, 241, 0.22), transparent 70%),
    linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
}
.coming-soon__badge {
  display: inline-block;
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 16px;
}
.coming-soon__title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #aab4d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.coming-soon__desc {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.7;
}
.dots { display: flex; gap: 10px; justify-content: center; }
.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.4s infinite ease-in-out;
}
.dots span:nth-child(2) { animation-delay: 0.2s; background: var(--accent-2); }
.dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Footer */
.footer { border-top: 1px solid var(--line); margin-top: 50px; }
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 24px;
  text-align: center;
}
.footer__brand { font-weight: 800; letter-spacing: 0.06em; margin: 0 0 6px; }
.footer__copy { color: var(--muted); font-size: 13px; margin: 0; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 14, 0.8);
  backdrop-filter: blur(6px);
}
.modal__dialog {
  position: relative;
  width: min(380px, 90vw);
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: pop 0.22s ease;
}
@keyframes pop { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.modal__close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.modal__close:hover { background: rgba(0, 0, 0, 0.75); }

.modal__video {
  position: relative;
  background: #000;
  width: min(380px, 90vw, calc((96vh - 160px) * 9 / 16));
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.modal__ended {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeIn 0.35s ease;
}
.modal__ended[hidden] { display: none; }
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal__meta {
  padding: 16px 20px 22px;
  flex-shrink: 0;
  overflow-y: auto;
}
.modal__title { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.modal__desc { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

@media (max-width: 640px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .hero { padding-top: 64px; }
}
