/**
 * Sections Styles - King Size Game Cyberpunk Theme - Premium Edition
 * Styles élégants et raffinés pour les sections de contenu
 *
 * @package KingSizeGame
 * @version 2.0.0
 */

/* ==========================================================================
   HERO SECTION - Elegant & Modern
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.95) 0%,
    rgba(26, 26, 46, 0.85) 100%
  );
}

/* Animated gradient background */
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(0, 240, 255, 0.08) 0%,
    rgba(139, 0, 255, 0.04) 30%,
    transparent 60%
  );
  animation: rotateGradient 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes rotateGradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Refined grid overlay */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.hero-title {
  position: relative;
  z-index: 1;
  font-size: clamp(2.5rem, 6vw, 5.5rem) !important;
  font-weight: 900;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(
    135deg,
    #00F0FF 0%,
    #00A0D2 50%,
    #0080FF 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
  animation: subtleGlitch 4s ease-in-out infinite;
}

@keyframes subtleGlitch {
  0%, 94%, 100% {
    transform: translate(0);
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
  }
  95% {
    transform: translate(-1px, 1px);
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.8));
  }
  96% {
    transform: translate(1px, -1px);
    filter: drop-shadow(0 0 30px rgba(255, 0, 255, 0.6));
  }
  97% {
    transform: translate(0);
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
  }
}

.hero-subtitle {
  position: relative;
  z-index: 1;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(224, 224, 224, 0.85);
  margin-bottom: var(--space-xl);
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  letter-spacing: 0.03em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  position: relative;
  z-index: 1;
  margin-top: var(--space-xl);
}

/* ==========================================================================
   HOW IT WORKS SECTION - Refined Cards
   ========================================================================== */

.section-how-it-works {
  padding: calc(var(--space-xxl) * 1.5) 0;
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.3) 0%,
    rgba(10, 10, 15, 0.5) 100%
  );
}

.steps-container,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xxl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-md);
}

.step-card {
  position: relative;
  padding: var(--space-xxl) var(--space-xl);
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.8) 0%,
    rgba(22, 33, 62, 0.6) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Elegant corner accent */
.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.1) 0%,
    transparent 70%
  );
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  transition: all 0.4s ease;
}

/* Subtle bottom border glow */
.step-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--cyan-neon) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 240, 255, 0.2),
    0 0 40px rgba(0, 240, 255, 0.15);
}

.step-card:hover::before {
  width: 120px;
  height: 120px;
  background: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.15) 0%,
    rgba(255, 0, 255, 0.05) 70%
  );
}

.step-card:hover::after {
  opacity: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.2) 0%,
    rgba(0, 240, 255, 0.05) 100%
  );
  border: 2px solid var(--cyan-neon);
  color: var(--cyan-neon);
  font-size: 1.75rem;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  border-radius: 50%;
  margin-bottom: var(--space-lg);
  position: relative;
  transition: all 0.4s ease;
}

.step-number::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--cyan-neon),
    var(--violet-neon),
    var(--cyan-neon)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  animation: rotateBorder 3s linear infinite;
  animation-play-state: paused;
}

.step-card:hover .step-number::before {
  opacity: 0.6;
  animation-play-state: running;
}

@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.step-card h3 {
  color: var(--cyan-neon);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.step-card p {
  color: rgba(224, 224, 224, 0.8);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

/* ==========================================================================
   PRESENTATION SECTION - Clean & Modern
   ========================================================================== */

.section-presentation {
  padding: calc(var(--space-xxl) * 1.5) var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.info-block,
.highlight-block {
  position: relative;
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  border-left: 3px solid var(--cyan-neon);
  background: linear-gradient(
    90deg,
    rgba(0, 240, 255, 0.04) 0%,
    rgba(0, 240, 255, 0.01) 100%
  );
  backdrop-filter: blur(10px);
  border-radius: 0 4px 4px 0;
  transition: all 0.3s ease;
}

.info-block:hover,
.highlight-block:hover {
  border-left-width: 4px;
  background: linear-gradient(
    90deg,
    rgba(0, 240, 255, 0.08) 0%,
    rgba(0, 240, 255, 0.02) 100%
  );
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.1);
}

.highlight-block {
  border-left-color: var(--green-matrix);
  background: linear-gradient(
    90deg,
    rgba(0, 255, 65, 0.04) 0%,
    rgba(0, 255, 65, 0.01) 100%
  );
}

.highlight-block:hover {
  background: linear-gradient(
    90deg,
    rgba(0, 255, 65, 0.08) 0%,
    rgba(0, 255, 65, 0.02) 100%
  );
  box-shadow: 0 4px 20px rgba(0, 255, 65, 0.1);
}

.solidarity-message {
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.activities-preview {
  margin-top: var(--space-xxl);
  padding: var(--space-xl);
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.6) 0%,
    rgba(22, 33, 62, 0.4) 100%
  );
  border: 1px solid rgba(139, 0, 255, 0.2);
  border-radius: 4px;
  backdrop-filter: blur(15px);
}

.activities-preview h3 {
  color: var(--violet-neon);
  margin-bottom: var(--space-lg);
  font-size: 1.75rem;
  font-weight: 700;
}

.activities-preview ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.activities-preview li {
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  color: rgba(224, 224, 224, 0.85);
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.activities-preview li:hover {
  color: var(--cyan-neon);
  padding-left: var(--space-sm);
  border-bottom-color: rgba(0, 240, 255, 0.2);
}

.activities-preview li:last-child {
  border-bottom: none;
}

/* ==========================================================================
   TESTIMONIALS SECTION - Premium Cards
   ========================================================================== */

.section-testimonials {
  padding: calc(var(--space-xxl) * 1.5) var(--space-md);
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.8) 0%,
    rgba(26, 26, 46, 0.4) 50%,
    rgba(10, 10, 15, 0.8) 100%
  );
  position: relative;
}

/* Subtle grid pattern */
.section-testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 0, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  opacity: 0.7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: var(--space-xxl) auto 0;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  position: relative;
  padding: var(--space-xxl);
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.95) 0%,
    rgba(22, 33, 62, 0.85) 100%
  );
  backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Elegant gradient border on hover */
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    var(--cyan-neon),
    var(--magenta-neon),
    var(--violet-neon)
  );
  border-radius: 8px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.95) 0%,
    rgba(22, 33, 62, 0.85) 100%
  );
  border-radius: 8px;
  z-index: -1;
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(0, 240, 255, 0.15),
    0 0 0 1px rgba(0, 240, 255, 0.2);
}

.testimonial-card:hover::before {
  opacity: 1;
  animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.stars {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  filter: drop-shadow(0 0 8px rgba(255, 200, 0, 0.6));
  letter-spacing: 0.1em;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(224, 224, 224, 0.9);
  font-style: italic;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-left: var(--space-md);
  border-left: 2px solid rgba(0, 240, 255, 0.3);
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: -15px;
  font-size: 3.5rem;
  color: var(--cyan-neon);
  opacity: 0.15;
  font-family: 'Georgia', serif;
  line-height: 1;
}

.testimonial-author {
  color: var(--cyan-neon);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-author::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--cyan-neon) 0%,
    transparent 100%
  );
}

/* ==========================================================================
   FAQ SECTION - Modern Accordion
   ========================================================================== */

.section-faq {
  padding: calc(var(--space-xxl) * 1.5) var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

.faq-accordion {
  margin-top: var(--space-xxl);
}

.faq-item,
details {
  position: relative;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(0, 240, 255, 0.15);
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.6) 0%,
    rgba(22, 33, 62, 0.4) 100%
  );
  border-radius: 4px;
  backdrop-filter: blur(15px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover,
details:hover {
  border-color: rgba(0, 240, 255, 0.4);
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.8) 0%,
    rgba(22, 33, 62, 0.6) 100%
  );
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.1);
}

details[open] {
  border-color: rgba(0, 240, 255, 0.5);
}

.faq-question,
summary {
  padding: var(--space-lg) var(--space-xl);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cyan-neon);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: all 0.3s ease;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.75rem;
  color: var(--magenta-neon);
  font-weight: 300;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 0, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

details[open] summary::after {
  transform: rotate(45deg);
  background: rgba(255, 0, 255, 0.1);
  border-color: var(--magenta-neon);
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

summary:hover {
  color: var(--text-primary);
  padding-left: calc(var(--space-xl) + 8px);
}

summary:hover::after {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}

.faq-answer {
  padding: 24px;
  color: rgba(224, 224, 224, 0.85);
  line-height: 1.8;
  font-size: 1rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer strong {
  color: var(--cyan-neon);
  font-weight: 600;
}

/* ==========================================================================
   CTA SECTION - Premium Call-to-Action
   ========================================================================== */

.section-cta {
  padding: calc(var(--space-xxl) * 2) var(--space-md);
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 15, 0.95) 0%,
    rgba(26, 26, 46, 0.85) 50%,
    rgba(10, 10, 15, 0.95) 100%
  );
  position: relative;
  overflow: hidden;
}

/* Animated radial gradient */
.section-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.12) 0%,
    rgba(139, 0, 255, 0.06) 40%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  animation: ctaPulse 5s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.95);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.section-cta h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: var(--space-md);
  background: linear-gradient(
    135deg,
    var(--cyan-neon) 0%,
    var(--violet-neon) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-cta p {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  color: rgba(224, 224, 224, 0.8);
  max-width: 600px;
  margin: var(--space-lg) auto var(--space-xxl);
  line-height: 1.7;
}

.section-cta .btn-cyberpunk {
  margin: 0 var(--space-sm);
  position: relative;
  z-index: 1;
}

.btn-cyberpunk-secondary {
  background: transparent;
  border: 2px solid var(--magenta-neon);
  color: var(--magenta-neon);
  padding: 16px 36px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  margin: 0 var(--space-sm);
  position: relative;
  overflow: hidden;
}

.btn-cyberpunk-secondary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--magenta-neon);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.btn-cyberpunk-secondary:hover {
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(255, 0, 255, 0.4),
    0 0 40px rgba(255, 0, 255, 0.3);
}

.btn-cyberpunk-secondary:hover::before {
  width: 120%;
  height: 300%;
}

/* ==========================================================================
   RESPONSIVE - Mobile Optimization
   ========================================================================== */

@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    padding: var(--space-xl) var(--space-md);
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }

  .steps-container,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .step-card {
    padding: var(--space-lg) var(--space-md);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: var(--space-lg);
  }

  .section-cta .btn-cyberpunk,
  .btn-cyberpunk-secondary {
    display: block;
    margin: var(--space-md) auto;
    max-width: 280px;
  }

  .faq-question,
  summary {
    padding: var(--space-md);
    font-size: 1.05rem;
  }

  .faq-answer {
    padding: 0 var(--space-md) var(--space-md);
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .section-how-it-works,
  .section-presentation,
  .section-testimonials,
  .section-faq,
  .section-cta {
    padding: var(--space-xl) var(--space-sm);
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   ACTIVITIES & EVENTS PAGES - Card Grids
   ========================================================================== */

/* Event page specific sections */
.event-section {
  margin: var(--space-xxl) 0;
  padding: var(--space-xl);
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.4) 0%,
    rgba(22, 33, 62, 0.2) 100%
  );
  border-radius: 8px;
}

/* Grid containers for challenge cards */
.challenges-types,
.unlimited-info,
.private-events-types,
.event-cards-grid,
.private-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

/* Auto-detect grid containers based on content structure */
.wp-block-group:has(> .wp-block-group > h3),
.entry-content > div:has(> div > h3) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

/* Activities Grid Cards */
.activities-grid,
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

/* Style individual cards based on actual HTML structure */
.challenge-card,
.info-item,
.event-type,
.event-info-card,
.private-event-card,
.entry-content > div > div:has(h3),
.wp-block-group > .wp-block-group:has(h3),
.activity-card,
.event-card {
  position: relative;
  padding: var(--space-xl);
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.8) 0%,
    rgba(22, 33, 62, 0.6) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.challenge-card::before,
.info-item::before,
.event-type::before,
.event-info-card::before,
.private-event-card::before,
.entry-content > div > div:has(h3)::before,
.wp-block-group > .wp-block-group:has(h3)::before,
.activity-card::before,
.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--cyan-neon) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.challenge-card:hover,
.info-item:hover,
.event-type:hover,
.event-info-card:hover,
.private-event-card:hover,
.entry-content > div > div:has(h3):hover,
.wp-block-group > .wp-block-group:has(h3):hover,
.activity-card:hover,
.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow:
    0 10px 35px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(0, 240, 255, 0.12);
}

.challenge-card:hover::before,
.info-item:hover::before,
.event-type:hover::before,
.event-info-card:hover::before,
.private-event-card:hover::before,
.entry-content > div > div:has(h3):hover::before,
.wp-block-group > .wp-block-group:has(h3):hover::before,
.activity-card:hover::before,
.event-card:hover::before {
  opacity: 1;
}

.challenge-card h3,
.info-item h3,
.event-type h3,
.event-info-card h3,
.private-event-card h3,
.entry-content > div > div h3,
.wp-block-group > .wp-block-group h3,
.activity-card h3,
.event-card h3 {
  color: var(--cyan-neon);
  margin-bottom: var(--space-md);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.challenge-card p,
.info-item p,
.event-type p,
.event-info-card p,
.private-event-card p,
.entry-content > div > div p,
.wp-block-group > .wp-block-group p,
.activity-card p,
.event-card p {
  color: rgba(224, 224, 224, 0.85);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.challenge-card ul,
.info-item ul,
.event-type ul,
.event-info-card ul,
.private-event-card ul,
.entry-content > div > div ul,
.wp-block-group > .wp-block-group ul,
.activity-card ul,
.event-card ul {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.challenge-card li,
.info-item li,
.event-type li,
.event-info-card li,
.private-event-card li,
.entry-content > div > div li,
.wp-block-group > .wp-block-group li,
.activity-card li,
.event-card li {
  color: rgba(224, 224, 224, 0.8);
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  transition: all 0.3s ease;
}

.challenge-card li::before,
.info-item li::before,
.event-type li::before,
.event-info-card li::before,
.private-event-card li::before,
.entry-content > div > div li::before,
.wp-block-group > .wp-block-group li::before,
.activity-card li::before,
.event-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan-neon);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.challenge-card li:hover,
.info-item li:hover,
.event-type li:hover,
.event-info-card li:hover,
.private-event-card li:hover,
.entry-content > div > div li:hover,
.wp-block-group > .wp-block-group li:hover,
.activity-card li:hover,
.event-card li:hover {
  color: var(--cyan-neon);
  padding-left: calc(var(--space-lg) + 4px);
}

.challenge-card li:hover::before,
.info-item li:hover::before,
.event-type li:hover::before,
.event-info-card li:hover::before,
.private-event-card li:hover::before,
.entry-content > div > div li:hover::before,
.wp-block-group > .wp-block-group li:hover::before,
.activity-card li:hover::before,
.event-card li:hover::before {
  transform: translateX(4px);
}

/* Page Headings */
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-lg);
  background: linear-gradient(
    135deg,
    #00F0FF 0%,
    #8B00FF 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.4));
}

.page-header p {
  font-size: 1.2rem;
  color: rgba(224, 224, 224, 0.8);
  margin-bottom: var(--space-xxl);
  max-width: 800px;
}

/* Section Headings */
h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--magenta-neon);
  margin: var(--space-xxl) 0 var(--space-lg);
  position: relative;
  padding-left: var(--space-lg);
}


/* Info Blocks with Icons */
.info-highlight {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 0, 0.1) 0%,
    rgba(255, 255, 0, 0.02) 100%
  );
  border-left: 3px solid var(--yellow-neon);
  border-radius: 0 4px 4px 0;
  margin: var(--space-md) 0;
  font-weight: 600;
  color: var(--yellow-neon);
}

/* Rewards List */
.rewards-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.rewards-list li {
  padding: var(--space-md);
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.08) 0%,
    rgba(255, 215, 0, 0.02) 100%
  );
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.rewards-list li:hover {
  transform: scale(1.05);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15);
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.1) 0%,
    rgba(139, 0, 255, 0.05) 100%
  );
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 4px;
  color: var(--cyan-neon);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  border-color: var(--cyan-neon);
  box-shadow: 0 6px 25px rgba(0, 240, 255, 0.2);
  background: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.15) 0%,
    rgba(139, 0, 255, 0.08) 100%
  );
}

/* Content Sections Spacing */
.content-section {
  margin: calc(var(--space-xxl) * 1.5) 0;
  padding: 0 var(--space-md);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive for Activities/Events Pages */
@media (max-width: 768px) {
  .activities-grid,
  .events-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .activity-card,
  .event-card {
    padding: var(--space-lg);
  }

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

  h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
}
