:root {
  --bg: #09070d;
  --bg-soft: #100b16;
  --panel: rgba(23, 15, 31, 0.72);
  --panel-2: #15101d;
  --text: #f8f4fb;
  --muted: #aaa0b4;
  --line: rgba(255,255,255,0.11);
  --red: #ff4d6d;
  --pink: #ff7aa8;
  --violet: #9b6cff;
  --max: 1180px;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(132, 56, 180, .16), transparent 60%),
    radial-gradient(900px 600px at -10% 22%, rgba(255, 77, 109, .09), transparent 62%),
    var(--bg);
  font-family: "DM Sans", system-ui, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: rgba(255, 77, 109, .32); color: #fff; }

.noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .055; z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.spotlight {
  position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(255, 77, 109, .08), transparent 68%);
  transform: translate(-50%, -50%); left: 70%; top: 18%; transition: opacity .2s;
}

.section-shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; position: relative; z-index: 1; }

.site-header {
  position: sticky; top: 16px; z-index: 50;
  width: min(var(--max), calc(100% - 32px)); margin: 16px auto 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line); border-radius: 18px;
  background: rgba(10, 7, 14, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0,0,0,.2);
}

.brand { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk"; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(255,255,255,.14); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--muted); padding: 10px 13px; font-size: 14px; font-weight: 600; transition: .2s ease; }
.nav a:hover { color: #fff; }
.nav .nav-cta { color: #fff; border: 1px solid var(--line); background: rgba(255,255,255,.05); border-radius: 11px; }
.menu-button { display: none; background: none; border: 0; padding: 9px; }
.menu-button span { display: block; width: 22px; height: 1px; background: #fff; margin: 5px 0; }

.hero {
  min-height: calc(100svh - 80px); display: grid; grid-template-columns: 1.25fr .75fr;
  gap: 72px; align-items: center; padding-block: 100px 92px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #d7cedd; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #59e391; box-shadow: 0 0 0 5px rgba(89,227,145,.08), 0 0 20px rgba(89,227,145,.45); }
.hero h1 { font-family: "Space Grotesk"; font-size: clamp(54px, 6.5vw, 92px); line-height: .96; letter-spacing: -.06em; margin: 26px 0 28px; max-width: 950px; }
.gradient-text { background: linear-gradient(100deg, #fff 0%, #f5a6bc 34%, #b990ff 72%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { color: var(--muted); font-size: 19px; line-height: 1.7; max-width: 680px; margin: 0; }
.hero-lead strong, .hero-lead em { color: #f8f4fb; font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border-radius: 14px; font-weight: 700; font-size: 14px; border: 1px solid transparent; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: linear-gradient(115deg, #ff476c, #b858ec); box-shadow: 0 12px 35px rgba(255, 71, 108, .18); }
.button.ghost { border-color: var(--line); background: rgba(255,255,255,.035); }
.button.ghost:hover { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.06); }

.hero-meta { display: flex; gap: 42px; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-meta div { display: grid; gap: 6px; }
.hero-meta span { font-size: 10px; letter-spacing: .15em; color: #766c80; font-weight: 700; }
.hero-meta strong { font-size: 13px; color: #d9d1df; }

.hero-visual { display: grid; place-items: center; position: relative; min-height: 520px; }
.portrait-orbit { position: absolute; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: inset 0 0 80px rgba(159,88,255,.05); }
.portrait-orbit::before, .portrait-orbit::after { content: ""; position: absolute; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--violet)); box-shadow: 0 0 40px rgba(255,77,109,.35); }
.portrait-orbit::before { width: 8px; height: 8px; left: 32px; top: 84px; }
.portrait-orbit::after { width: 6px; height: 6px; right: 22px; bottom: 108px; }
.portrait-card { width: min(360px, 88%); aspect-ratio: .82; position: relative; padding: 14px; border-radius: 34px; background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 35px 90px rgba(0,0,0,.55); transform-style: preserve-3d; }
.portrait-frame { height: calc(100% - 64px); border-radius: 25px; overflow: hidden; background: #261429; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; transform: scale(1.03); }
.portrait-label { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 7px; }
.portrait-label span { font-family: "Space Grotesk"; font-weight: 700; letter-spacing: .06em; font-size: 13px; }
.portrait-label small { color: var(--muted); }
.code-chip { position: absolute; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(8,5,12,.82); backdrop-filter: blur(12px); color: #e7d9ed; font: 600 12px/1 "DM Sans"; box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.chip-one { right: -45px; top: 70px; }
.chip-two { left: -46px; bottom: 94px; }

.marquee { border-block: 1px solid var(--line); overflow: hidden; background: rgba(255,255,255,.015); position: relative; z-index: 1; }
.marquee-track { display: flex; width: max-content; padding: 0; animation: marquee 30s linear infinite; color: #7f7488; font: 700 11px/1 "Space Grotesk"; letter-spacing: .18em; will-change: transform; }
.marquee-group { display: flex; flex-shrink: 0; align-items: center; justify-content: space-around; gap: 30px; min-width: 100vw; padding: 14px 24px; }
.marquee-track i { color: var(--red); font-style: normal; flex: 0 0 auto; }
.marquee-track span { flex: 0 0 auto; white-space: nowrap; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.about, .game, .contact { padding-block: 120px; }
.section-index { color: #766b7e; font: 700 11px/1 "Space Grotesk"; letter-spacing: .16em; margin-bottom: 46px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.section-title { font-family: "Space Grotesk"; font-size: clamp(52px, 6vw, 78px); line-height: .95; letter-spacing: -.055em; margin: 0; }
.section-title span { color: #8f8298; }
.about-copy { color: var(--muted); font-size: 17px; line-height: 1.78; }
.about-copy p { margin: 0 0 18px; }
.about-copy strong { color: #fff; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 38px; }
.mini-stats div { border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: 16px; padding: 18px; display: grid; gap: 4px; }
.mini-stats strong { font-family: "Space Grotesk"; font-size: 25px; color: #fff; }
.mini-stats span { font-size: 11px; color: #7f7588; }

.game-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: .95fr 1.05fr; min-height: 640px; background: rgba(255,255,255,.025); box-shadow: 0 40px 120px rgba(0,0,0,.25); }
.game-art { position: relative; overflow: hidden; min-height: 560px; background: radial-gradient(circle at 50% 35%, #271420 0, #120b18 48%, #09070d 75%); display: flex; align-items: stretch; justify-content: stretch; }
.game-poster { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.game-art-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,4,8,.82), transparent 45%), radial-gradient(circle at 50% 45%, transparent, rgba(0,0,0,.22) 78%); }
.game-art-copy { position: absolute; inset: auto 32px 30px; z-index: 4; display: grid; gap: 6px; text-shadow: 0 8px 28px rgba(0,0,0,.72); }
.game-art-copy span, .game-art-copy small { color: rgba(255,255,255,.58); font: 700 9px/1.2 "Space Grotesk"; letter-spacing: .18em; }
.game-art-copy strong { font-family: "Space Grotesk"; font-size: clamp(42px, 5vw, 68px); line-height: .78; letter-spacing: -.065em; text-shadow: 0 6px 24px rgba(0,0,0,.35); }

.game-info { padding: clamp(34px, 5vw, 62px); display: flex; flex-direction: column; justify-content: center; }
.game-topline { display: flex; justify-content: space-between; align-items: center; color: #756d7d; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.pill { color: #f2b7c4; padding: 7px 9px; border-radius: 999px; background: rgba(255,77,109,.09); border: 1px solid rgba(255,77,109,.18); }
.game-info h2 { font-family: "Space Grotesk"; font-size: clamp(42px, 5vw, 66px); letter-spacing: -.055em; margin: 28px 0 16px; }
.game-info > p { color: var(--muted); line-height: 1.72; margin: 0; max-width: 620px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; }
.feature-grid div { padding: 16px; border-radius: 15px; border: 1px solid var(--line); background: rgba(255,255,255,.018); display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; }
.feature-grid span { grid-row: 1 / 3; color: #7d7185; font: 700 10px/1 "Space Grotesk"; padding-top: 3px; }
.feature-grid strong { font-size: 14px; }
.feature-grid small { color: #786f80; margin-top: 3px; font-size: 11px; line-height: 1.45; }
.game-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.text-link { color: #b8adbf; font-size: 13px; font-weight: 700; padding: 10px 4px; }
.text-link:hover { color: #fff; }

.contact-card { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: end; }
.contact-kicker { color: #766c7f; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.contact-card h2 { font-family: "Space Grotesk"; font-size: clamp(54px, 7vw, 96px); line-height: .9; letter-spacing: -.065em; margin: 18px 0; }
.contact-card p { color: var(--muted); max-width: 440px; line-height: 1.6; }
.email-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 0; border-bottom: 1px solid #3b3143; padding: 0 0 22px; transition: border-color .2s; }
.email-link:hover { border-color: #fff; }
.email-link span { font-family: "Space Grotesk"; font-size: clamp(22px, 3.2vw, 46px); letter-spacing: -.04em; overflow-wrap: anywhere; }
.email-link b { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0b0810; font-size: 20px; }

.site-footer { padding: 28px 0 42px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #6f6676; font-size: 12px; }
.footer-brand { color: #d9d1df; }
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }
.site-footer > a:last-child:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 80px; }
  .hero-visual { min-height: 430px; }
  .portrait-orbit { width: 350px; height: 350px; }
  .portrait-card { width: 300px; }
  .about-grid, .game-card, .contact-card { grid-template-columns: 1fr; }
  .about-grid { gap: 42px; }
  .game-art { min-height: 620px; }
  .contact-card { gap: 48px; }
}

@media (max-width: 680px) {
  .section-shell { width: min(100% - 28px, var(--max)); }
  .site-header { width: calc(100% - 20px); top: 10px; margin-top: 10px; }
  .menu-button { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 10px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 16px; background: rgba(10,7,14,.96); backdrop-filter: blur(18px); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .2s; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px; }
  .hero { padding-block: 72px 66px; min-height: auto; }
  .hero h1 { font-size: clamp(48px, 14vw, 68px); }
  .hero-lead { font-size: 16px; }
  .hero-meta { gap: 20px; overflow-x: auto; }
  .hero-meta div { min-width: 105px; }
  .hero-visual { min-height: 390px; }
  .portrait-orbit { width: 300px; height: 300px; }
  .portrait-card { width: 255px; }
  .chip-one { right: -22px; }
  .chip-two { left: -18px; }
  .about, .game, .contact { padding-block: 88px; }
  .marquee-group { padding-inline: 18px; gap: 22px; }
  .mini-stats, .feature-grid { grid-template-columns: 1fr; }
  .game-art { min-height: 520px; }
  .game-info { padding: 28px 20px 28px; }
  .game-topline { gap: 12px; }
  .game-actions .button { width: 100%; }
  .contact-card { padding: 42px 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
