/* General resets and base styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #dff8d8, #fff6c5);
  color: #222;
}

/* Container */
.container {
  width: 95%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid #e2e8f0;
  background: transparent;
  padding: 10px 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 5px 0px;



}

.site-logo .brand {
  color: #f59e0b;
}
.site-logo .green {
  color: #0f766e;
}

.nav-menu a {
  margin-left: 24px;
  font-weight: 600;
  text-decoration: none;
  color: #333;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: #ec4899;
}

.nav-menu .login-btn {
  background: #9333ea;
  color: white;
  padding: 8px 18px;
  border-radius: 24px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 24px 20px 24px;
}

.hero h2 {
  font-size: 2.75rem;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero h2 span {
  display: inline-block;
}

.hero .green {
  color: #0f766e;
}

.hero .red {
  color: #b91c1c;
}

.hero p {
  font-size: 1.1rem;
  color: #444;
  max-width: 600px;
  margin: 0 auto;
}

.hero .cta {
  margin-top: 30px;
  display: inline-block;
  background: #facc15;
  color: #222;
  font-weight: bold;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.hero .cta:hover {
  background: #eab308;
}

/* Section Base */
.section {
  padding: 50px 20px;
}

.section h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #111827;
}

/* --- Featured Games --- */
.featured-games {
  padding: 20px 0;
}

.featured-games h2 ,.popular-categories h2 {
  font-size: 1.5rem;
  color: #9333ea;
  margin-bottom: 20px;
  text-align: left;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 columns */
  gap: 20px;
}

.game-card {
  padding: 20px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  background: #2d007a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.game-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 15px;
}

.game-card h3 {
  font-size: 1rem;
  margin: 0;
}

/* Color variations */
.game-card.purple {
  background: linear-gradient(145deg, #9a5cff, #b882ff);
}

.game-card.blue {
  background: linear-gradient(145deg, #00bfff, #1e90ff);
}



/* --- Popular Categories --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.category-card {
  background: #664237;
  padding: 20px;
  border-radius: 16px;
  font-weight: bold;
  text-align: center;
  font-size: 1rem;
  color: #e2e2e2;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* skill-highlights */
.skill-highlights {
  padding: 20px 20px;
  text-align: center;
  color: #fff;
}

.skill-highlights h2 {
  font-size: 2.2rem;
  color: #9333ea;
  margin-bottom: 10px;
}

.skill-highlights .subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 40px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  justify-content: center;
}

.skill-box {
  background: rgb(254 118 89);
  padding: 16px;
  border-radius: 16px;
  font-weight: bold;
  font-size: 1rem;
  color: #e2e2e2;
  transition: transform 0.3s ease;
}

.skill-box:hover {
  transform: scale(1.05);
  background: rgb(254 118 89);
}


/* Footer */
.site-footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 14px 20px;
  color: #6b7280;
  border-top: 1px solid #ddd;
  background: #fef9c3;
  margin-top: 24px;
}

/* Responsive Headings */
@media (min-width: 1920px) {
  .container {
    max-width: 1500px;
  }
}



@media screen and (max-width: 1200px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 576px) {

  .game-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-highlights h2 {
    font-size: 1.5rem;
  }

  .skill-highlights .subtitle {
    font-size: 1rem;
  }

  .category-card span {
    font-size: 0.9rem;
  }

  .footer {
    font-size: 0.85rem;
  }
}
