section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section {
  padding: 8rem 0 6rem;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -5%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(92, 30, 133, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -5%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(92, 30, 133, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
}

.hero-section h1 {
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-section p {
  font-size: 1.25rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-section .cta-button {
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
  font-size: 1.25rem;
  padding: 20px 50px;
  background: #000000;
  color: #FFFFFF;
  border: 2px solid #4d1472;
  box-shadow: 0 8px 24px rgba(92, 30, 133, 0.4);
}

.hero-section .cta-button:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #5c1e85;
  box-shadow: 0 12px 32px rgba(92, 30, 133, 0.6);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.table-of-contents {
  background: var(--dark-light);
  padding: 3rem 0;
}

.table-of-contents h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.table-of-contents nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.table-of-contents nav ul li {
  margin: 0;
  padding: 0;
}

.table-of-contents nav a {
  display: block;
  padding: 1.25rem 1.5rem;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  transition: all 0.3s ease;
  min-height: 44px;
}

.table-of-contents nav a:hover {
  background: rgba(158, 233, 51, 0.1);
  border-color: #9ee933;
  transform: translateX(8px);
}

.registration, .mobile-app, .games, .advantages, .payments, .providers {
  background: var(--dark);
}

.registration h2, .mobile-app h2, .games h2, .advantages h2, .payments h2, .providers h2 {
  margin-bottom: 3rem;
}

.registration h3, .mobile-app h3, .games h3, .advantages h3, .payments h3, .providers h3 {
  color: var(--secondary);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.game-card {
  background: var(--dark-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(255, 23, 68, 0.3);
  border-color: var(--primary);
}

.game-card .content-image {
  margin: 0;
  border-radius: 0;
}

.game-card .content-image img {
  border-radius: 0;
  width: 100%;
  max-height: 250px;
  object-fit: cover;
}

.game-card h4 {
  padding: 1.5rem 1.5rem 0;
  font-size: 1.5rem;
}

.game-card p {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9375rem;
}

.advantage-block {
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: var(--dark-light);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.advantage-block:hover {
  border-color: #4d1472;
  box-shadow: var(--shadow-md);
}

.advantage-block h3 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.faq {
  background: var(--dark-light);
}

.accordion-item {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: rgba(255, 23, 68, 0.3);
}

.accordion-header {
  padding: 1.5rem 2rem;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  min-height: 44px;
}

.accordion-header::after {
  content: '+';
  font-size: 2rem;
  color: var(--primary);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(45deg);
}

.accordion-header:hover {
  color: var(--primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 2rem;
}

.accordion-item.active .accordion-body {
  max-height: 1000px;
  padding: 0 2rem 1.5rem;
}

.accordion-body p {
  padding: 0;
  margin: 0;
}

.cta-section {
  background: linear-gradient(135deg, #5c1e85 0%, #4d1472 100%);
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 50px) scale(1.1); }
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--text);
  margin-bottom: 1.5rem;
}

.cta-section h2::after {
  display: none;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.cta-section .cta-button {
  background: #000000;
  color: #9ee933;
  border: 2px solid #4d1472;
  font-size: 1.25rem;
  padding: 20px 50px;
}

.cta-section .cta-button:hover {
  background: #9ee933;
  color: #000000;
  border-color: #9ee933;
}

@media (max-width: 767px) {
  section {
    padding: 3rem 0;
  }
  
  .hero-section {
    padding: 4rem 0 3rem;
  }
  
  .hero-section::before,
  .hero-section::after {
    width: 300px;
    height: 300px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-section p {
    font-size: 1.0625rem;
  }
  
  .hero-section .cta-button {
    font-size: 1.0625rem;
    padding: 16px 40px;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .table-of-contents nav ul {
    grid-template-columns: 1fr;
  }
  
  .advantage-block {
    padding: 1.5rem;
  }
  
  .cta-section {
    padding: 3rem 0;
  }
  
  .cta-section p {
    font-size: 1.0625rem;
  }
  
  .cta-section .cta-button {
    font-size: 1.0625rem;
    padding: 16px 40px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}