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

.hero-section::before {
  content: '';
  position: absolute;
  top: -5%;
  right: -3%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 20, 90, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse 8s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -5%;
  left: -3%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(70px);
  animation: pulse 6s ease-in-out infinite reverse;
}

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

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

.hero-section h1 {
  color: var(--text-light);
  margin-bottom: 2rem;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 900px;
}

.hero-section .cta-button {
  padding: 18px 48px;
  font-size: 1.125rem;
  box-shadow: 0 8px 24px rgba(212, 20, 90, 0.4);
}

.table-of-contents {
  background: white;
  padding: 3rem 0;
}

.table-of-contents h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--secondary);
}

.toc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  list-style: none;
  max-width: 1000px;
  margin: 0 auto;
}

.toc-list li {
  background: linear-gradient(135deg, rgba(212, 20, 90, 0.05) 0%, rgba(255, 193, 7, 0.05) 100%);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.toc-list li:hover {
  transform: translateX(8px);
  background: linear-gradient(135deg, rgba(212, 20, 90, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
  box-shadow: var(--shadow-sm);
}

.toc-list a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding-left: 2.5rem;
}

.toc-list a::before {
  content: '→';
  position: absolute;
  left: 1rem;
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.3s ease;
}

.toc-list li:hover a::before {
  transform: translateX(4px);
}

.registration {
  background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
}

.registration h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.registration h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.games {
  background: white;
}

.games h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.games h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.mobile-app {
  background: var(--gradient-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.mobile-app::before {
  content: '';
  position: absolute;
  top: -2%;
  left: -2%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
}

.mobile-app h2, .mobile-app h3 {
  color: var(--text-light);
}

.mobile-app h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.mobile-app h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.mobile-app p {
  color: rgba(255, 255, 255, 0.85);
}

.mobile-app .container {
  position: relative;
  z-index: 2;
}

.strategies {
  background: linear-gradient(180deg, white 0%, var(--bg-light) 100%);
  padding: 5rem 0;
}

.strategies h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.strategies > .container > p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
}

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

.strategy-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  position: relative;
}

.strategy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 16px 16px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.strategy-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.strategy-card:hover::before {
  transform: scaleX(1);
}

.strategy-card h3 {
  color: var(--primary);
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.strategy-card p {
  font-size: 1rem;
  line-height: 1.7;
}

.security {
  background: white;
}

.security h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.security h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.faq {
  background: var(--bg-light);
  padding: 5rem 0;
}

.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.accordion-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: var(--shadow-md);
}

.accordion-header {
  padding: 1.5rem 2rem;
  cursor: pointer;
  position: relative;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0;
  transition: color 0.3s ease;
  user-select: none;
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.75rem;
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.3s ease;
}

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

.accordion-item.active .accordion-header::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 2rem;
}

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

.accordion-body p {
  margin-bottom: 1rem;
}

.cta-section {
  background: var(--gradient-primary);
  color: var(--text-light);
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

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

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

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

.cta-section .cta-button {
  background: white;
  color: var(--primary);
  padding: 18px 48px;
  font-size: 1.125rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-section .cta-button:hover {
  background: var(--accent);
  color: var(--secondary);
}

@media (max-width: 767px) {
  section {
    padding: 3rem 0;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-section::before,
  .hero-section::after {
    width: 250px;
    height: 250px;
  }

  .hero-description {
    font-size: 1rem;
  }

  .toc-list {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .strategy-card {
    padding: 1.75rem;
  }

  .accordion-header {
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
    padding-right: 3.5rem;
  }

  .accordion-header::after {
    right: 1.5rem;
    font-size: 1.5rem;
  }

  .accordion-body {
    padding: 0 1.5rem;
  }

  .accordion-item.active .accordion-body {
    padding: 0 1.5rem 1.25rem;
  }

  .cta-section {
    padding: 3.5rem 0;
  }

  .cta-section::before {
    width: 350px;
    height: 350px;
  }

  .cta-section p {
    font-size: 1.0625rem;
  }

  .mobile-app::before {
    width: 200px;
    height: 200px;
  }
}

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