:root {
  --primary-blue: #00c6ff;
  --primary-dark-blue: #0072ff;
  --accent-gold: #ffb700;
  --accent-red: #ff3366;
  --dark-bg: #131d32;
  --card-bg: #1a243b;
  --text-dark: #2c3e50;
  --bg-light: #f8fafb;
  --white: #ffffff;
  --shadow-glow: 0 0 5px rgba(0, 198, 255, 0.3);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 14px;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--bg-light) 0%, #e8f4f8 100%);
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-dark-blue) 100%
  );
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero h1 {
  font-family: "Exo 2", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero .btn {
  font-size: 1.1rem;
  padding: 1rem 2rem;
  background: var(--accent-gold);
  color: var(--dark-bg);
}

.hero .btn:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Games Grid */
.games-grid {
  padding: 4rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-family: "Exo 2", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.games-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
}

.game-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid rgba(0, 198, 255, 0.1);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 198, 255, 0.2);
  border-color: var(--primary-blue);
}

.game-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.game-card h3 {
  font-family: "Exo 2", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.game-card p {
  color: #666;
  font-size: 0.9rem;
}

.game-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 5px;
  text-decoration: none;
  transition: var(--transition);
}

/* Game Sections */
.game-section {
  padding: 4rem 0;
  margin: 2rem 0;
}

.game-section-image {
  text-align: center;
  padding-top: 2rem;
}

.game-section img {
  width: 70%;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.game-section:nth-child(even) {
  background: rgba(0, 198, 255, 0.02);
}

.game-section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.game-section h2 {
  font-family: "Exo 2", sans-serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.game-section .description {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.providers-grid {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding: 1rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-blue) transparent;
}

.providers-grid::-webkit-scrollbar {
  height: 4px;
}

.providers-grid::-webkit-scrollbar-track {
  background: rgba(0, 198, 255, 0.1);
  border-radius: 2px;
}

.providers-grid::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 2px;
}

.provider-card {
  min-width: 200px;
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  flex-shrink: 0;
}

.provider-card:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 198, 255, 0.3);
}

.provider-card h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.provider-card p {
  font-size: 0.8rem;
  color: #666;
}

/* About Section */
.about {
  padding: 4rem 0;
  background: var(--white);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--bg-light), var(--white));
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: "Exo 2", sans-serif;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.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;
}

.feature-details p {
  max-width: 60%;
  margin: 0 auto;
}

.feature-card:hover .feature-details {
  bottom: 0;
  opacity: 1;
}

/* Reviews Section */
.reviews {
  padding: 4rem 0;
  background: rgba(0, 198, 255, 0.02);
}

.reviews-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-dark-blue)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  margin-right: 1rem;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.review-info h4 {
  font-weight: 600;
  color: var(--text-dark);
}

.review-info .date {
  font-size: 0.8rem;
  color: #666;
}

.stars {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .auth-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .games-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .providers-grid {
    gap: 1rem;
  }

  .provider-card {
    min-width: 150px;
  }

  html {
    font-size: 12px;
  }
}

/* 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 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
