:root {
  --ink: #171528;
  --muted: #716d80;
  --line: #e8e6ee;
  --paper: #fbfafc;
  --night: #09111f;
  --game-blue: #4dc4ff;
  --game-lime: #b9f227;
  --game-coral: #ff5d73;
  --game-cream: #fff8dd;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -.045em; }
em { font-family: var(--serif); font-weight: 400; }
[v-cloak] { display: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: auto; }
.section { padding: 112px 0; }
.eyebrow { color: #e34a63; font-size: 10px; font-weight: 800; letter-spacing: .16em; }

.site-header { position: absolute; z-index: 20; top: 0; width: 100%; }
.nav { height: 86px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 800; }
.brand img { width: 138px; height: 52px; object-fit: cover; }
.brand span { padding-left: 12px; border-left: 1px solid #ffffff2d; }
.nav nav { display: flex; gap: 32px; color: #c9c5d7; font-size: 13px; }
.nav nav a, .footer-main nav a { transition: color .2s; }
.nav nav a:hover, .footer-main nav a:hover { color: #fff; }
.nav-cta { padding: 11px 16px; color: #fff; border: 1px solid #ffffff2d; border-radius: 10px; font-size: 12px; font-weight: 700; transition: .2s; }
.nav-cta:hover { border-color: var(--game-lime); background: #ffffff0a; }

.hero { position: relative; min-height: 760px; padding: 145px 0 70px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #08101e, #111d35 58%, #162b2c); }
.hero-content { min-height: 545px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; color: #d8ff72; }
.hero .eyebrow i { width: 7px; height: 7px; border-radius: 2px; background: var(--game-coral); box-shadow: 0 0 14px var(--game-coral); }
.hero h1 { margin: 20px 0 24px; font-size: clamp(48px, 6vw, 76px); line-height: 1.01; }
.hero h1 em { color: var(--game-lime); }
.hero-copy > p { max-width: 590px; color: #bcb8c9; font-size: 17px; line-height: 1.75; }
.button { min-height: 50px; margin-top: 18px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 11px; font-size: 13px; font-weight: 800; transition: .2s; }
.button:hover { transform: translateY(-2px); }
.primary { color: #07101b; background: linear-gradient(135deg, var(--game-lime), #7deec6); box-shadow: 0 15px 35px #8ddc4d2e; }
.aurora { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .22; }
.aurora-one { width: 480px; height: 480px; top: -290px; left: 20%; background: var(--game-coral); }
.aurora-two { width: 520px; height: 520px; right: -280px; bottom: -190px; background: var(--game-blue); }
.stars { position: absolute; inset: 0; opacity: .28; background-image: radial-gradient(circle, #fff 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(to right, transparent, #000); }

.arcade { position: relative; height: 500px; }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid #ffffff16; border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 280px; height: 280px; }
.orbit-two { width: 470px; height: 470px; }
.arcade-core { position: absolute; top: 50%; left: 50%; width: 175px; height: 175px; display: grid; place-content: center; text-align: center; border: 1px solid #ffffff20; border-radius: 50%; background: linear-gradient(145deg, #ffffff10, #ffffff03); transform: translate(-50%, -50%); box-shadow: 0 0 90px #4dc4ff30; }
.controller { color: var(--game-lime); font: 800 40px/1 "Manrope", sans-serif; letter-spacing: 7px; }
.arcade-core small { margin-top: 9px; color: #a9a3b7; font-size: 8px; font-weight: 800; letter-spacing: .25em; }
.game-chip { position: absolute; padding: 14px 18px; display: flex; align-items: center; gap: 10px; border: 1px solid #ffffff20; border-radius: 14px; background: #111d31ed; box-shadow: 0 18px 38px #02071270; font-size: 11px; font-weight: 800; }
.game-chip b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #fff; font-size: 17px; }
.chip-racer { top: 68px; right: 2px; transform: rotate(2deg); }
.chip-racer b { background: linear-gradient(135deg, #ff7185, #dc3951); }
.chip-bank { bottom: 62px; left: 0; transform: rotate(-2deg); }
.chip-bank b { color: #0a1720; background: linear-gradient(135deg, #d4ff67, #7fcf32); }
.spark { position: absolute; color: #ffffff4d; }
.spark-one { top: 112px; left: 55px; font-size: 28px; }
.spark-two { right: 45px; bottom: 108px; font-size: 25px; }

.games-section { background: var(--paper); }
.section-heading { max-width: 700px; margin: 0 auto 62px; text-align: center; }
.section-heading h2 { margin: 15px 0; font-size: clamp(35px, 4vw, 53px); line-height: 1.08; }
.section-heading h2 em { color: #e34a63; }
.section-heading p { color: var(--muted); }
.game-list { display: grid; gap: 30px; }
.game-card { min-height: 430px; display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 18px 50px #2518440c; transition: transform .25s, box-shadow .25s; }
.game-card:hover { transform: translateY(-6px); box-shadow: 0 28px 65px #25184418; }
.game-card.reverse { grid-template-columns: .8fr 1.2fr; }
.game-card.reverse .game-preview { order: 2; }
.game-preview { min-height: 430px; overflow: hidden; }
.game-copy { padding: 54px; display: flex; justify-content: center; flex-direction: column; }
.game-meta { display: flex; align-items: center; gap: 10px; color: #df4059; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.game-meta i { color: #817c8c; font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; }
.game-meta i::before { content: '\2022'; margin-right: 10px; color: #cbc6d3; }
.game-copy h3 { margin: 13px 0 16px; font-size: clamp(32px, 4vw, 48px); }
.game-copy p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.play-link { margin-top: 20px; color: #d93b54; font-size: 13px; font-weight: 800; }
.play-link b { margin-left: 8px; transition: margin .2s; }
.game-card:hover .play-link b { margin-left: 14px; }

.road-scene { position: relative; height: 100%; overflow: hidden; background: linear-gradient(#16345c 0 22%, #ff7185 44%, #111927 45%); }
.sunset { position: absolute; top: 85px; left: 50%; width: 115px; height: 115px; border-radius: 50%; background: #ffd795; transform: translateX(-50%); box-shadow: 0 0 60px #ffd795aa; }
.road-scene::before { content: ''; position: absolute; z-index: 2; bottom: -120px; left: 50%; width: 84%; height: 370px; background: #272638; transform: translateX(-50%) perspective(220px) rotateX(18deg); clip-path: polygon(35% 0, 65% 0, 100% 100%, 0 100%); }
.road-scene::after { content: ''; position: absolute; z-index: 3; bottom: 0; left: 50%; width: 7px; height: 245px; background: repeating-linear-gradient(#fef3b6 0 30px, transparent 30px 58px); transform: translateX(-50%) perspective(180px) rotateX(18deg); }
.road-line { position: absolute; z-index: 4; bottom: 0; width: 5px; height: 280px; background: #ffffff75; }
.line-one { left: 28%; transform: rotate(9deg); }
.line-two { right: 28%; transform: rotate(-9deg); }
.car { position: absolute; z-index: 5; display: block; width: 48px; height: 85px; border-radius: 13px 13px 8px 8px; box-shadow: 0 14px 24px #0008; }
.car::before { content: ''; position: absolute; top: 12px; left: 8px; width: 32px; height: 24px; border-radius: 6px; background: #13182d; }
.car::after { content: ''; position: absolute; right: 6px; bottom: 9px; left: 6px; height: 8px; border-radius: 4px; background: #ffdf77; box-shadow: 0 -52px 0 #dff8ff; }
.car-player { right: 25%; bottom: 30px; background: linear-gradient(90deg, #dc3951, #ff7185, #dc3951); transform: rotate(5deg) scale(1.1); }
.car-rival { left: 31%; bottom: 170px; background: linear-gradient(90deg, #7ca51b, #d4ff67, #7ca51b); transform: scale(.7); }
.road-scene strong { position: absolute; z-index: 7; top: 38px; left: 36px; color: #fff; font: 800 29px/.88 "Manrope", sans-serif; letter-spacing: -.07em; text-shadow: 0 5px 20px #0008; }
.road-scene strong em { color: #d8ff72; font-size: 27px; }

.bank-scene { position: relative; height: 100%; padding: 60px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #efe8dc, #d7c8aa); }
.bank-scene::before { content: ''; position: absolute; width: 390px; height: 390px; border: 1px solid #ffffffa0; border-radius: 50%; }
.bank-window { position: relative; z-index: 2; width: min(430px, 100%); padding: 18px; border: 1px solid #d3c5ad; border-radius: 17px; background: #fffdf8; box-shadow: 0 28px 60px #5d43242e; transform: rotate(-2deg); }
.bank-bar { padding: 4px 2px 17px; display: flex; justify-content: space-between; color: #c8472b; font-family: Georgia, serif; }
.bank-bar span { color: #d7cbb9; font-size: 8px; letter-spacing: 4px; }
.balance-card { padding: 22px; color: #fff; border-radius: 13px; background: linear-gradient(135deg, #1a3a5c, #2d5a8e); }
.balance-card small, .balance-card strong { display: block; }
.balance-card small { opacity: .65; font-size: 7px; letter-spacing: .14em; }
.balance-card strong { margin-top: 8px; font: 500 25px "DM Sans", sans-serif; }
.players { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.players span { padding: 12px; color: #85755d; border: 1px solid #e4dac9; border-radius: 9px; font-size: 8px; font-weight: 700; }
.players b { margin-top: 5px; display: block; color: #2d6a4f; font-size: 11px; }
.coin { position: absolute; z-index: 3; width: 55px; height: 55px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: linear-gradient(145deg, #e0ad2d, #a87506); box-shadow: 0 13px 24px #7a561b45; font: 800 20px Georgia, serif; }
.coin-one { top: 42px; right: 38px; transform: rotate(13deg); }
.coin-two { bottom: 43px; left: 42px; transform: rotate(-12deg) scale(.75); }

.about-section { background: #fff; }
.about-card { padding: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; color: #fff; border-radius: 26px; background: radial-gradient(circle at 85% 0, #174d63, transparent 42%), linear-gradient(135deg, #091321, #17233a); }
.about-card .eyebrow { color: #d8ff72; }
.about-card h2 { margin: 15px 0 0; font-size: clamp(34px, 4vw, 51px); line-height: 1.08; }
.about-card h2 em { color: var(--game-lime); }
.about-copy { color: #c0bbcd; font-size: 14px; line-height: 1.8; }

footer { padding-top: 60px; color: #a39dac; background: #171522; }
.footer-main { display: flex; align-items: center; gap: 35px; }
.footer-brand img { width: 155px; height: 80px; object-fit: cover; }
.footer-main p { max-width: 410px; margin: 0; color: #7e7789; font-size: 11px; line-height: 1.65; }
.footer-main p strong { color: #b8b1c5; }
.footer-main nav { margin-left: auto; display: flex; gap: 25px; font-size: 11px; }
.footer-bottom { margin-top: 40px; padding: 20px 0; display: flex; justify-content: space-between; color: #676171; border-top: 1px solid #ffffff10; font-size: 9px; }

.reveal { opacity: 0; transform: translateY(20px); transition: .65s; }
.reveal.visible { opacity: 1; transform: none; }
.delay { transition-delay: .12s; }

@media (max-width: 900px) {
  .nav nav { display: none; }
  .hero-content { grid-template-columns: 1fr; gap: 15px; }
  .hero { padding-bottom: 35px; }
  .arcade { height: 390px; }
  .game-card, .game-card.reverse { grid-template-columns: 1fr; }
  .game-card.reverse .game-preview { order: 0; }
  .game-preview { min-height: 380px; }
  .about-card { grid-template-columns: 1fr; gap: 30px; }
  .footer-main { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 75px 0; }
  .nav-cta { display: none; }
  .brand img { width: 116px; }
  .brand span { font-size: 14px; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero h1 { font-size: 45px; }
  .button { width: 100%; }
  .arcade { height: 350px; }
  .orbit-two { width: 330px; height: 330px; }
  .arcade-core { width: 145px; height: 145px; }
  .chip-racer { top: 32px; }
  .chip-bank { bottom: 34px; }
  .spark { display: none; }
  .game-preview { min-height: 310px; }
  .game-copy { padding: 34px 26px 38px; }
  .road-scene strong { top: 26px; left: 24px; }
  .bank-scene { padding: 35px 25px; }
  .coin-one { top: 22px; right: 15px; }
  .coin-two { bottom: 20px; left: 18px; }
  .about-card { padding: 48px 25px; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-main nav { margin: 0; }
  .footer-bottom { align-items: center; flex-direction: column; gap: 7px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .game-card { transition: none; }
}
