/* SmartySupreme website — same look as the game ("PRIME TIME"): studio blue, chasing bulbs, plastic tokens. No dark mode. */
@font-face { font-family: "Bungee"; src: url(/fonts/Bungee-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Fredoka"; src: url(/fonts/Fredoka-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url(/fonts/Fredoka-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
:root {
  --blue: #2B44FF; --deep: #1A2BC4; --sky: #5FA8FF; --orange: #FF7A00; --yellow: #FFD23F; --pink: #FF3D8B;
  --mint: #00D68F; --red: #FF2E3E; --lilac: #9B5CFF; --cream: #FFF4DC; --ink: #1D1650;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 600 17px/1.55 Fredoka, system-ui, sans-serif; color: var(--ink);
  background: radial-gradient(120% 70% at 50% 0%, #5C8CFF 0%, var(--blue) 45%, var(--deep) 100%) fixed, var(--blue);
  min-height: 100vh; overflow-x: hidden;
}
a { color: var(--blue); font-weight: 700; }
img { max-width: 100%; height: auto; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: 1180px; margin: 0 auto; }
.brand img { width: 150px; display: block; filter: drop-shadow(0 6px 0 rgba(29, 22, 80, .35)); }
.top nav a { color: #fff; text-decoration: none; font-family: Bungee, sans-serif; font-size: 15px; margin-left: 18px; text-shadow: 0 3px 0 var(--ink); }

/* hero */
.hero { position: relative; max-width: 1180px; margin: 0 auto; padding: 10px 20px 60px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; }
.beams { position: absolute; inset: -200px -50vw 0; pointer-events: none; z-index: 0;
  background: repeating-conic-gradient(from 0deg at 50% 110%, rgba(255,255,255,.09) 0deg 6deg, transparent 6deg 18deg);
  animation: sweep 26s linear infinite; mask-image: linear-gradient(#000 30%, transparent 85%); -webkit-mask-image: linear-gradient(#000 30%, transparent 85%); }
@keyframes sweep { to { transform: rotate(8deg); } }
.hero-in { position: relative; z-index: 1; text-align: center; }
.sign { margin: 0; }
.sign img { width: min(560px, 100%); animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 14px 0 rgba(29, 22, 80, .35)); }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1deg); } }
.tag { font-family: Bungee, sans-serif; color: var(--yellow); font-size: clamp(17px, 2.4vw, 24px); margin: 10px 0 4px; text-shadow: 0 3px 0 var(--ink); letter-spacing: .5px; }
.lead { color: #fff; font-size: clamp(18px, 2.2vw, 22px); margin: 0 0 22px; text-shadow: 0 2px 0 rgba(29, 22, 80, .5); }
.lead b { color: var(--mint); }
.free { color: rgba(255,255,255,.85); font-size: 15px; margin-top: 14px; }

/* store buttons: plastic tokens */
.stores { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 12px; border-radius: 20px; background: var(--ink); color: #fff; text-decoration: none;
  box-shadow: 0 7px 0 #000; transition: transform .08s, box-shadow .08s; min-width: 190px; }
.store:active { transform: translateY(5px); box-shadow: 0 2px 0 #000; }
.store .si svg { width: 30px; height: 30px; display: block; }
.store small { display: block; font-size: 12px; opacity: .8; font-weight: 600; }
.store b { display: block; font-family: Bungee, sans-serif; font-size: 19px; font-weight: 400; line-height: 1.1; }
.store.big { padding: 13px 24px 15px; }
.store.soon { opacity: .75; cursor: default; }

/* phones */
.phones { position: relative; z-index: 1; height: 560px; }
.phone { position: absolute; width: 230px; aspect-ratio: 9 / 19.5; border-radius: 38px; background: var(--ink); padding: 9px; box-shadow: 0 18px 0 rgba(29,22,80,.45), 0 0 0 4px #fff inset; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; display: block; }
.p0 { left: 2%; top: 60px; transform: rotate(-9deg); }
.p1 { left: 32%; top: 0; z-index: 2; width: 250px; }
.p2 { right: 2%; top: 70px; transform: rotate(9deg); }

/* features */
.feats { max-width: 1180px; margin: 0 auto; padding: 30px 20px 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { position: relative; background: var(--cream); border-radius: 30px; padding: 26px 24px 24px; box-shadow: 0 10px 0 rgba(29,22,80,.35); border-top: 12px solid var(--c); }
.feat h2 { font-family: Bungee, sans-serif; font-weight: 400; font-size: 21px; line-height: 1.15; margin: 12px 0 8px; color: var(--ink); }
.feat p { margin: 0; color: #4A4380; }
.f-orange { --c: var(--orange); } .f-mint { --c: var(--mint); } .f-red { --c: var(--red); } .f-pink { --c: var(--pink); } .f-yellow { --c: var(--yellow); } .f-lilac { --c: var(--lilac); }
.fi { display: block; width: 64px; height: 64px; border-radius: 20px; background: var(--c) center / 40px no-repeat; box-shadow: 0 5px 0 rgba(29,22,80,.3); }
.i-door { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M5 22V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v18h-3V5H8v17zm9-10a1 1 0 1 0 0 2 1 1 0 0 0 0-2z'/%3E%3C/svg%3E"); }
.i-ghost { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 2a8 8 0 0 0-8 8v12l3-2 2.5 2 2.5-2 2.5 2 2.5-2 3 2V10a8 8 0 0 0-8-8zM9 9a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm6 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3z'/%3E%3C/svg%3E"); }
.i-news { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M3 5h14v14a2 2 0 0 0 2 2H5a2 2 0 0 1-2-2zm16 4h2v10a2 2 0 0 1-4 0V9zM6 8v3h8V8zm0 5v2h8v-2zm0 4v2h5v-2z'/%3E%3C/svg%3E"); }
.i-brain { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 3a3 3 0 0 0-3 3 3 3 0 0 0-2 5 3 3 0 0 0 2 5 3 3 0 0 0 6 2V5a2 2 0 0 0-3-2zm6 0a2 2 0 0 0-3 2v13a3 3 0 0 0 6-2 3 3 0 0 0 2-5 3 3 0 0 0-2-5 3 3 0 0 0-3-3z'/%3E%3C/svg%3E"); }
.i-bolt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231D1650' d='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E"); }
.i-crown { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M3 7l5 4 4-7 4 7 5-4-2 12H5z'/%3E%3C/svg%3E"); }

/* call to action */
.cta { padding: 10px 20px 70px; }
.ticket { max-width: 900px; margin: 0 auto; text-align: center; background: var(--red); color: #fff; border-radius: 40px; padding: 38px 24px; position: relative;
  box-shadow: 0 0 0 10px var(--ink), 0 22px 0 10px rgba(29,22,80,.5); }
.ticket::before { content: ""; position: absolute; inset: -6px; border-radius: 46px; pointer-events: none;
  background: radial-gradient(circle, var(--yellow) 0 4px, transparent 5px) 0 0 / 26px 26px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); padding: 6px; animation: chase 1.2s steps(3) infinite; }
@keyframes chase { to { background-position: 26px 0; } }
.ticket h2 { font-family: Bungee, sans-serif; font-weight: 400; font-size: clamp(22px, 3.4vw, 36px); margin: 0 0 6px; text-shadow: 0 4px 0 rgba(29,22,80,.5); }
.ticket p { margin: 0 0 22px; }

/* documents */
.doc { max-width: 860px; margin: 0 auto; padding: 30px 16px 60px; }
.card { background: var(--cream); border-radius: 34px; padding: 54px 30px 34px; box-shadow: 0 12px 0 rgba(29,22,80,.4); position: relative; }
.card.center { text-align: center; }
.ribbon { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap; background: var(--orange); color: #fff;
  font: 400 clamp(20px, 4vw, 30px) Bungee, sans-serif; padding: 10px 34px 12px; border-radius: 18px; box-shadow: 0 6px 0 #B34E00; text-shadow: 0 3px 0 #B34E00; }
.card h2 { font-family: Bungee, sans-serif; font-weight: 400; font-size: 20px; margin: 28px 0 6px; }
.card li { margin: 6px 0; }
.upd { color: #4A4380; font-size: 14px; }
details { background: #fff; border-radius: 18px; padding: 14px 18px; margin: 12px 0; box-shadow: 0 4px 0 rgba(29,22,80,.12); }
summary { cursor: pointer; font-weight: 700; }
.land-logo { width: 300px; margin: 6px auto 4px; display: block; }
.open { display: inline-block; margin-top: 18px; }
.code { color: #4A4380; font-size: 14px; }

/* footer */
.foot { text-align: center; color: rgba(255,255,255,.85); padding: 0 16px 34px; font-size: 15px; }
.foot a { color: #fff; }
.foot .links a { margin: 0 9px; display: inline-block; }
.foot .bulbs { height: 18px; margin: 0 auto 22px; max-width: 900px; background: radial-gradient(circle, var(--yellow) 0 5px, rgba(255,240,200,.35) 6px, transparent 7px) 0 0 / 30px 18px repeat-x;
  animation: chase2 1.5s steps(3) infinite; }
@keyframes chase2 { to { background-position: 30px 0; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 0; }
  .phones { height: 470px; max-width: 520px; margin: 10px auto 0; width: 100%; }
  .phone { width: 180px; } .p1 { width: 200px; left: calc(50% - 100px); } .p0 { left: 0; } .p2 { right: 0; }
  .feats { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .top nav a { margin-left: 10px; font-size: 13px; } .brand img { width: 118px; }
  .phones { height: 400px; } .phone { width: 150px; border-radius: 30px; } .phone img { border-radius: 24px; } .p1 { width: 170px; left: calc(50% - 85px); }
  .store { min-width: 0; width: 100%; justify-content: center; }
  .card { padding: 50px 18px 26px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
