:root {
  color-scheme: dark;
  --bg: #070610;
  --surface: #100d1c;
  --surface-2: #171126;
  --text: #f7f4ff;
  --muted: #bdb4ce;
  --purple: #9d4edd;
  --purple-bright: #c066ff;
  --purple-deep: #5a189a;
  --cyan: #55c7ff;
  --line: rgba(255, 255, 255, 0.10);
  --max: 1180px;
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% -10%, rgba(157, 78, 221, .24), transparent 36rem),
    radial-gradient(circle at 5% 30%, rgba(85, 199, 255, .08), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: .75rem;
  background: white;
  color: #111;
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 6, 16, .78);
  backdrop-filter: blur(20px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 172px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: white; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep));
  box-shadow: 0 12px 34px rgba(126, 34, 206, .28);
  color: white !important;
  font-size: .96rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(157, 78, 221, .38); }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,.04); box-shadow: none; }
.button.small { min-height: 42px; padding: .6rem 1rem; }

.hero { padding: clamp(5rem, 11vw, 9rem) 0 5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.eyebrow { margin: 0 0 1rem; color: var(--purple-bright); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 780px; font-size: clamp(3rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
.gradient-text { background: linear-gradient(110deg, #fff 16%, #c47bff 52%, #7dd8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { max-width: 680px; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-visual { position: relative; min-height: 510px; display: grid; place-items: center; }
.hero-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(157,78,221,.32); filter: blur(75px); }
.phone {
  position: relative;
  width: min(76%, 330px);
  aspect-ratio: 9 / 13;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 36px;
  background: #03050a;
  box-shadow: 0 36px 90px rgba(0,0,0,.65), 0 0 0 8px rgba(255,255,255,.035);
  transform: rotate(4deg);
}
.phone img { width: 100%; height: 100%; border-radius: 27px; object-fit: cover; object-position: center; }
.orbit-card {
  position: absolute;
  right: 0;
  bottom: 5%;
  max-width: 230px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 13, 30, .85);
  box-shadow: 0 20px 48px rgba(0,0,0,.45);
  backdrop-filter: blur(18px);
}
.orbit-card strong { display: block; margin-bottom: .2rem; }
.orbit-card span { color: var(--muted); font-size: .9rem; }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.section-heading p { max-width: 560px; margin: 0; justify-self: end; color: var(--muted); font-size: 1.08rem; }

.game-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(23,17,38,.95), rgba(10,8,17,.95));
  box-shadow: 0 34px 100px rgba(0,0,0,.32);
}
.game-poster { min-height: 520px; overflow: hidden; border-radius: 22px; }
.game-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 19%; }
.game-info { align-self: center; padding: 1rem 0; }
.status { display: inline-flex; gap: .5rem; align-items: center; margin-bottom: 1.2rem; color: #d9bbff; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--purple-bright); box-shadow: 0 0 18px var(--purple-bright); }
.game-logo-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.game-icon { width: 70px; border-radius: 17px; box-shadow: 0 12px 32px rgba(0,0,0,.32); }
.game-info > p { color: var(--muted); font-size: 1.08rem; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; margin: 1.7rem 0 0; padding: 0; list-style: none; }
.feature-list li { padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); font-weight: 650; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.shot { position: relative; grid-column: span 4; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.shot:first-child { grid-column: span 5; }
.shot:nth-child(2) { grid-column: span 7; }
.shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; transition: transform .45s ease; }
.shot:first-child img, .shot:nth-child(2) img { aspect-ratio: 16 / 10; }
.shot:first-child img { object-position: center; }
.shot:hover img { transform: scale(1.025); }
.shot figcaption { position: absolute; inset: auto .75rem .75rem; padding: .7rem .85rem; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(7,6,16,.78); font-size: .88rem; font-weight: 700; backdrop-filter: blur(12px); }

.roadmap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid rgba(192,102,255,.25);
  border-radius: 32px;
  background: radial-gradient(circle at 100% 0, rgba(157,78,221,.25), transparent 50%), var(--surface);
}
.roadmap p { margin: 0; color: var(--muted); font-size: 1.08rem; }

.cta { text-align: center; }
.cta-panel { padding: clamp(3rem, 8vw, 6rem) 1.4rem; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(140deg, rgba(157,78,221,.18), rgba(85,199,255,.07)); }
.cta p { max-width: 600px; margin: 1.2rem auto 2rem; color: var(--muted); font-size: 1.08rem; }

.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer-inner p { margin: 0; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: white; }

.page-hero { padding: clamp(4rem, 9vw, 7rem) 0 3rem; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.page-hero p { max-width: 720px; color: var(--muted); font-size: 1.1rem; }
.content-card { margin-bottom: 6rem; padding: clamp(1.3rem, 4vw, 3.6rem); border: 1px solid var(--line); border-radius: 28px; background: rgba(16,13,28,.86); }
.content-card h2 { margin: 2.5rem 0 1rem; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.02em; }
.content-card h2:first-child { margin-top: 0; }
.content-card p, .content-card li { color: #d5cedf; }
.content-card a { color: #d39aff; text-underline-offset: 3px; }
.content-card strong { color: white; }
.content-card ul { padding-left: 1.35rem; }
.policy-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 1.5rem 0 2rem; color: var(--muted); }

.contact-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: center; }
.contact-mark { display: grid; place-items: center; min-height: 320px; border-radius: 22px; background: radial-gradient(circle, rgba(157,78,221,.28), transparent 63%); }
.contact-mark img { width: min(82%, 290px); }
.email-link { display: inline-block; margin: 1rem 0 1.5rem; color: white !important; font-size: clamp(1.3rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.025em; text-decoration-color: var(--purple-bright); text-underline-offset: .2em; overflow-wrap: anywhere; }

/* Home */
.home-hero { position: relative; isolation: isolate; min-height: min(780px, calc(100svh - 76px)); display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(7,6,16,.98) 0%, rgba(7,6,16,.78) 55%, rgba(7,6,16,.42) 100%), radial-gradient(circle at 75% 45%, rgba(157,78,221,.26), transparent 38%), linear-gradient(145deg, #070610, #120b22 55%, #07131c); }
.home-hero-inner { position: relative; z-index: 2; padding-block: clamp(5rem, 11vw, 9rem); }
.home-hero h1 { max-width: 900px; font-size: clamp(3.5rem, 9vw, 8rem); }
.home-lead { max-width: 680px; margin: 1.6rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.home-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); opacity: .5; }
.home-orb-one { width: 420px; height: 420px; right: -100px; top: 12%; background: radial-gradient(circle at 35% 35%, #c066ff, #5a189a 48%, transparent 70%); }
.home-orb-two { width: 220px; height: 220px; right: 24%; bottom: -100px; border: 1px solid rgba(125,216,255,.38); box-shadow: inset 0 0 60px rgba(85,199,255,.12); }
.home-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.home-feature-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.text-link { display: inline-block; margin-top: 1rem; color: #d7a8ff; font-weight: 800; text-underline-offset: 5px; }
.home-game-tile { display: flex; align-items: center; gap: 1.25rem; min-height: 190px; padding: 1.6rem; border: 1px solid rgba(192,102,255,.28); border-radius: 28px; background: linear-gradient(135deg, rgba(157,78,221,.16), rgba(85,199,255,.06)); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.home-game-tile:hover { transform: translateY(-4px); border-color: rgba(192,102,255,.62); }
.home-game-tile img { width: 112px; border-radius: 24px; box-shadow: 0 18px 42px rgba(0,0,0,.35); }
.home-game-tile strong { display: block; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.1; }
.home-game-tile small { display: block; margin-top: .55rem; color: var(--muted); font-size: .95rem; }

/* Games index */
.games-heading { padding-bottom: 1rem; }
.games-list-section { padding-top: 2rem; }
.select-game-card { display: grid; grid-template-columns: minmax(260px, .72fr) 1.28fr; gap: clamp(2rem, 6vw, 5rem); padding: clamp(1.3rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(145deg, rgba(23,17,38,.96), rgba(9,8,16,.96)); }
.select-game-visual { max-width: 390px; width: 100%; justify-self: center; padding: 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 32px; background: #03050a; box-shadow: 0 28px 72px rgba(0,0,0,.5); }
.select-game-copy { align-self: center; }
.select-game-copy > p { color: var(--muted); font-size: 1.08rem; }
.select-game-copy .button { margin-top: 1.8rem; }
.future-games-note { margin-top: 2rem; padding: clamp(2rem, 5vw, 4rem); border: 1px dashed rgba(255,255,255,.16); border-radius: 28px; text-align: center; }
.future-games-note h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.future-games-note p:last-child { color: var(--muted); }

/* WINGO detail */
.wingo-hero { padding: clamp(4rem, 8vw, 7rem) 0; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 75% 30%, rgba(85,199,255,.12), transparent 34%), radial-gradient(circle at 20% 20%, rgba(157,78,221,.16), transparent 40%); }
.wingo-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 8vw, 7rem); align-items: center; }
.back-link { display: inline-block; margin-bottom: 2rem; color: var(--muted); font-size: .92rem; font-weight: 750; text-decoration: none; }
.back-link:hover { color: white; }
.wingo-title { display: flex; align-items: center; gap: 1.2rem; margin: 1.1rem 0 1.4rem; }
.wingo-title > img { width: clamp(76px, 10vw, 112px); border-radius: 24px; box-shadow: 0 16px 42px rgba(0,0,0,.42); }
.wingo-title .eyebrow { margin-bottom: .45rem; }
.wingo-title h1 { font-size: clamp(4rem, 8vw, 7rem); }
.wingo-subtitle { margin: -.2rem 0 0; color: #bfe8ff; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.wingo-lead { max-width: 650px; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.25rem); }
.featured-phone { width: min(100%, 390px); justify-self: center; padding: 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 36px; background: #03050a; box-shadow: 0 36px 95px rgba(0,0,0,.58); transform: rotate(2deg); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 7vw, 6rem); }
.about-grid > div:last-child > p { margin-top: 0; color: var(--muted); font-size: 1.1rem; }
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.detail-list li { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }

/* Correctly proportioned screenshots. The viewport crops only test-ad bars. */
.clean-screen { position: relative; width: 100%; overflow: hidden; border-radius: 24px; background: #081421; }
.clean-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.crop-bottom { aspect-ratio: 1080 / 1766; }
.crop-bottom img { object-position: top; }
.crop-both { aspect-ratio: 1080 / 1612; }
.crop-both img { object-position: center; }
.gallery-section { background: rgba(255,255,255,.012); }
.game-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.game-shot { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, rgba(23,17,38,.94), rgba(9,8,16,.94)); box-shadow: 0 20px 50px rgba(0,0,0,.26); }
.game-shot .clean-screen { border-radius: 20px; }
.game-shot figcaption { display: grid; gap: .15rem; padding: 1rem .55rem .45rem; }
.game-shot figcaption strong { font-size: 1.05rem; }
.game-shot figcaption span { color: var(--muted); font-size: .92rem; }

@media (max-width: 850px) {
  .nav-links > a:not(.button) { display: none; }
  .hero-grid, .game-card, .section-heading, .roadmap, .contact-card { grid-template-columns: 1fr; }
  .hero { padding-top: 4.5rem; }
  .hero-visual { min-height: 460px; }
  .section-heading p { justify-self: start; }
  .game-poster { min-height: 450px; }
  .shot, .shot:first-child, .shot:nth-child(2) { grid-column: span 6; }
  .shot:first-child img, .shot:nth-child(2) img, .shot img { aspect-ratio: 4 / 5; }
  .home-feature, .select-game-card, .wingo-hero-grid, .about-grid { grid-template-columns: 1fr; }
  .home-hero { min-height: 720px; }
  .select-game-visual, .featured-phone { max-width: 340px; }
  .game-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 570px) {
  .brand img { width: 138px; }
  .nav { min-height: 68px; }
  .button.small { padding-inline: .85rem; }
  .hero-visual { min-height: 410px; }
  .phone { width: 74%; }
  .orbit-card { right: .3rem; max-width: 190px; }
  .game-poster { min-height: 390px; }
  .feature-list { grid-template-columns: 1fr; }
  .shot, .shot:first-child, .shot:nth-child(2) { grid-column: 1 / -1; }
  .shot:first-child img, .shot:nth-child(2) img, .shot img { aspect-ratio: 4 / 5; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .home-hero h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .home-game-tile { align-items: flex-start; flex-direction: column; }
  .home-game-tile img { width: 92px; }
  .game-gallery { grid-template-columns: 1fr; }
  .game-shot { width: min(100%, 360px); margin-inline: auto; }
  .detail-list { grid-template-columns: 1fr; }
  .wingo-title { align-items: flex-start; }
  .wingo-title h1 { font-size: clamp(3.4rem, 18vw, 5rem); }
}

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