/* ===================================================================
   ELIMU TRACK — 3 YEARS ANNIVERSARY CELEBRATION STYLES
   =================================================================== */

:root {
  --anniv-gold: #f59e0b;
  --anniv-gold-light: #fef3c7;
  --anniv-gold-dark: #b45309;
  --anniv-gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --anniv-navy: #09152e;
  --anniv-navy-light: #1e3a8a;
  --anniv-navy-gradient: linear-gradient(90deg, #071126 0%, #0f2347 40%, #1e3a8a 70%, #071126 100%);
  --anniv-glow: rgba(245, 158, 11, 0.35);
}

/* ================= TOP CELEBRATION BANNER (BURNER) ================= */
.anniversary-top-banner {
  background: var(--anniv-navy-gradient);
  color: #ffffff;
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.45);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13.5px;
  line-height: 1.4;
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.anniversary-top-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-25deg);
  animation: bannerShimmer 7s infinite ease-in-out;
  pointer-events: none;
}

@keyframes bannerShimmer {
  0% { left: -100%; }
  25% { left: 200%; }
  100% { left: 200%; }
}

.anniversary-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.anniversary-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.anniversary-emblem-mini {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 0 10px var(--anniv-glow);
  flex-shrink: 0;
  object-fit: contain;
  animation: emblemPulse 3s ease-in-out infinite;
}

@keyframes emblemPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.5)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.85)); }
}

.anniversary-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--anniv-gold-gradient);
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
}

.anniversary-headline {
  color: #e2e8f0;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.anniversary-headline strong {
  color: #ffffff;
  font-weight: 700;
}

.anniversary-headline .gold-text {
  color: #fbbf24;
  font-weight: 700;
}

.anniversary-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.anniversary-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fbbf24;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 4px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.anniversary-badge-link:hover {
  background: var(--anniv-gold);
  color: #0f172a;
  border-color: var(--anniv-gold);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.35);
}

.anniversary-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  line-height: 1;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
  padding: 0;
}

.anniversary-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.anniversary-top-banner.banner-hidden {
  max-height: 0 !important;
  opacity: 0 !important;
  padding: 0 !important;
  border-bottom: none !important;
  pointer-events: none;
}

/* ================= BRAND LOGO ANNIVERSARY TAG ================= */
.nav-brand-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.anniversary-ribbon-tag {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--anniv-gold-gradient);
  color: #0f172a;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 1.5px 5px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid #ffffff;
  text-transform: uppercase;
  pointer-events: none;
  animation: badgeWiggle 4s ease-in-out infinite;
}

@keyframes badgeWiggle {
  0%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(0deg); }
  94% { transform: rotate(-8deg); }
  96% { transform: rotate(8deg); }
  98% { transform: rotate(-4deg); }
}

/* ================= HERO CELEBRATION CHIP ================= */
.hero-anniversary-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 243, 199, 0.95) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  border-radius: 999px;
  padding: 6px 18px 6px 8px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-anniversary-chip:hover {
  transform: translateY(-2px);
  border-color: var(--anniv-gold);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.28);
}

.hero-anniversary-chip .chip-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  border: 1.5px solid #fbbf24;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  flex-shrink: 0;
}

.hero-anniversary-chip .chip-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hero-anniversary-chip .chip-badge-text {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #b45309;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-anniversary-chip .chip-title-text {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

/* ================= FLOATING DASHBOARD SEAL ================= */
.anniversary-seal-floating {
  position: absolute;
  bottom: -24px;
  left: -24px;
  z-index: 10;
  background: #ffffff;
  border: 2.5px solid #f59e0b;
  border-radius: 22px;
  width: 110px;
  height: 110px;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28), 0 0 25px rgba(245, 158, 11, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: sealFloat 4s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.anniversary-seal-floating:hover {
  transform: scale(1.08) rotate(3deg);
}

.anniversary-seal-floating img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

@keyframes sealFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-3deg); }
}

/* ================= ABOUT PAGE CELEBRATION SPOTLIGHT ================= */
.anniversary-spotlight-card {
  background: linear-gradient(135deg, #09152e 0%, #172554 60%, #1e3a8a 100%);
  border: 2px solid rgba(245, 158, 11, 0.5);
  border-radius: 20px;
  padding: 36px 40px;
  color: #ffffff;
  margin: 40px 0 60px;
  box-shadow: 0 20px 45px rgba(9, 21, 46, 0.3), 0 0 30px rgba(245, 158, 11, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 36px;
}

.anniversary-spotlight-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.anniversary-spotlight-logo-wrap {
  flex-shrink: 0;
  text-align: center;
}

.anniversary-spotlight-logo {
  width: 140px;
  height: 140px;
  border-radius: 24px;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 25px rgba(245, 158, 11, 0.4);
  object-fit: contain;
  border: 2px solid #fbbf24;
}

.anniversary-spotlight-body {
  flex: 1;
}

.anniversary-spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--anniv-gold-gradient);
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.anniversary-spotlight-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.anniversary-spotlight-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 18px;
}

.anniversary-spotlight-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.anniversary-stat-box {
  display: flex;
  flex-direction: column;
}

.anniversary-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #fbbf24;
}

.anniversary-stat-lbl {
  font-size: 12px;
  color: #94a3b8;
}

/* ================= MOBILE ADAPTATION ================= */
@media (max-width: 860px) {
  .anniversary-banner-inner {
    padding: 6px 12px;
    gap: 8px;
  }
  
  .anniversary-headline {
    font-size: 12px;
  }
  
  .anniversary-pill {
    font-size: 9.5px;
    padding: 2px 7px;
  }
  
  .anniversary-badge-link {
    display: none;
  }

  .anniversary-spotlight-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
  }
  
  .anniversary-spotlight-stats {
    justify-content: center;
  }
  
  .anniversary-seal-floating {
    width: 65px;
    height: 65px;
    bottom: -10px;
    left: -10px;
  }
}

@media (max-width: 480px) {
  .anniversary-headline {
    max-width: 220px;
  }
}
