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

:root {
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --primary-dark: #1e1b4b;
  --accent: #38bdf8;
  --accent-light: #7dd3fc;
  --bg: #ffffff;
  --bg-alt: #f5f6fb;
  --text: #1f2330;
  --text-light: #565d72;
  --text-lighter: #8a90a3;
  --white: #ffffff;
  --border: #e6e8f0;
  --card-shadow: 0 2px 16px rgba(30,27,75,0.07);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-light);
}

/* Navigation */
.nav {
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 55%, #6366f1 100%);
  color: var(--white);
  padding: 7rem 2rem;
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(56,189,248,0.25), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(124,58,237,0.3), transparent 45%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--accent-light);
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 10px;
  padding: 0.8rem 1.6rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--white);
  transition: background 0.2s, transform 0.2s;
}

.badge:hover {
  background: rgba(255,255,255,0.22);
  color: var(--white);
  transform: translateY(-1px);
}

.badge-solid {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.badge-solid:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
}

/* Sections */
.section {
  padding: 5.5rem 2rem;
}

.section-alt {
  background: var(--bg-alt);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(30,27,75,0.12);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.97rem;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Product cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.game-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(30,27,75,0.14);
}

.game-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--white);
}

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
}

.game-card-header h3 {
  font-size: 1.45rem;
  font-weight: 700;
}

.game-card-header p {
  opacity: 0.9;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.game-card-body {
  padding: 1.5rem 2rem 2rem;
}

.game-card-body ul {
  list-style: none;
  margin-top: 0.5rem;
}

.game-card-body li {
  padding: 0.45rem 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.game-card-body li::before {
  content: "\2713";
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.5rem;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: var(--white);
  text-align: center;
}

.cta-inner {
  max-width: 640px;
}

.cta h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 2rem 2.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.05rem; }
  .hero { padding: 4.5rem 1.5rem; }
  .section { padding: 3.5rem 1.5rem; }
  .section-header h2, .cta h2 { font-size: 1.7rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.85rem; }
  .nav { padding: 0 1.25rem; }
}
