﻿:root {
  color-scheme: dark;
  --bg: #080b18;
  --bg-soft: #0b1022;
  --card: #0d1328;
  --card-soft: rgba(13, 19, 40, 0.82);
  --stroke: rgba(60, 74, 115, 0.35);
  --header-height: 82px;
  --text: #f5f7ff;
  --text-muted: #9aa6c3;
  --text-soft: #7b86a4;
  --accent: #2b79ff;
  --accent-strong: #3ea2ff;
  --accent-glow: rgba(62, 162, 255, 0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: #0b101f;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  padding-top: var(--header-height);
}

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

.page {
  position: relative;
  overflow: hidden;
}

.container {
  width: min(1180px, 94%);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 9, 18, 0.9);
  border-bottom: 1px solid rgba(53, 68, 115, 0.35);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(140deg, #4aa0ff, #1d4ac8);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 16px;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header {
  border-radius: 12px;
}

.btn-primary {
  background: linear-gradient(120deg, #2c77ff, #3fb7ff);
  color: white;
  box-shadow: 0 10px 24px rgba(42, 125, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(42, 125, 255, 0.4);
}

.btn-ghost {
  background: rgba(14, 20, 40, 0.6);
  color: var(--text-muted);
  border: 1px solid rgba(74, 98, 160, 0.5);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(62, 162, 255, 0.6);
}

.btn-icon,
.stat-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg,
.stat-icon svg {
  width: 100%;
  height: 100%;
}

.hero {
  position: relative;
  padding: 136px 0 104px;
  text-align: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  animation: fade-up 0.8s ease both;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(12, 18, 36, 0.85);
  border: 1px solid rgba(62, 162, 255, 0.3);
  color: var(--text-muted);
}

.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
}

.hero h1 span {
  display: block;
  color: var(--accent-strong);
}

.hero p {
  max-width: 640px;
  color: var(--text-muted);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 15px;
  color: var(--text-muted);
}

.stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(9, 13, 27, 0.85);
  border-radius: 999px;
  border: 1px solid rgba(62, 162, 255, 0.15);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.orb {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 120, 255, 0.3), transparent 65%);
  filter: blur(2px);
  opacity: 0.7;
  animation: float 8s ease-in-out infinite;
}

.orb-left {
  left: -60px;
  top: 140px;
}

.orb-right {
  right: -80px;
  top: 320px;
  animation-delay: 1s;
}

.section {
  padding: 104px 0;
}

.section h2 {
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
}

.section h2 span {
  color: var(--accent-strong);
}

.section-subtitle {
  text-align: center;
  margin: 16px auto 48px;
  color: var(--text-muted);
  max-width: 640px;
  font-size: 16px;
}

.feature-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1000px, 100%);
  margin: 0 auto;
}

.feature-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--card);
  border-radius: 20px;
  border: 1px solid rgba(62, 162, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(12, 18, 36, 0.5);
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(62, 162, 255, 0.2);
  color: var(--accent-strong);
  flex: 0 0 36px;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.game-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.game-card {
  background: var(--card);
  border-radius: 22px;
  padding: 22px 20px;
  border: 1px solid rgba(62, 162, 255, 0.15);
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(12, 18, 36, 0.5);
  animation: fade-up 0.7s ease both;
}

.game-card:nth-child(1) {
  animation-delay: 0.05s;
}

.game-card:nth-child(2) {
  animation-delay: 0.1s;
}

.game-card:nth-child(3) {
  animation-delay: 0.15s;
}

.game-card:nth-child(4) {
  animation-delay: 0.2s;
}

.game-card:nth-child(5) {
  animation-delay: 0.25s;
}

.game-card:nth-child(6) {
  animation-delay: 0.3s;
}

.game-logo {
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(12, 18, 36, 0.8);
  border: 1px solid rgba(62, 162, 255, 0.2);
  overflow: hidden;
  padding: 0;
}

.game-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-logo-apex {
  object-position: center 0%;
}

.game-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.game-status {
  font-size: 14px;
  color: var(--text-soft);
}

.more-games {
  margin-top: 40px;
  display: grid;
  place-items: center;
}

.more-card {
  width: min(600px, 100%);
  text-align: center;
  padding: 32px 28px;
  border-radius: 24px;
  background: rgba(13, 19, 36, 0.88);
  border: 1px solid rgba(62, 162, 255, 0.2);
  box-shadow: 0 20px 40px rgba(3, 6, 18, 0.45);
  animation: fade-up 0.8s ease both;
}

.more-count {
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-strong);
}

.more-title {
  margin-top: 6px;
  font-weight: 600;
}

.more-card p {
  margin: 12px 0 18px;
  color: var(--text-muted);
}

.pricing-card {
  margin: 48px auto 22px;
  padding: 50px 32px 40px;
  width: min(500px, 100%);
  text-align: center;
  border-radius: 26px;
  background: rgba(12, 18, 36, 0.92);
  border: 1px solid rgba(62, 162, 255, 0.35);
  box-shadow: 0 18px 40px rgba(4, 10, 30, 0.5);
  position: relative;
  animation: fade-up 0.8s ease both;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-card::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  background: radial-gradient(
    circle at top,
    rgba(62, 162, 255, 0.22),
    transparent 70%
  );
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.2s ease;
  z-index: -1;
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 162, 255, 0.55);
  box-shadow: 0 22px 50px rgba(4, 10, 30, 0.55),
    0 0 0 1px rgba(62, 162, 255, 0.14),
    0 0 18px rgba(62, 162, 255, 0.22);
}

.pricing-card:hover::after {
  opacity: 1;
}

.badge {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #2b79ff;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  box-shadow: 0 8px 18px rgba(43, 121, 255, 0.35);
}

.pricing-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 14px auto 16px;
  background: rgba(62, 162, 255, 0.2);
  color: var(--accent-strong);
  font-size: 16px;
  font-weight: 700;
}

.pricing-icon svg {
  width: 26px;
  height: 26px;
}

.pricing-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.feature-list {
  list-style: none;
  text-align: left;
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--text-muted);
  font-size: 15px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: 0 0 16px;
  background-color: rgba(43, 121, 255, 0.18);
  border: 1px solid rgba(62, 162, 255, 0.7);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9' fill='none' stroke='%233ea2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 4.5L4.5 8L11 1'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 7px;
  display: inline-block;
}

.system-req {
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 14px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 90px 0 60px;
  }

  .stats {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .nav-links {
    gap: 14px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
