/* ==========================================================================
   GG-Idea Innovations - UI Components Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Modern Navigation Header & Drawer
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal), backdrop-filter var(--transition-normal), padding var(--transition-normal);
  padding: 1.25rem 0;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(11, 7, 32, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Monogram Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-light);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: #FFFFFF;
  padding: 2px;
  box-shadow: 0 4px 15px rgba(217, 70, 239, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: rotate(6deg) scale(1.05);
  box-shadow: 0 6px 20px rgba(217, 70, 239, 0.65);
}

.logo-symbol {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
  color: white;
  font-weight: 900;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.logo-symbol::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 60%);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  line-height: 1.1;
  font-size: 1.25rem;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta-400);
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-light-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--fuchsia-gradient);
  border-radius: var(--radius-full);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--text-light);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Slide-out Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 380px;
  height: 100vh;
  background: rgba(15, 10, 42, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 6rem 2.25rem 2.5rem;
  transition: right var(--transition-smooth);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--magenta-400);
}

/* --------------------------------------------------------------------------
   2. Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--fuchsia-gradient);
  color: var(--text-light);
  box-shadow: 0 4px 20px rgba(217, 70, 239, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(217, 70, 239, 0.65);
  color: var(--text-light);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: var(--text-light);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary-700);
  border: 2px solid var(--primary-600);
}

.btn-outline-dark:hover {
  background: var(--primary-600);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--bg-white);
  color: var(--primary-700);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-600);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 2.35rem;
  font-size: 1.08rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   3. Hero Section Components
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: radial-gradient(circle at 80% 20%, #431478 0%, #170F3B 45%, #0B0720 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: pulseGlow 8s infinite alternate;
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 10;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(217, 70, 239, 0.12);
  border: 1px solid rgba(217, 70, 239, 0.35);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--magenta-300);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--magenta-400);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--magenta-400);
  animation: pulse 2s infinite;
}

.hero-title {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-light-muted);
  margin-bottom: 2.25rem;
  max-width: 600px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.7rem;
  margin-bottom: 3.5rem;
}

.hero-actions .btn {
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  white-space: nowrap;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-main-card {
  background: var(--glass-dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), var(--shadow-glow-purple);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.hero-card-banner {
  background: var(--brand-gradient);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-card-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  filter: blur(20px);
}

.floating-badge {
  position: absolute;
  background: rgba(18, 14, 46, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
  z-index: 20;
}

.floating-badge.badge-top-left {
  top: -20px;
  left: -25px;
  animation-delay: 0s;
}

.floating-badge.badge-bottom-right {
  bottom: -20px;
  right: -20px;
  animation-delay: 2.5s;
}

.floating-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Stats Counter Bar */
.stats-bar {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 15px 40px -10px rgba(59, 30, 126, 0.15);
  margin-top: -3.5rem;
  position: relative;
  z-index: 30;
  padding: 2.5rem 3rem;
  border: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  divide-x: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   4. Core Pillars Grid
   -------------------------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(109, 40, 217, 0.35);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-normal);
}

.pillar-card:hover .pillar-icon-wrapper {
  transform: scale(1.1) rotate(4deg);
}

.pillar-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--text-dark);
}

.pillar-desc {
  font-size: 0.98rem;
  color: var(--text-muted-dark);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-600);
  transition: gap var(--transition-fast);
}

.pillar-link:hover {
  gap: 0.85rem;
  color: var(--magenta-600);
}

/* --------------------------------------------------------------------------
   5. Flagship Spelling Genius Section
   -------------------------------------------------------------------------- */
.spelling-spotlight-card {
  background: linear-gradient(135deg, #1C0F45 0%, #2A1463 60%, #46146B 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl);
  color: var(--text-light);
  overflow: hidden;
  position: relative;
}

.spelling-banner-ribbon {
  background: var(--fuchsia-gradient);
  padding: 0.65rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.spelling-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  padding: 3.5rem;
  gap: 3.5rem;
  align-items: center;
}

.tournament-stages {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.stage-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.35rem;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.stage-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--magenta-400);
}

.stage-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fuchsia-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.stage-info h5 {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.stage-info p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   6. Interactive Spelling Genius Mini-Challenge
   -------------------------------------------------------------------------- */
.spelling-challenge-widget {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
}

.challenge-header {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
  color: var(--text-light);
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.difficulty-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.3rem;
  border-radius: var(--radius-full);
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.difficulty-btn {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light-muted);
  transition: var(--transition-fast);
  cursor: pointer;
}

.difficulty-btn.active {
  background: var(--fuchsia-gradient);
  color: var(--text-light);
  box-shadow: 0 2px 10px rgba(217, 70, 239, 0.4);
}

.challenge-body {
  padding: 3rem 2.5rem;
  text-align: center;
}

.pronounce-btn-wrapper {
  margin-bottom: 2rem;
}

.audio-play-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(109, 40, 217, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  border: 4px solid rgba(255, 255, 255, 0.8);
}

.audio-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 35px rgba(217, 70, 239, 0.5);
}

.word-hint-box {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-600);
  text-align: left;
}

.word-hint-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-600);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.word-hint-text {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-style: italic;
  margin: 0;
}

/* Live Visual Letter Slots for Kids & Voice Mode */
.letter-tiles-preview {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 auto 1.5rem;
  max-width: 680px;
}

.letter-tile-slot {
  width: 44px;
  height: 50px;
  border-radius: var(--radius-md);
  border: 2px dashed rgba(109, 40, 217, 0.35);
  background: var(--bg-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-700);
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.letter-tile-slot.filled {
  border-style: solid;
  border-color: var(--primary-600);
  background: rgba(109, 40, 217, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(109, 40, 217, 0.12);
}

.letter-tile-slot.correct-tile {
  border-style: solid;
  border-color: var(--emerald-500);
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-500);
}

.letter-tile-slot.incorrect-tile {
  border-style: solid;
  border-color: var(--magenta-600);
  background: rgba(217, 70, 239, 0.12);
  color: var(--magenta-600);
}

/* Voice Spelling Controls */
.voice-spelling-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 auto 1.25rem;
}

.voice-spell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.98rem;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.voice-spell-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
}

.voice-spell-btn.listening {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.25), 0 8px 25px rgba(239, 68, 68, 0.45);
  animation: pulse 1.5s infinite;
}

.voice-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--bg-light);
  color: var(--text-muted-dark);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.voice-clear-btn:hover {
  background: rgba(239, 68, 68, 0.08);
  color: #DC2626;
  border-color: rgba(239, 68, 68, 0.3);
}

.voice-helper-caption {
  font-size: 0.86rem;
  color: var(--text-muted-dark);
  margin-bottom: 1.25rem;
}

.spelling-input-group {
  display: flex;
  gap: 0.85rem;
  max-width: 540px;
  margin: 0 auto 1.5rem;
}

.spelling-input {
  flex-grow: 1;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-subtle);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.spelling-input:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.15);
}

.challenge-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
  font-weight: 700;
  color: var(--text-muted-dark);
}

.feedback-msg {
  min-height: 32px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.feedback-msg.correct {
  color: var(--emerald-500);
}

.feedback-msg.incorrect {
  color: var(--magenta-600);
}

/* --------------------------------------------------------------------------
   7. Hall of Fame Podium
   -------------------------------------------------------------------------- */
.podium-section {
  position: relative;
  padding-bottom: 4rem;
}

.podium-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.75rem;
  max-width: 960px;
  margin: 3.5rem auto 2rem;
}

.podium-tier {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.champion-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  width: 100%;
  margin-bottom: 1.5rem;
  position: relative;
  transition: transform var(--transition-normal);
}

.champion-card:hover {
  transform: translateY(-6px);
}

.podium-tier.first .champion-card {
  border: 2px solid var(--gold-400);
  box-shadow: 0 20px 40px -10px rgba(245, 158, 11, 0.25);
  transform: translateY(-16px);
}

.champion-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  position: relative;
  padding: 4px;
}

.podium-tier.first .champion-avatar {
  width: 110px;
  height: 110px;
  background: var(--gold-gradient);
}

.podium-tier.second .champion-avatar {
  background: linear-gradient(135deg, #CBD5E1 0%, #94A3B8 100%);
}

.podium-tier.third .champion-avatar {
  background: linear-gradient(135deg, #FDBA74 0%, #B45309 100%);
}

.champion-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.medal-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: white;
  border: 2px solid white;
}

.medal-badge.gold { background: var(--gold-gradient); }
.medal-badge.silver { background: linear-gradient(135deg, #94A3B8, #64748B); }
.medal-badge.bronze { background: linear-gradient(135deg, #D97706, #78350F); }

.champion-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.champion-school {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  margin-bottom: 0.75rem;
}

.winning-word-tag {
  display: inline-block;
  background: rgba(109, 40, 217, 0.08);
  color: var(--primary-700);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.podium-base {
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-weight: 900;
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.2);
}

.podium-tier.first .podium-base {
  height: 160px;
  background: var(--gold-gradient);
  font-size: 3.5rem;
}

.podium-tier.second .podium-base {
  height: 120px;
  background: linear-gradient(180deg, #94A3B8 0%, #64748B 100%);
  font-size: 2.8rem;
}

.podium-tier.third .podium-base {
  height: 90px;
  background: linear-gradient(180deg, #D97706 0%, #92400E 100%);
  font-size: 2.4rem;
}

/* --------------------------------------------------------------------------
   8. Programs & Tech Hub Showcase
   -------------------------------------------------------------------------- */
.program-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.program-img-wrapper {
  position: relative;
  height: 220px;
  background: var(--primary-900);
  overflow: hidden;
}

.program-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.program-card:hover .program-img-wrapper img {
  transform: scale(1.08);
}

.program-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 7, 32, 0.85);
  backdrop-filter: blur(8px);
  color: var(--magenta-400);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(217, 70, 239, 0.3);
}

.program-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.program-features {
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-bullet {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-muted-dark);
}

.feature-bullet svg {
  color: var(--emerald-500);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. Photo Gallery & Lightbox
   -------------------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--bg-light);
  color: var(--text-muted-dark);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-700);
  color: var(--text-light);
  border-color: var(--primary-700);
  box-shadow: 0 4px 15px rgba(59, 30, 126, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 7, 32, 0.9) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: white;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   10. Forms & Registration Modal
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-600);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.12);
}

/* --------------------------------------------------------------------------
   11. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary-100);
  color: var(--primary-700);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 2rem;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 2rem 1.75rem;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--primary-950);
  color: var(--text-light);
  padding-top: 5.5rem;
  padding-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-col h5 {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-link:hover {
  color: var(--magenta-400);
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.social-icon:hover {
  background: var(--fuchsia-gradient);
  transform: translateY(-3px);
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light-dim);
}
