:root {
  --primary-color: #1e88ff;
  --secondary-color: #4fb0ff;
  --accent-color: #0d4ba6;
  --dark-color: #f6fbff;
  --bg-dark: #010d1d;
  --bg-darker: #011731;
  --text-color: #f6fbff;
  --text-light: #aeddff;
  --border-color: rgba(255, 255, 255, 0.06);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .section-title, .hero-title {
  font-family: 'Cal Sans', 'Inter', sans-serif;
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* ========================
   NAVBAR CUSTOMIZATION
   ======================== */
.nav-tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--glass-bg);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--border-color);
}

/* Drawer open state */
.nav-drawer.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* ========================
   FEATURED GAMES SECTION
   ======================== */
.featured-games-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(30, 136, 255, 0.04) 0%, rgba(79, 176, 255, 0.02) 100%);
  border-bottom: 1px solid var(--border-color);
}

.featured-header {
  text-align: center;
  margin-bottom: 60px;
}

.featured-title {
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--text-color);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--text-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.featured-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.featured-card {
  background: linear-gradient(180deg, rgba(10, 24, 44, 0.6) 0%, rgba(5, 15, 32, 0.4) 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(30, 136, 255, 0.2);
  border-color: rgba(30, 136, 255, 0.3);
}

.featured-visual {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, rgba(30, 136, 255, 0.1) 0%, rgba(79, 176, 255, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.featured-meta {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(30, 136, 255, 0.15), rgba(79, 176, 255, 0.15));
  color: var(--text-light);
}

.featured-card h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text-color);
}

.featured-card p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: auto;
  line-height: 1.6;
  padding-bottom: 20px;
}

.featured-card .btn-primary {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}

/* Game-specific visual backgrounds */
.skillup-card .featured-visual {
  background: linear-gradient(135deg, rgba(76, 200, 255, 0.08) 0%, rgba(147, 230, 255, 0.06) 100%);
}

.workflow-card .featured-visual {
  background: linear-gradient(135deg, rgba(102, 150, 255, 0.08) 0%, rgba(147, 180, 255, 0.06) 100%);
}
/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.4s ease;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: linear-gradient(135deg, #1e88ff 0%, #4fb0ff 100%);
  color: white;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(30, 136, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #2a96ff 0%, #5fb8ff 100%);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 30px rgba(30, 136, 255, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid rgba(30, 136, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(30, 136, 255, 0.08);
  border-color: var(--primary-color);
  color: var(--secondary-color);
}

/* ========================
   SECTION HEADERS
   ======================== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--text-color);
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto;
}

/* ========================
   ALL GAMES SECTION – THUMBNAILS
   ======================== */
.all-games-section {
  padding: 60px 0 80px;
}

.games-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.game-thumb {
  background: linear-gradient(180deg, rgba(10, 24, 44, 0.55) 0%, rgba(5, 15, 32, 0.35) 100%);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.game-thumb:hover {
  border-color: rgba(30, 136, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 136, 255, 0.14);
}

.game-thumb.is-soon {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.thumb-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(30, 136, 255, 0.08) 0%, rgba(79, 176, 255, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.priority-vis  { background: linear-gradient(135deg, rgba(102, 150, 255, 0.1), rgba(147, 180, 255, 0.06)); }
.drive-vis     { background: linear-gradient(135deg, rgba(76, 200, 255, 0.09), rgba(147, 230, 255, 0.05)); }
.skillup-vis   { background: linear-gradient(135deg, rgba(0, 200, 160, 0.09), rgba(0, 230, 180, 0.05)); }
.workflow-vis  { background: linear-gradient(135deg, rgba(155, 109, 255, 0.09), rgba(190, 150, 255, 0.05)); }

.thumb-info {
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.thumb-type {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  opacity: 0.7;
}

.thumb-name {
  font-family: 'Cal Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}

.thumb-soon {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  width: fit-content;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
  .featured-games-section {
    padding: 60px 0;
  }

  .featured-title {
    font-size: 1.8rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .games-thumb-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .featured-games-section {
    padding: 40px 0;
  }

  .featured-title {
    font-size: 1.6rem;
  }

  .featured-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .featured-games-section,
  .all-games-section {
    padding: 50px 0;
  }

  .featured-visual {
    height: 180px;
  }

  .card-visual {
    height: 180px;
  }

  .featured-meta,
  .card-body {
    padding: 20px;
  }
}
