/* Home Page Styles */
.hero {
  width: 100%;
  height: 340px;
  background: linear-gradient(120deg, #1e2a78 60%, #ff3c6f 100%), url('../images/placeholder.png') center/cover no-repeat;
  border-radius: 16px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  box-shadow: 0 6px 32px rgba(30,42,120,0.12);
  position: relative;
}
.hero-content {
  margin-left: 48px;
}
.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  font-family: 'Segoe UI', Arial, sans-serif;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #ffe6f2;
}

.featured-events {
  margin-bottom: 36px;
}
.events-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.event-card {
  background: linear-gradient(100deg, #ff9800 60%, #ff3c6f 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(255,60,111,0.08);
  display: flex;
  align-items: center;
  overflow: hidden;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
}
.event-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin: 16px;
  border-radius: 8px;
  background: #fff;
}
.event-info {
  padding: 8px 16px 8px 0;
}
.event-info h4 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
}
.event-info p {
  margin: 0;
  font-size: 0.98rem;
}

.leaderboard {
  background: linear-gradient(90deg, #1e2a78 60%, #ff3c6f 100%);
  color: #fff;
  border-radius: 12px;
  padding: 24px 32px;
  margin: 36px 0;
  box-shadow: 0 2px 12px rgba(30,42,120,0.10);
}
.leaderboard-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.leaderboard-list li {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.leaderboard-list .rank {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: #ff9800;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  margin-right: 12px;
  font-weight: bold;
}
.leaderboard-list .score {
  margin-left: auto;
  color: #ffe6f2;
  font-size: 0.98rem;
}

.news-section {
  margin: 36px 0;
}
.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.news-item {
  background: #fff;
  border-left: 6px solid #ff3c6f;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255,60,111,0.07);
  padding: 16px 20px;
  min-width: 220px;
  flex: 1 1 220px;
}
.news-item h4 {
  margin: 0 0 8px 0;
  color: #1e2a78;
  font-size: 1.08rem;
}
.news-item p {
  margin: 0;
  color: #444;
  font-size: 0.98rem;
}

.partners-section {
  margin: 36px 0;
}
.partners-list {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
}
.partners-list img {
  width: 90px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(30,42,120,0.07);
  padding: 8px;
}

.section-title {
  font-size: 1.5rem;
  margin: 36px 0 16px 0;
  font-weight: 700;
  letter-spacing: 1px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}
.category-card {
  background: linear-gradient(120deg, #232b4d 60%, #3c4fff 100%);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(60,76,255,0.10);
  display: flex;
  align-items: center;
  padding: 18px 20px;
  gap: 18px;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
}
.category-card img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 8px rgba(60,76,255,0.10);
}
.category-info h4 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 1px;
}
.category-info p {
  margin: 0 0 10px 0;
  font-size: 1rem;
  color: #e0e7ff;
}
.category-card .btn {
  padding: 6px 18px;
  font-size: 0.98rem;
  background: #ff9800;
  color: #fff;
  border-radius: 6px;
  margin-top: 4px;
}
.category-card.action {
  background: linear-gradient(120deg, #ff3c6f 60%, #ff9800 100%);
}
.category-card.adventure {
  background: linear-gradient(120deg, #1e2a78 60%, #3c4fff 100%);
}
.category-card.puzzle {
  background: linear-gradient(120deg, #6f3cff 60%, #ff3c6f 100%);
}
.category-card.racing {
  background: linear-gradient(120deg, #00c3ff 60%, #1e2a78 100%);
}
.category-card.strategy {
  background: linear-gradient(120deg, #ff9800 60%, #6f3cff 100%);
}
.category-card.sport {
  background: linear-gradient(120deg, #8bc543 60%, #ad3cab 100%);
}
.category-card.other {
  background: linear-gradient(120deg, #bf5bf1 60%, #e8b28c 100%);
}
.category-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(60,76,255,0.18);
}

@media (max-width: 900px) {
  .hero-content {
    margin-left: 16px;
  }
  .events-grid, .news-list, .partners-list {
    flex-direction: column;
    gap: 16px;
  }
  .leaderboard {
    padding: 16px 8px;
  }
  .category-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .hero {
    height: 180px;
    font-size: 1.3rem;
    border-radius: 10px;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .games-grid {
    gap: 12px;
  }
  .section-title {
    font-size: 1.1rem;
    margin: 24px 0 10px 0;
  }
  .category-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .category-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 10px;
    gap: 10px;
  }
  .category-card img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
  }
}

body {
    background: #181A2A;
    color: #D1D5DB;
}

.header, .footer {
    background: #23264A;
    color: #FFFFFF;
}

.main-title, h1, h2, h3 {
    color: #6C63FF;
}

.btn, button {
    background: linear-gradient(90deg, #6C63FF 0%, #00C3FF 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 2px 8px #23264A;
}

.card, .game-item, .panel {
    background: #23264A;
    border: 1px solid #31345B;
}

a {
    color: #00C3FF;
}

a:hover {
    color: #00FFB0;
}

hr, .divider {
    border-color: #31345B;
} 