:root {
  color-scheme: dark;
  --bg-gradient: radial-gradient(circle at top left, #3d2c8d, #0f172a 55%);
  --card-bg: rgba(15, 23, 42, 0.75);
  --card-border: rgba(148, 163, 184, 0.25);
  --card-hover-bg: rgba(30, 41, 59, 0.9);
  --primary: #8b5cf6;
  --secondary: #38bdf8;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --shadow-soft: 0 30px 80px -30px rgba(15, 23, 42, 0.75);
  font-size: clamp(15px, 0.9vw + 14px, 17px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg-gradient);
  background-color: #0f172a;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.background-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
      110deg,
      rgba(56, 189, 248, 0.12) 0%,
      transparent 35%
    ),
    linear-gradient(250deg, rgba(139, 92, 246, 0.15) 20%, transparent 60%);
  background-color: transparent;
  pointer-events: none;
  z-index: -1;
}

.header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px clamp(24px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  place-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #4338ca);
  font-weight: 700;
  color: white;
}

.brand-name {
  font-size: 1.05rem;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: clamp(16px, 4vw, 36px);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.nav a:hover {
  color: white;
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px) 72px;
  display: grid;
  gap: clamp(40px, 6vw, 80px);
}

.hero-content {
  max-width: 620px;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
}

.lead {
  margin-top: 20px;
  font-size: 1.05rem;
  color: var(--muted);
}

.language-switcher {
  margin-top: 28px;
  display: inline-flex;
  padding: 6px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.3);
  gap: 6px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.language-button {
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.language-button:hover {
  color: white;
  transform: translateY(-2px);
}

.language-button.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(56, 189, 248, 0.35));
  color: white;
  box-shadow: 0 12px 30px -18px rgba(56, 189, 248, 0.9);
}

.header-language {
  margin-top: 0;
}

.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 4vw, 32px);
}

.section-divider {
  margin: clamp(36px, 6vw, 56px) auto 0;
  width: min(460px, 60%);
  height: 1px;
  background: rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(12px);
}

.store-options {
  margin-top: clamp(24px, 5vw, 32px);
}

.store-card .option-badge {
  background: rgba(56, 189, 248, 0.2);
  color: var(--secondary);
}

.store-card .option-cta {
  color: var(--primary);
}

.store-card:hover .option-cta {
  color: white;
}

.store-card::after {
  content: attr(data-logo);
  position: absolute;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(12px, 3vw, 22px);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.16);
  pointer-events: none;
}

.store-card-fivem::after {
  color: rgba(56, 189, 248, 0.22);
}

.store-card-redm::after {
  color: rgba(248, 113, 113, 0.22);
}

.option-card {
  position: relative;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, background 220ms ease,
    border-color 220ms ease;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.option-card:hover {
  transform: translateY(-6px);
  background: var(--card-hover-bg);
  border-color: rgba(96, 165, 250, 0.3);
}

.option-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(139, 92, 246, 0.2);
  color: var(--primary);
  margin-bottom: 18px;
}

.badge-secondary {
  background: rgba(56, 189, 248, 0.24);
  color: var(--secondary);
}

.option-card h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.option-card p {
  margin: 0 0 24px;
  font-size: 0.98rem;
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.6;
}

.option-cta {
  font-weight: 600;
  color: var(--secondary);
  transition: color 180ms ease;
}

.option-card:hover .option-cta {
  color: white;
}

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px clamp(24px, 4vw, 48px) 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  color: rgba(203, 213, 225, 0.7);
  font-size: 0.85rem;
}

.footer a {
  color: rgba(226, 232, 240, 0.8);
  text-decoration: none;
  transition: color 180ms ease;
}

.footer a:hover {
  color: white;
}

@media (max-width: 720px) {
  body {
    background: var(--bg-gradient);
    background-color: #0f172a;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 32px;
  }

  .option-card {
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.3);
  }

  .language-switcher {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.3);
  }
}

/* Force dark mode on all browsers */
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: dark;
  }

  body {
    background: var(--bg-gradient) !important;
    background-color: #0f172a !important;
    color: var(--text) !important;
  }
}

