:root {
  --main-color: #7676ff;
  --bg-main: #0d0d0f;
  --bg-secondary: #131316;
  --bg-card: #16161a;
  --bg-elevated: #1a1a1f;
  --border-color: #23232a;
  --text-main: #ffffff;
  --text-muted: #9a9aa3;
  --text-soft: #b7b7c2;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html,
body {
  min-height: 100%;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
}

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

/* =========================
   Header
   ========================= */

header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 15, 0.96);
  backdrop-filter: blur(8px);
}

header a {
  padding: 8px 16px;
  border-radius: 10px;
  color: var(--text-main);
  transition: all 0.2s ease;
}

header a:hover {
  color: white;
  box-shadow: 0 0 14px rgba(118, 118, 255, 0.18);
}

ul {
  list-style: none;
  display: flex;
  justify-content: right;
  gap: 10px;
}

li {
  margin: 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--main-color);
}

/* =========================
   Hero Section
   ========================= */

.hero {
  text-align: center;
  padding: 80px 20px;
  margin: 0 auto;
  max-width: 1000px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #7676ff 0%, #a3a3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 auto 40px;
  max-width: 650px;
  line-height: 1.65;
}

/* =========================
   Features Grid (Games)
   ========================= */

.features {
  padding: 20px 20px 80px;
  flex: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(118, 118, 255, 0.35);
  box-shadow: 0 0 20px rgba(118, 118, 255, 0.08);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--main-color);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================
   Footer
   ========================= */

.footer {
  background: #0a0a0c;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero h2 {
    font-size: 2rem;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
}
