:root {
  --bg: #0a0a0c;
  --bg-2: #111114;
  --card: #161618;
  --card-2: #1c1c20;
  --line: #2a2a2e;
  --text: #f2f2f4;
  --muted: #a0a0a8;
  --red: #c93436;
  --red-hot: #e04548;
  --coral: #e57373;
  --font: "Manrope", "Segoe UI", sans-serif;
  --header-h: 68px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}

/* Header — KGB style */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 10, 12, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #fff !important;
  flex-shrink: 0;
}
.logo img { border-radius: 50%; width: 40px; height: 40px; object-fit: cover; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav > a:not(.btn) {
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #d8d8de !important;
  border-radius: 8px;
  white-space: nowrap;
}
.nav > a:not(.btn):hover { color: #fff !important; background: rgba(255,255,255,0.05); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: #fff;
  box-shadow: 0 6px 0 #fff, 0 -6px 0 #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease, background 0.15s ease;
  color: #fff !important;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-red {
  background: var(--red);
  border-color: var(--red);
}
.btn-red:hover { background: var(--red-hot); border-color: var(--red-hot); }
.btn-outline {
  background: transparent;
  border-color: rgba(201, 52, 54, 0.85);
  color: #fff !important;
}
.btn-outline:hover { background: rgba(201, 52, 54, 0.12); }
.btn-lg { height: 48px; padding: 0 24px; font-size: 1rem; border-radius: 12px; }

/* Hero — centered like KGB */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201, 52, 54, 0.22), transparent 60%),
    linear-gradient(180deg, #121014 0%, #0a0a0c 55%, #0a0a0c 100%),
    url("/assets/logo.webp") center 30% / 40% no-repeat;
  opacity: 1;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.55), rgba(10,10,12,0.92)),
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255,255,255,0.015) 12px, rgba(255,255,255,0.015) 13px);
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-brand {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--coral);
}
.hero-sub {
  margin: 0 auto 14px;
  max-width: 54ch;
  color: #c8c8d0;
  font-size: 1.05rem;
}
.hero-price {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-price strong { color: #fff; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: center;
  color: #d0d0d6;
  font-size: 0.92rem;
  font-weight: 600;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red);
  position: relative;
  flex-shrink: 0;
}
.check::after {
  content: "";
  position: absolute;
  left: 5px; top: 3px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); }
.section-title { margin-bottom: 36px; max-width: 640px; }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.section-title p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.center { text-align: center; }

/* Game cards — KGB style */
.games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.game-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  color: inherit !important;
}
.game-card:hover {
  border-color: rgba(201, 52, 54, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.game-art {
  height: 180px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.game-art img,
.game-art .game-logo {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 14px 36px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}
.art-cs2 {
  background:
    radial-gradient(circle at 30% 40%, rgba(255,140,40,0.35), transparent 50%),
    linear-gradient(135deg, #3a2208, #1a1208 60%, #0e0e10);
}
.art-cs16 {
  background:
    radial-gradient(circle at 70% 30%, rgba(220,180,60,0.35), transparent 45%),
    linear-gradient(145deg, #2a2410, #141410);
}
.art-mc {
  background:
    radial-gradient(circle at 40% 50%, rgba(80,180,70,0.4), transparent 50%),
    linear-gradient(145deg, #143018, #0e140e);
}
.art-samp {
  background:
    radial-gradient(circle at 60% 40%, rgba(80,140,220,0.35), transparent 50%),
    linear-gradient(145deg, #101828, #0c1018);
}
.game-body { padding: 20px 20px 18px; flex: 1; display: flex; flex-direction: column; }
.game-body h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}
.game-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.game-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: #b8b8c0;
  font-weight: 600;
}
.order { color: var(--red-hot) !important; font-weight: 800; }

/* Split features */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(229, 180, 60, 0.45);
  color: #e8c76a;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.split h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.split .lead { color: var(--muted); margin: 0 0 24px; max-width: 42ch; }
.mini-feats { display: flex; flex-direction: column; gap: 14px; }
.mini-feats article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.mini-feats h3 { margin: 0 0 4px; font-size: 1.02rem; color: #fff; }
.mini-feats p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(201, 52, 54, 0.12);
  border: 1px solid rgba(201, 52, 54, 0.3);
  font-size: 1.2rem;
}
.split-visual { min-height: 320px; }
.rack {
  height: 100%;
  min-height: 320px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(201,52,54,0.15) 0 2px, transparent 2px) 0 0 / 28px 100%,
    linear-gradient(180deg, #1a1012, #0e0e12);
  box-shadow: inset 0 0 60px rgba(201,52,54,0.12);
  position: relative;
  overflow: hidden;
}
.rack::after {
  content: "";
  position: absolute;
  inset: 18% 12%;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 18px);
  border-radius: 8px;
  opacity: 0.55;
}

/* Why cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.why {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
}
.why-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: rgba(201, 52, 54, 0.12);
  border: 1px solid rgba(201, 52, 54, 0.28);
}
.why h3 { margin: 0 0 8px; font-size: 1.05rem; color: #fff; }
.why p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.why a { color: var(--coral) !important; font-weight: 700; }

.cta-band {
  padding: 72px 0;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(201,52,54,0.25), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
}
.cta-band p { margin: 0 0 22px; color: var(--muted); }

/* Footer */
.footer {
  padding: 48px 0 24px;
  background: #08080a;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img { border-radius: 50%; margin-bottom: 12px; }
.footer-brand p { margin: 0; color: var(--muted); max-width: 32ch; font-size: 0.92rem; }
.footer h4 {
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.footer a, .footer span {
  display: block;
  color: var(--muted) !important;
  font-size: 0.92rem;
  margin-bottom: 8px;
}
.footer a:hover { color: #fff !important; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  color: #6e6e76;
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .games { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-visual { order: -1; min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .burger { display: grid; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #161618;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  }
  .nav.open { display: flex; }
  .nav .btn { width: 100%; margin-top: 4px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
