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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #1a1d29;
  color: #e4e4e7;
  line-height: 1.6;
}

/* Header */
header {
  background: #20232e;
  border-bottom: 1px solid #2d3142;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: #3b82f6;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.search-box {
  display: flex;
  align-items: center;
  background: #2d3142;
  border-radius: 8px;
  padding: 8px 16px;
  gap: 8px;
}

.search-box svg {
  color: #71717a;
  flex-shrink: 0;
}

.search-box input {
  background: none;
  border: none;
  color: #fff;
  outline: none;
  width: 200px;
  font-size: 14px;
}

.search-box input::placeholder {
  color: #71717a;
}

/* Main container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 12px;
  padding: 60px 40px;
  margin-bottom: 40px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  background: #fff;
  color: #3b82f6;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

/* Section headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.view-all {
  color: #3b82f6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.view-all:hover {
  text-decoration: underline;
}

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 50px;
}

.game-card {
  background: #20232e;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
  border: 1px solid #2d3142;
}

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

.game-thumb {
  width: 100%;
  aspect-ratio: 1;
  background: #2d3142;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-info {
  padding: 12px;
}

.game-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #71717a;
}

.game-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.game-meta svg {
  flex-shrink: 0;
}

/* Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 50px;
}

.category-card {
  background: #20232e;
  border: 1px solid #2d3142;
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.category-card:hover {
  background: #2d3142;
  border-color: #3b82f6;
}

.category-icon {
  font-size: 36px;
  margin-bottom: 12px;
  color: #3b82f6;
}

.category-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.category-card p {
  font-size: 12px;
  color: #71717a;
}

/* Footer */
footer {
  background: #20232e;
  border-top: 1px solid #2d3142;
  margin-top: 80px;
  padding: 40px 20px 30px;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #2d3142;
  text-align: center;
  color: #71717a;
  font-size: 14px;
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .search-box {
    display: none;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

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

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

  .section-header h2 {
    font-size: 22px;
  }

  .game-thumb {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

#categories{
  display: none;
}
