:root {
  --navy-950: #050818;
  --navy-900: #080d22;
  --navy-850: #0c122d;
  --navy-800: #101735;
  --violet: #7c3cff;
  --violet-light: #aa7dff;
  --blue: #3978ff;
  --cyan: #32e4d0;
  --lime: #b8f24b;
  --orange: #ff9f43;
  --white: #f7f8ff;
  --muted: #aab2ce;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(16, 23, 53, 0.68);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 14px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--navy-950);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 82% 8%, rgba(85, 52, 216, 0.16), transparent 28%), radial-gradient(circle at 9% 34%, rgba(37, 115, 255, 0.1), transparent 25%), var(--navy-950);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; color: var(--navy-950); background: var(--cyan); border-radius: 8px; font-weight: 800; transform: translateY(-150%); transition: transform 0.2s ease; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 86px 0; }

.eyebrow { margin: 0 0 16px; color: #9ba6ff; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; line-height: 1.3; text-transform: uppercase; }
.eyebrow > span { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 14px var(--cyan); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--white); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3.2rem, 13vw, 6.5rem); }
h2 { margin-bottom: 20px; font-size: clamp(2.4rem, 8.5vw, 4.5rem); }
h3 { font-size: 1.35rem; }
h1 span, h2 span { color: transparent; background: linear-gradient(100deg, #a07cff 5%, #55c8ff 58%, #57f1d5); -webkit-background-clip: text; background-clip: text; }
p { color: var(--muted); }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 13px 21px; border: 1px solid transparent; border-radius: 13px; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--violet), var(--blue)); box-shadow: 0 14px 34px rgba(94, 65, 255, 0.3); }
.button-primary:hover { box-shadow: 0 18px 42px rgba(94, 65, 255, 0.44); }
.button-secondary { border-color: var(--line); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(14px); }
.button-secondary:hover { border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); }
.button-small { min-height: 43px; padding: 9px 16px; font-size: 0.9rem; }
.button-light { color: #12152f; background: #fff; box-shadow: 0 18px 46px rgba(3, 8, 29, 0.3); }
.play-mark { display: inline-block; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 12px solid currentColor; filter: drop-shadow(0 0 5px rgba(59, 228, 208, 0.55)); }
.play-mark.dark { color: #5550d8; }

.site-header { position: fixed; top: 0; right: 0; left: 0; z-index: 100; padding: 10px 0; border-bottom: 1px solid transparent; transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(5, 8, 24, 0.86); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18); backdrop-filter: blur(18px); }
.nav { display: flex; min-height: 58px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1rem; font-weight: 900; letter-spacing: 0.12em; text-decoration: none; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.24); background: linear-gradient(145deg, #874dff, #315fff); border-radius: 11px 11px 16px 11px; box-shadow: 0 8px 22px rgba(75, 73, 255, 0.34); font-size: 1.05rem; font-style: italic; letter-spacing: -0.05em; }
.menu-toggle { display: grid; width: 46px; height: 46px; padding: 11px; place-content: center; gap: 5px; color: #fff; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); border-radius: 12px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 5px; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu { position: absolute; top: calc(100% + 1px); right: 16px; left: 16px; display: none; padding: 14px; border: 1px solid var(--line); background: rgba(8, 13, 34, 0.97); border-radius: 18px; box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.nav-menu.is-open { display: grid; }
.nav-menu > a:not(.button) { padding: 13px 12px; color: #c8cde0; border-radius: 9px; font-weight: 700; text-decoration: none; }
.nav-menu > a:not(.button):hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-menu .button { margin-top: 8px; }

.hero { display: grid; min-height: 780px; padding-top: 128px; overflow: hidden; }
.hero-grid { display: grid; align-items: center; gap: 62px; }
.hero-copy { position: relative; z-index: 2; animation: rise 0.7s ease-out both; }
.hero-description { max-width: 660px; margin-bottom: 30px; font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.hero-values { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-top: 28px; color: #c5cadb; font-size: 0.82rem; font-weight: 700; }
.hero-values span { display: inline-flex; align-items: center; gap: 8px; }
.hero-values i { width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 10px var(--cyan); }
.hero-art { position: relative; width: min(88vw, 500px); margin-inline: auto; animation: rise 0.8s 0.12s ease-out both; }
.art-frame { position: relative; z-index: 1; aspect-ratio: 2 / 2.85; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 45% 45% 44% 44% / 32% 32% 28% 28%; box-shadow: 0 38px 100px rgba(34, 26, 138, 0.45), 0 0 70px rgba(65, 142, 255, 0.16); }
.art-frame::after { position: absolute; inset: 0; content: ""; background: linear-gradient(130deg, rgba(255,255,255,0.14), transparent 25%, transparent 80%, rgba(52, 232, 216, 0.08)); pointer-events: none; }
.art-frame img { width: 100%; height: 100%; object-fit: cover; }
.art-orbit { position: absolute; inset: -6%; border: 1px solid rgba(92, 196, 255, 0.15); border-radius: 50%; transform: rotate(-14deg); }
.floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid rgba(255, 255, 255, 0.17); background: rgba(10, 16, 42, 0.78); border-radius: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); backdrop-filter: blur(14px); }
.floating-card-top { top: 11%; right: -7%; }
.floating-card-bottom { bottom: 11%; left: -7%; }
.floating-card b, .floating-card small { display: block; }
.floating-card b { font-size: 0.72rem; }
.floating-card small { color: var(--muted); font-size: 0.58rem; }
.mini-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; font-weight: 900; }
.mini-word { background: linear-gradient(145deg, #9d68ff, #5d39dc); }
.mini-match { color: #071524; background: linear-gradient(145deg, #57f4e0, #2aafa6); }
.hero-glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(10px); }
.hero-glow-one { top: 80px; right: -220px; width: 580px; height: 580px; background: radial-gradient(circle, rgba(100, 55, 255, 0.2), transparent 66%); }
.hero-glow-two { bottom: -180px; left: -180px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(40, 201, 217, 0.12), transparent 65%); }

.games { background: linear-gradient(180deg, transparent, rgba(13, 18, 46, 0.72) 18%, rgba(13, 18, 46, 0.72) 82%, transparent); }
.section-heading { display: grid; gap: 12px; margin-bottom: 38px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 510px; margin-bottom: 0; align-self: end; }
.games-grid { display: grid; gap: 20px; }
.game-card { overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(24, 31, 70, 0.78), rgba(10, 15, 37, 0.9)); border-radius: var(--radius-md); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.game-card:hover { border-color: rgba(157, 122, 255, 0.42); box-shadow: 0 26px 62px rgba(0, 0, 0, 0.28); transform: translateY(-6px); }
.game-visual { position: relative; aspect-ratio: 1.25 / 1; overflow: hidden; background: #252155; }
.game-visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 48%, rgba(5, 8, 24, 0.78)); pointer-events: none; }
.game-shot { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.game-card:hover .game-shot { transform: scale(1.035); }
.game-icon { position: absolute; bottom: 16px; left: 18px; z-index: 2; width: 58px; height: 58px; border: 3px solid rgba(255, 255, 255, 0.72); border-radius: 15px; box-shadow: 0 9px 24px rgba(0, 0, 0, 0.38); }
.game-category { position: absolute; right: 15px; bottom: 22px; z-index: 2; padding: 6px 10px; color: #f1f3ff; background: rgba(7, 10, 28, 0.72); border-radius: 999px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; backdrop-filter: blur(10px); }
.game-content { display: grid; min-height: 272px; padding: 23px; }
.game-content h3 { margin-bottom: 12px; }
.game-content p { margin-bottom: 22px; font-size: 0.93rem; line-height: 1.67; }
.store-link { display: inline-flex; width: fit-content; align-items: center; align-self: end; gap: 10px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 11px; color: #fff; font-size: 0.92rem; font-weight: 800; line-height: 1.05; text-decoration: none; transition: background-color 0.2s ease, border-color 0.2s ease; }
.store-link:hover { border-color: rgba(50, 228, 208, 0.38); background: rgba(255, 255, 255, 0.06); }
.store-link small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 0.58rem; font-weight: 600; text-transform: uppercase; }

.featured-panel { display: grid; overflow: hidden; padding: 48px 22px; border: 1px solid rgba(255, 255, 255, 0.12); background: radial-gradient(circle at 18% 50%, rgba(113, 64, 245, 0.34), transparent 35%), linear-gradient(135deg, #151842, #0b1130 70%); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.featured-art { position: relative; min-height: 440px; margin-bottom: 25px; }
.phone { position: absolute; overflow: hidden; padding: 9px; border: 2px solid #444d7a; background: #050816; border-radius: 34px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.46); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 25px; }
.phone-front { top: 8px; left: 50%; z-index: 2; width: 220px; height: 420px; transform: translateX(-48%) rotate(3deg); }
.phone-back { top: 48px; left: 50%; width: 190px; height: 360px; opacity: 0.62; transform: translateX(-76%) rotate(-12deg); }
.phone-speaker { position: absolute; top: 16px; left: 50%; z-index: 2; width: 48px; height: 5px; background: #080a18; border-radius: 8px; transform: translateX(-50%); }
.letter-chip { position: absolute; z-index: 3; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,0.25); background: linear-gradient(145deg, #8f5dff, #4b38c9); border-radius: 13px; box-shadow: 0 12px 28px rgba(0,0,0,0.4); font-weight: 900; }
.chip-one { top: 58px; left: 1%; transform: rotate(-10deg); }
.chip-two { right: 1%; bottom: 108px; color: #0e1630; background: linear-gradient(145deg, #6ff5dc, #2eb8bc); transform: rotate(13deg); }
.chip-three { bottom: 6px; left: 15%; color: #241536; background: linear-gradient(145deg, #ffc261, #ff8547); transform: rotate(5deg); }
.featured-copy { position: relative; z-index: 4; }
.featured-copy h2 { max-width: 620px; font-size: clamp(2.35rem, 8vw, 4.15rem); }
.featured-copy > p { max-width: 580px; }
.feature-list { display: grid; gap: 12px; margin: 26px 0 30px; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 11px; color: #d9dcf0; font-weight: 700; }
.feature-list li span { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; color: #09142c; background: var(--cyan); border-radius: 50%; font-size: 0.75rem; font-weight: 900; }

.about-grid { display: grid; gap: 25px; margin-bottom: 52px; }
.about-copy h2 { margin-bottom: 0; }
.about-text > p { font-size: clamp(1.1rem, 3.2vw, 1.35rem); line-height: 1.75; }
.location-chip { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; padding: 11px 15px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035); border-radius: 14px; color: #ecedfa; font-weight: 800; }
.location-chip > span:first-child { color: var(--orange); }
.location-chip small { display: block; color: var(--muted); font-size: 0.66rem; font-weight: 600; }
.benefits-grid { display: grid; gap: 14px; }
.benefit { position: relative; min-height: 270px; padding: 24px; overflow: hidden; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035); border-radius: 22px; transition: background-color 0.22s ease, transform 0.22s ease; }
.benefit:hover { background: rgba(255, 255, 255, 0.06); transform: translateY(-4px); }
.benefit-number { position: absolute; top: 20px; right: 21px; color: #747d9e; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; }
.benefit-icon { display: grid; width: 50px; height: 50px; margin-bottom: 46px; place-items: center; color: var(--cyan); background: rgba(50, 228, 208, 0.1); border-radius: 15px; font-size: 1.35rem; }
.benefit:nth-child(2) .benefit-icon { color: var(--violet-light); background: rgba(159, 113, 255, 0.1); }
.benefit:nth-child(3) .benefit-icon { color: var(--orange); background: rgba(255, 159, 67, 0.1); }
.benefit:nth-child(4) .benefit-icon { color: var(--lime); background: rgba(184, 242, 75, 0.1); }
.benefit h3 { margin-bottom: 10px; }
.benefit p { margin-bottom: 0; font-size: 0.92rem; }

.cta-panel { position: relative; overflow: hidden; padding: 68px 22px; background: linear-gradient(120deg, #7547ea, #3d61e7 56%, #1caeac); border-radius: var(--radius-lg); box-shadow: 0 28px 78px rgba(46, 55, 193, 0.32); text-align: center; }
.cta-panel > *:not(.cta-orb) { position: relative; z-index: 2; }
.cta-panel .eyebrow, .cta-panel p { color: rgba(255, 255, 255, 0.82); }
.cta-panel h2 { max-width: 800px; margin-inline: auto; }
.cta-panel > p:not(.eyebrow) { margin-bottom: 28px; }
.cta-orb { position: absolute; border: 1px solid rgba(255,255,255,0.2); border-radius: 35%; transform: rotate(25deg); }
.cta-orb-one { top: -90px; left: -70px; width: 250px; height: 250px; }
.cta-orb-two { right: -100px; bottom: -120px; width: 330px; height: 330px; }

.contact-grid { display: grid; gap: 38px; }
.contact-grid h2 { margin-bottom: 16px; }
.contact-grid > div:first-child > p:last-child { max-width: 500px; }
.contact-links { display: grid; gap: 12px; }
.contact-links > a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035); border-radius: 17px; text-decoration: none; transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }
.contact-links > a:hover { border-color: rgba(83, 225, 210, 0.36); background: rgba(255,255,255,0.06); transform: translateX(3px); }
.contact-links small { display: block; color: var(--muted); font-size: 0.67rem; }
.contact-links span:nth-child(2) { overflow-wrap: anywhere; font-size: 0.84rem; font-weight: 750; }
.contact-links b { color: var(--cyan); }
.contact-icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--cyan); background: rgba(50, 228, 208, 0.1); border-radius: 12px; font-weight: 900; }
.play-contact { color: var(--violet-light); background: rgba(150, 101, 255, 0.12); }

.site-footer { padding: 24px 0 26px; border-top: 1px solid var(--line); background: #050716; }
.footer-top { display: grid; gap: 28px; padding-block: 32px; }
.footer-top > div > p { margin: 12px 0 0 48px; font-size: 0.83rem; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-top nav a { color: #bdc3d8; font-size: 0.86rem; font-weight: 700; text-decoration: none; }
.footer-top nav a:hover { color: #fff; }
.footer-bottom { position: relative; display: flex; flex-direction: column; gap: 5px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; font-size: 0.76rem; }
.privacy-note { position: absolute; bottom: calc(100% + 8px); left: 0; padding: 7px 10px; color: var(--muted); background: var(--navy-800); border: 1px solid var(--line); border-radius: 8px; font-size: 0.7rem; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.privacy-note:target { opacity: 1; }

.has-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.has-js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes rise { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 560px) {
  .container { width: min(calc(100% - 48px), var(--container)); }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-content { min-height: 300px; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-panel { padding-inline: 42px; }
  .contact-links span:nth-child(2) { font-size: 0.94rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 760px) {
  .section { padding-block: 112px; }
  .section-heading { grid-template-columns: 1.3fr 0.7fr; align-items: end; margin-bottom: 52px; }
  .featured-panel { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 54px; padding: 64px 54px; }
  .featured-art { min-height: 510px; margin-bottom: 0; }
  .phone-front { width: 260px; height: 490px; }
  .phone-back { width: 220px; height: 420px; }
  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; gap: 70px; }
  .footer-top { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 860px) {
  .menu-toggle { display: none; }
  .nav-menu { position: static; display: flex; padding: 0; align-items: center; gap: 5px; border: 0; background: transparent; border-radius: 0; box-shadow: none; backdrop-filter: none; }
  .nav-menu > a:not(.button) { padding: 10px 12px; font-size: 0.88rem; }
  .nav-menu .button { margin: 0 0 0 7px; }
  .hero { min-height: 840px; padding-top: 130px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 60px; }
  h1 { font-size: clamp(4.6rem, 7.1vw, 6.6rem); }
  .hero-art { width: min(41vw, 500px); }
  .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .game-content { min-height: 292px; }
  .benefits-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cta-panel { padding: 88px 48px; }
}

@media (min-width: 1100px) {
  .game-content { min-height: 265px; }
  .featured-panel { gap: 90px; padding-inline: 78px; }
  .contact-grid { gap: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
