/* Homepage Specific Styles */
.main-content {
  margin-top: 80px;
  padding-bottom: 2rem;
}

/* Hero Section */
.hero {
  background: 
    linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1)),
    radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  padding: 4rem 0;
  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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  animation: grain 20s linear infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -5%); }
  20% { transform: translate(-10%, 5%); }
  30% { transform: translate(5%, -10%); }
  40% { transform: translate(-5%, 15%); }
  50% { transform: translate(-10%, 5%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(-15%, 10%); }
  90% { transform: translate(10%, 5%); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  background: rgba(139, 92, 246, 0.2);
  box-shadow: var(--shadow-glow);
}

.feature i {
  font-size: 1.5rem;
  color: var(--primary-purple);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Promo Cards */
.promo-cards {
  padding: 4rem 0;
}

.promo-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: all 0.3s ease;
}

.promo-primary::before {
  background: var(--gradient-primary);
}

.promo-secondary::before {
  background: var(--gradient-secondary);
}

.promo-gold::before {
  background: var(--gradient-gold);
}

.promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.promo-content {
  padding: 2rem;
}

.promo-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-gold);
}

.promo-content p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

/* Game Categories */
.game-categories {
  padding: 4rem 0;
  background: rgba(10, 10, 26, 0.5);
}

.game-category {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.game-category::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  animation: rotate 6s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-category:hover::before {
  opacity: 1;
}

.game-category:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.game-category img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.category-icon {
  position: relative;
  z-index: 2;
  margin-bottom: 1rem;
}

.category-icon i {
  font-size: 3rem;
  color: var(--primary-purple);
  animation: pulse 2s infinite;
}

.game-category h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 0.5rem;
}

.game-category p {
  position: relative;
  z-index: 2;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

/* Spotlight Games */
.spotlight-games {
  padding: 4rem 0;
}

.game-section {
  margin-bottom: 3rem;
}

.game-section h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.game-card {
  position: relative;
  z-index: 1;
}

.game-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.game-card h4 {
  color: var(--text-gold);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.game-card p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* Steps Section */
.steps-section {
  padding: 4rem 0;
  background: rgba(10, 10, 26, 0.3);
}

.step-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.2);
  position: relative;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
  color: white;
}

.step-card h3 {
  margin-bottom: 1rem;
  color: var(--text-gold);
}

.step-card p {
  opacity: 0.8;
}

/* Testimonials */
.testimonials {
  padding: 4rem 0;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-purple);
  opacity: 0.3;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.testimonial-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonial-author strong {
  color: var(--text-gold);
}

.rating {
  color: var(--primary-gold);
}

/* Fixed Action Buttons */
.fixed-actions {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.fixed-btn {
  padding: 12px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  justify-content: center;
}

.register-btn {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.login-btn {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: var(--shadow-blue);
}

.bonus-btn {
  background: var(--gradient-gold);
  color: white;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.fixed-btn:hover {
  transform: translateX(-5px) scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-content {
    margin-top: 100px;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .promo-cards,
  .game-categories,
  .spotlight-games,
  .steps-section,
  .testimonials {
    padding: 2rem 0;
  }
  
  .fixed-actions {
    right: 10px;
    gap: 8px;
  }
  
  .fixed-btn {
    padding: 10px 12px;
    font-size: 0.8rem;
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .feature {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.8rem;
  }
  
  .feature i {
    font-size: 1.2rem;
  }
  
  .fixed-actions {
    position: fixed;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
    top: auto;
  }
  
  .fixed-btn {
    padding: 8px 12px;
    font-size: 0.7rem;
    min-width: 80px;
  }
}