:root {
  color-scheme: dark;
  --color-bg: #0B1020;
  --color-cyan: #00E5FF;
  --color-violet: #7B61FF;
  --color-text: #F5F7FB;
  --color-text-secondary: #AAB3C7;
  --color-surface: #030817;
  --accent-retro: #22CFFF;
  --accent-bait: #00E5E5;
  --accent-next: #DF66FF;
  --glow-intensity: .24;
  --max-content-width: 1280px;
  --page-gutter: clamp(22px, 4.8vw, 70px);
  --card-gap: clamp(20px, 2.1vw, 30px);
  --section-space: clamp(36px, 4vw, 58px);
  --font: "Outfit", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--color-bg); background-image: linear-gradient(#020612, #020611); color: var(--color-text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--color-cyan); outline-offset: 6px; }
::selection { background: #6043A3; color: white; }
.container { width: min(calc(100% - var(--page-gutter) * 2), var(--max-content-width)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; background: var(--color-surface); border: 1px solid var(--color-cyan); border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 10; }
.header-inner { min-height: clamp(80px, 7.8vw, 110px); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 10px; min-height: 44px; }
.brand-symbol { width: 49px; mix-blend-mode: screen; }
.wordmark { display: inline-flex; align-items: center; white-space: nowrap; font-weight: 500; font-size: 25px; line-height: 1; letter-spacing: .18em; }
.wordmark img { width: 1.12em; height: 1.12em; margin-left: -.1em; margin-right: .05em; mix-blend-mode: screen; }
.primary-nav { display: flex; gap: clamp(22px, 3vw, 42px); align-items: center; }
.primary-nav a, .footer-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 14px; text-transform: uppercase; letter-spacing: .075em; transition: color .2s ease, box-shadow .2s ease; }
.primary-nav a:hover, .footer-nav a:hover { color: var(--color-cyan); }
.primary-nav .contact-button { min-width: 120px; min-height: 40px; border: 1px solid transparent; border-radius: 30px; padding: 6px 25px; background: linear-gradient(#030A1B, #030A1B) padding-box, linear-gradient(105deg, var(--color-cyan), var(--color-violet), #C857FF) border-box; }
.contact-button:hover { box-shadow: 0 0 20px rgb(67 94 255 / .22); }
.menu-toggle { width: 46px; height: 46px; padding: 12px 10px; border: 1px solid #33537A; border-radius: 12px; color: white; background: #070E24; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; width: 24px; margin: 4px 0; background: currentColor; transition: transform .22s, opacity .22s; }
.hero { height: clamp(428px, 42vw, 600px); min-height: 428px; position: relative; isolation: isolate; display: grid; place-items: center; border-bottom: 1px solid #123152; overflow: hidden; background: #010510; }
.cosmos { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.hero-cosmos { background: radial-gradient(ellipse at 4% 77%, #53217A 0, #181B54 13%, transparent 38%), radial-gradient(ellipse at 90% 92%, #34166B 0, transparent 32%), radial-gradient(ellipse at 52% 107%, #004C80 0, #02122B 22%, transparent 50%), linear-gradient(135deg, #03091C, #01030D 62%); }
.starfield { position: absolute; inset: 0; opacity: .6; background-image: radial-gradient(1px 1px at 14% 23%, #519CD7 80%, transparent), radial-gradient(1px 1px at 69% 36%, #79ADDE 80%, transparent), radial-gradient(1px 1px at 44% 67%, #A578E6 80%, transparent), radial-gradient(1.5px 1.5px at 81% 17%, #8DC6ED 80%, transparent), radial-gradient(1px 1px at 24% 83%, #7465C1 80%, transparent); background-size: 229px 197px, 347px 231px, 193px 263px, 419px 307px, 311px 179px; mask-image: linear-gradient(to bottom, #000, #0009); }
.planet { position: absolute; border-radius: 50%; background: radial-gradient(ellipse at 32% 10%, #075092 0, #092956 12%, #03102C 29%, #010718 53%, #020613 77%); box-shadow: 0 -2px 2px #D0FFFF, 0 -5px 8px #00CFFF, 0 -12px 26px #007AEF, 0 -20px 58px #2430D777, inset 0 7px 14px #048DEF; }
.planet::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .1; background: repeating-radial-gradient(ellipse at 45% 21%, transparent 0 13px, #217BBA30 14px 15px, transparent 18px 23px), repeating-linear-gradient(173deg, transparent 0 11px, #021028 12px 14px, transparent 17px 28px); mask-image: linear-gradient(#000, transparent 60%); }
.planet-hero { width: 130%; height: 200%; left: 28%; top: 34%; transform: rotate(-30deg); }
.moon { position: absolute; border-radius: 50%; background: radial-gradient(circle at 18% 22%, #115190, #05102B 33%, #010411 68%); box-shadow: -2px -1px 2px #B5D7FF, -5px -2px 14px #345DEE, inset 5px 2px 8px #398CFBAA, 8px 9px 20px #40128655; }
.moon-hero { width: 10.5%; aspect-ratio: 1; right: 1.5%; top: 52%; }
.horizon { position: absolute; bottom: 0; width: 100%; height: 40px; background: radial-gradient(ellipse at 50% 100%, #12A4DF44, transparent 65%), linear-gradient(transparent, #020612); }
.horizon::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, #1CBAFF, transparent); box-shadow: 0 0 16px #00BFFF; }
.hero-brand { text-align: center; margin-top: 69px; position: relative; }
.hero-symbol { width: clamp(180px, 18.75vw, 260px); margin: 0 auto -1px; mix-blend-mode: screen; }
.hero h1 .wordmark { font-size: clamp(46px, 5.6vw, 76px); font-weight: 600; letter-spacing: .22em; text-shadow: 0 0 22px #499DFF2B; }
.hero h1 .wordmark img { width: 1.23em; height: 1.23em; margin-inline: -.06em .03em; }
.hero-brand p { margin-top: 8px; padding-left: .36em; color: #D1D9F0; font-size: clamp(14px, 1.75vw, 23px); text-transform: uppercase; letter-spacing: .38em; font-weight: 300; }
.games-section { padding-top: 24px; padding-bottom: var(--section-space); }
.section-heading { display: flex; align-items: center; gap: 20px; margin: 0 12px 20px; }
.section-heading h2 { font-size: clamp(26px, 2.85vw, 40px); letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; font-weight: 600; text-shadow: 0 0 13px #357EFF99; }
.section-heading > span { flex: 1; height: 1px; background: linear-gradient(90deg, #16B7F7, #6355A54D 60%, transparent); }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap); align-items: stretch; }
.game-card { --card-accent: var(--accent-retro); position: relative; border: 2px solid var(--card-accent); border-radius: 22px; background: #040B1E; box-shadow: 0 0 9px color-mix(in srgb, var(--card-accent) 45%, transparent), 0 0 25px color-mix(in srgb, var(--card-accent) calc(var(--glow-intensity) * 100%), transparent); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.game-card-bait { --card-accent: var(--accent-bait); }
.game-card-next { --card-accent: var(--accent-next); }
.game-card-content { display: flex; flex-direction: column; height: 100%; }
.game-card picture { display: block; flex: 0 0 auto; }
.game-card img { display: block; width: 100%; height: auto; }
.game-status { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 100px; padding: 6px 12px; border-top: 1px solid color-mix(in srgb, var(--card-accent) 26%, transparent); background: radial-gradient(ellipse at top, color-mix(in srgb, var(--card-accent) 10%, #040A19), #040817 80%); text-align: center; color: #C1CCE0; font-size: 14px; letter-spacing: .045em; }
.store-availability { width: 180px; max-width: 100%; display: grid; justify-items: center; }
.game-card .store-badge { width: 100%; height: auto; transition: filter .2s ease; }
.store-note { display: block; min-height: 1.2em; font-size: 12px; font-weight: 500; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; }
.is-unavailable { cursor: default; }
.is-unavailable .store-badge { filter: grayscale(1); opacity: .58; }
.game-card.is-linked .game-card-content { cursor: pointer; }
.game-card:focus-within { outline: 3px solid white; outline-offset: 5px; }
.game-card-content:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .game-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 0 12px color-mix(in srgb, var(--card-accent) 55%, transparent), 0 0 32px color-mix(in srgb, var(--card-accent) 30%, transparent); }
  .game-card.is-linked .game-card-content:hover .store-badge { filter: brightness(1.12); }
}
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 38px 44px; border-top: 1px solid #133654; }
.pillar { display: flex; gap: clamp(20px, 2.7vw, 40px); padding: 0 clamp(22px, 2.6vw, 38px); position: relative; }
.pillar:first-child { padding-left: 24px; }
.pillar:last-child { padding-right: 0; }
.pillar + .pillar::before { content: ""; position: absolute; top: 3px; bottom: 5px; left: 0; width: 1px; background: linear-gradient(#233969, #33335B); }
.pillar-icon { flex: 0 0 64px; width: 64px; height: 64px; margin-top: 3px; color: var(--color-cyan); filter: drop-shadow(0 0 7px #00B3FF33); }
.pillar-apps .pillar-icon { color: #8D75FF; }
.pillar-ideas .pillar-icon { color: #EA57F5; filter: drop-shadow(0 0 8px #D749F52B); }
.pillar h2 { margin-bottom: 8px; font-size: 20px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.pillar p { color: #BCC5D9; font-size: 16px; font-weight: 300; line-height: 1.65; letter-spacing: .01em; }
.about { position: relative; isolation: isolate; overflow: hidden; border-block: 1px solid #173653; background: #030919; }
.about-inner { padding: 44px 22px 54px; min-height: 310px; }
.about h2 { font-size: clamp(28px, 3.1vw, 44px); text-transform: uppercase; letter-spacing: .16em; line-height: 1.25; margin-bottom: 14px; }
.about h2 span { display: block; font-weight: 300; }
.about h2 strong { display: block; font-weight: 600; text-shadow: 0 0 12px #258FEF40; }
.about p { max-width: 560px; width: 47%; font-size: 16px; color: #CDD4E4; line-height: 1.65; font-weight: 300; text-wrap: pretty; }
.about-cosmos { background: radial-gradient(ellipse at 83% 80%, #103493, transparent 44%), radial-gradient(ellipse at 100% 5%, #51228E, transparent 24%), #030819; }
.planet-back { width: 88%; height: 155%; left: 45%; top: 35%; transform: rotate(-21deg); }
.planet-front { width: 66%; height: 130%; left: 38%; top: 78%; transform: rotate(-13deg); }
.moon-about { width: 11%; aspect-ratio: 1; right: 10%; top: 41%; }
.contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 40px; }
.contact h2 { font-size: 24px; letter-spacing: .055em; font-weight: 500; }
.contact p { color: var(--color-text-secondary); font-size: 16px; margin-top: 5px; }
.email-link { font-size: clamp(20px, 2.25vw, 28px); white-space: nowrap; color: #D1F6FF; padding-block: 8px; text-underline-offset: 8px; text-decoration: underline; text-decoration-color: #287799; transition: color .2s; }
.email-link:hover { color: var(--color-cyan); }
.site-footer { border-top: 1px solid #16314B; background: #020611; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 24px; }
.footer-inner .wordmark { font-size: 21px; }
.footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.footer-nav a { font-size: 12px; color: #BEC7DB; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--color-text); }
.social-links a { width: 44px; height: 44px; display: grid; place-items: center; }
.social-links svg { width: 23px; height: 23px; }
.social-links a { transition: filter .2s ease; }
.social-links a:hover { filter: drop-shadow(0 0 6px #00E5FF80); }
.footer-inner small { font-size: 12px; color: var(--color-text-secondary); white-space: nowrap; }
@media (min-width: 1440px) {
  .games-section { padding-top: 30px; }
  .section-heading { margin-bottom: 26px; }
  .pillars { padding-block: 48px 54px; }
  .about-inner { min-height: 380px; padding-top: 58px; }
}
@media (max-width: 1000px) {
  .header-inner { gap: 16px; }
  .brand .wordmark { font-size: 22px; }
  .primary-nav { gap: 20px; }
  .primary-nav a { font-size: 13px; }
  .primary-nav .contact-button { min-width: 100px; padding-inline: 18px; }
  .pillar { gap: 18px; padding-inline: 20px; }
  .pillar-icon { flex-basis: 48px; width: 48px; height: 58px; }
  .pillar h2 { font-size: 18px; }
  .pillar p { font-size: 15px; }
}
@media (max-width: 820px) {
  .header-inner { min-height: 80px; }
  .menu-toggle:not([hidden]) { display: block; }
  .site-header.has-menu .primary-nav { display: none; position: absolute; top: 72px; left: var(--page-gutter); right: var(--page-gutter); padding: 16px; border: 1px solid #2C567F; border-radius: 16px; background: #050B1BF5; box-shadow: 0 18px 50px #000B, 0 0 24px #3156A333; }
  .site-header.has-menu .primary-nav.is-open { display: flex; flex-direction: column; gap: 4px; }
  .site-header.has-menu .primary-nav a { min-height: 48px; width: 100%; font-size: 14px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-header:not(.has-menu) { position: relative; background: #030919; }
  .site-header:not(.has-menu) .header-inner { flex-wrap: wrap; justify-content: center; padding-block: 12px; }
  .site-header:not(.has-menu) .primary-nav { flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
  .hero { height: 430px; }
  .hero-symbol { width: 190px; }
  .hero h1 .wordmark { font-size: 48px; }
  .hero-brand p { font-size: 16px; letter-spacing: .3em; }
  .planet-hero { width: 160%; height: 160%; left: 45%; top: 40%; }
  .moon-hero { width: 13%; right: -2%; top: 58%; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .game-card-next { grid-column: 1 / -1; width: calc((100% - 26px) / 2); justify-self: center; }
  .pillars { padding-block: 32px; }
  .pillar { display: block; padding-inline: 22px; }
  .pillar:first-child { padding-left: 0; }
  .pillar-icon { margin-bottom: 16px; }
  .pillar p { font-size: 16px; }
  .about-inner { padding-inline: 0; }
  .about p { width: 59%; }
  .about-cosmos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #030819B3, transparent); }
  .contact { align-items: flex-start; flex-direction: column; gap: 16px; }
  .footer-inner { justify-content: center; gap: 10px 32px; }
  .footer-nav { justify-content: center; }
}
@media (max-width: 560px) {
  :root { --page-gutter: 24px; --section-space: 32px; }
  .brand-symbol { width: 41px; }
  .brand { gap: 7px; }
  .brand .wordmark { font-size: 21px; }
  .hero { height: 416px; min-height: 416px; }
  .hero-brand { margin-top: 54px; width: 100%; padding-inline: 20px; }
  .hero-symbol { width: 164px; }
  .hero h1 .wordmark { font-size: clamp(31px, 9.2vw, 46px); letter-spacing: .14em; }
  .hero-brand p { font-size: 12px; letter-spacing: .24em; margin-top: 14px; }
  .planet-hero { width: 205%; height: 130%; top: 52%; left: 29%; transform: rotate(-27deg); }
  .moon-hero { width: 16%; top: 73%; right: -2%; }
  .hero-cosmos { background: radial-gradient(ellipse at 0 72%, #31215B, transparent 53%), radial-gradient(ellipse at 70% 100%, #062D5F, transparent 50%), #020716; }
  .games-section { padding-top: 24px; }
  .section-heading { margin: 0 0 20px; gap: 16px; }
  .section-heading h2 { font-size: 24px; letter-spacing: .13em; }
  .game-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; max-width: 400px; margin-inline: auto; }
  .game-card { border-radius: 19px; }
  .game-card-next { grid-column: auto; width: 100%; }
  .pillars { grid-template-columns: 1fr; padding-block: 10px 24px; }
  .pillar, .pillar:first-child, .pillar:last-child { display: flex; padding: 22px 0; gap: 24px; }
  .pillar + .pillar::before { top: 0; left: 0; right: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, #193554, transparent); }
  .pillar-icon { flex-basis: 52px; width: 52px; margin: 4px 0 0; }
  .pillar h2 { font-size: 18px; margin-bottom: 4px; }
  .pillar p { max-width: 300px; }
  .about-inner { padding-block: 34px 100px; min-height: 350px; }
  .about h2 { font-size: 28px; letter-spacing: .13em; }
  .about p { width: 100%; max-width: 410px; }
  .planet-back { width: 170%; left: 18%; top: 85%; height: 80%; }
  .planet-front { width: 130%; left: 22%; top: 95%; height: 55%; }
  .moon-about { width: 19%; right: 6%; top: 79%; }
  .about-cosmos::after { background: linear-gradient(#030819AA, transparent); }
  .contact { padding-block: 30px; gap: 12px; }
  .contact h2 { font-size: 23px; }
  .email-link { font-size: 23px; }
  .footer-inner { flex-direction: column; gap: 12px; padding-block: 24px 20px; }
  .footer-nav { gap: 4px 15px; }
  .footer-nav a { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .game-card:hover { transform: none; }
}
