/* ================= BTLKEY — Official Website ================= */
/* Design language: dramatic dark hero with a vivid gradient mesh, clean light
   content sections, one rich signature gradient (indigo → violet → pink)
   used consistently for every accent, real hover motion + glow. */

:root{
  --bg: #ffffff;
  --bg-2: #f6f5fb;
  --card: #ffffff;
  --border: rgba(20,18,31,.09);
  --border-strong: rgba(20,18,31,.16);

  --accent: #6d4aff;
  --accent-2: #a855f7;
  --accent-3: #ec4899;
  --accent-soft: rgba(109,74,255,.09);
  --accent-soft-strong: rgba(109,74,255,.16);
  --accent-gradient: linear-gradient(135deg,#6d4aff,#a855f7 55%,#ec4899);

  --gold: var(--accent);
  --gold-soft: var(--accent-soft);

  --ink: #120f22;
  --text: var(--ink);
  --muted: #605a78;
  --muted-2: #8f89a5;

  --dark-bg: #0c0918;
  --dark-bg-2: #16112b;

  --radius: 18px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3{ font-family:var(--serif); margin:0 0 .5em; line-height:1.13; letter-spacing:-.015em; font-optical-sizing:auto; font-weight:600; color:var(--ink); }
p{ margin:0 0 1em; }

.wrap{ max-width:1140px; margin:0 auto; padding:0 24px; }
.gold-text{ color:var(--accent); }
.grad-text{ background:var(--accent-gradient); -webkit-background-clip:text; background-clip:text; color:transparent; }
.aurora{ display:none; }

main,footer,.nav{ position:relative; z-index:1; }

/* ---------- buttons ---------- */
.btn{
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  font-family:var(--sans); font-weight:600; text-decoration:none;
  border-radius:12px; border:1px solid transparent; cursor:pointer; overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn-sm{ padding:.6em 1.2em; font-size:.85rem; }
.btn-lg{ padding:.9em 1.9em; font-size:1rem; }
.btn-gold{ background:var(--accent-gradient); color:#fff; box-shadow:0 10px 26px rgba(109,74,255,.32); }
.btn-gold:hover{ transform:translateY(-2px); box-shadow:0 16px 34px rgba(168,85,247,.4); }
.btn-gold::after{
  content:''; position:absolute; inset:0; border-radius:inherit;
  background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);
  transform:translateX(-120%); transition:transform .55s ease;
}
.btn-gold:hover::after{ transform:translateX(120%); }
.btn-outline{ background:#fff; border-color:var(--border-strong); color:var(--ink); }
.btn-outline:hover{ border-color:var(--accent); background:var(--accent-soft); transform:translateY(-2px); }
.btn-outline.dark{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.18); color:#fff; }
.btn-outline.dark:hover{ background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.32); }

/* ---------- nav ---------- */
.nav{ position:sticky; top:0; z-index:50; background:rgba(255,255,255,.85); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-bottom:1px solid var(--border); }
.nav-inner{ display:flex; align-items:center; gap:24px; height:72px; max-width:1140px; margin:0 auto; padding:0 24px; }
.brand{ display:flex; align-items:center; gap:.6em; text-decoration:none; margin-right:auto; }
.brand-mark{ width:36px; height:36px; border-radius:50%; object-fit:cover; }
.brand-mark.small{ width:24px; height:24px; }
.brand-name{ font-family:var(--serif); font-weight:600; font-size:1.15rem; letter-spacing:.01em; color:var(--ink); }
.nav-panel{ display:flex; align-items:center; gap:28px; }
.nav-links{ display:flex; gap:1.7rem; }
.nav-links a{ text-decoration:none; color:var(--muted); font-size:.88rem; font-weight:500; transition:color .16s ease; }
.nav-links a:hover{ color:var(--accent); }
.nav-cta{ display:flex; gap:.6rem; }
.nav-toggle{ display:none; flex-direction:column; gap:5px; width:28px; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ height:2px; background:var(--ink); border-radius:2px; }

/* ---------- dark section base (hero + download) ---------- */
.dark{ background:radial-gradient(ellipse at 20% -10%,var(--dark-bg-2) 0%,var(--dark-bg) 55%); color:#e8e5f5; position:relative; overflow:hidden; }
.dark h1,.dark h2,.dark h3{ color:#fff; }
.dark .lede,.dark .section-lede{ color:#b3adca; }
.dark .eyebrow{ color:#c9a8ff; }

.glow-mesh{ position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; }
.glow{ position:absolute; border-radius:50%; filter:blur(90px); opacity:.55; animation:glow-float 20s ease-in-out infinite alternate; }
.glow.g1{ width:620px; height:560px; left:-12%; top:-18%; background:radial-gradient(ellipse,rgba(109,74,255,.55) 0%,transparent 70%); }
.glow.g2{ width:520px; height:480px; right:-10%; top:10%; background:radial-gradient(ellipse,rgba(236,72,153,.45) 0%,transparent 70%); animation-duration:25s; animation-delay:-6s; }
.glow.g3{ width:480px; height:440px; left:30%; bottom:-20%; background:radial-gradient(ellipse,rgba(168,85,247,.4) 0%,transparent 70%); animation-duration:23s; animation-delay:-11s; }
@keyframes glow-float{ from{ transform:translate(0,0) scale(1);} to{ transform:translate(4%,5%) scale(1.1);} }

/* ---------- hero ---------- */
.hero{ padding:96px 0 88px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; position:relative; z-index:1; }
.eyebrow-row{ display:flex; align-items:center; gap:.6em; margin-bottom:1.1rem; }
.cheers-glass{ font-size:1.3rem; line-height:1; display:inline-block; animation:cheers-sway 4s ease-in-out infinite; }
@keyframes cheers-sway{ 0%,100%{ transform:rotate(-4deg); } 50%{ transform:rotate(4deg); } }
.hero h1{ font-size:clamp(2.6rem,4.6vw,3.8rem); font-weight:600; }
.lede{ font-size:1.08rem; color:var(--muted); max-width:500px; margin-bottom:2rem; }
.hero-actions{ display:flex; gap:1rem; flex-wrap:wrap; }

/* ---------- phone mockup — glowing glass ---------- */
.phone-3d{ perspective:1200px; display:flex; justify-content:center; position:relative; z-index:1; }
.phone-3d::before{
  content:''; position:absolute; inset:-16%; z-index:0; border-radius:50%;
  background:conic-gradient(from 200deg,rgba(109,74,255,.4),rgba(236,72,153,.32),rgba(168,85,247,.36),rgba(109,74,255,.4));
  filter:blur(26px); opacity:.85; pointer-events:none;
}
.phone-frame{
  width:266px; aspect-ratio:9/19; border-radius:38px;
  background:linear-gradient(160deg,#231c3d,#120e22);
  border:1.5px solid rgba(255,255,255,.14);
  box-shadow:0 50px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(168,85,247,.12), 0 0 80px rgba(109,74,255,.28);
  padding:13px; position:relative; z-index:1; animation:hero-float 6s ease-in-out infinite;
}
.phone-frame.small{ width:220px; margin:0 auto; }
@keyframes hero-float{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-12px);} }
.phone-notch{ position:absolute; top:13px; left:50%; transform:translateX(-50%); width:86px; height:20px; background:#120e22; border-radius:0 0 12px 12px; z-index:2; }
.phone-screen{ position:relative; width:100%; height:100%; border-radius:27px; background:linear-gradient(175deg,#1d1832,#110d1e 60%); overflow:hidden; padding:32px 16px 16px; }
.app-status{ display:flex; justify-content:space-between; font-size:.6rem; color:#8078a0; letter-spacing:.05em; margin-bottom:16px; }
.app-brand-row{ display:flex; align-items:center; gap:.7em; margin-bottom:16px; }
.app-brand-mark{ width:32px; height:32px; border-radius:9px; background:var(--accent-gradient); color:#fff; font-family:var(--serif); font-weight:700; display:flex; align-items:center; justify-content:center; font-size:.9rem; }
.app-hello{ font-size:.63rem; color:#8078a0; }
.app-name{ font-size:.92rem; font-weight:700; color:#fff; }
.app-wallet-card{ background:linear-gradient(135deg,rgba(109,74,255,.22),rgba(236,72,153,.1)); border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:15px; margin-bottom:14px; }
.app-wallet-label{ font-size:.6rem; text-transform:uppercase; letter-spacing:.09em; color:#d6b6ff; margin-bottom:5px; }
.app-wallet-amount{ font-family:var(--serif); font-size:1.35rem; font-weight:700; color:#fff; }
.app-wallet-sub{ font-size:.6rem; color:#8078a0; margin-top:4px; }
.app-tiles{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.app-tile{ aspect-ratio:1; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:11px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; font-size:1.05rem; }
.app-tile span{ font-size:.48rem; color:#8f87ab; }
.app-tile.soon{ opacity:.5; }
.download-hero-mark{ font-family:var(--serif); font-size:2.6rem; font-weight:700; background:var(--accent-gradient); -webkit-background-clip:text; background-clip:text; color:transparent; text-align:center; margin-top:56px; }
.download-hero-tag{ text-align:center; font-family:var(--serif); font-style:italic; color:#8f87ab; margin-top:6px; font-size:.95rem; }

/* ---------- sections ---------- */
.section{ padding:92px 0; }
.section.alt{ background:var(--bg-2); }
.section-head{ text-align:center; max-width:600px; margin:0 auto 3rem; }
.section-head h2{ font-size:clamp(1.9rem,2.9vw,2.5rem); }
.section-lede{ color:var(--muted); font-size:1.02rem; }
.eyebrow{ text-transform:uppercase; letter-spacing:.15em; font-size:.7rem; font-weight:700; color:var(--accent); margin-bottom:.7rem; font-family:var(--sans); }

.about-grid{ display:grid; grid-template-columns:1.2fr .8fr; gap:56px; align-items:center; }
.about-grid h2{ font-size:clamp(1.9rem,2.9vw,2.5rem); }
.about-card{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:2.2rem; box-shadow:0 2px 10px rgba(20,18,40,.05); }
.about-stat{ display:flex; flex-direction:column; margin-bottom:1.1rem; }
.stat-num{ font-family:var(--serif); font-size:2.2rem; font-weight:700; color:var(--accent); }
.stat-label{ color:var(--muted); font-size:.8rem; text-transform:uppercase; letter-spacing:.07em; }
.about-divider{ height:1px; background:var(--border); margin-bottom:1.1rem; }
.about-card p{ color:var(--muted); margin:0; }

/* ---------- cards with gradient icon chips + hover glow ---------- */
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.feature-card,.why-card,.check-card{
  position:relative; background:var(--card);
  border:1px solid var(--border); border-radius:var(--radius); padding:2rem 1.5rem; text-align:center;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  box-shadow:0 2px 10px rgba(20,18,40,.05);
}
.feature-card:hover,.why-card:hover,.check-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 48px -12px rgba(109,74,255,.32);
  border-color:rgba(109,74,255,.28);
}
.feature-icon{
  width:56px; height:56px; margin:0 auto 1rem; border-radius:16px;
  background:var(--accent-gradient); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:1.6rem;
  box-shadow:0 10px 22px -6px rgba(109,74,255,.45);
}
.feature-card h3,.why-card h3,.check-card h3{ font-size:1.06rem; margin-bottom:.35rem; font-weight:600; }
.feature-card p,.why-card p{ color:var(--muted); font-size:.88rem; margin:0; }
.soon-badge{ position:absolute; top:14px; right:14px; font-size:.6rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; padding:.35em .7em; border-radius:999px; background:var(--accent-soft); color:var(--accent); }
.check-mark{
  display:flex; align-items:center; justify-content:center; width:44px; height:44px; margin:0 auto .7rem; border-radius:13px;
  font-size:1.15rem; font-weight:700; background:var(--accent-gradient); color:#fff;
  box-shadow:0 10px 22px -6px rgba(109,74,255,.45);
}
.soon-pill{ display:inline-block; margin-top:.6rem; font-size:.62rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; padding:.3em .7em; border-radius:999px; background:var(--accent-soft); color:var(--accent); }

/* ---------- how it works — gradient connected timeline ---------- */
.steps{ display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; position:relative; }
.steps::before{ content:''; position:absolute; top:25px; left:9%; right:9%; height:2px; border-radius:999px; background:var(--accent-gradient); opacity:.35; z-index:0; }
.step{ position:relative; z-index:1; flex:1; text-align:center; padding:0 .6rem; }
.step-num{
  width:50px; height:50px; margin:0 auto .9rem; border-radius:50%;
  background:var(--accent-gradient); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--serif); font-weight:700; font-size:.92rem;
  box-shadow:0 0 0 6px #fff, 0 12px 24px -8px rgba(109,74,255,.5);
}
.step-icon{ font-size:1.5rem; margin-bottom:.4rem; }
.step h3{ font-size:.95rem; margin:0; font-weight:600; }
.step-arrow{ display:none; }

/* ---------- venues ---------- */
.venue-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.benefit-list{ margin:1.5rem 0 2rem; }
.benefit-list li{ position:relative; padding-left:1.7em; margin-bottom:.75em; color:var(--muted); }
.benefit-list li::before{ content:''; position:absolute; left:0; top:.55em; width:7px; height:7px; border-radius:50%; background:var(--accent-gradient); }
.venue-card{ position:relative; background:linear-gradient(160deg,#231c3d,#120e22); border-radius:var(--radius); padding:2.6rem 2rem; overflow:hidden; box-shadow:0 30px 70px -20px rgba(20,10,40,.5); }
.venue-card-glow{ position:absolute; inset:-40%; background:conic-gradient(from 120deg,rgba(109,74,255,.4),rgba(236,72,153,.3),rgba(168,85,247,.32),rgba(109,74,255,.4)); filter:blur(30px); opacity:.65; }
.venue-card-inner{ position:relative; display:flex; flex-direction:column; gap:1.8rem; }
.venue-card-inner .stat-label{ color:#b3a8d4; }
.venue-metric{ display:flex; flex-direction:column; }
.venue-metric .stat-num{ font-size:2.5rem; background:var(--accent-gradient); -webkit-background-clip:text; background-clip:text; color:transparent; }
.venue-metric .gold-text{ color:#d6b6ff; }
.stat-bar{ width:100%; max-width:200px; height:5px; border-radius:999px; background:rgba(255,255,255,.12); margin-top:.65rem; overflow:hidden; }
.stat-bar-fill{ height:100%; width:0%; border-radius:999px; background:var(--accent-gradient); transition:width 1.4s cubic-bezier(.16,.84,.44,1); }

/* ---------- app preview ---------- */
.preview-live{ display:flex; flex-direction:column; align-items:center; margin-bottom:3rem; }
#livePreviewScreen{ display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.live-slide{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.7rem; padding:16px; opacity:0; transition:opacity .5s ease; }
.live-slide.active{ opacity:1; }
.live-slide .emoji{ font-size:2.4rem; }
.live-slide h4{ font-family:var(--serif); font-size:1rem; color:#fff; margin:0; font-weight:600; }
.live-slide p{ font-size:.7rem; color:#8f87ab; margin:0; }
.preview-dots{ display:flex; gap:7px; margin-top:1.1rem; }
.preview-dots span{ width:6px; height:6px; border-radius:50%; background:var(--border-strong); transition:background .2s ease; }
.preview-dots span.active{ background:var(--accent); }

.preview-scroller{ overflow-x:auto; padding-bottom:1rem; scrollbar-width:thin; scroll-snap-type:x mandatory; }
.preview-track{ display:flex; gap:18px; width:max-content; padding:0 4px; }
.preview-card{
  width:144px; aspect-ratio:.72; border-radius:18px; background:var(--card);
  border:1px solid var(--border); display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:.65rem; font-weight:600; font-size:.85rem; scroll-snap-align:start; color:var(--ink);
  box-shadow:0 2px 10px rgba(20,18,40,.05); transition:transform .18s ease, box-shadow .18s ease;
}
.preview-card:hover{ transform:translateY(-4px); box-shadow:0 16px 32px -10px rgba(109,74,255,.28); }
.preview-emoji{ font-size:1.8rem; }

/* ---------- cities ---------- */
.city-live{ display:flex; align-items:center; justify-content:center; gap:1rem; background:var(--card); border:1px solid var(--border); border-radius:999px; padding:.9rem 1.8rem; max-width:320px; margin:0 auto; box-shadow:0 2px 10px rgba(20,18,40,.05); }
.city-pin{ font-size:1.1rem; }
.city-name{ font-family:var(--serif); font-weight:700; font-size:1.05rem; }
.city-badge{ font-size:.62rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; padding:.35em .8em; border-radius:999px; }
.city-badge.live{ background:var(--accent-gradient); color:#fff; }
.city-grid{ display:flex; flex-wrap:wrap; gap:.7rem; justify-content:center; }
.city-chip{ background:var(--bg-2); border:1px solid var(--border); border-radius:999px; padding:.55em 1.3em; font-size:.85rem; color:var(--muted); transition:border-color .16s ease, color .16s ease; }
.city-chip:hover{ border-color:var(--accent); color:var(--accent); }

/* ---------- download ---------- */
.download-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; position:relative; z-index:1; }
.store-badges{ display:flex; gap:.9rem; flex-wrap:wrap; margin-top:1.5rem; }
.store-badge{ display:flex; align-items:center; gap:.8em; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:12px; padding:.65em 1.1em; cursor:pointer; transition:border-color .16s ease, transform .16s ease, background .16s ease; }
.store-badge:hover{ border-color:rgba(168,85,247,.5); background:rgba(255,255,255,.1); transform:translateY(-2px); }
.store-badge small{ display:block; font-size:.6rem; color:#a29bc0; }
.store-badge strong{ font-size:.92rem; color:#fff; }
.store-icon{ color:#d6b6ff; flex-shrink:0; }

/* ---------- footer ---------- */
.footer{ background:var(--dark-bg); color:#c7c3d6; padding:64px 0 0; position:relative; }
.footer::before{ content:''; position:absolute; top:0; left:0; right:0; height:2px; background:var(--accent-gradient); }
.footer-grid{ display:grid; grid-template-columns:1.6fr repeat(3,1fr); gap:40px; padding-bottom:44px; }
.footer-brand p{ color:#948fa9; font-size:.86rem; max-width:330px; margin:1rem 0 1.3rem; }
.footer .brand-name{ color:#fff; }
.social-row{ display:flex; gap:.6rem; }
.social-icon{ width:36px; height:36px; border-radius:9px; border:1px solid rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; color:#d6b6ff; transition:background .16s ease, transform .16s ease; }
.social-icon:hover{ background:rgba(168,85,247,.14); transform:translateY(-2px); }
.footer-col h4{ font-family:var(--sans); font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color:#948fa9; margin-bottom:1rem; font-weight:600; }
.footer-col a{ display:block; color:#c7c3d6; text-decoration:none; font-size:.88rem; margin-bottom:.65rem; transition:color .16s ease; }
.footer-col a:hover{ color:#fff; }
.footer-col a[data-soon]{ cursor:pointer; }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; border-top:1px solid rgba(255,255,255,.08); padding:20px 24px; font-size:.78rem; color:#726d8a; }
.footer-official{ display:flex; align-items:center; gap:.6em; }
.footer-official .gold-text{ color:#d6b6ff; }

/* ---------- toast ---------- */
.toast{ position:fixed; left:50%; bottom:28px; transform:translate(-50%,140%); background:var(--ink); border:1px solid rgba(255,255,255,.1); color:#fff; padding:.75em 1.3em; border-radius:999px; font-size:.85rem; box-shadow:0 16px 40px rgba(0,0,0,.25); transition:transform .26s ease; z-index:80; }
.toast.show{ transform:translate(-50%,0); }

/* ---------- reveal-on-scroll ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .65s ease, transform .65s ease; transition-delay:var(--delay,0s); }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- responsive ---------- */
@media (max-width:980px){
  .hero-grid,.about-grid,.venue-grid,.download-grid{ grid-template-columns:1fr; }
  .hero-phone{ order:-1; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .nav-panel{ display:none; }
  .nav-toggle{ display:flex; }
  .nav.open .nav-panel{
    display:flex; flex-direction:column; align-items:stretch; gap:1.2rem;
    position:absolute; top:72px; left:0; right:0; background:#fff;
    padding:1.4rem 24px 1.8rem; border-bottom:1px solid var(--border);
  }
  .nav.open .nav-links{ flex-direction:column; gap:1.1rem; }
  .nav.open .nav-cta{ flex-direction:column; gap:.8rem; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .steps{ flex-direction:column; gap:1.6rem; }
  .steps::before{ display:none; }
}
@media (max-width:640px){
  .grid-4{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; text-align:center; }
}
