*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; font-family: 'DM Sans', sans-serif; background: #000; -webkit-font-smoothing: antialiased; }

.hero {
  position: relative; width: 100vw; height: 100vh;
  background: #000; overflow: hidden;
  touch-action: pan-y;
}

/* ── WALL ── */
.poster-wall {
  pointer-events: none;
  position: absolute; left: -5%; top: 50%;
  width: 115vw;
  transform: translateY(-50%) rotate(12deg);
  transform-origin: center center;
  display: flex; flex-direction: row; gap: 8px; height: 200vh;
}
.poster-col { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.poster-col:nth-child(even) { margin-top: -90px; }

.poster-card {
  width: var(--card-w, 120px); height: var(--card-h, 180px);
  border-radius: var(--card-radius, 10px); background: #1d1d1d; flex-shrink: 0;
  position: relative; overflow: hidden;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.poster-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
  background-size: 200% 100%; animation: shimmer 1.8s infinite; animation-delay: var(--d, 0s);
}
.poster-card.loaded::after { display: none; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ── VIGNETTE ── */
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right,
      rgba(0,0,0,0.97) 0%, rgba(0,0,0,0.95) 20%,
      rgba(0,0,0,0.80) 35%, rgba(0,0,0,0.50) 50%,
      rgba(0,0,0,0.20) 65%, transparent 78%),
    radial-gradient(ellipse 70% 70% at 100% 0%,
      rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 40%, transparent 70%),
    radial-gradient(ellipse 60% 55% at 100% 100%,
      rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 35%, transparent 65%),
    linear-gradient(to bottom,
      rgba(0,0,0,0.4) 0%, transparent 15%, transparent 75%, rgba(0,0,0,0.75) 100%);
}

/* ── HERO TEXT ── */
.hero-text {
  position: absolute; top: 50%; left: 6%;
  transform: translateY(-50%);
  z-index: 10; max-width: 520px;
}

.hero-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-weight: 700; color: #fff;
}

.hero-desc {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 400px;
  margin-bottom: 2rem;
  border-left: 2px solid rgba(255,255,255,0.15);
  padding-left: 1rem;
}

/* ── DOWNLOAD BUTTON ── */
.hero-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, #3B82F6, #6366F1);
  color: #fff; font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  border-radius: 8px; border: none; cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-bottom: 2.25rem;
}
.hero-btn:hover {
  opacity: 0.9; transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.4);
}

/* ── PLATFORMS ── */
.platforms { display: flex; flex-direction: column; gap: 0.75rem; }

.platforms-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.platform-list {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}

.platform-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
  cursor: default;
}
.platform-item:hover { color: rgba(255,255,255,0.85); }

.platform-item svg { width: 22px; height: 22px; }
.platform-item span { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.03em; white-space: nowrap; }

/* ── HERO CONTENT ── */
.hero-content {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 2.25rem;
}

/* ── AVAILABLE ON ── */
.available {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.available-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.platform-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 99px;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: default;
}
.platform-pill:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.platform-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.8;
}

/* ═══════════════════════════════════
   INTRO ANIMATION
═══════════════════════════════════ */

/* full black cover that lifts away */
.hero-curtain {
  position: absolute; inset: 0; z-index: 50;
  background: #000;
  animation: curtainLift 1.8s cubic-bezier(0.76, 0, 0.24, 1) 0.1s forwards;
  pointer-events: none;
}
@keyframes curtainLift {
  0%   { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* wall zooms out from slightly inside */
.poster-wall {
  opacity: 0;
  transform: translateY(-50%) rotate(12deg) scale(1.12);
  animation: wallReveal 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
@keyframes wallReveal {
  0%   { opacity: 0; transform: translateY(-50%) rotate(12deg) scale(1.12); }
  100% { opacity: 1; transform: translateY(-50%) rotate(12deg) scale(1); }
}

/* each card cascades in from right → left using existing --d delay */
.poster-card {
  opacity: 0;
  animation:
    cardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) calc(0.5s + var(--d, 0s)) forwards,
    shimmer 1.8s infinite var(--d, 0s);
}
.poster-card.loaded {
  animation: cardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) calc(0.5s + var(--d, 0s)) forwards;
}
@keyframes cardIn {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* hero text staggered slide-up */
.hero-content {
  opacity: 0;
  transform: translateY(-50%) translateX(-18px);
  animation: heroContentIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}
@keyframes heroContentIn {
  0%   { opacity: 0; transform: translateY(-50%) translateX(-18px); }
  100% { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* vignette punches in: starts fully dark then settles */
.vignette {
  animation: vignetteSettle 2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
@keyframes vignetteSettle {
  0%   { opacity: 2; }  /* extra dark at start */
  100% { opacity: 1; }
}


  .navbar-logo img { height: 28px; }
  .navbar-login, .navbar-download { padding: 0.4rem 0.85rem; font-size: 0.78rem; }
}

.page-wrap { overflow-x: hidden; }

/* ── HERO DOWNLOAD BUTTON ── */
.hero-buttons { margin-top: 2rem; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

.btn-hero-download {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 2rem;
  background: #fff;
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-hero-download:hover { opacity: 0.88; }
.btn-hero-download svg { flex-shrink: 0; }

.btn-hero-guides {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-hero-guides:hover { background: rgba(255,255,255,0.15); }

/* ── FLOATING HELP CHARACTER ── */
.help-float {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  /* entrance: slide up from below */
  animation: helpEntrance 0.7s cubic-bezier(0.22, 1, 0.36, 1) 2s both, charFloat 3.5s ease-in-out 2.7s infinite;
  transition: filter 0.2s;
}
.help-float:hover {
  animation: helpEntrance 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0s both;
  transform: translateY(-14px);

}
@keyframes helpEntrance {
  0%   { opacity: 0; transform: translateY(120px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes charFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}

/* speech bubble hint */
.help-bubble {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
  background: #fff;
  border-radius: 10px;
  padding: 0.4rem 0.85rem;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px) scale(0.95);
  transition: opacity 0.22s ease, transform 0.22s ease;
  position: relative;
}
.help-bubble::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #fff;
}
.help-float:hover .help-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.help-char {
  width: 150px;
  height: auto;
  display: block;
}
@media (max-width: 600px) {
  .help-char { width: 100px; }
  .help-float { right: -8px; }
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: 60px;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.navbar.scrolled {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar-inner {
  max-width: 100%;
  padding: 0 2rem 0 6%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 7px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.navbar-tv {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.navbar-tv:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
}
.navbar-login {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #000;
  background: #fff;
  text-decoration: none;
  padding: 0.45rem 1.2rem;
  border-radius: 99px;
  transition: opacity 0.2s;
}
.navbar-login:hover { opacity: 0.85; }

/* ── LOGIN MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
  display: flex;
  width: 100%;
  max-width: 820px;
  min-height: 520px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

/* left panel */
.modal-left {
  flex: 1;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}
.modal-close {
  position: absolute;
  top: 0.85rem; right: 0.85rem;
  z-index: 10;
  width: 30px; height: 30px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 7px;
  color: rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  backdrop-filter: blur(4px);
}
.modal-close:hover { background: rgba(0,0,0,0.75); color: #fff; }

.modal-logo {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.modal-logo-img { height: 26px; width: auto; }
.modal-logo span {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: -0.01em;
}
.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 1.5rem;
}
.modal-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-bottom: 1.5rem;
}
.modal-form { display: flex; flex-direction: column; gap: 0.9rem; }
.modal-field { display: flex; flex-direction: column; gap: 0.35rem; }
.modal-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  color: rgba(255,255,255,0.55); letter-spacing: 0.03em;
}
.modal-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 9px;
  padding: 0.65rem 0.9rem;
  color: #fff;
  font-family: 'Outfit', sans-serif; font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.modal-input::placeholder { color: rgba(255,255,255,0.2); }
.modal-input:focus {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.07);
}
.modal-forgot {
  font-family: 'Outfit', sans-serif; font-size: 0.75rem;
  color: rgba(255,255,255,0.35); text-decoration: none;
  align-self: flex-end; margin-top: 0.1rem;
  transition: color 0.2s;
}
.modal-forgot:hover { color: rgba(255,255,255,0.75); }
.modal-captcha { display: flex; justify-content: center; margin: 0.15rem 0; }
.modal-submit {
  width: 100%; padding: 0.78rem;
  background: #fff; color: #000;
  font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 700;
  border: none; border-radius: 99px; cursor: pointer;
  transition: opacity 0.2s;
}
.modal-submit:hover { opacity: 0.88; }

/* right panel */
.modal-right {
  width: 420px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.modal-side-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.modal-right-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(8,8,15,0.6) 0%, transparent 40%),
              linear-gradient(to bottom, transparent 60%, rgba(8,8,15,0.4) 100%);
}

@media (max-width: 640px) {
  .modal-right { display: none; }
  .modal-box { max-width: 420px; }
}

/* ── TV CONNECT MODAL ── */
.tv-modal-left { min-height: 340px; display: flex; flex-direction: column; }
.tv-modal-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.75rem;
  line-height: 1.55;
}
.tv-waiting, .tv-result {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; flex: 1; justify-content: center;
  padding: 0.5rem 0;
}
.tv-spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: rgba(255,255,255,0.7);
  border-radius: 50%;
  animation: tvSpin 0.75s linear infinite;
  margin-bottom: 1.5rem;
}
@keyframes tvSpin { to { transform: rotate(360deg); } }
.tv-code-display {
  font-family: 'Outfit', monospace;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.6rem 1.5rem;
  margin: 0.5rem 0;
}
.tv-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #4ade80;
  margin-bottom: 1.25rem;
}
.tv-error-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #f87171;
  margin-bottom: 1.25rem;
}

.otp-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.otp-box {
  width: 52px;
  height: 60px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  caret-color: transparent;
}
.otp-box:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
  transform: scale(1.05);
}
.otp-box.filled {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.07);
}
.otp-box.error {
  border-color: rgba(239,68,68,0.6);
  background: rgba(239,68,68,0.06);
  animation: shake 0.35s ease;
}
.otp-dash {
  color: rgba(255,255,255,0.2);
  font-size: 1.2rem;
  user-select: none;
  flex-shrink: 0;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  60% { transform: translateX(6px); }
}

.otp-hint {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.28);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.otp-hint.err { color: rgba(239,68,68,0.7); }

.tv-modal-note {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.22);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.55;
}

@media (max-width: 480px) {
  .otp-box { width: 44px; height: 54px; font-size: 1.3rem; border-radius: 10px; }
  .otp-wrap { gap: 0.35rem; }
}