/* =========================================================
   БаҳодирБрат — расмий лендинг
   Premium dark · gold + neon · glass · 2026 SaaS
   Тўлов / билет сотуви ЙЎҚ
   ========================================================= */
:root {
  --bg0: #02040a;
  --bg1: #070b16;
  --bg2: #0c1224;
  --text: #f6f8ff;
  --muted: #93a0bc;
  --line: rgba(255, 255, 255, 0.09);
  --gold: #ffd700;
  --gold2: #ffe566;
  --neon: #00ff9c;
  --neon2: #39ff14;
  --blue: #4da3ff;
  --glass: rgba(12, 18, 36, 0.72);
  --glass2: rgba(255, 255, 255, 0.045);
  --radius: 20px;
  --max: 1120px;
  --font: "Outfit", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "Outfit", system-ui, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg0);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  padding-bottom: calc(84px + var(--safe-b));
  -webkit-tap-highlight-color: transparent;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button, .btn { font-family: inherit; }
strong { font-weight: 700; }
.txt-gold { color: var(--gold); }
.inline-a { color: var(--neon); border-bottom: 1px solid rgba(0,255,156,0.3); }

.container {
  width: min(var(--max), calc(100% - 24px - var(--safe-l) - var(--safe-r)));
  margin: 0 auto;
  padding-left: var(--safe-l);
  padding-right: var(--safe-r);
}
.container.narrow { width: min(720px, calc(100% - 24px - var(--safe-l) - var(--safe-r))); }

/* Background */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45;
  animation: floatOrb 12s ease-in-out infinite;
}
.orb-a {
  width: 420px; height: 420px; top: -80px; left: -60px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.35), transparent 70%);
}
.orb-b {
  width: 480px; height: 480px; right: -100px; top: 20%;
  background: radial-gradient(circle, rgba(0, 255, 156, 0.22), transparent 70%);
  animation-delay: -4s;
}
.orb-c {
  width: 360px; height: 360px; left: 30%; bottom: -80px;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.18), transparent 70%);
  animation-delay: -7s; animation-duration: 16s;
}
.grid-fade {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  opacity: 0.5;
}
.particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.7;
}
.cursor-glow {
  position: fixed; width: 320px; height: 320px; border-radius: 50%;
  pointer-events: none; z-index: 1; opacity: 0;
  background: radial-gradient(circle, rgba(255,215,0,0.12), rgba(0,255,156,0.06) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  mix-blend-mode: screen;
}
body:hover .cursor-glow { opacity: 1; }

/* LIVE buyers bar */
.buyers-bar {
  position: sticky; top: 0; z-index: 55;
  background: linear-gradient(90deg, rgba(255,215,0,0.12), rgba(0,255,156,0.08), rgba(255,215,0,0.12));
  border-bottom: 1px solid rgba(255,215,0,0.18);
  backdrop-filter: blur(12px);
}
.buyers-inner {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0; min-height: 42px;
}
.buyers-label {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  color: var(--gold); white-space: nowrap;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,215,0,0.25);
}
.buyers-label .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0 0 rgba(255,59,59,0.5);
  animation: pingRed 1.4s infinite;
}
.buyers-track-wrap {
  flex: 1; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.buyers-track {
  display: flex; gap: 10px; width: max-content;
  animation: buyersScroll 40s linear infinite;
}
.buyer-chip {
  flex-shrink: 0;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text);
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px;
  white-space: nowrap;
}
.buyer-chip strong { color: var(--gold); }
@keyframes buyersScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.buyer-toast {
  position: fixed;
  left: 14px; bottom: calc(90px + var(--safe-b));
  z-index: 65;
  display: flex; align-items: center; gap: 10px;
  max-width: min(340px, calc(100% - 28px));
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(10, 14, 28, 0.95);
  border: 1px solid rgba(255,215,0,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  animation: toastIn 0.4s ease both;
}
.buyer-toast[hidden] { display: none !important; }
.bt-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; color: #0a0a0a; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--neon));
}
.buyer-toast b { display: block; font-size: 0.9rem; }
.buyer-toast small { color: var(--muted); font-size: 0.8rem; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 80;
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  background: rgba(2, 4, 10, 0.82);
  border-bottom: 1px solid var(--line);
  padding-top: var(--safe-t);
  animation: navIn 0.55s ease both;
}
@keyframes navIn {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.nav-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  min-height: 56px;
}
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.logo-img {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,215,0,0.45), 0 0 18px rgba(255,215,0,0.22);
  animation: logoPulse 3s ease-in-out infinite;
}
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; z-index: 90; flex-shrink: 0;
}
.nav-burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
}
.nav-backdrop[hidden] { display: none !important; }
.nav-cta-mobile { display: none !important; }
.nav-cta-desk { display: inline-flex; }
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255,215,0,0.4), 0 0 16px rgba(255,215,0,0.2); }
  50% { box-shadow: 0 0 0 3px rgba(0,255,156,0.45), 0 0 28px rgba(0,255,156,0.25); }
}
.banner-wash {
  position: absolute; top: 0; left: 0; right: 0; height: 55vh;
  background-size: cover; background-position: center top;
  opacity: 0.18; filter: saturate(1.1);
  mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
}
.logo-txt strong {
  display: block; font-family: var(--display); font-size: 1rem; font-weight: 700;
}
.logo-txt small {
  display: block; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.04em;
}
.nav-links {
  display: flex; gap: 14px; flex: 1; justify-content: center; flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted); font-size: 0.88rem; font-weight: 600;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--neon));
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.92rem;
  padding: 11px 18px; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.98); }
.btn-gold {
  background: linear-gradient(135deg, #ffe566, var(--gold));
  color: #12100a;
  box-shadow: 0 8px 28px rgba(255, 215, 0, 0.22);
}
.btn-neon {
  background: linear-gradient(135deg, #00ff9c, #39ff14 60%, #b8ff4a);
  color: #04140c;
  box-shadow: 0 0 0 1px rgba(0, 255, 156, 0.25), 0 10px 40px rgba(0, 255, 156, 0.28);
  animation: pulseGlow 2.8s ease-in-out infinite;
}
.btn-ghost {
  background: var(--glass2);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(255,215,0,0.35);
  background: rgba(255,215,0,0.06);
}
.btn-xl { padding: 15px 24px; font-size: 1rem; }
.btn.full { width: 100%; margin-top: 8px; }
.btn-shine::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.45) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine {
  0%, 60% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}

/* Glass */
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(1.3);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}
.glass-soft {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
}

/* HERO */
.hero {
  position: relative; z-index: 1;
  padding: 48px 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pill {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
  background: rgba(255,255,255,0.03);
  animation: pillIn 0.6s ease both;
}
.pill:nth-child(2) { animation-delay: 0.08s; }
.pill:nth-child(3) { animation-delay: 0.16s; }
.pill:nth-child(4) { animation-delay: 0.24s; }
@keyframes pillIn {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: none; }
}
.pill-live { color: var(--neon); border-color: rgba(0, 255, 156, 0.3); }
.pill-gold { color: var(--gold); border-color: rgba(255, 215, 0, 0.35); background: rgba(255,215,0,0.06); }
.pill-live i {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--neon); margin-right: 6px; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(0, 255, 156, 0.6);
  animation: ping 1.6s infinite;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.6vw, 3.35rem);
  line-height: 1.12; font-weight: 700; letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.hero-title .line {
  display: block;
  animation: titleSlide 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-title .line:nth-child(2) { animation-delay: 0.12s; }
@keyframes titleSlide {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
.grad {
  background: linear-gradient(90deg, var(--gold), #fff3a0 40%, var(--neon));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto;
  animation: gradShift 4s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.lead {
  color: var(--muted); font-size: 1.08rem; max-width: 40ch; margin-bottom: 22px;
  animation: fadeUp 0.8s 0.2s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.stat {
  padding: 14px 12px; text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(255,215,0,0.25);
}
.stat b {
  display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 700;
  color: var(--gold);
}
.stat span { font-size: 0.72rem; color: var(--muted); }

/* FOMO scarcity on hero */
.scarce-hero {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 107, 129, 0.35);
  background: linear-gradient(135deg, rgba(255, 80, 80, 0.12), rgba(0,0,0,0.25));
}
.scarce-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.scarce-top b { color: #ff8a9a; white-space: nowrap; }
.scarce-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.scarce-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5d8f, #ffd700, #00ff9c);
  transition: width 0.55s ease;
  box-shadow: 0 0 16px rgba(255, 93, 143, 0.45);
}
.scarce-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.scarce-meta .txt-gold { color: var(--gold); font-weight: 800; }
#scarceWarn {
  color: #ff8a9a;
  font-weight: 800;
  animation: scarcePulse 1.4s ease-in-out infinite;
}
@keyframes scarcePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.meta-hot b { color: #ff8a9a !important; }

/* Каналдан конкурс постлари */
.contest-text {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
}
.contest-text h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--gold);
}
.contest-text p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
}
.channel-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.channel-post {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  transition: transform 0.2s, border-color 0.2s;
}
.channel-post:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 215, 0, 0.28);
}
.channel-post-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: rgba(0,0,0,0.35);
}
.channel-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.channel-post-text {
  padding: 14px 16px 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}
.channel-post-text p { margin: 0; white-space: pre-wrap; }

/* Hero portrait */
.hero-art {
  position: relative; min-height: 380px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.portrait-stage {
  position: relative; width: min(100%, 360px); height: 360px;
  display: grid; place-items: center;
}
.portrait-ring {
  position: absolute; inset: 6%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 215, 0, 0.35);
  animation: spin 24s linear infinite;
}
.portrait-ring.r2 {
  inset: -2%;
  border: 1px solid rgba(0, 255, 156, 0.2);
  animation-direction: reverse; animation-duration: 32s;
  box-shadow: 0 0 60px rgba(255,215,0,0.12), inset 0 0 40px rgba(0,255,156,0.06);
}
.portrait-glow {
  position: absolute; width: 70%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.35), rgba(0,255,156,0.12) 50%, transparent 70%);
  filter: blur(20px); animation: glowPulse 3s ease-in-out infinite;
}
.portrait-img {
  position: relative; z-index: 2;
  width: min(78%, 280px); height: min(78%, 280px);
  border-radius: 50%; object-fit: cover;
  box-shadow:
    0 0 0 4px rgba(255,215,0,0.55),
    0 0 0 8px rgba(0,255,156,0.15),
    0 24px 60px rgba(0,0,0,0.55);
  animation: portraitFloat 5s ease-in-out infinite;
}
@keyframes portraitFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-badge {
  position: absolute; z-index: 3;
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: rgba(12, 18, 36, 0.85);
  border: 1px solid rgba(255,215,0,0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  animation: bob 3.2s ease-in-out infinite;
}
.float-badge.b1 { top: 8%; right: 8%; animation-delay: 0s; }
.float-badge.b2 { bottom: 18%; right: 0; animation-delay: 0.5s; }
.float-badge.b3 { bottom: 12%; left: 4%; animation-delay: 1s; }
.float-badge.b4 { top: 18%; left: 0; animation-delay: 1.4s; }
.hero-nameplate {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; width: min(100%, 320px);
  animation: fadeUp 0.8s 0.3s both;
}
.hero-nameplate img {
  width: 40px; height: 40px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,215,0,0.4);
}
.hero-nameplate strong { display: block; font-size: 1rem; }
.hero-nameplate small { color: var(--muted); font-size: 0.75rem; }
.verified {
  margin-left: auto;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--neon), #00c878);
  color: #04140c; font-weight: 800; font-size: 0.85rem;
  box-shadow: 0 0 16px rgba(0,255,156,0.35);
}

/* Marquee */
.marquee-wrap {
  margin-top: 40px; overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.04), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee { padding: 14px 0; }
.marquee-track {
  display: flex; gap: 40px; width: max-content;
  animation: marquee 32s linear infinite;
  font-weight: 700; font-size: 0.88rem; color: var(--muted);
  white-space: nowrap;
}
.marquee-track span {
  display: inline-flex; align-items: center; gap: 8px;
}
.marquee-track span::after {
  content: "·"; margin-left: 32px; color: rgba(255,215,0,0.4);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { position: relative; z-index: 1; padding: 64px 0; }
.section-dim {
  background: linear-gradient(180deg, transparent, rgba(12, 18, 36, 0.65), transparent);
}
.sec-head { text-align: center; margin-bottom: 28px; }
.sec-kicker {
  display: inline-block; margin-bottom: 10px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--neon);
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(0,255,156,0.25);
  background: rgba(0,255,156,0.06);
}
.sec-head h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px;
}
.sec-head p { color: var(--muted); }

/* About brand */
.about-split {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: center;
}
.about-photo {
  padding: 22px; text-align: center;
  background:
    linear-gradient(160deg, rgba(255,215,0,0.08), transparent 50%),
    var(--glass);
}
.about-photo img {
  width: min(100%, 280px); height: auto; margin: 0 auto 16px;
  filter: drop-shadow(0 20px 40px rgba(255,215,0,0.2));
  animation: portraitFloat 6s ease-in-out infinite;
}
.about-photo-meta b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.about-photo-meta span { color: var(--muted); font-size: 0.88rem; }
.about-lead { font-size: 1.05rem; margin-bottom: 18px; color: var(--text); line-height: 1.65; }
.about-list {
  list-style: none; display: grid; gap: 10px; margin-bottom: 16px;
}
.about-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}
.about-list li:hover {
  border-color: rgba(255,215,0,0.28);
  transform: translateX(4px);
}
.about-list li span { font-size: 1.2rem; }
.muted-p { color: var(--muted); font-size: 0.92rem; }

/* Social cards */
.social-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.social-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px 18px; position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.social-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.4);
}
.social-card::before {
  content: ""; position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(circle at 20% 0%, rgba(255,255,255,0.08), transparent 55%);
}
.social-card:hover::before { opacity: 1; }
.sc-icon {
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center;
  color: #fff;
}
.sc-tg .sc-icon { background: linear-gradient(135deg, #2AABEE, #229ED9); box-shadow: 0 10px 28px rgba(42,171,238,0.35); }
.sc-yt .sc-icon { background: linear-gradient(135deg, #ff4e45, #cc0000); box-shadow: 0 10px 28px rgba(255,0,0,0.28); }
.sc-ig .sc-icon { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); box-shadow: 0 10px 28px rgba(221,42,123,0.3); }
.sc-tg:hover { border-color: rgba(42,171,238,0.45); }
.sc-yt:hover { border-color: rgba(255,60,60,0.4); }
.sc-ig:hover { border-color: rgba(221,42,123,0.4); }
.sc-body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.sc-body p { color: var(--gold); font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.sc-meta { color: var(--muted); font-size: 0.8rem; }
.sc-go {
  margin-top: auto; font-weight: 700; font-size: 0.88rem; color: var(--neon);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative; overflow: hidden; border: none; cursor: pointer;
  padding: 0; aspect-ratio: 4/3; border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45), 0 0 30px rgba(255,215,0,0.1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s;
}
.gallery-item:hover .gallery-shine { transform: translateX(120%); }
.gallery-item:nth-child(1) { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
@media (min-width: 961px) {
  .gallery-item:nth-child(1) { min-height: 320px; }
}
.gallery-wm {
  position: absolute; left: 8px; bottom: 8px; z-index: 2;
  font-size: 0.65rem; font-weight: 800; color: #0a0a0a;
  background: linear-gradient(135deg, rgba(255,215,0,0.92), rgba(0,255,156,0.75));
  padding: 3px 8px; border-radius: 999px;
  pointer-events: none;
}
.gallery-note {
  text-align: center; margin-top: 16px; color: var(--muted); font-size: 0.88rem;
}
.empty-gallery {
  grid-column: 1 / -1; padding: 28px; text-align: center; color: var(--muted);
}
.official-stamp {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
  color: #0a0a0a;
  background: linear-gradient(135deg, #ffd700, #39ff14);
  padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 0 20px rgba(255,215,0,0.25);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  padding: 24px;
  animation: lbIn 0.25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 0 0 2px rgba(255,215,0,0.35), 0 30px 80px rgba(0,0,0,0.6);
  object-fit: contain;
}
.lb-close {
  position: absolute; top: 16px; right: 20px;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(20,24,40,0.9);
  color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1;
}
.lb-close:hover { border-color: var(--gold); color: var(--gold); }

.gift-photo {
  position: absolute; inset: 0; z-index: 0; opacity: 0.18;
  overflow: hidden; border-radius: inherit;
}
.gift-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.2) saturate(1.1);
}
.gift-card > *:not(.gift-photo):not(.contest-shine) { position: relative; z-index: 1; }

.final-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,215,0,0.5), 0 0 24px rgba(255,215,0,0.3);
  flex-shrink: 0;
}
.footer-social {
  display: flex; gap: 8px; margin-top: 14px;
}
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 800;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  border-color: var(--gold); color: var(--gold); transform: translateY(-2px);
}

/* Contest card */
.contest-card { padding: 22px; position: relative; overflow: hidden; }
.contest-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(255,215,0,0.06) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: contestShine 5s ease-in-out infinite;
}
@keyframes contestShine {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}
.contest-top {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 16px; position: relative;
}
.tag-gold {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 800;
  color: #1a1400; background: linear-gradient(135deg, var(--gold), #fff0a0);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 8px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #c00;
  box-shadow: 0 0 0 0 rgba(200,0,0,0.5);
  animation: pingRed 1.4s infinite;
}
@keyframes pingRed {
  0% { box-shadow: 0 0 0 0 rgba(200,0,0,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(200,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,0,0,0); }
}
.contest-card h3 {
  font-family: var(--display); font-size: 1.45rem; font-weight: 700;
}
.countdown { padding: 12px 14px; min-width: 240px; position: relative; }
.cd-label { display: block; font-size: 0.72rem; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.cd-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.cd-cell {
  background: rgba(0,0,0,0.25); border-radius: 10px; padding: 6px 4px;
  border: 1px solid rgba(0,255,156,0.12);
}
.cd-nums b {
  display: block; font-family: var(--display); font-size: 1.2rem; font-weight: 700;
  color: var(--neon);
  transition: transform 0.15s, color 0.15s;
}
.cd-nums b.tick { transform: scale(1.12); color: var(--gold); }
.cd-nums small { color: var(--muted); font-size: 0.65rem; }
.contest-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px;
  position: relative;
}
.meta-item {
  background: rgba(0,0,0,0.22); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.meta-item:hover {
  border-color: rgba(255,215,0,0.25);
  transform: translateY(-2px);
}
.meta-item span { display: block; font-size: 0.72rem; color: var(--muted); margin-bottom: 4px; }
.meta-item b { font-size: 0.98rem; }
.contest-gifts-mini { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; position: relative; }
.chip {
  font-size: 0.78rem; font-weight: 600; color: var(--text);
  background: rgba(255, 215, 0, 0.08); border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 6px 10px; border-radius: 999px;
  animation: chipIn 0.5s ease both;
  transition: transform 0.2s, background 0.2s;
}
.chip:hover {
  transform: scale(1.05);
  background: rgba(255,215,0,0.14);
}
@keyframes chipIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: none; }
}

/* Gifts 3D-ish cards */
.gifts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.gift-card {
  position: relative; padding: 28px 18px 22px; text-align: center;
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
  will-change: transform;
}
.gift-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 40px rgba(255, 215, 0, 0.08);
}
.gift-card.gold { border-color: rgba(255, 215, 0, 0.35); }
.gift-card.silver { border-color: rgba(200, 210, 230, 0.28); }
.gift-card.bronze { border-color: rgba(205, 127, 50, 0.35); }
.gift-card.gold::after {
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255,215,0,0.08), transparent 30%);
  animation: spin 8s linear infinite;
  pointer-events: none;
}
.place-ribbon {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
  color: #0a0a0a; background: linear-gradient(135deg, var(--gold), #fff3a8);
  padding: 4px 12px; border-radius: 999px; z-index: 2;
}
.gift-card.silver .place-ribbon { background: linear-gradient(135deg, #e8eef8, #b8c4d8); }
.gift-card.bronze .place-ribbon { background: linear-gradient(135deg, #e8a86b, #c47a3a); color: #1a0e05; }
.gift-3d {
  height: 120px; display: grid; place-items: center; margin: 18px 0 10px;
  perspective: 600px; position: relative; z-index: 1;
}
.contest-photo {
  margin: -6px -6px 14px; border-radius: 16px; overflow: hidden;
  max-height: 220px;
}
.contest-photo img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gift-img {
  width: 96px; height: 96px; border-radius: 22px; object-fit: cover;
  border: 1px solid rgba(255,215,0,0.35);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  animation: tilt 5s ease-in-out infinite;
  position: relative; z-index: 1;
}
.more-thumb {
  width: 40px; height: 40px; border-radius: 10px; object-fit: cover;
  grid-row: span 2;
}
.gift-orb {
  width: 96px; height: 96px; border-radius: 28px;
  display: grid; place-items: center; font-size: 2.8rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.4),
    0 0 30px rgba(0, 255, 156, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transform: rotateX(12deg) rotateY(-12deg);
  animation: tilt 5s ease-in-out infinite;
  position: relative; z-index: 1;
}
.gift-glow {
  position: absolute; width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.35), transparent 70%);
  filter: blur(16px); animation: glowPulse 2.5s ease-in-out infinite;
  z-index: 0;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}
.gift-card h3 {
  font-family: var(--display); font-size: 1.15rem; margin-bottom: 6px; position: relative; z-index: 1;
}
.gift-card p { color: var(--muted); font-size: 0.9rem; min-height: 2.6em; position: relative; z-index: 1; }
.mini-tag {
  display: inline-block; margin-top: 10px; font-size: 0.72rem; font-weight: 700;
  color: var(--neon); border: 1px solid rgba(0,255,156,0.25);
  background: rgba(0,255,156,0.08); padding: 4px 10px; border-radius: 999px;
  position: relative; z-index: 1;
}
.more-gifts {
  margin-top: 16px; padding: 14px; display: grid; gap: 10px;
}
.more-item {
  display: grid; grid-template-columns: 36px 1fr; gap: 4px 10px; align-items: center;
  padding: 10px; border-radius: 12px; background: rgba(0,0,0,0.2);
  transition: background 0.2s, transform 0.2s;
}
.more-item:hover {
  background: rgba(255,215,0,0.06);
  transform: translateX(4px);
}
.more-item span { font-size: 1.4rem; grid-row: span 2; }
.more-item b { font-size: 0.95rem; }
.more-item small { color: var(--muted); grid-column: 2; }

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  position: relative;
}
.step {
  padding: 22px 16px; position: relative; overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,156,0.25);
}
.step-n {
  font-family: var(--display); font-size: 2rem; font-weight: 700;
  background: linear-gradient(180deg, var(--gold), transparent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px; line-height: 1;
}
.step-ico {
  font-size: 1.6rem; margin-bottom: 10px;
  display: inline-block;
  animation: bob 3s ease-in-out infinite;
}
.step:nth-child(2) .step-ico { animation-delay: 0.3s; }
.step:nth-child(3) .step-ico { animation-delay: 0.6s; }
.step:nth-child(4) .step-ico { animation-delay: 0.9s; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.9rem; }
.step::after {
  content: "";
  position: absolute; bottom: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--neon));
  transition: width 0.4s;
}
.step:hover::after { width: 100%; }

/* Leaderboard */
.board { padding: 8px 14px; overflow: hidden; }
.board-row {
  display: grid; grid-template-columns: 48px 1fr auto;
  gap: 10px; align-items: center;
  padding: 13px 8px; border-bottom: 1px solid var(--line);
  transition: background 0.2s, transform 0.2s;
  animation: rowIn 0.45s ease both;
}
.board-row:nth-child(1) { animation-delay: 0.05s; }
.board-row:nth-child(2) { animation-delay: 0.1s; }
.board-row:nth-child(3) { animation-delay: 0.15s; }
.board-row:nth-child(4) { animation-delay: 0.2s; }
.board-row:nth-child(5) { animation-delay: 0.25s; }
@keyframes rowIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: none; }
}
.board-row:last-child { border-bottom: none; }
.board-row:hover {
  background: rgba(255, 215, 0, 0.04);
  transform: translateX(4px);
}
.board-row.top-1 {
  background: linear-gradient(90deg, rgba(255,215,0,0.1), transparent);
  border-radius: 12px;
}
.board-row.top-2 {
  background: linear-gradient(90deg, rgba(200,210,230,0.08), transparent);
  border-radius: 12px;
}
.board-row.top-3 {
  background: linear-gradient(90deg, rgba(205,127,50,0.1), transparent);
  border-radius: 12px;
}
.rank { font-weight: 800; text-align: center; }
.name { font-weight: 600; }
.score { color: var(--gold); font-weight: 800; font-family: var(--display); }
.score small { color: var(--muted); font-weight: 600; font-size: 0.75rem; }
.empty { text-align: center; color: var(--muted); padding: 28px; }

/* Trust */
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.trust { padding: 24px 18px; text-align: center; transition: transform 0.25s, border-color 0.25s; }
.trust:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,156,0.22);
}
.t-ico {
  width: 56px; height: 56px; margin: 0 auto 12px;
  display: grid; place-items: center; font-size: 1.6rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,215,0,0.12), rgba(0,255,156,0.08));
  border: 1px solid rgba(255, 215, 0, 0.18);
  transition: transform 0.3s;
}
.trust:hover .t-ico { transform: scale(1.1) rotate(-4deg); }
.trust h3 { margin-bottom: 8px; font-size: 1.1rem; }
.trust p { color: var(--muted); font-size: 0.92rem; }

/* FAQ */
.faq details {
  padding: 14px 16px; margin-bottom: 10px; cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.faq details:hover { transform: translateX(3px); }
.faq details[open] { border-color: rgba(255, 215, 0, 0.28); }
.faq summary {
  font-weight: 700; list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--gold); font-size: 1.2rem; font-weight: 400;
  transition: transform 0.25s;
}
.faq details[open] summary::after { content: "–"; transform: rotate(180deg); }
.faq p {
  margin-top: 10px; color: var(--muted); font-size: 0.95rem;
  animation: faqOpen 0.3s ease;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.faq a { color: var(--neon); border-bottom: 1px solid rgba(0,255,156,0.3); }

/* Final CTA */
.final-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; padding: 28px 26px;
  background:
    linear-gradient(135deg, rgba(255,215,0,0.1), rgba(0,255,156,0.08)),
    var(--glass);
  position: relative; overflow: hidden;
}
.final-cta-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,215,0,0.12), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(0,255,156,0.1), transparent 40%);
  animation: ctaBg 6s ease-in-out infinite alternate;
}
@keyframes ctaBg {
  from { opacity: 0.6; transform: scale(1); }
  to { opacity: 1; transform: scale(1.05); }
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: var(--display); font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 6px;
}
.final-cta p { color: var(--muted); }

/* Footer */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
  background: rgba(0,0,0,0.35);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px;
  margin-bottom: 22px;
}
.f-brand p { color: var(--muted); margin-top: 12px; max-width: 40ch; font-size: 0.92rem; }
.f-col { display: flex; flex-direction: column; gap: 8px; }
.f-col b {
  color: var(--gold); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 4px;
}
.f-col a, .f-col span { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.f-col a:hover { color: var(--text); }
.rules-mini {
  border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 16px;
}
.rules-mini b { display: block; margin-bottom: 8px; color: var(--gold); font-size: 0.85rem; }
.rules-preview {
  color: var(--muted); font-size: 0.88rem; max-height: 120px; overflow: auto;
  white-space: pre-wrap; line-height: 1.5;
}
.copy {
  text-align: center; color: #5c6785; font-size: 0.75rem;
  padding-top: 8px;
}

/* Mobile CTA */
.mobile-cta {
  position: fixed; left: 14px; right: 14px; bottom: calc(12px + var(--safe-b));
  z-index: 60; display: none;
  text-align: center; font-weight: 800;
  padding: 14px; border-radius: 16px;
  background: linear-gradient(135deg, #00ff9c, #39ff14 55%, #ffe566);
  color: #04140c;
  box-shadow: 0 12px 40px rgba(0, 255, 156, 0.3);
  animation: mobileCtaIn 0.5s 0.8s both, pulseGlow 2.8s 1.5s ease-in-out infinite;
}
@keyframes mobileCtaIn {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* Reveal animations */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.show { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.26s; }

/* Keyframes */
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 156, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(0, 255, 156, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 156, 0); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(0,255,156,0.2), 0 10px 36px rgba(0,255,156,0.22); }
  50% { box-shadow: 0 0 0 1px rgba(255,215,0,0.25), 0 12px 48px rgba(255,215,0,0.2); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes spark {
  0%, 100% { opacity: 0.4; transform: scale(0.9) translateY(0); }
  50% { opacity: 1; transform: scale(1.15) translateY(-8px); }
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, 16px); }
}
@keyframes tilt {
  0%, 100% { transform: rotateX(12deg) rotateY(-12deg); }
  50% { transform: rotateX(8deg) rotateY(10deg); }
}

/* ---------- Mobile-first phone mode ---------- */
@media (max-width: 960px) {
  .buyers-inner { gap: 8px; padding: 7px 0; }
  .buyers-label { font-size: 0.65rem; padding: 3px 8px; }
  .buyer-chip { font-size: 0.74rem; padding: 5px 10px; }
  .buyer-toast { bottom: calc(88px + var(--safe-b)); left: 12px; right: 12px; max-width: none; }
  .nav-burger { display: flex; }
  .nav-cta-desk { display: none; }
  .nav-cta-mobile {
    display: flex !important;
    width: 100%;
    margin-top: 8px;
    justify-content: center;
  }
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 86vw);
    z-index: 85;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: calc(72px + var(--safe-t)) 18px calc(24px + var(--safe-b));
    background: linear-gradient(180deg, #0a1020 0%, #05070f 100%);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 50px rgba(0,0,0,0.45);
    transform: translateX(105%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    color: var(--text);
    font-size: 1.02rem;
    padding: 14px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
  }
  .nav-links a:hover, .nav-links a:active {
    background: rgba(255,215,0,0.08);
    border-color: rgba(255,215,0,0.18);
    color: var(--gold);
  }
  .nav-links a::after { display: none; }

  .hero { padding: 20px 0 12px; }
  .hero-grid, .gifts-grid, .steps, .trust-grid, .footer-grid,
  .about-split, .social-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-item:nth-child(1) { grid-row: span 1; min-height: 0; }
  .contest-meta { grid-template-columns: 1fr 1fr; }
  .hero-art { min-height: auto; order: -1; }
  .hero-grid { gap: 18px; }
  .portrait-stage { height: 260px; width: min(100%, 280px); }
  .portrait-img { width: min(72%, 210px); height: min(72%, 210px); }
  .float-badge { width: 40px; height: 40px; font-size: 1.15rem; }
  .hero-stats { gap: 8px; }
  .stat { padding: 12px 8px; }
  .stat b { font-size: 1.15rem; }
  .hero-cta { gap: 8px; }
  .hero-cta .btn { flex: 1 1 auto; min-width: calc(50% - 8px); justify-content: center; }
  .btn-xl { padding: 14px 16px; font-size: 0.95rem; }
  .section { padding: 44px 0; }
  .sec-head { margin-bottom: 20px; }
  .about-photo img { width: min(100%, 220px); }
  .social-card { padding: 18px 16px; }
  .cd-nums { gap: 4px; }
  .countdown { min-width: 0; width: 100%; }
  .contest-top { flex-direction: column; }
  .mobile-cta { display: block; }
  .cursor-glow { display: none; }
  .particles { opacity: 0.4; }
  .orb-a, .orb-b { width: 260px; height: 260px; filter: blur(60px); }
  .orb-c { display: none; }
  .final-cta {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
  }
  .final-avatar { margin: 0 auto; }
  .footer { padding: 32px 0 20px; }
  .footer-grid { gap: 20px; }
  .rules-preview { max-height: 100px; font-size: 0.84rem; }
  .marquee-track { font-size: 0.8rem; gap: 28px; }
  .pills { gap: 6px; }
  .pill { font-size: 0.68rem; padding: 5px 10px; }
  .gift-card { padding: 24px 14px 18px; }
  .lightbox { padding: 12px; }
  .lb-close { top: 10px; right: 10px; width: 44px; height: 44px; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 20px); }
  .hero h1, .hero-title { font-size: 1.55rem; }
  .lead { font-size: 0.95rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .contest-meta { grid-template-columns: 1fr; }
  .hero-cta .btn { min-width: 100%; }
  .steps { gap: 10px; }
  .cd-cell b { font-size: 1.05rem; }
  .logo-txt small { display: none; }
  .nav-row { gap: 8px; }
  .btn-gold.nav-cta-desk { padding: 10px 12px; font-size: 0.82rem; }
}

@media (min-width: 961px) {
  body { padding-bottom: 0; }
  .nav-burger, .nav-backdrop, .nav-cta-mobile { display: none !important; }
  .nav-links {
    position: static;
    transform: none !important;
    background: transparent;
    border: none;
    box-shadow: none;
    flex-direction: row;
    padding: 0;
    overflow: visible;
    width: auto;
  }
}

/* Phone landscape */
@media (max-width: 960px) and (orientation: landscape) {
  .portrait-stage { height: 200px; }
  .hero-art { order: 0; }
  .mobile-cta { left: 20%; right: 20%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .particles, .cursor-glow { display: none; }
}

/* Touch polish */
@media (hover: none) and (pointer: coarse) {
  .btn, .nav-links a, .gallery-item, .social-card, .gift-card, .step, .trust {
    -webkit-tap-highlight-color: transparent;
  }
  .gift-card:hover, .social-card:hover, .step:hover, .trust:hover {
    transform: none;
  }
  .btn:active { transform: scale(0.97); }
}
