:root {
  --bg: #09090f;
  --panel: rgba(18, 18, 28, 0.72);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f6f7fb;
  --muted: #b6bbcf;
  --accent: #8b5cf6;
  --accent-2: #22c55e;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top, rgba(139, 92, 246, 0.16), transparent 30%),
    linear-gradient(180deg, #0a0a11 0%, #08080e 45%, #050509 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: #7c3aed;
  top: -60px;
  left: -40px;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: #2563eb;
  bottom: -80px;
  right: -60px;
}

.hero,
main,
.footer {
  position: relative;
  z-index: 1;
}

.nav,
.hero-content,
.games-section,
.info-box,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(180px, 26vw, 260px);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(37, 99, 235, 0.22));
}

.nav-link,
.primary-btn,
.card-btn {
  text-decoration: none;
}

.nav-link {
  color: var(--muted);
  font-weight: 600;
}

.hero {
  padding-bottom: 40px;
}

.hero-content {
  padding: 70px 0 30px;
  max-width: 760px;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #d8d9e2;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 7vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero p,
.section-header p,
.card-content p,
.info-box li,
.footer p {
  color: var(--muted);
}

.hero p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 640px;
}

.primary-btn,
.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.primary-btn {
  color: white;
  background: linear-gradient(135deg, var(--accent), #6d28d9);
  box-shadow: 0 14px 30px rgba(109, 40, 217, 0.28);
}

.card-btn {
  width: 100%;
  color: white;
  background: linear-gradient(135deg, #f97316, #ea580c);
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.24);
}

.primary-btn:hover,
.card-btn:hover {
  transform: translateY(-2px);
}

.games-section {
  padding: 30px 0 24px;
}

.section-header {
  max-width: 700px;
  margin-bottom: 26px;
}

.section-header h2,
.info-box h2 {
  margin: 16px 0 10px;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

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

.game-card,
.info-box {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.game-card {
  overflow: hidden;
}

.image-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
}

.image-wrap img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.card-content {
  padding: 22px;
}

.card-content h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.card-content p {
  margin: 0;
  line-height: 1.65;
}

.card-actions {
  margin-top: 18px;
}

.info-box {
  margin-top: 28px;
  padding: 28px;
}

.info-box ol {
  margin: 16px 0 0;
  padding-left: 20px;
}

.info-box li + li {
  margin-top: 10px;
}

.footer {
  padding: 36px 0 48px;
}

.footer p {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 50px;
  }
}

@media (max-width: 540px) {
  .nav {
    padding-top: 18px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .card-content,
  .info-box {
    padding: 18px;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: 200px;
  }
}
