/* Custom Branded Arcade Machine Games - one stylesheet, no framework. Dark neon, like the arcade. */
@font-face { font-family: 'Orbitron'; src: url(/fonts/Orbitron-900.woff2) format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url(/fonts/Rajdhani-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url(/fonts/Rajdhani-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #07041a; --bg2: #0e0930; --panel: rgba(255, 255, 255, .045); --panel2: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .13); --text: #f4f1ff; --muted: #bdb6e0; --dim: #8d86b3;
  --pink: #ff2bd6; --cyan: #22e4ff; --yellow: #ffd23f; --green: #2dff9a;
  --radius: 18px; --max: 1160px; --gutter: 20px;
  --head: 'Orbitron', 'Arial Black', system-ui, sans-serif;
  --ui: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--body); overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 10% 0%, rgba(255, 43, 214, .16), transparent 70%), radial-gradient(ellipse 50% 40% at 95% 30%, rgba(34, 228, 255, .12), transparent 70%), var(--bg); }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #8ff3ff; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: #000; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---- type */
h1, h2, h3 { font-family: var(--head); font-weight: 900; line-height: 1.12; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 6vw, 62px); text-shadow: 0 0 4px rgba(255, 255, 255, .5), 0 0 24px rgba(255, 43, 214, .55); }
h2 { font-size: clamp(25px, 3.6vw, 38px); }
h3 { font-size: clamp(18px, 2.2vw, 22px); }
p { margin: 0 0 1em; }
.kicker { font-family: var(--ui); font-weight: 700; font-size: 15px; letter-spacing: .32em; text-transform: uppercase; color: var(--cyan); margin: 0 0 12px; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 760px; }
.pink { color: var(--pink); } .cyan { color: var(--cyan); } .yellow { color: var(--yellow); }
.muted { color: var(--muted); } .small { font-size: 14px; }
ul.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
ul.ticks li { position: relative; padding-left: 30px; margin: 0 0 .55em; }
ul.ticks li::before { content: ''; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* ---- header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(7, 4, 26, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--text); line-height: 1; margin-right: auto; }
.logo b { font-family: var(--head); font-weight: 900; font-size: 17px; letter-spacing: .04em; }
.logo b span { color: var(--pink); }
.logo i { font-style: normal; font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .3em; color: var(--cyan); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--ui); font-weight: 700; font-size: 16px; color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current=page] { background: var(--panel2); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font: 700 16px var(--ui); cursor: pointer; }

/* ---- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 700 18px var(--ui); letter-spacing: .04em; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--pink), #b02bff); color: #fff; box-shadow: 0 6px 24px rgba(255, 43, 214, .35); }
.btn.primary:hover { color: #fff; box-shadow: 0 8px 30px rgba(255, 43, 214, .55); }
.btn.ghost { border-color: var(--cyan); color: var(--cyan); background: transparent; }
.btn.ghost:hover { background: rgba(34, 228, 255, .1); color: #fff; }
.nav .btn { min-height: 42px; padding: 8px 18px; font-size: 16px; margin-left: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---- sections */
section { padding: 72px 0; }
section.tight { padding: 44px 0; }
section.band { background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .055)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.split.flip > :first-child { order: 2; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(255, 43, 214, .14); color: var(--pink); font: 900 20px var(--head); }
.card.link { text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; display: block; }
.card.link:hover { border-color: var(--cyan); transform: translateY(-2px); }
.card.link .more { font: 700 16px var(--ui); color: var(--cyan); margin-top: 10px; display: inline-block; }
.card.link:not(.game) { display: flex; flex-direction: column; }
.card.link:not(.game) .more { margin-top: auto; padding-top: 10px; }

/* ---- hero */
.hero { position: relative; padding: 0; min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(2px) brightness(.62) saturate(1.15); transform: scale(1.02); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 4, 26, .97) 0%, rgba(7, 4, 26, .88) 40%, rgba(7, 4, 26, .45) 75%, rgba(7, 4, 26, .2) 100%), linear-gradient(0deg, rgba(7, 4, 26, .95), transparent 50%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 64px; }
.hero h1 { max-width: 820px; }
.hero .lead { color: #e6e1ff; }
.page-head { padding: 64px 0 34px; }
.page-head h1 { max-width: 900px; }

/* ---- video frames */
figure { margin: 0; }
.vid { position: relative; border-radius: var(--radius); overflow: hidden; border: 2px solid rgba(34, 228, 255, .55); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 18px 50px rgba(0, 0, 0, .5), 0 0 40px rgba(34, 228, 255, .15); background: #000; aspect-ratio: 16 / 9; }
.vid.pink { border-color: rgba(255, 43, 214, .6); box-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 40px rgba(255, 43, 214, .18); }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid .play { position: absolute; inset: 0; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; color: #fff; }
.vid .play span { width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 43, 214, .92); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255, 43, 214, .25); }
.vid .play span::before { content: ''; margin-left: 6px; border-left: 26px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.vid.playing .play { display: none; }
figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; }
figcaption b { color: var(--text); }

/* ---- steps, games, faq */
.steps { counter-reset: s; display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; left: 24px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 900 17px var(--head); color: #07041a; background: var(--cyan); }
.game { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; }
.game img { border-radius: 14px; border: 1px solid var(--line); background: #000; }
.tag { display: inline-block; font: 700 13px var(--ui); letter-spacing: .14em; text-transform: uppercase; color: #07041a; background: var(--yellow); border-radius: 999px; padding: 2px 10px; margin: 0 6px 6px 0; }
.tag.c { background: var(--cyan); } .tag.p { background: var(--pink); color: #fff; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); margin: 0 0 12px; }
.faq summary { cursor: pointer; padding: 18px 54px 18px 22px; font: 700 19px var(--ui); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 12px; font: 900 26px var(--head); color: var(--pink); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }
.crumbs { font: 700 15px var(--ui); color: var(--dim); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.note { border-left: 4px solid var(--yellow); background: rgba(255, 210, 63, .07); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--muted); }
.cta-band { text-align: center; padding: 64px 0; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 43, 214, .22), transparent 70%), var(--bg2); border-top: 1px solid var(--line); }
.cta-band .actions { justify-content: center; }
table.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
table.spec th, table.spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { font: 700 15px var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); width: 34%; }
.logos { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.logos img { height: 56px; width: auto; }

/* ---- form */
form.enquiry { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
form.enquiry .full { grid-column: 1 / -1; }
label { display: block; font: 700 16px var(--ui); letter-spacing: .03em; margin-bottom: 6px; }
label .opt { color: var(--dim); font-weight: 600; }
input, select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--text); font: 17px var(--body); }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--cyan); border-color: transparent; }
select option { background: var(--bg2); }
.check { display: flex; gap: 12px; align-items: flex-start; font: 16px var(--body); }
.check input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { grid-column: 1 / -1; padding: 14px 18px; border-radius: 12px; display: none; }
.form-msg.ok { display: block; background: rgba(45, 255, 154, .12); border: 1px solid var(--green); }
.form-msg.err { display: block; background: rgba(255, 80, 80, .12); border: 1px solid #ff6b6b; }

/* ---- footer */
footer { border-top: 1px solid var(--line); padding: 50px 0 34px; background: #050314; font-size: 15px; color: var(--muted); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer h3 { font-size: 15px; letter-spacing: .1em; color: var(--text); }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 0 0 8px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--cyan); }
footer .legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--dim); }

/* ---- small screens */
@media (max-width: 1060px) {
  .g4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .nav { position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #0b0726; border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 18px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 18px; }
  .nav .btn { margin: 10px 0 0; }
  .menu-btn { display: inline-block; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  section { padding: 52px 0; }
  .g2, .g3, .g4, .steps, .split, form.enquiry { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 26px; }
  .split.flip > :first-child { order: 0; }
  footer .cols { grid-template-columns: 1fr; }
  .hero { min-height: 640px; }
  .hero::after { background: linear-gradient(0deg, rgba(7, 4, 26, .96) 10%, rgba(7, 4, 26, .55) 70%, rgba(7, 4, 26, .35)); }
  .game { grid-template-columns: 84px minmax(0, 1fr); }
  .vid .play span { width: 66px; height: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card.link { transition: none; }
}
