:root {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #aaaaaa;
  --white: #ffffff;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  --radius: 18px;
  --header-height: 90px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* GLOBAL */
img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-wrap {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 34px;
}

.site-nav a {
  font-weight: 600;
  color: #cccccc;
  transition: 0.2s ease;
}

.site-nav a:hover {
  color: #ffffff;
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  margin: 5px 0;
}

/* MAIN */
.main-content {
  padding-top: var(--header-height);
}

/* SECTIONS */
.section {
  padding: 60px 0;
}

.first-section {
  padding-top: 44px;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  line-height: 1.15;
}

.section-tag {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: #888888;
  margin-bottom: 10px;
}

.section-text {
  color: var(--muted);
  max-width: 600px;
}

.section-text.short {
  max-width: 520px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}

/* GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 26px;
}

/* GAME CARD */
.game-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.2s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: #ffffff;
}

.card-image {
  height: 220px;
  background: #111111;
  overflow: hidden;
}

.card-image img {
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  color: #888888;
}

.card-body h3 {
  margin: 8px 0;
  font-size: 1.6rem;
}

.card-body p {
  color: #aaaaaa;
  font-size: 0.95rem;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: #ffffff;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat-card {
  border: 1px solid var(--card-border);
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.stat-card strong {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 4px;
}

.stat-card span {
  color: #888888;
}

/* CONTACT */
.contact-section {
  padding-bottom: 80px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  border: 1px solid var(--card-border);
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.contact-info a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--card-border);
  margin-bottom: 10px;
  border-radius: 10px;
  color: #cccccc;
  transition: 0.2s ease;
}

.contact-info a:hover {
  border-color: #ffffff;
  color: #ffffff;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 20px 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #888888;
}

.footer-wrap a:hover {
  color: #ffffff;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-box,
  .section-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 78px;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 14px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px;
    border-radius: 12px;
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .section {
    padding: 50px 0;
  }

  .section h2 {
    font-size: 1.9rem;
  }

  .card-image {
    height: 200px;
  }

  .stat-cards {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}