:root {
  color-scheme: dark;
  --bg: #100b10;
  --bg-raised: #171017;
  --surface: #1c131c;
  --surface-2: #231720;
  --pink: #f05278;
  --pink-light: #ff829b;
  --burgundy: #54243a;
  --text: #f6f0f3;
  --muted: #a89ca4;
  --line: rgba(240, 82, 120, .18);
  --pixel: "Press Start 2P", "Courier New", monospace;
  --body: "DM Sans", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { background: var(--pink); color: #160b10; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-160%); background: var(--pink); color: var(--bg); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 10; inset: 0 0 auto; border-bottom: 1px solid rgba(255,255,255,.055); background: rgba(16, 11, 16, .64); backdrop-filter: blur(14px); }
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 700; letter-spacing: -.05em; }
.brand img { width: 42px; height: 42px; object-fit: contain; image-rendering: pixelated; }
.brand-accent { color: var(--pink); }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav > a:not(.button) { color: #c4b8c0; font-size: 13px; font-weight: 600; transition: color .2s ease; }
.site-nav > a:not(.button):hover, .footer-panel:hover { color: var(--pink-light); }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; padding: 0 22px; cursor: pointer; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .075em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button:focus-visible, a:focus-visible, .menu-toggle:focus-visible { outline: 2px solid var(--pink-light); outline-offset: 4px; }
.button-small { min-height: 38px; padding-inline: 15px; font-size: 9px; }
.button-outline { border-color: rgba(240,82,120,.55); background: rgba(240,82,120,.07); color: var(--text); }
.button-outline:hover { background: rgba(240,82,120,.17); box-shadow: 0 0 24px rgba(240,82,120,.12); }
.button-primary { background: var(--pink); color: #1d0d13; box-shadow: 0 6px 24px rgba(240,82,120,.17); }
.button-primary:hover { background: var(--pink-light); box-shadow: 0 9px 30px rgba(240,82,120,.3); }
.button-dark { border-color: rgba(255,255,255,.15); background: rgba(20,14,20,.75); color: var(--text); }
.button-dark:hover { border-color: rgba(240,82,120,.58); background: rgba(84,36,58,.38); }
.copy-ip { position: relative; }
.copy-value { color: var(--pink-light); font-family: var(--pixel); font-size: 8px; text-transform: none; letter-spacing: -.04em; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 740px; min-height: min(850px, 100svh); overflow: hidden; display: grid; place-items: center; isolation: isolate; background: radial-gradient(ellipse at 50% 43%, rgba(80, 29, 54, .23), transparent 49%), #100b10; }
.hero-grid, .panel-grid { position: absolute; z-index: -2; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, transparent, black 18%, black 70%, transparent); }
.hero-grid::before, .hero-grid::after { position: absolute; inset: 0; content: ""; background-repeat: no-repeat; animation: pixel-drift 9s ease-in-out infinite alternate; }
.hero-grid::before { background-image: radial-gradient(circle, rgba(255,130,155,.75) 1.5px, transparent 2px), radial-gradient(circle, rgba(255,130,155,.55) 1.5px, transparent 2px), radial-gradient(circle, rgba(255,130,155,.7) 1.5px, transparent 2px), radial-gradient(circle, rgba(255,130,155,.45) 1.5px, transparent 2px); background-position: 17% 31%, 78% 25%, 84% 61%, 24% 72%; }
.hero-grid::after { background-image: radial-gradient(circle, rgba(240,82,120,.55) 1.5px, transparent 2px), radial-gradient(circle, rgba(240,82,120,.65) 1.5px, transparent 2px), radial-gradient(circle, rgba(240,82,120,.45) 1.5px, transparent 2px); background-position: 31% 17%, 71% 75%, 90% 39%; animation-delay: -4s; animation-duration: 12s; }
.hero-glow { position: absolute; z-index: -2; width: min(700px, 85vw); height: min(500px, 65vw); left: 50%; top: 48%; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(157, 41, 79, .16), transparent 70%); }
.hero-content { position: relative; z-index: 2; padding-top: 72px; text-align: center; }
.hero-emblem { width: 112px; height: 112px; display: grid; place-items: center; margin: 0 auto 23px; border: 1px solid rgba(240,82,120,.28); background: rgba(25,15,22,.86); box-shadow: 0 0 0 7px rgba(240,82,120,.035), 0 12px 50px rgba(0,0,0,.32); }
.hero-emblem img { width: 82px; height: 82px; image-rendering: pixelated; }
.eyebrow, .section-kicker, .hero-footnote, .panel-label, .panel-pulse, .status-panel-foot, .cta-ip { font-family: var(--pixel); font-size: 8px; line-height: 1.8; letter-spacing: .045em; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 13px; margin: 0 0 17px; color: var(--muted); }
.eyebrow-line { width: 30px; height: 1px; background: var(--pink); opacity: .8; }
.hero-title { margin: 0; font-family: var(--pixel); font-size: clamp(42px, 8.5vw, 88px); letter-spacing: -.085em; line-height: 1.35; text-shadow: 0 5px 35px rgba(240,82,120,.14); }
.hero-title span { color: var(--pink); }
.hero-subtitle { margin: 4px 0 20px; color: #c4b8c0; font-size: clamp(13px, 2vw, 17px); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.pixel-badge { width: fit-content; display: flex; align-items: center; gap: 10px; margin: 0 auto; border: 1px solid rgba(240,82,120,.55); padding: 9px 13px; background: rgba(84,36,58,.24); color: var(--pink-light); font-family: var(--pixel); font-size: 8px; text-transform: uppercase; animation: badge-glow 2.8s ease-in-out infinite; }
.status-dot { flex: 0 0 auto; width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px rgba(240,82,120,.75); }
.hero-copy { margin: 22px 0 25px; color: #d3c8ce; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; }
.hero-footnote { margin: 32px 0 0; color: #8d7e87; font-size: 7px; }
.tiny-square { width: 6px; height: 6px; display: inline-block; margin-right: 7px; background: var(--pink); vertical-align: 1px; }
.cityscape { position: absolute; z-index: -1; right: 0; bottom: 0; left: 0; height: 235px; opacity: .42; overflow: hidden; pointer-events: none; }
.city-ground { position: absolute; right: 0; bottom: 0; left: 0; height: 21px; border-top: 2px solid rgba(240,82,120,.25); background: repeating-linear-gradient(90deg, rgba(240,82,120,.045) 0 28px, transparent 28px 56px); }
.city-building { position: absolute; bottom: 20px; display: grid; grid-template-columns: repeat(2, 12px); gap: 13px; justify-content: center; align-content: start; padding: 15px 12px; border: 1px solid rgba(240,82,120,.16); border-bottom: 0; background: linear-gradient(135deg, rgba(71,32,52,.46), rgba(31,20,30,.6)); }
.city-building i { width: 8px; height: 8px; background: rgba(240,82,120,.19); box-shadow: 0 0 9px rgba(240,82,120,.12); }
.building-one { left: 8%; width: 67px; height: 123px; }
.building-two { left: 22%; width: 85px; height: 170px; }
.building-three { right: 21%; width: 73px; height: 137px; }
.building-four { right: 7%; width: 88px; height: 182px; }
.building-five { left: 42%; width: 82px; height: 94px; opacity: .7; }
.scroll-cue { position: absolute; bottom: 27px; left: 50%; width: 20px; height: 31px; border: 1px solid rgba(240,82,120,.35); transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 6px; left: 8px; width: 2px; height: 7px; background: var(--pink); animation: scroll-pulse 1.5s ease-in-out infinite; }

.section-pad { padding: 115px 0; }
.intro { position: relative; border-top: 1px solid rgba(255,255,255,.04); background: linear-gradient(180deg, #130e13, #100b10); }
.intro-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; align-items: start; }
.section-kicker { margin: 0 0 24px; color: #9c8b95; }
.section-kicker span { color: var(--pink); }
.section-heading h2, .status-intro h2, .cta-content h2 { margin: 0; font-size: clamp(34px, 5vw, 55px); line-height: 1.17; letter-spacing: -.055em; font-weight: 600; }
.section-heading h2 em, .status-intro h2 em, .cta-content h2 em { color: var(--pink); font-style: normal; }
.intro-copy { padding-top: 40px; }
.intro-copy > p { max-width: 520px; margin: 0; color: #c3b8c0; font-size: 17px; line-height: 1.9; }
.intro-note { display: flex; align-items: center; gap: 13px; margin-top: 28px; color: var(--muted); font-size: 13px; }
.intro-note strong { color: var(--text); font-weight: 600; }
.note-mark { color: var(--pink); font-size: 24px; }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 82px; border: 1px solid var(--line); background: rgba(27,18,26,.62); }
.strip-item { min-height: 104px; display: flex; align-items: center; gap: 17px; padding: 22px 25px; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(240,82,120,.28); background: rgba(240,82,120,.08); color: var(--pink); font-size: 20px; }
.strip-item strong, .strip-item small { display: block; }
.strip-item strong { font-size: 13px; font-weight: 600; }
.strip-item small { margin-top: 2px; color: var(--muted); font-size: 11px; }

.gameplay { background: #130e13; border-block: 1px solid rgba(255,255,255,.04); }
.section-heading-center { text-align: center; }
.section-heading-center .section-kicker { margin-bottom: 20px; }
.section-description { margin: 17px 0 0; color: var(--muted); font-size: 15px; }
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 55px; }
.game-card { position: relative; min-height: 335px; padding: 25px 22px 23px; border: 1px solid rgba(255,255,255,.08); background: #191219; transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.game-card::before { position: absolute; top: -1px; left: 22px; width: 35px; height: 2px; background: var(--pink); content: ""; opacity: .8; }
.game-card:hover { transform: translateY(-6px); border-color: rgba(240,82,120,.38); background: #1e151d; box-shadow: 0 15px 35px rgba(0,0,0,.17); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(240,82,120,.28); background: rgba(240,82,120,.08); color: var(--pink); font-family: var(--pixel); font-size: 20px; }
.pixel-coin { font-size: 19px; text-shadow: 3px 0 #b63257, -3px 0 #ff9aab; }
.pixel-house { font-family: var(--body); font-size: 34px; line-height: 1; }
.pixel-city { font-size: 19px; }
.pixel-community { font-family: var(--body); font-size: 30px; }
.card-index { color: #6e5d66; font-family: var(--pixel); font-size: 8px; }
.game-card h3 { margin: 23px 0 6px; font-size: 18px; font-weight: 600; }
.game-card > p { min-height: 43px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.game-card ul { display: grid; gap: 9px; margin: 21px 0 0; padding: 0; list-style: none; }
.game-card li { position: relative; padding-left: 14px; color: #c3b8c0; font-size: 11px; line-height: 1.5; }
.game-card li::before { position: absolute; top: 7px; left: 0; width: 5px; height: 5px; background: var(--pink); content: ""; }

.status-section { background: #100b10; }
.status-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10%; align-items: center; }
.status-intro > p:not(.section-kicker) { max-width: 380px; margin: 22px 0; color: var(--muted); line-height: 1.8; }
.status-live { display: flex; align-items: center; gap: 10px; color: #c9bec5; font-size: 12px; font-weight: 600; }
.status-live .status-dot { width: 6px; height: 6px; animation: badge-glow 2.8s ease-in-out infinite; }
.status-panel { padding: 27px 30px 21px; border: 1px solid rgba(240,82,120,.27); background: linear-gradient(130deg, rgba(31,20,30,.96), rgba(24,16,24,.98)); box-shadow: 12px 12px 0 rgba(84,36,58,.12); }
.status-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 19px; border-bottom: 1px solid rgba(255,255,255,.08); }
.panel-label { color: #ad9ba5; font-size: 7px; }
.panel-pulse { color: #b7aab1; font-size: 6px; }
.panel-pulse i { width: 5px; height: 5px; display: inline-block; margin-right: 6px; border-radius: 50%; background: var(--pink); vertical-align: 1px; }
.server-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.server-status > span, .status-details div > span { color: #988992; font-size: 11px; }
.server-status strong { display: inline-flex; align-items: center; gap: 9px; color: var(--pink-light); font-family: var(--pixel); font-size: 9px; }
.server-status .status-dot { width: 6px; height: 6px; }
.status-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.status-details div { min-height: 61px; display: flex; flex-direction: column; justify-content: center; gap: 2px; border-bottom: 1px solid rgba(255,255,255,.055); }
.status-details strong { color: #e9e0e5; font-size: 12px; font-weight: 600; }
.status-details .status-ip { color: var(--pink-light); font-family: var(--pixel); font-size: 8px; }
.status-details .availability { font-size: 9px; }
.status-panel-foot { padding-top: 16px; color: #8a7b84; font-size: 6px; }

.cta-section { position: relative; overflow: hidden; padding: 105px 0; border-block: 1px solid rgba(240,82,120,.17); background: radial-gradient(ellipse at 50% 120%, rgba(116,37,67,.35), transparent 60%), #1a1018; text-align: center; }
.cta-pattern { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(240,82,120,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(240,82,120,.17) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(ellipse at center, black, transparent 70%); }
.cta-content { position: relative; }
.cta-content .section-kicker { margin-bottom: 22px; }
.cta-content h2 { font-size: clamp(35px, 5.2vw, 59px); }
.cta-content > p:not(.section-kicker) { margin: 20px 0 26px; color: #c7bac2; font-size: 15px; }
.cta-content .button { margin: 0 auto; }
.cta-ip { margin-top: 23px; color: #8f8089; font-size: 6px; }

.site-footer { padding: 30px 0 20px; background: #0c080c; }
.footer-main { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { font-size: 17px; }
.footer-brand img { width: 38px; height: 38px; }
.footer-server { display: grid; gap: 3px; text-align: center; }
.footer-server span { color: #82757d; font-family: var(--pixel); font-size: 6px; }
.footer-server strong { color: var(--pink-light); font-family: var(--pixel); font-size: 9px; }
.footer-panel { color: #c9bec5; font-size: 12px; font-weight: 600; transition: color .2s ease; }
.footer-panel span { margin-left: 4px; color: var(--pink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.07); }
.footer-bottom p { margin: 0; color: #72666e; font-size: 10px; }
.toast { position: fixed; z-index: 30; right: 24px; bottom: 24px; padding: 12px 18px; border: 1px solid rgba(240,82,120,.6); background: #21141e; color: var(--pink-light); font-family: var(--pixel); font-size: 9px; box-shadow: 0 8px 30px rgba(0,0,0,.35); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes badge-glow { 0%, 100% { box-shadow: 0 0 0 rgba(240,82,120,0); } 50% { box-shadow: 0 0 22px rgba(240,82,120,.09); } }
@keyframes scroll-pulse { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(9px); } }
@keyframes pixel-drift { from { opacity: .4; transform: translateY(-4px); } to { opacity: .9; transform: translateY(5px); } }

@media (max-width: 900px) {
  .site-nav { gap: 19px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .game-card { min-height: 315px; }
  .status-layout { gap: 6%; }
  .strip-item { padding-inline: 17px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 36px, 520px); }
  html { scroll-padding-top: 70px; }
  .nav-wrap { height: 68px; }
  .brand { font-size: 17px; }
  .brand img { width: 38px; height: 38px; }
  .menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(240,82,120,.28); background: rgba(240,82,120,.06); cursor: pointer; }
  .menu-toggle span { width: 16px; height: 1px; background: var(--pink-light); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: 67px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 10px 18px 18px; border-bottom: 1px solid var(--line); background: rgba(16,11,16,.98); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav > a:not(.button) { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .site-nav .nav-panel { margin-top: 13px; }
  .hero { min-height: 720px; min-height: min(790px, 100svh); }
  .hero-content { padding-top: 72px; }
  .hero-emblem { width: 92px; height: 92px; margin-bottom: 19px; }
  .hero-emblem img { width: 68px; height: 68px; }
  .hero-title { font-size: clamp(38px, 11.5vw, 65px); }
  .hero-subtitle { font-size: 11px; letter-spacing: .1em; }
  .hero-copy { font-size: 14px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .button { width: min(100%, 290px); }
  .hero-footnote { max-width: 270px; margin: 26px auto 0; font-size: 6px; }
  .cityscape { height: 160px; opacity: .3; }
  .building-one { left: -1%; height: 95px; }
  .building-two { left: 18%; height: 130px; }
  .building-three { right: 18%; height: 112px; }
  .building-four { right: -3%; height: 142px; }
  .building-five { display: none; }
  .scroll-cue { bottom: 14px; }
  .section-pad { padding: 78px 0; }
  .intro-layout, .status-layout { grid-template-columns: 1fr; gap: 25px; }
  .section-heading h2, .status-intro h2 { font-size: clamp(35px, 10vw, 48px); }
  .intro-copy { padding-top: 0; }
  .intro-copy > p { font-size: 15px; }
  .feature-strip { grid-template-columns: 1fr; margin-top: 46px; }
  .strip-item { min-height: 82px; padding: 16px 19px; }
  .strip-item + .strip-item { border-top: 1px solid var(--line); border-left: 0; }
  .game-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 38px; }
  .game-card { min-height: auto; padding: 23px 21px; }
  .game-card > p { min-height: auto; }
  .game-card ul { grid-template-columns: 1fr 1fr; gap: 10px 13px; }
  .status-layout { gap: 32px; }
  .status-panel { padding: 21px 18px 17px; }
  .status-panel-head { align-items: flex-start; }
  .panel-label { font-size: 6px; }
  .panel-pulse { font-size: 5px; }
  .server-status strong { font-size: 7px; }
  .status-details { gap: 0 12px; }
  .status-details .availability { font-size: 7px; }
  .cta-section { padding: 80px 0; }
  .cta-content h2 { font-size: clamp(34px, 9.5vw, 48px); }
  .cta-content > p:not(.section-kicker) { font-size: 14px; }
  .footer-main { flex-wrap: wrap; gap: 18px; }
  .footer-server { order: 3; width: 100%; padding: 14px 0 3px; border-top: 1px solid rgba(255,255,255,.06); text-align: left; }
  .footer-bottom { flex-direction: column; gap: 6px; padding-top: 14px; }
  .footer-bottom p { font-size: 9px; }
  .toast { right: 14px; bottom: 14px; }
}
@media (max-width: 370px) {
  .eyebrow { font-size: 6px; gap: 8px; }
  .eyebrow-line { width: 18px; }
  .game-card ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
