/* ============================================================
   JERIC 陈杰瑞 — Cinematic landing page
   Theme: Gold / Black / White / Red (CTA)
   ============================================================ */

:root {
  --black: #070605;
  --black-2: #0d0b09;
  --white: #f5efe4;
  --white-dim: rgba(245, 239, 228, 0.62);
  --gold: #d8a948;
  --gold-bright: #ffd87a;
  --gold-deep: #8a6520;
  --gold-dim: rgba(216, 169, 72, 0.35);
  --red: #e8273e;
  --red-bright: #ff5a6e;
  --red-deep: #9c1124;
  --font-display: "Cinzel", "Noto Serif SC", serif;
  --font-cn: "Noto Serif SC", serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-juice: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--gold); color: var(--black); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.gold {
  background: linear-gradient(115deg, var(--gold-deep) 0%, var(--gold) 30%, var(--gold-bright) 50%, var(--gold) 70%, var(--gold-deep) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: goldsheen 6s linear infinite;
}

@keyframes goldsheen { to { background-position: 200% center; } }

/* ============ LOADER ============ */
#loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--black);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 26px;
  transition: opacity 0.9s var(--ease-out), visibility 0.9s;
}
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  font-family: var(--font-cn);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4rem);
  background: linear-gradient(115deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldsheen 2.4s linear infinite;
}
.loader-bar {
  width: min(220px, 50vw); height: 1px;
  background: rgba(216, 169, 72, 0.18); overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 40%;
  background: var(--gold);
  animation: loadslide 1.1s var(--ease-out) infinite;
}
.loader-sub {
  font-size: 0.68rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--white-dim);
}
@keyframes loadslide { from { transform: translateX(-110%); } to { transform: translateX(280%); } }

/* ============ WORLD CANVAS + GRAIN ============ */
#world {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 1; pointer-events: none;
  mix-blend-mode: screen;
}
#grain-overlay {
  position: fixed; inset: -100px; z-index: 3; pointer-events: none;
  opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.7s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0,0);} 25% { transform: translate(-30px,20px);}
  50% { transform: translate(20px,-30px);} 75% { transform: translate(-20px,-20px);}
  100% { transform: translate(0,0);}
}
#progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--red));
  box-shadow: 0 0 12px rgba(216, 169, 72, 0.6);
}

.back-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 42px);
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 55;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(216, 169, 72, 0.46);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 216, 122, 0.28), transparent 52%),
    rgba(7, 6, 5, 0.72);
  color: var(--gold-bright);
  font: 800 1.25rem/1 var(--font-body);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.86);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42), 0 0 28px rgba(216, 169, 72, 0.14);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-juice), border-color 0.28s, box-shadow 0.28s, color 0.28s;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  border-color: var(--gold-bright);
  color: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.52), 0 0 36px rgba(216, 169, 72, 0.36);
}
.back-to-top:active { transform: translateY(1px) scale(0.94); }
.back-to-top:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 56px);
  transition: background 0.5s, backdrop-filter 0.5s, padding 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 12px clamp(20px, 4vw, 56px);
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: rgba(216, 169, 72, 0.14);
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem; letter-spacing: 0.32em;
  color: var(--white); text-decoration: none;
  display: flex; align-items: baseline; gap: 10px;
}
.nav-brand span {
  font-family: var(--font-cn);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav-links a {
  color: var(--white-dim); text-decoration: none;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  padding: 9px 18px; border: 1px solid rgba(232, 39, 62, 0.55);
  border-radius: 2px; color: var(--white) !important;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s var(--ease-juice) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--red);
  box-shadow: 0 0 28px rgba(232, 39, 62, 0.45);
  transform: translateY(-1px);
}

main { position: relative; z-index: 2; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: center;
  text-align: center; overflow: hidden; isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero::before {
  z-index: 1;
  opacity: 0.78;
  mix-blend-mode: screen;
  background:
    radial-gradient(ellipse 62% 28% at 50% 66%, rgba(255, 216, 122, 0.13), transparent 68%),
    radial-gradient(ellipse 70% 32% at 18% 58%, rgba(216, 175, 90, 0.1), transparent 72%),
    radial-gradient(ellipse 64% 30% at 84% 50%, rgba(255, 245, 210, 0.08), transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(245, 241, 232, 0.04) 42%, rgba(216, 175, 90, 0.1) 76%, transparent 100%);
  filter: blur(18px) saturate(1.2);
  transform: scale(1.08);
  animation: hero-fog-drift 18s ease-in-out infinite alternate;
}
.hero::after {
  z-index: 4;
  opacity: 0.9;
  background:
    radial-gradient(ellipse 90% 80% at 50% 45%, transparent 54%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.18) 0%, transparent 34%, rgba(7, 7, 7, 0.28) 100%);
}
@keyframes hero-fog-drift {
  from { transform: translate3d(-2%, 1%, 0) scale(1.08); }
  to { transform: translate3d(2%, -1%, 0) scale(1.12); }
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("/static/img/new_website_hero.jpg?ver=15") center 22% / cover no-repeat;
  animation: hero-drift 26s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes hero-drift { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero-grid-world {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 1;
  transition: opacity 0.12s linear;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(7,7,7,0.5) 0%, transparent 26%, transparent 50%, rgba(7,7,7,0.82) 76%, var(--black) 94%),
    radial-gradient(ellipse 120% 90% at 50% 30%, transparent 40%, rgba(7,7,7,0.52) 100%);
}
.hero-content { position: relative; z-index: 5; padding: 0 24px 13svh; max-width: 1100px; margin-top: 0; }
.hero-kicker {
  font-size: clamp(0.62rem, 1.4vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.62em; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: 18px;
  text-shadow: 0 0 24px rgba(216, 169, 72, 0.5);
}
.hero-title { font-family: var(--font-display); line-height: 0.96; margin-bottom: 22px; }
.hero-title .line {
  display: block;
  font-size: clamp(3.2rem, 11vw, 8.4rem);
  font-weight: 900; letter-spacing: 0.08em;
}
.hero-title .line-cn {
  font-family: var(--font-cn);
  font-size: clamp(1.5rem, 4.6vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.5em; text-indent: 0.5em;
  color: var(--white); margin-top: 14px; opacity: 0.92;
}
.hero-tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  font-weight: 300; letter-spacing: 0.06em;
}
.hero-tagline em { font-style: normal; color: var(--gold-bright); }
.hero-tagline-cn {
  font-family: var(--font-cn);
  margin-top: 10px; font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 0.2em; color: var(--white-dim);
}
.hero-actions { margin-top: 38px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 36px; overflow: hidden;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase;
  text-decoration: none; color: var(--white);
  border-radius: 2px; cursor: pointer; font-family: var(--font-body);
  transition: transform 0.25s var(--ease-juice), box-shadow 0.35s, background 0.35s, color 0.35s;
  will-change: transform;
}
.btn:active { transform: scale(0.96); }
.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 30px rgba(232, 39, 62, 0.35);
  border: 0;
}
.btn-red:hover {
  box-shadow: 0 10px 44px rgba(232, 39, 62, 0.55);
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1px solid rgba(216, 169, 72, 0.5);
  color: var(--gold);
}
.btn-ghost:hover {
  background: rgba(216, 169, 72, 0.1);
  box-shadow: 0 0 30px rgba(216, 169, 72, 0.25);
  transform: translateY(-2px);
}
.btn .shine {
  position: absolute; top: 0; left: -80%; width: 50%; height: 100%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
}
.btn:hover .shine { animation: btnshine 0.8s var(--ease-out); }
@keyframes btnshine { to { left: 140%; } }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint-line {
  width: 1px; height: 54px;
  background: linear-gradient(var(--gold), transparent);
  overflow: hidden;
  position: relative;
}
.scroll-hint-line::after {
  content: "";
  position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: linear-gradient(var(--gold-bright), transparent);
  animation: hintdrop 2.2s var(--ease-out) infinite;
}
@keyframes hintdrop { to { top: 120%; } }
.scroll-hint-text {
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--white-dim);
}

/* ============ ACT INTERSTITIAL (story) ============ */
.act {
  min-height: 88svh; display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2; padding: 18vh 24px;
}
.act-inner { text-align: center; max-width: 980px; }
.act-num {
  font-size: .7rem; font-weight: 600; letter-spacing: .6em;
  text-transform: uppercase; color: var(--red); margin-bottom: 26px;
}
.act-line {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 5.4vw, 4rem); line-height: 1.18; letter-spacing: .04em;
}
.act-sub {
  margin-top: 26px; color: var(--white-dim);
  font-size: clamp(.95rem, 1.8vw, 1.15rem); letter-spacing: .06em; line-height: 1.8;
}
.act-sub .cn { font-family: var(--font-cn); letter-spacing: .18em; }

/* ============ SECTIONS (store + others) ============ */
.section { position: relative; z-index: 2; padding: 14vh clamp(16px, 4vw, 56px); }
.section-head { text-align: center; max-width: 880px; margin: 0 auto 7vh; }
.section-kicker {
  font-size: .68rem; font-weight: 600; letter-spacing: .56em;
  text-transform: uppercase; color: var(--red); margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.2rem, 6.5vw, 4.6rem); letter-spacing: .06em;
}
.section-sub { margin-top: 18px; color: var(--white-dim); letter-spacing: .05em; line-height: 1.75; }

/* ============ CAROUSEL (from index2) ============ */
.carousel { position: relative; max-width: 1320px; margin: 0 auto; }
.car-track {
  display: flex; gap: clamp(14px, 2vw, 26px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 24px 6px 34px;
  scrollbar-width: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-btn {
  position: absolute; top: 42%; z-index: 5; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(216,169,72,.4); color: var(--gold); font-size: 1.1rem;
  background: rgba(7,6,5,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .25s var(--ease-juice), background .3s, box-shadow .3s;
}
.car-btn:hover { background: var(--gold); color: var(--black); transform: scale(1.12); box-shadow: 0 0 32px rgba(216,169,72,.5); }
.car-btn:active { transform: scale(.95); }
.car-btn.prev { left: -10px; }
.car-btn.next { right: -10px; }
@media (max-width:900px) { .car-btn { display: none; } }

/* ============ CARDS (store hover, tilt, iridescent, fonts from index2) ============ */
.card {
  position: relative; flex: 0 0 clamp(240px, 28vw, 330px); scroll-snap-align: center;
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid rgba(216,169,72,.16); border-radius: 10px; overflow: hidden;
  text-decoration: none; text-align: left;
  transform-style: preserve-3d;
  transition: transform .35s var(--ease-juice), border-color .35s, box-shadow .35s;
  will-change: transform;
}
.card:hover {
  border-color: rgba(216,169,72,.55);
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 40px rgba(216,169,72,.12);
}
.card::before { /* iridescent sweep */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,216,122,.14) 44%, rgba(232,39,62,.1) 52%, rgba(120,200,255,.1) 60%, transparent 74%);
  transition: opacity .4s;
}
.card:hover::before { opacity: 1; animation: cardsweep 1.4s var(--ease-out); }
@keyframes cardsweep { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
.card-media {
  height: clamp(220px, 24vw, 300px); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.media-gold { background: radial-gradient(ellipse at 50% 110%, rgba(216,169,72,.45), rgba(20,14,6,1) 70%); }
.media-black { background: radial-gradient(ellipse at 50% 110%, rgba(245,239,228,.18), rgba(10,9,8,1) 70%); }
.media-red { background: radial-gradient(ellipse at 50% 110%, rgba(232,39,62,.4), rgba(18,5,8,1) 70%); }
.media-white { background: radial-gradient(ellipse at 50% 110%, rgba(245,239,228,.32), rgba(16,15,13,1) 70%); }
.media-grid {
  background:
    linear-gradient(rgba(216,169,72,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216,169,72,.13) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 120%, rgba(120,200,255,.18), rgba(7,8,10,1) 70%);
  background-size: 26px 26px, 26px 26px, 100% 100%;
}
.media-glyph {
  font-family: var(--font-cn); font-size: 4rem; font-weight: 900;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(216,169,72,.4));
  transition: transform .5s var(--ease-juice);
}
.card:hover .media-glyph { transform: scale(1.18) rotate(-4deg); }
.card-body { padding: 20px 22px 24px; position: relative; z-index: 2; }
.card-body h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .08em; margin-bottom: 8px;
  color: var(--white);
}
.price { color: var(--gold); font-weight: 800; letter-spacing: .12em; }
.meta { color: var(--white-dim); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; }

.card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 4;
  font-size: .58rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 2px; background: rgba(232,39,62,.92); color: #fff;
}
.card-tag.tag-gold { background: rgba(216,169,72,.95); color: var(--black); }

.video-card { border-width: 1px; }
.play-ring {
  width: 78px; height: 78px; border-radius: 50%; border: 1px solid rgba(245,239,228,.5);
  display: flex; align-items: center; justify-content: center; position: relative;
  transition: transform .35s var(--ease-juice), border-color .35s, box-shadow .35s;
}
.play-ring::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(216,169,72,.5); opacity: 0; transform: scale(1);
}
.card:hover .play-ring { transform: scale(1.12); border-color: var(--gold-bright); box-shadow: 0 0 38px rgba(216,169,72,.35); }
.card:hover .play-ring::before { animation: pulse 1.4s var(--ease-out) infinite; }
@keyframes pulse { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.55); } }
.play-tri {
  width: 0; height: 0; margin-left: 5px;
  border-style: solid; border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent var(--white);
}

/* ============ JOIN / NEWSLETTER (from index2) ============ */
.join { position: relative; z-index: 2; padding: 18vh 24px 12vh; text-align: center; }
.join-inner { max-width: 760px; margin: 0 auto; }
.join-vip { width: 86px; height: auto; margin: 0 auto 30px; filter: drop-shadow(0 0 30px rgba(216,169,72,.45)); transition: transform .4s var(--ease-juice); }

.join-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.3rem, 6.6vw, 4.6rem); letter-spacing: .06em; margin-bottom: 18px; }
.join-sub { color: var(--white-dim); line-height: 2; letter-spacing: .05em; margin-bottom: 42px; }
.join-sub .cn { font-family: var(--font-cn); letter-spacing: .2em; }
.join-form { display: flex; gap: 12px; max-width: 520px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.join-form input {
  flex: 1 1 280px; padding: 16px 22px; border-radius: 2px;
  background: rgba(245,239,228,.06); border: 1px solid rgba(216,169,72,.3);
  color: var(--white); font: inherit; letter-spacing: .04em; outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.join-form input::placeholder { color: rgba(245,239,228,.34); }
.join-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 36px rgba(216,169,72,.18); background: rgba(245,239,228,.09); }
.join-note { margin-top: 20px; min-height: 1.4em; font-size: .86rem; letter-spacing: .08em; color: var(--gold-bright); }
.join-note.error { color: var(--red); }

.socials { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 60px; }
.socials a {
  font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
  color: var(--white-dim); padding: 8px 4px; position: relative;
  transition: color .3s, text-shadow .3s;
}
.socials a:hover { color: var(--gold-bright); text-shadow: 0 0 18px rgba(255,216,122,.6); }

/* ============ FOOTER (from index2) ============ */
.footer { position: relative; z-index: 2; padding: 48px 24px 60px; text-align: center; border-top: 1px solid rgba(216,169,72,.12); }
.footer p { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--white-dim); line-height: 2.2; }
.footer .cn { font-family: var(--font-cn); }

/* ============ VIDEO MODAL ============ */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 4, 4, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: fade-in 0.35s var(--ease-juice);
}
.modal-shell {
  position: relative; width: min(1080px, 92vw);
  animation: modal-pop 0.5s var(--ease-juice);
}
@keyframes fade-in { from { opacity: 0; } }
@keyframes modal-pop {
  0% { opacity: 0; transform: translateY(40px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-frame {
  aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background: #000;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 40px 120px rgba(0,0,0,0.8), 0 0 80px rgba(212, 175, 55, 0.1);
}
.modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-title { margin-top: 16px; text-align: center; letter-spacing: 0.14em; font-size: 0.92rem; opacity: 0.85; }
.modal-close {
  position: absolute; top: -52px; right: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: transparent; color: var(--white);
  border: 1px solid rgba(245, 241, 232, 0.3);
  font-size: 1rem; cursor: pointer;
  transition: transform 0.25s var(--ease-juice), border-color 0.3s, color 0.3s, background 0.3s;
}
.modal-close:hover { transform: rotate(90deg) scale(1.1); border-color: var(--red-bright); color: var(--red-bright); }

/* ============ SCROLL REVEALS ============ */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

.join-vip:hover { transform: scale(1.08) rotate(-2deg); }

.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
.spark {
  position: fixed;
  width: 6px; height: 6px; border-radius: 50%;
  z-index: 90; pointer-events: none;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .car-btn { display: none; }
  .hero-content { padding-bottom: 16svh; }
  .modal-close { top: -50px; right: 4px; }
  .back-to-top {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }
}

/* ============ MOTION SAFETY ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  #grain-overlay { display: none; }
  .hero::before { animation: none; }
}
