:root {
  color-scheme: dark;
  --bg: #08090a;
  --panel: #101214;
  --panel-raised: #15181a;
  --line: #292d30;
  --line-bright: #444b50;
  --text: #f4f6f7;
  --muted: #92989c;
  --dim: #61676b;
  --neon: #b8ff4a;
  --neon-soft: rgba(184, 255, 74, .13);
  --ice: #80f3ff;
  --ice-soft: rgba(128, 243, 255, .1);
  font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
    radial-gradient(circle at 12% -10%, rgba(184, 255, 74, .055), transparent 30rem),
    radial-gradient(circle at 92% 18%, rgba(128, 243, 255, .045), transparent 28rem),
    var(--bg);
  background-size: 40px 40px, 40px 40px, auto, auto, auto;
}

a { color: inherit; }

.games-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 68px;
}

.games-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 2px 18px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  color: #d9dddf;
  font: 900 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .16em;
  text-decoration: none;
}

a.back-link:hover,
a.back-link:focus-visible { color: var(--neon); }

.network {
  color: var(--dim);
  font: 800 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
}

.network i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 6px var(--neon), 0 0 16px rgba(184, 255, 74, .5);
  animation: signal 2.2s ease-in-out infinite;
}

.games-hero {
  padding: clamp(54px, 9vw, 104px) 2px 44px;
}

.games-hero p {
  margin: 0 0 17px;
  color: var(--neon);
  font: 900 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .22em;
  text-shadow: 0 0 14px rgba(184, 255, 74, .38);
}

.games-hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  color: #f2f4f5;
  font-size: clamp(42px, 7.8vw, 86px);
  line-height: .96;
  letter-spacing: -.07em;
}

.games-hero > span {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: -.01em;
}

.game-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .72fr);
  gap: 14px;
}

.game-card {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 18, 20, .94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
  text-decoration: none;
  isolation: isolate;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.game-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, .025), transparent 42%);
  content: "";
  pointer-events: none;
}

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-bright);
  box-shadow: 0 22px 64px rgba(0, 0, 0, .42), 0 0 28px var(--ice-soft);
  outline: none;
}

.featured {
  display: grid;
  grid-template-columns: minmax(250px, .92fr) minmax(320px, 1.08fr);
}

.game-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 400px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .055), transparent 42%),
    repeating-linear-gradient(135deg, transparent 0 24px, rgba(255, 255, 255, .018) 24px 25px),
    #0c0e0f;
}

.game-art::before {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(255, 255, 255, .018),
    0 0 0 84px rgba(255, 255, 255, .01),
    0 0 48px rgba(128, 243, 255, .08);
  content: "";
}

.hunter,
.runners {
  position: relative;
  z-index: 1;
  font-size: clamp(74px, 11vw, 132px);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -.1em;
}

.hunter {
  color: #f4f4f4;
  text-shadow: 0 0 22px rgba(255, 255, 255, .18);
}

.runners {
  color: var(--ice);
  text-shadow: 0 0 12px rgba(128, 243, 255, .45), 0 0 34px rgba(128, 243, 255, .16);
}

.versus {
  position: relative;
  z-index: 1;
  color: var(--dim);
  font: 900 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.game-art i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 10px var(--ice);
}

.game-art i:nth-of-type(1) { top: 24%; left: 16%; }
.game-art i:nth-of-type(2) { right: 18%; bottom: 25%; }
.game-art i:nth-of-type(3) { left: 44%; bottom: 16%; }

.game-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 58px);
}

.game-copy > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.game-copy small {
  color: var(--dim);
  font: 800 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .1em;
}

.game-copy > div b {
  padding: 5px 8px;
  border: 1px solid rgba(184, 255, 74, .35);
  color: var(--neon);
  background: var(--neon-soft);
  box-shadow: inset 0 0 14px rgba(184, 255, 74, .05);
  font: 900 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .08em;
}

.game-copy h2 {
  margin: 20px 0 13px;
  color: #f5f6f6;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -.055em;
}

.game-copy p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.play-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #dfe2e3;
  font-size: 13px;
  font-weight: 850;
}

.play-cta b {
  color: var(--neon);
  font-size: 21px;
  text-shadow: 0 0 10px rgba(184, 255, 74, .45);
  transition: transform .2s ease;
}

.game-card:hover .play-cta b,
.game-card:focus-visible .play-cta b { transform: translateX(4px); }

.origiloid-card {
  display: grid;
  grid-template-rows: 156px 1fr;
}

.origiloid-card:hover,
.origiloid-card:focus-visible {
  border-color: rgba(184, 255, 74, .45);
  box-shadow: 0 22px 64px rgba(0, 0, 0, .42), 0 0 28px var(--neon-soft);
}

.origiloid-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(184, 255, 74, .07), transparent 56%),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, .018) 31px 32px),
    #0c0e0f;
}

.origiloid-art span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(184, 255, 74, .48);
  border-radius: 10px;
  color: #f7f8f8;
  background: #121516;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 24px rgba(184, 255, 74, .1);
  font-size: 35px;
  font-weight: 1000;
}

.origiloid-art i {
  position: absolute;
  width: 4px;
  border-radius: 2px;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(184, 255, 74, .45);
  opacity: .62;
}

.origiloid-art i:nth-of-type(1) { left: 16%; height: 32px; }
.origiloid-art i:nth-of-type(2) { left: 25%; height: 58px; }
.origiloid-art i:nth-of-type(3) { right: 25%; height: 44px; }
.origiloid-art i:nth-of-type(4) { right: 16%; height: 24px; }

.origiloid-card .game-copy {
  justify-content: flex-start;
  padding: 29px;
}

.origiloid-card .game-copy h2 { font-size: 34px; }

.catalog-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 88px;
  margin-top: 14px;
  border: 1px dashed #303538;
  border-radius: 10px;
  color: var(--dim);
  background: rgba(11, 12, 13, .76);
}

.catalog-ad span {
  color: var(--neon);
  font: 900 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .15em;
  text-shadow: 0 0 10px rgba(184, 255, 74, .28);
}

.catalog-ad p { margin: 0; font-size: 12px; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 2px 34px;
  color: var(--dim);
  font: 800 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .08em;
}

.site-footer a,
.privacy-shell a { color: var(--neon); text-underline-offset: 4px; }

.privacy-shell {
  width: min(760px, calc(100% - 30px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.privacy-back { display: inline-block; margin-bottom: 58px; font: 800 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.privacy-shell h1 { margin: 12px 0 8px; color: var(--text); font-size: clamp(38px, 7vw, 68px); letter-spacing: -.055em; }
.privacy-updated { margin: 0 0 46px; color: var(--dim); font-size: 12px; }
.privacy-shell section { padding: 24px 0; border-top: 1px solid var(--line); }
.privacy-shell section h2 { margin: 0 0 12px; color: #f5f7f4; font-size: 18px; }
.privacy-shell section p { margin: 8px 0; color: #aeb6b1; font-size: 14px; line-height: 1.8; }

@keyframes signal {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}

@media (max-width: 820px) {
  .games-shell { width: min(100% - 22px, 640px); padding-top: 16px; }
  .games-hero { padding: 52px 2px 30px; }
  .game-grid { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .game-art { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .game-card { min-height: 0; }
  .origiloid-card { grid-template-rows: 124px auto; }
  .catalog-ad { flex-direction: column; gap: 6px; padding: 18px; text-align: center; }
  .site-footer { padding-bottom: 24px; }
}

@media (max-width: 460px) {
  .network { font-size: 8px; }
  .games-hero h1 { font-size: 40px; }
  .game-copy { padding: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
