/* vietnamese */
@font-face {
  font-family: 'Major Mono Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("8d5ef540-d046-4810-872f-15b5d3b63fb5") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Major Mono Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("851d3faf-fba6-4721-8867-f23366967b11") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Major Mono Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("4c576cd4-e36a-4744-85c7-b6457ed37fed") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("54d6fcd6-0ef6-4e2a-bfd5-00b389890d50") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("203cee05-a61e-44ed-a740-faf27a2af78f") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("ff386fd5-9c0f-4ec3-85de-f07fe989195b") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("35a97ab6-8733-4493-8145-3fde155bef41") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("1f2a1eda-3164-4f28-99e6-60f2acafbe90") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("ddea8e9f-20da-47a7-9f6c-b997d3bec9cc") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("3abd3842-73e8-4a82-96f5-7755df7235cb") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("f86341c8-4156-49a4-9d80-fe70a1fc8b5b") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---------------- A2B4D ARCADE THEME ---------------- */
@font-face {
  font-family: 'Galmuri11';
  src: url("da1ea7fb-488e-440b-a814-2a2a797efa59") format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Galmuri11';
  src: url("c0f989ac-32cb-407e-a4df-54ad469b76ec") format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root{
  /* Core palette — CRT neon */
  --bg: #0a0612;
  --bg-2: #15091f;
  --ink: #f5e8ff;
  --muted: #a89cc4;
  --line: rgba(245,232,255,.18);
  --line-strong: rgba(245,232,255,.4);

  --magenta: #ff3ea5;
  --cyan: #6ef0ff;
  --yellow: #ffd23f;
  --lime: #b6ff5b;
  --orange: #ff7a1a;
  --red: #ff3354;
  --blue: #4d6bff;

  --shadow-pixel: 6px 6px 0 0;
  --shadow-pixel-sm: 4px 4px 0 0;

  --radius: 0px;

  /* pixel grid step */
  --px: 4px;
}

*{ box-sizing: border-box; }
html, body{
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Galmuri11', monospace;
  font-size: 19px;
  line-height: 1.45;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

img, svg { image-rendering: pixelated; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
p { margin: 0; }

h1, h2, h3, h4, h5{
  font-family: 'Galmuri11', monospace;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--ink);
  text-shadow:
    2px 0 0 var(--magenta),
    -2px 0 0 var(--cyan);
}
h1.plain, h2.plain, h3.plain{ text-shadow: none; }

.mono { font-family: 'Galmuri11', monospace; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.term { font-family: 'Galmuri11', monospace; }

/* ---------------- CRT BACKGROUND ---------------- */
.crt-bg{
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 50% 30%, #2a0d3a 0%, #0a0612 50%, #050208 100%);
}
.crt-grid{
  position: fixed; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(110,240,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,62,165,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
  pointer-events: none;
}
.crt-scan{
  position: fixed; inset: 0; z-index: 4;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0) 0,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,.18) 2px,
    rgba(0,0,0,.18) 3px
  );
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .8;
}
.crt-vignette{
  position: fixed; inset: 0; z-index: 5;
  pointer-events: none;
  box-shadow: inset 0 0 200px rgba(0,0,0,.6), inset 0 0 60px rgba(0,0,0,.5);
}
.crt-overlay{
  position: fixed; inset: 0; z-index: 6;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,62,165,.06) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(110,240,255,.05) 0%, transparent 60%);
}

#app { position: relative; z-index: 2; }

/* ---------------- ARCADE FRAME ---------------- */
.frame{
  border: 3px solid var(--ink);
  background: var(--bg-2);
  box-shadow: var(--shadow-pixel) var(--magenta);
  position: relative;
}
.frame::before, .frame::after{
  content: ""; position: absolute;
  width: 12px; height: 12px;
  background: var(--ink);
}
.frame::before{ top: -3px; left: -3px; }
.frame::after{ bottom: -3px; right: -3px; }
.frame.cyan{ box-shadow: var(--shadow-pixel) var(--cyan); }
.frame.yellow{ box-shadow: var(--shadow-pixel) var(--yellow); }
.frame.lime{ box-shadow: var(--shadow-pixel) var(--lime); }
.frame.orange{ box-shadow: var(--shadow-pixel) var(--orange); }

/* ---------------- HEADER / HUD ---------------- */
.hud{
  position: sticky; top: 0; z-index: 30;
  background: linear-gradient(180deg, rgba(10,6,18,0.96), rgba(10,6,18,0.82));
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(2px);
}
.hud::before{
  content:""; position:absolute; left:0; right:0; bottom:-7px; height:4px;
  background:
    repeating-linear-gradient(90deg, var(--magenta) 0 8px, var(--cyan) 8px 16px, var(--yellow) 16px 24px, var(--lime) 24px 32px);
}
.hud-inner{
  max-width: 1280px; margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand{
  display:inline-flex; align-items:center; gap: 12px;
  font-family: 'Galmuri11', monospace;
  font-size: 13px;
}
.brand .pill{
  background: var(--ink); color: var(--bg);
  padding: 5px 7px 4px; letter-spacing: 1px;
  box-shadow: 3px 3px 0 var(--magenta);
}
.brand .name{ color: var(--ink); text-shadow: 1px 0 0 var(--magenta), -1px 0 0 var(--cyan); }
.brand .ver{ color: var(--muted); font-size: 10px; }

.nav{ display:flex; align-items:center; gap: 4px; }
.nav a{
  font-family: 'Galmuri11', monospace;
  font-size: 10px;
  padding: 10px 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  border: 2px solid transparent;
  transition: color .1s, background .1s;
}
.nav a:hover{ color: var(--cyan); }
.nav a.active{
  color: var(--bg);
  background: var(--yellow);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.lang{
  display:inline-flex; gap: 2px; margin-left: 8px;
  border: 2px solid var(--ink);
}
.lang button{
  border:0; background: transparent; color: var(--muted);
  font-family: 'Galmuri11', monospace; font-size: 9px;
  padding: 8px 8px 7px;
}
.lang button.on{ background: var(--cyan); color: var(--bg); }

/* ---------------- BUTTONS ---------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: 10px;
  padding: 14px 18px;
  font-family: 'Galmuri11', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--bg);
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-pixel) var(--ink);
  text-transform: uppercase;
  transition: transform .08s ease, box-shadow .08s ease;
  position: relative;
}
.btn:hover{ transform: translate(2px, 2px); box-shadow: 4px 4px 0 0 var(--ink); }
.btn:active{ transform: translate(6px, 6px); box-shadow: 0 0 0 0 var(--ink); }
.btn.magenta{ background: var(--magenta); color: #fff; }
.btn.cyan{ background: var(--cyan); }
.btn.lime{ background: var(--lime); }
.btn.ghost{
  background: transparent; color: var(--ink);
  border-color: var(--ink);
}
.btn.ghost:hover{ background: var(--ink); color: var(--bg); }
.btn.disabled,
.btn:disabled{
  background: #2a2632;
  color: #6f687c;
  border-color: #6f687c;
  box-shadow: 4px 4px 0 #141019;
  cursor: not-allowed;
  filter: grayscale(1);
}
.btn.disabled:hover,
.btn:disabled:hover{
  transform: none;
  box-shadow: 4px 4px 0 #141019;
}

/* ---------------- BADGES / TAGS ---------------- */
.tag{
  display:inline-flex; align-items:center; gap: 6px;
  font-family: 'Galmuri11', monospace;
  font-size: 9px;
  padding: 6px 8px 5px;
  border: 2px solid var(--lime);
  color: var(--lime);
  background: rgba(182,255,91,.06);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tag.cyan{ color: var(--cyan); border-color: var(--cyan); background: rgba(110,240,255,.08); }
.tag.magenta{ color: var(--magenta); border-color: var(--magenta); background: rgba(255,62,165,.08); }
.tag.yellow{ color: var(--yellow); border-color: var(--yellow); background: rgba(255,210,63,.08); }
.tag.orange{ color: var(--orange); border-color: var(--orange); background: rgba(255,122,26,.08); }

.badge{
  display:inline-flex; align-items:center; gap: 7px;
  font-family: 'Galmuri11', monospace;
  font-size: 9px;
  padding: 6px 9px 5px;
  background: var(--bg);
  border: 2px solid var(--ink);
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink);
}
.badge .dot{
  width: 6px; height: 6px; background: var(--lime);
  animation: blink 1s steps(2, end) infinite;
}
.badge.dev .dot{ background: var(--yellow); }
.badge.proto .dot{ background: var(--cyan); }
@keyframes blink{ 50%{ opacity: 0; } }

.eyebrow{
  font-family: 'Galmuri11', monospace;
  font-size: 10px;
  color: var(--magenta);
  letter-spacing: 0.1em;
  display:inline-flex; align-items:center; gap: 10px;
  text-transform: uppercase;
}
.eyebrow::before{
  content: "▶"; color: var(--cyan); font-size: 10px;
}

/* ---------------- CONTAINERS ---------------- */
.container{
  max-width: 1280px; margin: 0 auto;
  padding: 0 28px;
}

/* ---------------- HERO ---------------- */
.hero{
  padding: 60px 0 80px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1{
  font-family: 'Galmuri11', monospace;
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.15;
  margin-top: 22px;
  letter-spacing: 0;
  text-shadow:
    3px 0 0 var(--magenta),
    -3px 0 0 var(--cyan),
    0 3px 0 rgba(0,0,0,.4);
}
.hero h1 .b{ color: var(--yellow); display: inline-block; }
.hero .lede{
  margin-top: 28px;
  font-family: 'Galmuri11', monospace;
  font-size: 22px;
  line-height: 1.4;
  color: var(--muted);
  max-width: 540px;
}
.hero .lede .glow { color: var(--cyan); }
.hero-ctas{ margin-top: 32px; display:flex; gap: 12px; flex-wrap: wrap; }

.hero-meta{
  margin-top: 48px;
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  max-width: 560px;
}
.hero-meta .stat{
  padding: 14px;
  border: 2px solid var(--line-strong);
  background: rgba(245,232,255,.03);
}
.hero-meta .stat .num{
  font-family: 'Galmuri11', monospace;
  font-size: 22px;
  color: var(--yellow);
  text-shadow: 2px 0 0 var(--magenta), -2px 0 0 var(--cyan);
}
.hero-meta .stat .lbl{ color: var(--muted); margin-top: 4px; font-size: 14px; }

/* HERO CABINET */
.cabinet{
  position: relative;
  background: linear-gradient(180deg, #1a0a25, #0a0612);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--magenta);
  padding: 14px;
}
.cabinet-screen{
  aspect-ratio: 4/5;
  background: #050208;
  border: 3px solid var(--ink);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(255,62,165,.2);
}
.cabinet-screen::after{
  content:""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,0,0,.35) 2px 3px);
  pointer-events: none;
}
.cabinet-screen .pixel{ position:absolute; inset: 0; }
.cabinet-screen .chip{
  position: absolute; top: 14px; left: 14px; z-index: 5;
}
.cabinet-screen .floating-card{
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 5;
  background: rgba(10,6,18,0.92);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--cyan);
  padding: 14px 14px 12px;
}
.cabinet-screen .floating-card .ttl{
  font-family: 'Galmuri11', monospace;
  font-size: 13px;
  color: var(--yellow);
  margin: 4px 0 6px;
}
.cabinet-screen .floating-card .dsc{
  font-family: 'Galmuri11', monospace;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.35;
}
.cabinet-base{
  margin-top: 14px;
  height: 28px;
  background:
    repeating-linear-gradient(90deg, var(--magenta) 0 14px, var(--ink) 14px 16px);
  border: 3px solid var(--ink);
}
.cabinet-coin{
  position: absolute; right: -18px; top: 60px;
  font-family: 'Galmuri11', monospace;
  font-size: 10px; color: var(--bg);
  background: var(--yellow);
  border: 3px solid var(--ink);
  padding: 8px 10px 7px;
  transform: rotate(8deg);
  box-shadow: 4px 4px 0 var(--ink);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob{ 50%{ transform: rotate(8deg) translateY(-6px); } }

/* ---------------- SECTIONS ---------------- */
section.block{ padding: 80px 0; position: relative; }
.section-head{
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end;
  margin-bottom: 44px;
}
.section-head h2{
  font-family: 'Galmuri11', monospace;
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.35;
  margin-top: 16px; max-width: 22ch;
}
.section-head .right{ color: var(--muted); max-width: 36ch; text-align: right; font-size: 17px; }

.section-banner{
  display:flex; align-items: center; gap: 14px;
  border-top: 2px dashed var(--line-strong);
  border-bottom: 2px dashed var(--line-strong);
  padding: 14px 0;
  margin-bottom: 56px;
  font-family: 'Galmuri11', monospace;
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
}
.section-banner .banner-label{
  flex: 0 0 auto;
  color: var(--yellow);
  position: relative;
  z-index: 2;
  padding-right: 14px;
  background: var(--bg);
}
.section-banner .play-triangle{
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--cyan);
  margin-right: 6px;
  vertical-align: -1px;
}
.section-banner .marquee-wrap{
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.section-banner .marquee{
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee 24s linear infinite;
}
@keyframes marquee{ from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------------- GAMES GRID ---------------- */
.games-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gcard{
  background: var(--bg-2);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--magenta);
  display:flex; flex-direction: column;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.gcard:hover{ transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--cyan); }
.gcard.c2{ box-shadow: 6px 6px 0 var(--cyan); }
.gcard.c2:hover{ box-shadow: 8px 8px 0 var(--lime); }
.gcard.c3{ box-shadow: 6px 6px 0 var(--yellow); }
.gcard.c3:hover{ box-shadow: 8px 8px 0 var(--magenta); }

.gcard-cover{
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: #0a0612;
}
.gcard-cover::after{
  content: none;
  display: none;
}
.game-cover-img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  image-rendering: auto;
}
.gcard-cover .badge{ position: absolute; top: 10px; left: 10px; z-index: 5; }
.gcard-cover .hp{
  position: absolute; bottom: 10px; left: 10px; right: 10px; z-index: 5;
  display:flex; gap: 6px; align-items: center;
}
.hp-bar{
  flex: 1; height: 10px; background: var(--bg);
  border: 2px solid var(--ink);
  position: relative;
}
.hp-bar > i{
  display:block; height: 100%; background: var(--lime);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.3);
}
.hp-label{ font-family:'Galmuri11', monospace; font-size: 8px; color: var(--lime); }
.hp-label.yellow{ color: var(--yellow); } .hp-bar.yellow > i{ background: var(--yellow); }
.hp-label.cyan{ color: var(--cyan); } .hp-bar.cyan > i{ background: var(--cyan); }

.gcard-body{
  padding: 18px; display:flex; flex-direction: column; gap: 12px; flex: 1;
}
.gcard-body .sub{ color: var(--muted); }
.gcard-body h3{
  font-family: 'Galmuri11', monospace;
  font-size: 14px;
  text-shadow: 2px 0 0 var(--magenta), -2px 0 0 var(--cyan);
}
.gcard-body .desc{ font-family: 'Galmuri11', monospace; font-size: 17px; color: var(--muted); line-height: 1.4; }
.gcard-body .tags{ display:flex; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 6px; }
.gcard-body .fb{
  display:flex; justify-content: space-between; align-items: center;
  margin-top: 10px;
  border-top: 2px dashed var(--line-strong);
  padding-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.gcard-body .fb .arrow{ color: var(--yellow); font-family: 'Galmuri11', monospace; font-size: 10px; }

/* ---------------- TEASER ---------------- */
.teaser{
  margin-top: 56px;
  display:grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
  background: var(--bg-2);
  border: 3px dashed var(--line-strong);
  box-shadow: 6px 6px 0 var(--orange);
  padding: 32px;
  position: relative;
}
.teaser-art{
  aspect-ratio: 16/10;
  background:
    repeating-linear-gradient(45deg, rgba(255,62,165,.08) 0 12px, transparent 12px 26px),
    linear-gradient(180deg, #1a0a25, #050208);
  border: 3px solid var(--ink);
  display:grid; place-items:center;
  position: relative; overflow: hidden;
}
.teaser-art .qm{
  font-family: 'Galmuri11', monospace;
  font-size: 120px;
  color: var(--magenta);
  text-shadow: 4px 0 0 var(--cyan), -4px 0 0 var(--yellow);
  animation: glitch 4s infinite;
}
@keyframes glitch{
  0%, 92%, 100%{ transform: translate(0,0); }
  93%{ transform: translate(-3px, 1px); }
  95%{ transform: translate(2px, -1px); }
  97%{ transform: translate(-1px, 2px); }
}

/* ---------------- PHILOSOPHY ---------------- */
.philosophy{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.principle{
  padding: 28px;
  background: var(--bg-2);
  border: 3px solid var(--ink);
  display:flex; flex-direction: column; gap: 16px;
  min-height: 320px;
  position: relative;
}
.principle.p1{ box-shadow: 6px 6px 0 var(--magenta); }
.principle.p2{ box-shadow: 6px 6px 0 var(--lime); }
.principle.p3{ box-shadow: 6px 6px 0 var(--cyan); }
.principle .level{
  font-family: 'Galmuri11', monospace; font-size: 10px; color: var(--muted);
}
.principle .ico{
  width: 64px; height: 64px;
  display:grid; place-items: center;
  border: 3px solid var(--ink);
  background: var(--bg);
}
.principle.p1 .ico{ background: var(--magenta); }
.principle.p2 .ico{ background: var(--lime); }
.principle.p3 .ico{ background: var(--cyan); }
.principle h3{
  font-family: 'Galmuri11', monospace;
  font-size: 20px;
}
.principle h3 .kr{
  display:block; margin-top: 8px;
  font-family: 'Galmuri11', monospace; font-size: 22px;
  color: var(--muted); text-shadow: none; letter-spacing: 0;
}
.principle p{ color: var(--muted); margin-top: auto; font-family: 'Galmuri11', monospace; font-size: 18px; line-height: 1.4; }

/* ---------------- DETAIL ---------------- */
.detail{
  display:grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start;
  padding: 56px 0;
}
.detail .row{ display:flex; align-items:center; gap: 12px; flex-wrap: wrap; }
.detail h1{
  font-family: 'Galmuri11', monospace;
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.2;
  margin-top: 18px;
  text-shadow: 3px 0 0 var(--magenta), -3px 0 0 var(--cyan), 0 3px 0 rgba(0,0,0,.4);
}
.detail .lede{
  font-family: 'Galmuri11', monospace; font-size: 20px; line-height: 1.45; color: var(--muted);
  margin-top: 18px; max-width: 56ch;
}
.detail .tags{ display:flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.detail .actions{ display:flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.detail-art{ display:flex; flex-direction: column; gap: 18px; }
.detail-cover{
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--magenta);
  background: #050208;
}
.detail-cover::after{
  content: none;
  display: none;
}
.detail-trailer{
  aspect-ratio: 16/9; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(110,240,255,.05) 0 10px, transparent 10px 22px),
    linear-gradient(180deg, #0c1a2a, #050208);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--cyan);
  display:grid; place-items: center;
  color: var(--ink);
}
.detail-trailer iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.play-pixel{
  width: 80px; height: 80px;
  background: var(--yellow); border: 3px solid var(--ink);
  display:grid; place-items: center;
  box-shadow: 5px 5px 0 var(--ink);
  font-family: 'Galmuri11', monospace; font-size: 18px; color: var(--bg);
  transition: transform .1s;
}
.play-pixel:hover{ transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.trailer-cap{ position:absolute; top: 12px; left: 12px; font-family: 'Galmuri11', monospace; font-size: 9px; color: var(--cyan); }
.trailer-time{ position:absolute; bottom: 12px; right: 12px; font-family: 'Galmuri11', monospace; font-size: 9px; color: var(--muted); }

.feature-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.feature{
  padding: 20px;
  background: var(--bg-2);
  border: 2px solid var(--line-strong);
  display:flex; flex-direction: column; gap: 10px;
  min-height: 180px;
}
.feature:hover{ border-color: var(--cyan); }
.feature .num{ font-family: 'Galmuri11', monospace; font-size: 10px; color: var(--magenta); }
.feature h4{ font-family: 'Galmuri11', monospace; font-size: 13px; text-shadow: none; }
.feature p{ font-family: 'Galmuri11', monospace; font-size: 17px; color: var(--muted); line-height: 1.4; margin-top: auto; }

/* ---------------- SUPPORT ---------------- */
.support{ display:grid; grid-template-columns: minmax(0, 720px); gap: 40px; padding: 48px 0 80px; align-items: start; }
.form-card{ padding: 28px; background: var(--bg-2); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--lime); }
.support-card{ display: flex; flex-direction: column; gap: 22px; box-shadow: 6px 6px 0 var(--yellow); }
.support-actions{ display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.discord-card{ display: flex; flex-direction: column; gap: 22px; }
.discord-list{ display: grid; gap: 10px; }
.discord-row{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 2px solid var(--line); background: rgba(255,255,255,.03);
  padding: 10px 12px; font-family: 'Galmuri11', monospace; font-size: 14px;
}
.discord-row code{
  color: var(--cyan); font-family: 'Galmuri11', monospace; font-size: 11px;
}

/* ---------------- PRIVACY ---------------- */
.privacy-wrap{ padding: 56px 0 80px; }
.privacy-card{
  max-width: 760px; margin: 0 auto;
  background: var(--bg-2); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--cyan);
  padding: 44px;
}
.privacy-card h1{ font-family: 'Galmuri11', monospace; font-size: 28px; line-height: 1.25; }
.privacy-card h3{ font-family: 'Galmuri11', monospace; font-size: 14px; margin-top: 32px; text-shadow: none; color: var(--yellow); }
.privacy-card p, .privacy-card li{ font-family: 'Galmuri11', monospace; font-size: 19px; color: var(--ink); line-height: 1.55; }
.privacy-card ul{ padding-left: 22px; }
.privacy-card ul li::marker{ color: var(--magenta); }
.privacy-card .updated{
  font-family: 'Galmuri11', monospace; font-size: 10px;
  color: var(--magenta); margin-top: 10px;
}

/* ---------------- FOOTER ---------------- */
footer.site{
  margin-top: 80px;
  background: #050208;
  border-top: 3px solid var(--ink);
  position: relative; z-index: 2;
}
footer.site::before{
  content: ""; position: absolute; top: -7px; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 8px, var(--magenta) 8px 16px, var(--lime) 16px 24px, var(--yellow) 24px 32px);
}
footer.site .news-inner{
  max-width: 1280px; margin: 0 auto; padding: 48px 28px;
  display:grid; grid-template-columns: 1fr; gap: 16px; align-items: center;
  border-bottom: 2px dashed var(--line);
}
footer.site h3{
  font-family: 'Galmuri11', monospace; font-size: 18px; line-height: 1.4;
}
.footgrid{
  max-width: 1280px; margin: 0 auto;
  padding: 40px 28px 24px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px;
}
.footgrid h5{ font-family: 'Galmuri11', monospace; font-size: 10px; color: var(--cyan); margin: 0 0 12px; letter-spacing: 0.06em; }
.footgrid a{ display:block; padding: 4px 0; color: var(--muted); font-family: 'Galmuri11', monospace; font-size: 18px; }
.footgrid a:hover{ color: var(--yellow); }
.footgrid .about{ color: var(--muted); margin-top: 12px; line-height: 1.4; font-family: 'Galmuri11', monospace; font-size: 18px; max-width: 36ch; }
.socials{ display:flex; gap: 6px; margin-top: 14px; }
.socials a{
  width: 38px; height: 38px; padding: 0;
  display:grid; place-items: center;
  border: 2px solid var(--ink);
  background: var(--bg-2);
  color: var(--ink);
}
.socials svg{
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.socials a:hover{ background: var(--ink); color: var(--bg); }
.footbar{
  max-width: 1280px; margin: 0 auto; padding: 20px 28px;
  border-top: 2px dashed var(--line);
  display:flex; justify-content: space-between; align-items: center;
  font-family: 'Galmuri11', monospace; font-size: 9px; color: var(--muted);
}

/* ---------------- ARROW LINK ---------------- */
.arrow-link{
  display:inline-flex; align-items: center; gap: 6px;
  font-family: 'Galmuri11', monospace; font-size: 10px;
  color: var(--yellow);
}
.arrow-link:hover{ color: var(--cyan); }

/* ---------------- ANIMATIONS ---------------- */
.float { animation: float 3.5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }

.pulse-yellow { animation: pulseY 1.6s ease-in-out infinite; }
@keyframes pulseY {
  0%, 100% { box-shadow: 6px 6px 0 0 var(--ink), 0 0 0 0 rgba(255,210,63,.4); }
  50% { box-shadow: 6px 6px 0 0 var(--ink), 0 0 30px 8px rgba(255,210,63,.5); }
}

/* ---------------- TWEAKS / KONAMI hidden tag ---------------- */
.coin{
  position: fixed; right: 16px; top: 80px; z-index: 20;
  font-family: 'Galmuri11', monospace; font-size: 9px;
  background: var(--bg-2); border: 2px solid var(--ink); padding: 8px 10px;
  color: var(--cyan); box-shadow: 3px 3px 0 var(--magenta);
}
.coin span{ color: var(--yellow); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 960px){
  .container, .hud-inner, .news-inner, .footgrid, .footbar { padding-left: 18px; padding-right: 18px; }
  .hud-inner{ flex-direction: column; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .nav{ flex-wrap: wrap; justify-content: center; gap: 2px; }
  .nav a{ padding: 8px 10px; font-size: 9px; }
  .hero{ grid-template-columns: 1fr; gap: 40px; padding: 36px 0 56px; }
  .hero h1{ font-size: 28px; }
  .hero-meta{ grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-meta .stat .num{ font-size: 17px; }
  .games-grid, .philosophy, .feature-grid, .footgrid, .teaser{ grid-template-columns: 1fr; }
  .teaser{ padding: 22px; }
  .detail, .support, .news-inner{ grid-template-columns: 1fr; gap: 28px; }
  .section-head{ grid-template-columns: 1fr; margin-bottom: 28px; }
  .section-head .right{ text-align: left; }
  .privacy-card{ padding: 28px; }
  .privacy-card h1{ font-size: 22px; }
  section.block{ padding: 52px 0; }
  .coin{ display: none; }
}

@media (max-width: 560px){
  body{ font-size: 17px; }
  .brand{ font-size: 11px; }
  .brand .pill{ padding: 4px 6px 3px; }
  .hero h1{ font-size: 22px; }
  .hero .lede{ font-size: 18px; }
  .hero-meta{ grid-template-columns: 1fr 1fr; }
  .hero-meta .stat:last-child{ grid-column: 1 / -1; }
  .hero-ctas{ flex-direction: column; align-items: stretch; }
  .hero-ctas .btn{ width: 100%; }
  .section-head h2{ font-size: 18px; }
  .detail h1{ font-size: 22px; }
  .privacy-card{ padding: 22px; }
  .footbar{ flex-direction: column; gap: 10px; text-align: center; }
  .btn{ padding: 12px 14px; font-size: 10px; }
  .cabinet-coin{ display: none; }
  .gcard-cover{ aspect-ratio: 16/9; }
  .feature-grid{ margin-top: 28px; }
}
