/* Guwang Soft Games — neon arcade site. One stylesheet for every page. */
:root {
  --bg: #05010f;
  --bg2: #0b0a2a;
  --ink: #e9ecff;
  --dim: #9aa3c7;
  --cyan: #00f0ff;
  --magenta: #ff2bd6;
  --gold: #ffd53d;
  --red: #ff2d3a;
  --line: rgba(0, 240, 255, 0.22);
  --radius: 14px;
  --head: "Orbitron", "Noto Sans KR", system-ui, sans-serif;
  --body: "Chakra Petch", "Noto Sans KR", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:lang(ko) body, body:lang(ko) { word-break: keep-all; line-height: 1.75; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---- top bar ---------------------------------------------------------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 1, 15, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; letter-spacing: 0.12em; color: var(--ink); font-size: 15px; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 14px rgba(255, 43, 214, 0.6); }
.logo b { color: var(--magenta); font-weight: 800; }
.bar nav { margin-left: auto; display: flex; gap: 20px; align-items: center; }
.bar nav a { color: var(--dim); font-size: 14px; letter-spacing: 0.06em; }
.bar nav a:hover { color: var(--ink); text-decoration: none; }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 4px; display: inline-flex; gap: 2px; }
.lang a { padding: 2px 10px; border-radius: 999px; font-size: 12px !important; font-family: var(--head); }
.lang a.on { background: var(--cyan); color: var(--bg) !important; }
@media (max-width: 680px) { .bar nav .hide-sm { display: none; } .logo span.full { display: none; } }

/* ---- hero ------------------------------------------------------------- */
.hero { position: relative; min-height: min(92vh, 820px); display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero::before { /* sky glow */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(255, 43, 214, 0.28), transparent 70%),
    radial-gradient(40% 40% at 70% 20%, rgba(0, 240, 255, 0.18), transparent 70%),
    linear-gradient(#05010f, #12063a 60%, #2a0846);
}
.sun { position: absolute; left: 50%; top: 40%; width: min(46vw, 440px); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; border-radius: 50%;
  background: linear-gradient(var(--gold), #ff7a3d 45%, var(--magenta) 80%);
  -webkit-mask: linear-gradient(#000 0 52%, transparent 52% 56%, #000 56% 63%, transparent 63% 68%, #000 68% 75%, transparent 75% 81%, #000 81% 88%, transparent 88% 95%, #000 95%);
  mask: linear-gradient(#000 0 52%, transparent 52% 56%, #000 56% 63%, transparent 63% 68%, #000 68% 75%, transparent 75% 81%, #000 81% 88%, transparent 88% 95%, #000 95%);
  filter: drop-shadow(0 0 50px rgba(255, 43, 214, 0.55)); opacity: 0.55; }
.floor { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%; z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(0, 240, 255, 0.55) 0 2px, transparent 2px 80px),
    repeating-linear-gradient(0deg, rgba(255, 43, 214, 0.55) 0 2px, transparent 2px 80px);
  transform: perspective(380px) rotateX(62deg); transform-origin: top;
  animation: run 1.6s linear infinite;
  -webkit-mask: linear-gradient(transparent, #000 35%);
  mask: linear-gradient(transparent, #000 35%); }
@keyframes run { to { background-position: 0 0, 0 80px; } }
@media (prefers-reduced-motion: reduce) { .floor { animation: none; } }
.hero .inner { text-align: center; padding: 80px 0 140px; }
.kicker { font-family: var(--head); letter-spacing: 0.35em; font-size: 13px; color: var(--cyan); text-shadow: 0 0 12px rgba(0, 240, 255, 0.8); }
.hero h1 { font-family: var(--head); font-weight: 900; margin: 14px 0 8px; line-height: 1.02; letter-spacing: 0.04em;
  font-size: clamp(44px, 9vw, 112px);
  color: #fff;
  text-shadow: 0 0 6px #fff, 0 0 22px var(--magenta), 0 0 48px var(--magenta), 0 0 90px rgba(255, 43, 214, 0.6); }
.hero h1 .c { color: var(--cyan); text-shadow: 0 0 6px #fff, 0 0 22px var(--cyan), 0 0 48px var(--cyan); }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: #fff; max-width: 640px; margin: 18px auto 30px; text-shadow: 0 2px 12px #05010f, 0 0 24px #05010f; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 10px; font-family: var(--head); font-weight: 700; letter-spacing: 0.08em; font-size: 14px; border: 2px solid currentColor; color: var(--cyan); background: rgba(5, 1, 15, 0.88); transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 0 24px currentColor; }
.btn.hot { color: #fff; border-color: var(--magenta); background: linear-gradient(135deg, #ff2bd6, #b0129a); box-shadow: 0 0 18px rgba(255, 43, 214, 0.45); }
.btn.gold { color: var(--gold); }

/* ---- sections ---------------------------------------------------------- */
section { padding: 96px 0; position: relative; }
.eyebrow { font-family: var(--head); letter-spacing: 0.3em; font-size: 12px; color: var(--magenta); }
h2 { font-family: var(--head); font-size: clamp(28px, 4.4vw, 46px); margin: 10px 0 18px; line-height: 1.15; letter-spacing: 0.03em; }
h2 .glow { color: var(--gold); text-shadow: 0 0 18px rgba(255, 213, 61, 0.55); }
.muted { color: var(--dim); }

.game { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .game { grid-template-columns: 1fr; } }
.game .head { display: flex; gap: 18px; align-items: center; margin-bottom: 8px; }
.game .icon { width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 0 0 2px rgba(255, 43, 214, 0.6), 0 0 32px rgba(255, 43, 214, 0.5); }
.game h3 { font-family: var(--head); font-size: clamp(26px, 3.4vw, 36px); margin: 0; letter-spacing: 0.04em; color: #fff; text-shadow: 0 0 16px rgba(255, 45, 58, 0.7); }
.game .tag { font-size: 14px; color: var(--cyan); letter-spacing: 0.08em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 14px; color: var(--ink); background: rgba(0, 240, 255, 0.05); }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; flex-direction: column; padding: 10px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.04); line-height: 1.25; min-width: 170px; }
.store small { color: var(--dim); font-size: 11px; letter-spacing: 0.1em; }
.store strong { font-family: var(--head); font-size: 15px; letter-spacing: 0.05em; }

.screens { position: relative; }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 240, 255, 0.15); }
.shot img { width: 100%; height: auto; aspect-ratio: 1200 / 554; object-fit: cover; }
.screens .main { transform: rotate(-1.5deg); }
.screens .sub { position: absolute; width: 52%; right: -4%; bottom: -18%; transform: rotate(3deg); }
@media (max-width: 900px) { .screens .sub { right: 0; bottom: -14%; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 54px; }
.gallery figure { margin: 0; }
.gallery figcaption { font-family: var(--head); font-size: 12px; letter-spacing: 0.18em; color: var(--dim); margin-top: 10px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: linear-gradient(180deg, rgba(11, 10, 42, 0.9), rgba(5, 1, 15, 0.9)); position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(var(--accent, var(--cyan)), transparent 65%); opacity: 0.18; }
.card .n { font-family: var(--head); font-size: 13px; color: var(--accent, var(--cyan)); letter-spacing: 0.25em; }
.card h4 { font-family: var(--head); font-size: 20px; margin: 10px 0 8px; letter-spacing: 0.03em; }
.card p { margin: 0; color: var(--dim); }

.band { background: linear-gradient(90deg, rgba(255, 43, 214, 0.12), rgba(0, 240, 255, 0.12)); border-block: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.mail { font-family: var(--head); font-size: clamp(18px, 2.6vw, 26px); color: var(--gold); text-shadow: 0 0 14px rgba(255, 213, 61, 0.5); word-break: break-all; }
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.links a { display: flex; justify-content: space-between; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; color: var(--ink); }
.links a:hover { border-color: var(--cyan); text-decoration: none; box-shadow: 0 0 18px rgba(0, 240, 255, 0.25); }
.links a::after { content: "→"; color: var(--cyan); }

footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .sp { margin-left: auto; }
footer a { color: var(--dim); }

/* ---- document pages (privacy, deletion, support) ----------------------- */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-family: var(--head); font-size: clamp(28px, 4.6vw, 42px); line-height: 1.15; margin: 8px 0 6px; letter-spacing: 0.03em; }
.doc h2 { font-size: 22px; margin: 42px 0 10px; color: var(--cyan); }
.doc h3 { font-size: 17px; margin: 26px 0 6px; color: var(--gold); font-family: var(--head); letter-spacing: 0.04em; }
.doc p, .doc li { color: #cfd5f3; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--ink); font-family: var(--head); font-size: 13px; letter-spacing: 0.06em; }
.doc .scroll { overflow-x: auto; }
.note { border: 1px solid rgba(255, 213, 61, 0.45); background: rgba(255, 213, 61, 0.07); border-radius: 12px; padding: 14px 18px; margin: 18px 0; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 14px; color: var(--bg); background: var(--cyan); box-shadow: 0 0 14px rgba(0, 240, 255, 0.6); }
