/* GamesSpotter website. Light, photo-led, desktop-first; the app keeps its own dark look. */
:root {
  --paper: #F3F5FA;
  --card: #FFFFFF;
  --ink: #0C1226;
  --ink-2: #3D4663;
  --ink-3: #6B7391;
  --line: #DCE1EC;
  --cobalt: #2B4CF2;
  --cobalt-d: #1D37C4;
  --cobalt-soft: #E6EBFF;
  --live: #12A86C;
  --live-soft: #DDF6EA;
  --ember: #FF5B2E;
  --ember-soft: #FFE8E0;
  --r: 18px;
  --wrap: 1240px;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--cobalt); }
h1, h2, h3 { font-family: var(--display); font-variation-settings: "wdth" 118; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 850; }
h3 { font-size: 22px; font-weight: 800; line-height: 1.15; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; font: 700 15.5px var(--body); text-decoration: none; cursor: pointer; border: 0; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn.big { height: 56px; padding: 0 26px; font-size: 17px; border-radius: 14px; }
.btn.solid { background: var(--cobalt); color: #fff; box-shadow: 0 10px 24px -12px rgba(43, 76, 242, .8); }
.btn.solid:hover { background: var(--cobalt-d); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: rgba(12, 18, 38, .06); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(243, 245, 250, .86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 850 21px var(--display); font-variation-settings: "wdth" 112; letter-spacing: -0.02em; }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: 6px; margin-left: 12px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover { color: var(--ink); background: rgba(12, 18, 38, .05); }
.nav-cta { margin-left: auto; display: flex; gap: 6px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Sections */
section { padding: 96px 32px; }
.sec-head { max-width: var(--wrap); margin: 0 auto 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.sec-head p { color: var(--ink-2); font-size: 18px; max-width: 52ch; }
.lede { color: var(--ink-2); font-size: 19px; max-width: 54ch; }

/* Hero */
.hero { max-width: 1360px; margin: 0 auto; padding: 40px 32px 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.6vw, 82px); font-weight: 900; font-variation-settings: "wdth" 122; letter-spacing: -0.035em; line-height: .98; max-width: 11ch; }
.hero .lede { margin-top: 24px; }
.finder { margin-top: 32px; background: var(--card); border-radius: 22px; padding: 18px; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(12, 18, 38, .45); display: grid; gap: 14px; max-width: 600px; }
.f-where { display: grid; gap: 4px; }
.f-where span { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.f-where input { height: 52px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 16px; font: 500 17px var(--body); color: var(--ink); background: var(--paper); }
.f-where input:focus { outline: none; border-color: var(--cobalt); background: #fff; }
.f-what { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font: 600 14.5px var(--body); cursor: pointer; }
.pick:hover { border-color: var(--ink-3); }
.pick.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.finder .btn { width: 100%; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.hero-art { position: relative; }
.hero-photo { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 6; box-shadow: 0 40px 80px -50px rgba(12, 18, 38, .7); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.board { position: absolute; left: -48px; bottom: 36px; width: min(440px, 88%); background: rgba(255, 255, 255, .97); border-radius: 20px; padding: 18px 18px 14px; box-shadow: 0 30px 60px -30px rgba(12, 18, 38, .55); }
.board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.board-head b { font: 800 16px var(--display); }
.pulse { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--live); }
.pulse::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(18, 168, 108, .5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(18, 168, 108, .5); } 70% { box-shadow: 0 0 0 10px rgba(18, 168, 108, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 168, 108, 0); } }
.board-rows { list-style: none; margin: 0; padding: 0; }
.board-rows li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.board-rows .v { display: flex; flex-direction: column; min-width: 0; }
.board-rows .v b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-rows .v small { font-size: 12.5px; color: var(--ink-3); }
.board-rows .m { font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: var(--paper); padding: 4px 9px; border-radius: 8px; }
.board-rows .f { font-size: 13px; font-weight: 800; padding: 5px 10px; border-radius: 8px; min-width: 92px; text-align: center; font-variant-numeric: tabular-nums; transition: background .3s, color .3s; }
.board-rows .f.ok { background: var(--live-soft); color: #0B7A4E; }
.board-rows .f.no { background: #F1F2F6; color: var(--ink-3); }
.board-rows .f.flash { background: var(--cobalt); color: #fff; }
.board-foot { font-size: 12px; color: var(--ink-3); padding-top: 8px; border-top: 1px solid var(--line); }

/* What you can play */
.play-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 16px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 18, 38, 0) 40%, rgba(12, 18, 38, .82)); }
.tile:hover img { transform: scale(1.04); }
.t-big { grid-column: span 2; grid-row: span 2; }
.t-wide { grid-column: span 2; }
.t-cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.t-cap b { font: 850 24px var(--display); font-variation-settings: "wdth" 118; }
.t-big .t-cap b { font-size: 40px; }
.t-cap small { font-size: 14.5px; opacity: .88; max-width: 40ch; }

/* How it works */
.how { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.how-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
.how-photo img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; counter-reset: s; margin: 32px 0 32px; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; background: var(--cobalt-soft); color: var(--cobalt); display: grid; place-items: center; font: 900 22px var(--display); }
.steps b { font: 800 20px var(--display); font-variation-settings: "wdth" 112; }
.steps span { color: var(--ink-2); }

/* Compete */
.compete-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.c-card { background: var(--card); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); }
.c-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.c-body { padding: 22px 22px 24px; display: grid; gap: 10px; }
.c-body p, .c-draw p { color: var(--ink-2); font-size: 15.5px; }
.lobby { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.lobby div { background: var(--paper); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.lobby small { font-size: 12px; color: var(--ink-3); }
.lobby b { font: 700 15px ui-monospace, monospace; letter-spacing: .04em; }
.c-draw { background: var(--ember); color: #fff; padding: 26px; gap: 14px; justify-content: space-between; }
.c-draw h3 { font-size: 30px; font-weight: 900; }
.c-draw p { color: rgba(255, 255, 255, .92); }
.draw-tag { align-self: flex-start; background: rgba(255, 255, 255, .2); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.draw-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.draw-meta span { background: rgba(255, 255, 255, .16); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.draw-meta small { font-size: 12px; opacity: .85; }
.draw-meta b { font-size: 17px; }

/* Points */
.points { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.points h2 { font-size: clamp(38px, 4.6vw, 64px); font-weight: 900; }
.points-copy > p { color: var(--ink-2); font-size: 18px; margin-top: 18px; max-width: 52ch; }
.pt-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; max-width: 56ch; }
.pt-list li { padding-left: 22px; position: relative; color: var(--ink-2); }
.pt-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px; border-radius: 3px; background: var(--cobalt); }
.pt-list b { color: var(--ink); }
.points-card { background: var(--ink); color: #fff; border-radius: 26px; padding: 28px; display: grid; gap: 12px; box-shadow: 0 40px 70px -40px rgba(12, 18, 38, .8); }
.pc-top { display: flex; justify-content: space-between; align-items: center; }
.pc-top span { background: #C9CFDD; color: var(--ink); font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.pc-big b { font: 900 76px/1 var(--display); font-variation-settings: "wdth" 120; font-variant-numeric: tabular-nums; }
.pc-big small { display: block; color: #A9B1C9; font-size: 14px; margin-top: 4px; }
.pc-bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.pc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cobalt), #6E8BFF); border-radius: 99px; }
.pc-next { color: #C8CEE0; font-size: 14.5px; }
.pc-rows { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 15px; color: #C8CEE0; }
.pc-rows b { color: #fff; }

/* Owners: the dark band */
.owners { background: var(--ink); color: #fff; padding: 110px 32px; }
.owners-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.owners h2 { max-width: 18ch; }
.owners .lede { color: #B9C0D6; margin-top: 18px; }
.o-tools { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.o-tools li { display: flex; flex-direction: column; gap: 3px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
.o-tools b { font-size: 16.5px; }
.o-tools span { color: #A9B1C9; font-size: 14.5px; }
.o-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.owners .btn.line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.owners .btn.line:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.owners-photo { margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; }
.owners-photo img { width: 100%; height: 100%; object-fit: cover; }

.planner { max-width: var(--wrap); margin: 96px auto 0; }
.pl-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.pl-head p { color: #B9C0D6; }
.earn-calc { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.ec-inputs { background: #151C36; border-radius: 22px; padding: 24px; display: grid; gap: 18px; }
.ec-machines { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ec-m { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #1D2546; font-weight: 700; }
.ec-m span { min-width: 0; }
.ec-m small { display: block; font-weight: 500; font-size: 12px; color: #A9B1C9; margin-top: 2px; line-height: 1.4; }
.ec-m small.ec-kit { color: #7F88A6; font-size: 11.5px; }
.ec-step { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.ec-step button { width: 34px; height: 34px; border-radius: 10px; border: 0; background: #2A3460; color: #fff; font-size: 18px; cursor: pointer; }
.ec-step button:hover { background: var(--cobalt); }
.ec-step b { min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.ec-sl { display: grid; gap: 8px; font-size: 14.5px; color: #C8CEE0; }
.ec-sl span { display: flex; justify-content: space-between; gap: 10px; }
.ec-sl b { color: #fff; font-variant-numeric: tabular-nums; }
.ec-sl input[type=range] { width: 100%; accent-color: var(--cobalt); }
.ec-sel { height: 42px; border-radius: 10px; border: 0; background: #1D2546; color: #fff; padding: 0 12px; font: 600 15px var(--body); }
.ec-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ec-out { background: #fff; color: var(--ink); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 10px; align-self: start; position: sticky; top: 92px; }
.ec-out > small { color: var(--ink-3); font-weight: 700; }
.ec-big { font: 900 54px/1 var(--display); font-variation-settings: "wdth" 120; color: var(--live); font-variant-numeric: tabular-nums; }
.ec-big.bad { color: var(--ember); }
#ecPay { color: var(--ink-2); font-size: 15px; }
.ec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.ec-grid div { background: var(--paper); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; }
.ec-grid small { font-size: 12px; color: var(--ink-3); }
.ec-grid b { font-size: 18px; font-variant-numeric: tabular-nums; }
.ec-room { display: flex; flex-direction: column; font-size: 14px; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--line); }
.ec-room b { color: var(--ink); font-size: 15px; }
.ec-note { font-size: 12.5px; color: var(--ink-3); }
.pl-foot { margin-top: 18px; color: #B9C0D6; }
.pl-foot a { color: #fff; }

/* Video */
.video { max-width: 1000px; margin: 0 auto; position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video button { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; border: 0; background: var(--cobalt); cursor: pointer; display: grid; place-items: center; box-shadow: 0 20px 40px -14px rgba(43, 76, 242, .9); transition: transform .2s; }
.video button:hover { transform: translate(-50%, -50%) scale(1.06); }
.video svg { width: 34px; fill: #fff; margin-left: 4px; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; }
.faq h2 { margin-bottom: 24px; }
.qa details { border-top: 1px solid var(--line); padding: 4px 0; }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; font: 700 19px var(--body); padding: 18px 40px 18px 0; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 28px; font-weight: 400; color: var(--ink-3); transition: transform .2s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { color: var(--ink-2); padding: 0 0 20px; max-width: 70ch; }

/* Final */
.final { text-align: center; padding: 100px 32px 120px; }
.final h2 { font-size: clamp(36px, 5vw, 68px); font-weight: 900; max-width: 16ch; margin: 0 auto; }
.final-cta { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 32px 32px; }
.foot-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { color: var(--ink-3); font-size: 14.5px; margin-top: 12px; max-width: 36ch; }
.foot h4 { margin: 0 0 12px; font-size: 14px; color: var(--ink-3); font-weight: 700; }
.foot-in > div:not(.foot-brand) > a { display: block; color: var(--ink); text-decoration: none; font-size: 15px; margin-bottom: 8px; }
.foot-in > div > a:hover { color: var(--cobalt); }
.foot-small { max-width: var(--wrap); margin: 40px auto 0; font-size: 13px; color: var(--ink-3); }

/* One orchestrated entrance: the hero */
.hero-copy > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; } .hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-photo { animation: rise .9s .1s cubic-bezier(.2, .8, .2, 1) both; }
.board { animation: rise .8s .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Laptop and smaller */
@media (max-width: 1100px) {
  .nav-links a { padding: 8px 8px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: 14ch; }
  .hero-photo { aspect-ratio: 16 / 11; }
  .board { left: 16px; bottom: 16px; }
  .compete-grid { grid-template-columns: 1fr 1fr; }
  .c-photo { grid-column: span 2; }
  .earn-calc { grid-template-columns: 1fr; }
  .ec-out { position: static; }
}
@media (max-width: 900px) {
  section { padding: 72px 20px; }
  .nav-in { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--paper); padding: 12px 20px 20px; border-bottom: 1px solid var(--line); margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 17px; padding: 12px 8px; }
  .hero { padding: 24px 20px 56px; }
  .board { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -60px; }
  .sec-head, .pl-head { grid-template-columns: 1fr; gap: 12px; }
  .play-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .t-wide { grid-column: span 1; }
  .t-big .t-cap b { font-size: 30px; }
  .how, .points, .owners-in { grid-template-columns: 1fr; gap: 40px; }
  .how-photo, .owners-photo { aspect-ratio: 16 / 11; }
  .compete-grid { grid-template-columns: 1fr; }
  .c-photo { grid-column: auto; }
  .o-tools { grid-template-columns: 1fr; }
  .owners { padding: 80px 20px; }
  .ec-machines, .ec-two { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
}
@media (max-width: 520px) {
  .play-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .t-big, .t-wide { grid-column: auto; grid-row: span 1; }
  .finder { padding: 14px; }
  .ec-grid { grid-template-columns: 1fr 1fr; }
}
