/* Super Game Pack – Award-Winning App Store Website
   Background matched to icon: #05002B
*/
:root{
  --bg0:#05002B;
  --bg1:#12003f;
  --card:#14073a;
  --card2:#0f052b;
  --text:#ffffff;
  --muted:#cbbbe8;
  --gold:#ffcc55;
  --gold2:#ffb347;
  --orange:#ff7a18;
  --cyan:#4de3ff;
  --purple:#8a5bff;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);
  --radius: 22px;
  --radius2: 30px;
  --ring: rgba(255,204,85,.35);
  --max: 1140px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(138,91,255,.25), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(77,227,255,.18), transparent 55%),
    radial-gradient(900px 600px at 50% 110%, rgba(255,122,24,.18), transparent 60%),
    radial-gradient(circle at top, #2a1250, var(--bg0));
  overflow-x:hidden;
}

a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:20px; top:20px; width:auto; height:auto;
  padding:10px 14px; background:rgba(0,0,0,.7); border:1px solid rgba(255,255,255,.25);
  border-radius:12px; z-index:9999;
}

/* Starfield canvas sits behind everything */
#starfield{
  position:fixed; inset:0;
  z-index:-1;
}

/* Top nav */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(5,0,43,.72), rgba(5,0,43,.28));
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px; text-decoration:none;
}
.brand img{
  width:44px; height:44px; border-radius:12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.brand strong{
  letter-spacing:.3px;
}
.nav-links{
  display:flex; align-items:center; gap:16px;
  flex-wrap:wrap;
}
.nav-links a{
  text-decoration:none;
  color:var(--muted);
  font-weight:600;
  font-size:.95rem;
  padding:8px 10px;
  border-radius:12px;
  transition:background .2s ease, color .2s ease;
}
.nav-links a:hover{
  color:var(--text);
  background:rgba(255,255,255,.06);
}
.nav-cta{
  display:flex; gap:10px; align-items:center;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  text-decoration:none;
  border-radius:14px;
  padding:11px 14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:800;
  letter-spacing:.2px;
  box-shadow: var(--shadow2);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  will-change: transform;
}
.btn:hover{ transform: translateY(-1px); background:rgba(255,255,255,.09); border-color:rgba(255,255,255,.22); }
.btn:active{ transform: translateY(0px) scale(.99); }
.btn.primary{
  background: linear-gradient(135deg, var(--orange), var(--gold2));
  border-color: rgba(0,0,0,.08);
  color:#1b0b2e;
}
.btn.primary:hover{ filter:saturate(1.05) brightness(1.03); }
.badge{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow2);
  text-decoration:none;
}
.badge .small{ font-size:.72rem; color:rgba(255,255,255,.75); font-weight:700; letter-spacing:.2px; line-height:1; }
.badge .big{ font-size:1.02rem; font-weight:900; letter-spacing:.2px; line-height:1.1; }
.badge svg{ flex:0 0 auto }

/* Hero */
.hero{
  padding:64px 0 26px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .95fr;
  gap:28px;
  align-items:center;
}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  color:var(--muted);
  font-weight:700;
  width:fit-content;
}
.kicker .dot{
  width:10px; height:10px; border-radius:999px;
  background: radial-gradient(circle, var(--gold) 0%, var(--orange) 70%);
  box-shadow: 0 0 0 4px rgba(255,204,85,.18);
}
.hero h1{
  margin:14px 0 10px;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height:1.05;
  letter-spacing:-.8px;
}
.hero h1 .shine{
  background: linear-gradient(90deg, var(--gold), #fff, var(--gold2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow: 0 0 40px rgba(255,204,85,.22);
}
.hero p{
  margin:0;
  color:var(--muted);
  font-size:1.12rem;
  max-width:60ch;
}
.hero-actions{
  display:flex; gap:12px; flex-wrap:wrap;
  margin-top:18px;
  align-items:center;
}
.hero-note{
  margin-top:12px;
  color:rgba(255,255,255,.65);
  font-size:.92rem;
}

/* Wheel Card */
.wheel-card{
  position:relative;
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(20,7,58,.72), rgba(12,4,31,.72));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  padding:22px;
  overflow:hidden;
}
.wheel-card:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(320px 220px at 70% 10%, rgba(255,204,85,.35), transparent 60%),
    radial-gradient(300px 240px at 10% 70%, rgba(77,227,255,.18), transparent 60%),
    radial-gradient(420px 260px at 60% 90%, rgba(138,91,255,.18), transparent 60%);
  opacity:.85;
  z-index:0;
}
.wheel-wrap{ position:relative; z-index:1; display:grid; gap:16px; }
.wheel-stage{
  display:grid; place-items:center;
  padding:16px 0 6px;
}
.wheel{
  width:min(360px, 100%);
  aspect-ratio:1/1;
  border-radius:999px;
  position:relative;
  background:
    conic-gradient(from 90deg,
      #ff3b30 0 12.5%,
      #ff9500 12.5% 25%,
      #ffcc55 25% 37.5%,
      #34c759 37.5% 50%,
      #30b0ff 50% 62.5%,
      #007aff 62.5% 75%,
      #8a5bff 75% 87.5%,
      #ff2d55 87.5% 100%);
  box-shadow:
    0 0 0 10px rgba(255,204,85,.25),
    0 0 0 18px rgba(255,204,85,.08),
    0 30px 80px rgba(0,0,0,.5);
  transform: rotate(var(--rot, 0deg));
  transition: transform 1.25s cubic-bezier(.18,.9,.15,1);
  will-change: transform;
}
.wheel:after{
  content:"";
  position:absolute; inset:18px;
  border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(0,0,0,.12));
  border:1px solid rgba(255,255,255,.14);
}
.wheel-center{
  position:absolute; inset:0;
  display:grid; place-items:center;
  pointer-events:none;
}
.wheel-center img{
  width:72%;
  max-width:240px;
  border-radius:18px;
  box-shadow: 0 16px 60px rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.16);
}
.pointer{
  width:0; height:0;
  border-left:18px solid transparent;
  border-right:18px solid transparent;
  border-bottom:30px solid #ff3b30;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.45));
  margin-top:-6px;
}
.wheel-meta{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  padding-top:6px;
  border-top:1px solid rgba(255,255,255,.12);
}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:999px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.78);
  font-weight:700;
  font-size:.9rem;
}
.pill kbd{
  font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  font-size:.85rem;
  color:#fff;
  padding:2px 7px;
  border-radius:9px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
}

/* Sections */
.section{
  padding:56px 0;
}
.section h2{
  margin:0 0 10px;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  letter-spacing:-.5px;
}
.section p.lead{
  margin:0;
  color:var(--muted);
  font-size:1.08rem;
  max-width:70ch;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
  margin-top:22px;
}
.card{
  background: linear-gradient(180deg, rgba(20,7,58,.7), rgba(10,3,28,.7));
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding:22px;
}
.card h3{
  margin:0 0 6px;
  color:var(--gold);
  font-size:1.1rem;
  letter-spacing:.2px;
}
.card p{ margin:0; color:var(--muted); }
.icon{
  width:44px; height:44px; border-radius:14px;
  display:grid; place-items:center;
  margin-bottom:12px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
}

/* Screenshots */
.screens{
  margin-top:22px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.shot{
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.shot .frame{
  aspect-ratio: 9/16;
  position:relative;
  background:
    radial-gradient(240px 180px at 50% 20%, rgba(255,204,85,.22), transparent 60%),
    radial-gradient(260px 220px at 30% 70%, rgba(77,227,255,.16), transparent 60%),
    radial-gradient(260px 220px at 80% 75%, rgba(138,91,255,.16), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55));
}
.shot .frame:before{
  content:"";
  position:absolute; inset:10px;
  border-radius: 20px;
  border:1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.shot .label{
  padding:14px 16px;
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  color:rgba(255,255,255,.78);
  font-weight:700;
  border-top:1px solid rgba(255,255,255,.12);
}
.tag{
  font-size:.78rem;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.12);
}

/* CTA block */
.big-cta{
  margin-top:34px;
  border-radius: var(--radius2);
  padding:26px;
  background: linear-gradient(135deg, rgba(255,122,24,.95), rgba(255,204,85,.95));
  color:#1b0b2e;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  border:1px solid rgba(0,0,0,.08);
  display:flex; gap:18px; align-items:center; justify-content:space-between;
  flex-wrap:wrap;
}
.big-cta h3{ margin:0; font-size:1.55rem; letter-spacing:-.3px; }
.big-cta p{ margin:4px 0 0; max-width:70ch; font-weight:650; }
.big-cta .right{ display:flex; gap:10px; flex-wrap:wrap; }

/* Footer */
.footer{
  padding:42px 0;
  color:rgba(255,255,255,.66);
  border-top:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(5,0,43,.0), rgba(5,0,43,.35));
}
.footer a{ color:var(--gold); text-decoration:none; font-weight:750; }
.footer a:hover{ text-decoration:underline; }
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:start;
}
.smallprint{
  margin-top:8px;
  font-size:.92rem;
  color:rgba(255,255,255,.6);
}

/* Legal page styles */
.page-hero{
  padding:56px 0 18px;
}
.page-hero h1{
  margin:0 0 10px;
  font-size: clamp(2.0rem, 3.6vw, 3.0rem);
  letter-spacing:-.6px;
}
.prose{
  margin:0 auto;
  max-width: 78ch;
  background: linear-gradient(180deg, rgba(20,7,58,.68), rgba(10,3,28,.66));
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding: 24px;
}
.prose h2{ margin:18px 0 8px; font-size:1.3rem; color:var(--gold); }
.prose p, .prose li{ color:var(--muted); }
.prose ul{ margin:8px 0 0 18px; }
.prose hr{
  border:none; border-top:1px solid rgba(255,255,255,.12);
  margin:18px 0;
}

/* Form */
.form{
  display:grid; gap:12px;
  margin-top:14px;
}
.field{
  display:grid; gap:6px;
}
label{ color:rgba(255,255,255,.8); font-weight:750; }
input, textarea{
  width:100%;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color:var(--text);
  padding: 12px 14px;
  outline:none;
}
textarea{ min-height: 140px; resize: vertical; }
input:focus, textarea:focus{
  border-color: rgba(255,204,85,.35);
  box-shadow: 0 0 0 4px rgba(255,204,85,.12);
}
.hint{ font-size:.92rem; color:rgba(255,255,255,.62); }

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .screens{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce){
  .wheel{ transition:none; }
  .btn{ transition:none; }
}
