* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Plus Jakarta Sans", sans-serif;
  background: linear-gradient(135deg, #0a1420 0%, #1a1a2e 50%, #16213e 100%);
  color: #ffffff;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/assets/background.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: blur(2px);
  transform: scale(1.1);
  z-index: -1;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ff3366, #ffb700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  color: #cccccc;
}

.hero-cta {
  display: inline-block;
  padding: 16px 48px;
  background: linear-gradient(135deg, #ff3366, #ffb700);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 51, 102, 0.5);
}

/* Games Grid */
.games-grid {
  padding: 80px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.games-grid h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 64px;
  color: #ffb700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.game-card {
  background: rgba(255, 51, 102, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background: rgba(255, 51, 102, 0.2);
}

.game-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  color: #ffb700;
}

.game-icon img {
  width: 100%;
}

.game-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: white;
}

.game-card p {
  color: #cccccc;
  line-height: 1.6;
}

.game-card-cta {
  display: block;
  margin-top: 16px;
  padding: 8px 24px;
  background: linear-gradient(135deg, #ff3366, #ffb700);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

/* Game Sections */
.game-section {
  padding: 80px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 2rem;
  color: #ffb700;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: #cccccc;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  overflow-x: auto;
  padding: 16px 0;
}

.provider-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.provider-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 179, 0, 0.2);
}

.provider-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 179, 0, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.provider-card:hover::before {
  left: 100%;
}

/* About Section */
.about-section {
  background: rgba(255, 51, 102, 0.05);
  padding: 80px 24px;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 32px;
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  color: #ffb700;
  margin-bottom: 16px;
}

.feature-details {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #f9f9f9;
  padding: 15px;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  border-top: 1px solid #ddd;
  transition: bottom 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.feature-card:hover .feature-details {
  bottom: 0;
  opacity: 1;
}

/* Reviews Section */
.reviews-section {
  padding: 80px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 32px;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.review-avatar img {
  width: 100%;
  border-radius: 25px;
}

.stars {
  color: #ffb700;
  margin-left: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  html {
    font-size: 12px;
  }

  .logo img {
    width: 90px;
  }

  .nav-menu,
  .auth-buttons {
    display: none;
  }

  .nav-container.open .nav-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: rgba(10, 18, 32, 0.98);
  }

  .nav-container.open .auth-buttons {
    display: flex;
    position: relative;
    gap: 4px;
    justify-content: center;
    margin-left: 5px;
    font-size: 0.5rem;
    padding: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .providers-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 16px 0;
    scroll-snap-type: x mandatory;
  }

  .provider-card {
    min-width: 180px;
    scroll-snap-align: start;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
