/* ==========================================================================
   ENVISION JUNIORS 2026 - OFFICIAL EVENT DESIGN SYSTEM
   Srinivas Institute of Technology, Mangaluru
   ========================================================================== */

/* --- CSS VARIABLES / DESIGN TOKENS --- */
:root,
[data-theme="dark"] {
  /* Brand Palette derived directly from Official Envision Junior 2026 Phoenix Logo */
  --bg-dark: #12070a;
  --bg-surface: #1e0a0f;
  --bg-surface-elevated: #2b0f16;
  --bg-glass: rgba(30, 10, 15, 0.85);
  --bg-glass-card: rgba(43, 15, 22, 0.72);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glass-glow: rgba(255, 85, 0, 0.5);

  /* Phoenix Flame Primary Brand Colors (Fiery Orange-Red, Crimson & Radiant Gold) */
  --brand-navy: #850516;
  --brand-blue: #b80d27;
  --brand-cyan: #ff3b00;        /* Fiery Phoenix Orange-Red */
  --brand-indigo: #ff5500;      /* Radiant Flame Orange */
  --brand-gold: #f59e0b;        /* Phoenix Crest Gold */
  --brand-gold-glow: #fbbf24;   /* Golden Emblem Glow */
  --brand-crimson: #ff003c;     /* Electric Red Accent */

  /* High Contrast Text Colors */
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --text-inverse: #0f172a;
  --brand-cyan-text: #ff5500;
  --brand-gold-text: #fbbf24;

  /* Button Tokens */
  --btn-sec-bg: rgba(255, 255, 255, 0.08);
  --btn-sec-border: rgba(255, 255, 255, 0.2);
  --btn-sec-text: #f8fafc;

  /* Accent Gradients (Phoenix Flame to Gold Ember) */
  --grad-hero: linear-gradient(135deg, #850516 0%, #d97706 50%, #ff3b00 100%);
  --grad-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --grad-cyan: linear-gradient(135deg, #ff5500 0%, #e11d48 100%);
  --grad-crimson: linear-gradient(135deg, #ff3b00 0%, #b3001e 100%);
  --grad-card-hover: linear-gradient(135deg, rgba(255, 85, 0, 0.28) 0%, rgba(245, 158, 11, 0.15) 100%);
  --grad-text-main: linear-gradient(135deg, #ffffff 0%, #fff7ed 40%, #ff5500 100%);

  /* Dynamic Radial Background Overlays (Rich Phoenix Ambient Light) */
  --body-radial-1: rgba(255, 85, 0, 0.28);
  --body-radial-2: rgba(245, 158, 11, 0.24);
  --body-radial-3: rgba(225, 29, 72, 0.22);

  /* Element Backgrounds */
  --navbar-bg: linear-gradient(135deg, rgba(35, 12, 18, 0.88) 0%, rgba(60, 15, 25, 0.85) 50%, rgba(28, 9, 14, 0.92) 100%);
  --navbar-scrolled-bg: linear-gradient(135deg, rgba(38, 12, 18, 0.96) 0%, rgba(65, 16, 26, 0.94) 50%, rgba(30, 10, 15, 0.98) 100%);
  --input-bg: rgba(30, 10, 15, 0.85);
  --input-border: rgba(255, 255, 255, 0.15);
  --modal-bg: #1e0a0f;
  --footer-bg: #0d0406;
  --hero-card-bg: linear-gradient(145deg, rgba(43, 15, 22, 0.88), rgba(30, 10, 15, 0.92));
  --hero-meta-bg: rgba(255, 255, 255, 0.03);

  /* Shadows & Glows */
  --glow-navy: 0 10px 30px -5px rgba(122, 0, 16, 0.5);
  --glow-gold: 0 10px 30px -5px rgba(245, 158, 11, 0.4);
  --glow-indigo: 0 12px 35px -5px rgba(255, 23, 68, 0.45);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);

  /* Typography */
  --font-family-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- RESET & BASE STYLES --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 20%, var(--body-radial-1) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, var(--body-radial-2) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, var(--body-radial-3) 0%, transparent 50%);
  background-attachment: fixed;
  transition: background-color 0.35s ease, color 0.35s ease;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

/* --- REUSABLE UTILITIES & COMPONENTS --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2.5rem auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  color: var(--brand-cyan-text);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.badge-tag.gold {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--brand-gold-text);
}

.section-title {
  font-family: var(--font-family-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--grad-text-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Glassmorphic Card */
.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-glass-glow), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-glow);
  box-shadow: var(--shadow-card), var(--glow-indigo);
}

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

/* --- BUTTON SYSTEM --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-family-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-gold);
  color: #000000;
  box-shadow: var(--glow-gold);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  opacity: 0;
  transition: var(--transition-fast);
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px -5px rgba(245, 158, 11, 0.6);
  color: #000;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-secondary {
  background: var(--btn-sec-bg);
  color: var(--btn-sec-text);
  border: 1px solid var(--btn-sec-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--brand-indigo);
  border-color: var(--brand-indigo);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.35);
}

.btn-outline-gold {
  border: 1px solid var(--brand-gold);
  color: var(--brand-gold-text);
  background: rgba(245, 158, 11, 0.08);
}

.btn-outline-gold:hover {
  background: var(--brand-gold);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}

/* --- TOP ANNOUNCEMENT / HEADER BAR --- */
.top-announcement-bar {
  background: linear-gradient(90deg, #7a0010 0%, #b3001e 50%, #7a0010 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-info-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-info-item i {
  color: var(--brand-gold);
}

.top-badges-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-micro-badge {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.2);
}

/* --- NAVIGATION BAR (VIBRANT LOGO-TEXTURED DESIGN SYSTEM) --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Rich Burgundy & Flame Metallic Gradient Base */
  background: linear-gradient(135deg, rgba(45, 12, 20, 0.92) 0%, rgba(72, 18, 28, 0.88) 50%, rgba(32, 9, 15, 0.94) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 85, 0, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Navbar Scroll Progress Indicator Bar */
.nav-scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #ff3b00 0%, #ff7700 50%, #fbbf24 100%);
  box-shadow: 0 0 12px rgba(255, 85, 0, 0.9), 0 0 4px #fbbf24;
  z-index: 10;
  transition: width 0.08s ease-out;
  pointer-events: none;
}


/* 1. Circuit Board Traces & Microchip Nodes (Extracted directly from the Phoenix Logo) */
.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Circuit Traces SVG + Subdued Grid Texture */
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='80' viewBox='0 0 400 80'%3E%3Cg fill='none' stroke='%23ff5500' stroke-width='1.2' stroke-opacity='0.22'%3E%3Cpath d='M0 40 h60 l20 -20 h80 l15 15 h90 l25 -25 h110' /%3E%3Cpath d='M40 80 v-25 l20 -20 h100 l30 30 h120' /%3E%3Cpath d='M180 0 v20 l15 15 h70 l20 -20 h90' /%3E%3Ccircle cx='80' cy='20' r='3' fill='%23ff5500' fill-opacity='0.35' /%3E%3Ccircle cx='175' cy='35' r='3.5' fill='%23fbbf24' fill-opacity='0.45' /%3E%3Ccircle cx='290' cy='10' r='3' fill='%23ff5500' fill-opacity='0.35' /%3E%3Ccircle cx='220' cy='65' r='4' fill='%23fbbf24' fill-opacity='0.4' /%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(ellipse at 10% 50%, rgba(255, 59, 0, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 50%, rgba(245, 158, 11, 0.18) 0%, transparent 60%);
  background-repeat: repeat-x, no-repeat, no-repeat;
  background-position: center left, center left, center right;
  background-size: 400px 80px, cover, cover;
  pointer-events: none;
  z-index: 0;
}

/* 2. Phoenix Wing & Gear Logo Watermark Overlay */
.navbar::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 18%;
  transform: translateY(-50%);
  width: 220px;
  height: 160px;
  background-image: url('assets/LOGO/Envision Junior 2026.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
  opacity: 0.14;
  filter: drop-shadow(0 0 10px rgba(255, 85, 0, 0.5)) contrast(1.2);
  pointer-events: none;
  z-index: 0;
}

/* 3. Metallic Gear & Phoenix Flame Bottom Border Strip */
.nav-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, 
    rgba(133, 5, 22, 0.6) 0%, 
    rgba(255, 59, 0, 0.85) 20%, 
    rgba(226, 232, 240, 0.7) 40%, 
    rgba(251, 191, 36, 0.9) 60%, 
    rgba(255, 59, 0, 0.85) 80%, 
    rgba(133, 5, 22, 0.6) 100%
  ) 1;
}

.navbar.scrolled {
  background: linear-gradient(135deg, rgba(48, 12, 21, 0.97) 0%, rgba(80, 18, 30, 0.95) 50%, rgba(34, 9, 16, 0.98) 100%);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 59, 0, 0.3);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.nav-logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 85, 0, 0.55));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.nav-brand:hover .nav-logo {
  transform: scale(1.07) rotate(-1deg);
  filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.85));
}

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

.brand-title {
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--brand-gold-text);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbd5e1;
  position: relative;
  padding: 0.5rem 0.2rem;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 85, 0, 0.6);
}

.nav-link.active {
  color: var(--brand-gold-text) !important;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.7);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-gold));
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px rgba(255, 85, 0, 0.8);
  transition: width 0.25s ease;
}

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

.nav-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  padding: 0.5rem;
}

.hero.hero-modeled {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 1.25rem 0 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 65% 45%, rgba(255, 59, 0, 0.28) 0%, rgba(122, 0, 16, 0.45) 40%, rgba(9, 3, 5, 0.98) 85%);
  transition: background 0.8s ease-in-out;
}

/* CAROUSEL WRAPPER & TRACK */
.hero-carousel-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-carousel-track {
  display: flex;
  width: 300%;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.hero-slide {
  width: 33.333333%;
  flex-shrink: 0;
  opacity: 0.3;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  transform: scale(0.97);
  box-sizing: border-box;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* CAROUSEL NAVIGATION DOTS ONLY */
.hero-carousel-nav {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
  border: none;
}

.hero-carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-carousel-dots .dot.active {
  width: 32px;
  border-radius: 10px;
  background: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.85);
}

/* SLIDE 2 - SUCCESS DESIGN SYSTEM STYLING */
.slide-success {
  background: transparent;
  padding: 2rem 0;
  border-radius: 20px;
}

.success-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

.success-badge-tag .dot-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 8px #fbbf24;
}

.success-main-title {
  font-family: var(--font-family-display);
  font-size: 3.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 0.4rem;
}

.success-subtitle-highlight {
  font-family: var(--font-family-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 1.2rem;
}

.success-description {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 1.8rem;
}

.btn-success-primary {
  padding: 0.85rem 2rem;
  background: #f59e0b;
  color: #030a1c;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 30px;
  border: none;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-success-primary:hover {
  background: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.6);
}

.btn-success-secondary {
  padding: 0.85rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-success-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
}

/* SUCCESS VISUAL GRAPHICS */
.success-graphics-stage {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-card-glass {
  position: absolute;
  width: 240px;
  height: 320px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bg-glass-1 {
  transform: rotate(-12deg) translateX(-40px);
}

.bg-glass-2 {
  transform: rotate(8deg) translateX(40px);
}

.success-visual-col,
.scholarship-visual-col {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.success-logo-clean-wrapper,
.scholarship-logo-clean-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
}

.success-official-logo,
.scholarship-success-logo {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(255, 85, 0, 0.45)) drop-shadow(0 0 45px rgba(245, 158, 11, 0.25));
  animation: logoFloat 4s ease-in-out infinite;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.success-official-logo:hover,
.scholarship-success-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 35px rgba(251, 191, 36, 0.65));
}

/* SLIDE 3 - SCHOLARSHIP STYLING */
.slide-scholarship {
  background: transparent;
  padding: 2rem 0;
  border-radius: 20px;
}

.scholarship-split-wrapper {
  grid-template-columns: 0.85fr 1.15fr;
}

.scholarship-text-col {
  align-items: flex-start;
  text-align: left;
}

.scholarship-main-title {
  font-family: var(--font-family-display);
  font-size: 3.1rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.scholarship-main-title .gold-amount {
  color: #f59e0b;
  position: relative;
  display: inline-block;
}

.scholarship-main-title .gold-amount::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  box-shadow: 0 0 12px #f59e0b;
  border-radius: 2px;
}

.scholarship-subtitle-highlight {
  font-family: var(--font-family-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #f59e0b;
  margin-bottom: 0.85rem;
}

.scholarship-description {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
}

/* SCHOLARSHIP TIER BADGES */
.scholarship-tiers-grid {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 0.9rem;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.tier-pill:hover {
  transform: translateY(-2px);
}

.tier-pill .tier-percent {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 900;
}

.tier-platinum {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.tier-platinum .tier-percent {
  background: #ffffff;
  color: #850516;
}

.tier-diamond {
  background: rgba(255, 85, 0, 0.18);
  border-color: rgba(255, 85, 0, 0.5);
  color: #ff5500;
}

.tier-diamond .tier-percent {
  background: #ff5500;
  color: #ffffff;
}

.tier-gold {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fbbf24;
}

.tier-gold .tier-percent {
  background: #fbbf24;
  color: #12070a;
}

.tier-silver {
  background: rgba(203, 213, 225, 0.15);
  border-color: rgba(203, 213, 225, 0.4);
  color: #cbd5e1;
}

.tier-silver .tier-percent {
  background: #cbd5e1;
  color: #12070a;
}

/* SCHOLARSHIP VISUAL GRAPHIC */
.scholarship-visual-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.scholarship-students-graphic {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.students-bg-glass {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.12) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(255, 85, 0, 0.3);
  backdrop-filter: blur(16px);
  transform: rotate(-6deg);
}

.students-card-illustration {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem;
  border-radius: 20px;
  background: rgba(43, 15, 22, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.student-icon {
  font-size: 4rem;
  color: #fbbf24;
  filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.6));
}

.student-icon-group {
  font-size: 2rem;
  color: #38bdf8;
}

.students-badge-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  color: #fbbf24;
  font-size: 0.85rem;
  font-weight: 800;
}



.hero-bg-glow {
  position: absolute;
  top: 45%;
  right: 15%;
  transform: translate(20%, -50%);
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(255, 59, 0, 0.25) 0%, rgba(245, 158, 11, 0.2) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Hero Two-Column Split Layout (nested inside hero-centered-wrapper) */
.hero-split-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
  margin-bottom: 0;
}

/* Left column: all text content left-aligned */
.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-text-col .hero-main-title,
.hero-text-col .hero-subtitle-highlight,
.hero-text-col .hero-description,
.hero-text-col .hero-cta-buttons {
  text-align: left;
  align-self: flex-start;
}

.hero-text-col .hero-description {
  max-width: 720px;
  margin-left: 0;
  margin-right: 0;
}

.hero-text-col .hero-cta-buttons {
  justify-content: flex-start;
}

/* Right column: logo display */
.hero-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-glow-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0.25rem;
}

.hero-logo-glow-ring::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 23, 68, 0.25) 0%, rgba(245, 158, 11, 0.15) 50%, transparent 75%);
  filter: blur(30px);
  animation: logoPulse 3s ease-in-out infinite alternate;
}

@keyframes logoPulse {
  from { opacity: 0.5; transform: scale(0.95); }
  to   { opacity: 1;   transform: scale(1.05); }
}

.hero-event-logo {
  width: 100%;
  max-width: 920px;
  max-height: 640px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 50px rgba(255, 23, 68, 0.5)) drop-shadow(0 0 95px rgba(245, 158, 11, 0.3));
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
  .hero.hero-modeled {
    min-height: auto;
    padding: 3rem 0 2.5rem 0;
  }

  .hero-split-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-text-col {
    align-items: center;
    text-align: center;
  }

  .hero-text-col .hero-main-title,
  .hero-text-col .hero-subtitle-highlight,
  .hero-text-col .hero-description,
  .hero-text-col .hero-cta-buttons {
    text-align: center;
    align-self: center;
  }

  .hero-text-col .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text-col .hero-cta-buttons {
    justify-content: center;
  }

  .hero-logo-col {
    order: -1;
  }

  .hero-event-logo {
    max-width: 240px;
  }
}

/* Hero Outer Centered Wrapper */
.hero-centered-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1540px;
  width: 95%;
  margin: 0 auto;
}

/* 1. Institution Header Title */
.hero-inst-header {
  margin-bottom: 0.4rem;
}

.hero-inst-title {
  font-family: var(--font-family-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--brand-gold, #f59e0b);
  text-transform: uppercase;
  margin-bottom: 0.15rem;
  text-shadow: 0 2px 10px rgba(245, 158, 11, 0.25);
}

.hero-inst-sub {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* 2. Badges Row */
.hero-badge-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-badge-pill.gold-border {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--brand-gold-glow, #fbbf24);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

.hero-presents-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--brand-gold, #f59e0b);
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

/* 3. Main Title & Subtitle */
.hero-main-title {
  font-family: var(--font-family-display);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-main);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: 2.4rem;
  }
}

.hero-title-year {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle-highlight {
  font-family: var(--font-family-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.3));
}

@media (max-width: 768px) {
  .hero-subtitle-highlight {
    font-size: 1.3rem;
  }
}

/* 4. Hero Description Paragraph */
.hero-description {
  max-width: 850px;
  margin: 0 auto 1.25rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cbd5e1;
  font-weight: 500;
  text-align: center;
}

/* 5. Hero CTA Buttons Row */
.hero-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-family: var(--font-family-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  font-family: var(--font-family-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.45);
  color: #ffffff;
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  background: rgba(15, 23, 42, 0.4);
  border: 1.5px solid rgba(245, 158, 11, 0.6);
  color: var(--brand-gold-glow, #fbbf24);
  font-family: var(--font-family-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-hero-outline:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--brand-gold);
  color: var(--brand-gold-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

/* 6. Digital Glow Countdown Timer (00:00:00:00 Format) */
.hero-countdown-block {
  width: 100%;
  max-width: 600px;
  margin-top: -0.5rem;
  margin-bottom: 0.6rem;
}

.countdown-inline-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-unit .count-num {
  font-family: var(--font-family-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: #fbbf24;
  text-shadow:
    0 0 10px rgba(251, 191, 36, 0.7),
    0 0 22px rgba(245, 158, 11, 0.5),
    0 0 40px rgba(255, 23, 68, 0.4);
  margin-bottom: 0.25rem;
}

.timer-colon {
  font-family: var(--font-family-display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  color: #fbbf24;
  text-shadow:
    0 0 10px rgba(251, 191, 36, 0.7),
    0 0 22px rgba(245, 158, 11, 0.5);
  margin-top: -1rem;
  animation: colonBlink 1.5s ease-in-out infinite;
}

@keyframes colonBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.countdown-unit .count-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: rgba(248, 250, 252, 0.85);
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

@media (max-width: 576px) {
  .countdown-inline-timer {
    gap: 0.4rem;
  }

  .countdown-unit .count-num {
    font-size: 1.6rem;
  }

  .timer-colon {
    font-size: 1.5rem;
    margin-top: -0.75rem;
  }

  .countdown-unit .count-label {
    font-size: 0.55rem;
    letter-spacing: 1px;
  }
}

/* 7. Key Highlights Banner (Bottom of Hero) */
.hero-stats-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.5rem 1.25rem;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-badge strong {
  color: var(--text-main);
}

.stat-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
}

.icon-gold {
  color: #f59e0b;
}

.icon-cyan {
  color: #06b6d4;
}

.icon-purple {
  color: #a855f7;
}

/* --- ABOUT EVENT & COLLEGE SECTION --- */
/* =============================================
   INSTITUTIONAL LEGACY SECTION
   ============================================= */

/* --- ABOUT EVENT & COLLEGE SECTION --- */
/* =============================================
   INSTITUTIONAL LEGACY SECTION
   ============================================= */

.legacy-section {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0;
}

/* Dot-grid decorative background */
.legacy-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(99, 102, 241, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.legacy-section .container {
  position: relative;
  z-index: 1;
}

/* -- Header -- */
.legacy-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
}

.legacy-header .badge-tag {
  margin-bottom: 0.6rem;
}

.legacy-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0.5rem auto 0;
  line-height: 1.5;
}

/* -- Stat Counters Row -- */
.legacy-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.legacy-stat-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.legacy-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.legacy-stat-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}

.legacy-stat-card:hover::before {
  opacity: 1;
}

.stat-icon-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--ring-color, var(--brand-indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 14px -4px var(--ring-color, var(--brand-indigo));
}

.stat-icon-ring i {
  color: var(--ring-color, var(--brand-indigo));
  font-size: 1rem;
}

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -1px;
}

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

/* -- Main Grid -- */
.legacy-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

/* -- Left Column -- */
.legacy-content-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.legacy-desc-block {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.legacy-desc-block p {
  margin-bottom: 0.75rem;
}

.legacy-desc-block p:last-child {
  margin-bottom: 0;
}

/* -- Feature Cards Grid -- */
.legacy-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.legacy-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  transition: var(--transition-smooth);
}

.legacy-feature-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.25);
}

.lfc-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lfc-icon i {
  color: #fff;
  font-size: 0.95rem;
}

.lfc-text h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.lfc-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* -- Accreditation Strip -- */
.legacy-accreditation-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.06));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.legacy-accreditation-strip i {
  color: var(--brand-gold);
  font-size: 0.9rem;
}

/* -- Right Column: Image Stack -- */
.legacy-visual-col {
  position: relative;
}

.legacy-img-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
}

.legacy-img-primary,
.legacy-img-secondary {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  position: relative;
}

.legacy-img-primary {
  grid-column: 1 / -1;
  height: 200px;
}

.legacy-img-secondary {
  height: 140px;
  grid-column: 1 / 2;
}

.legacy-img-primary img,
.legacy-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.legacy-img-primary:hover img,
.legacy-img-secondary:hover img {
  transform: scale(1.05);
}

.legacy-img-ribbon {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  right: 0.6rem;
  background: rgba(10, 10, 26, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.legacy-img-ribbon i {
  color: var(--brand-gold);
}

.legacy-img-ribbon.cyan i {
  color: var(--brand-cyan);
}

/* Floating decorative chip (top-right area) */
.legacy-float-chip {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  background: linear-gradient(135deg, var(--brand-indigo), #7c3aed);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 0.75rem;
  text-align: center;
  box-shadow: 0 0 30px -8px rgba(99, 102, 241, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.legacy-float-chip i {
  font-size: 1.4rem;
  color: var(--brand-gold);
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6));
}

.legacy-float-chip span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- COMPETITIONS / EVENTS SECTION --- */
.category-tabs-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  background: var(--hero-meta-bg);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.tab-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--brand-indigo);
  color: #ffffff;
  border-color: var(--brand-cyan);
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
}

.events-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.event-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

.event-card[data-category="tech"]::before {
  background: var(--brand-cyan);
}

.event-card[data-category="cultural"]::before {
  background: var(--brand-gold);
}

.event-card[data-category="sports"]::before {
  background: var(--brand-crimson);
}

.event-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass-glow);
  box-shadow: var(--shadow-card), 0 0 30px rgba(99, 102, 241, 0.2);
}

.event-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.event-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--hero-meta-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glass);
}

.event-icon-badge img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.event-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--hero-meta-bg);
  color: var(--text-muted);
}

.event-card-title {
  font-family: var(--font-family-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.event-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.event-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.meta-pill {
  font-size: 0.82rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--hero-meta-bg);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-pill i {
  color: var(--brand-cyan);
}

.event-card-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.25rem;
}

.btn-details {
  flex: 1;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
}

/* --- RULE BOOK & GUIDELINES SECTION --- */
.rule-book-box {
  background: linear-gradient(135deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-card), var(--glow-navy);
}

.rules-content-left h3 {
  font-family: var(--font-family-display);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.rules-content-left p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.rules-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.rule-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--text-main);
  font-weight: 500;
}

.rule-check-item i {
  color: var(--brand-gold-text);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.rules-action-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-glass-card);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
}

.pdf-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

.pdf-info-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.pdf-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* --- PROPOSAL & PRINCIPAL ENDORSEMENT SECTION --- */
.proposal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.proposal-preview-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass-glow);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.proposal-preview-card img {
  width: 100%;
  height: auto;
  transition: var(--transition-smooth);
}

.proposal-preview-card:hover img {
  transform: scale(1.03);
}

.proposal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 9, 19, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.proposal-overlay-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-gold-glow);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.proposal-details-content h3 {
  font-family: var(--font-family-display);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.proposal-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.proposal-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.proposal-feat-card {
  background: var(--hero-meta-bg);
  border: 1px solid var(--border-glass);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.proposal-feat-card h5 {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.proposal-feat-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- SCHEDULE & TIMELINE SECTION --- */
.timeline-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, var(--brand-indigo) 0%, var(--brand-cyan) 50%, var(--brand-gold) 100%);
}

.timeline-item {
  display: flex;
  justify-content: flex-between;
  align-items: center;
  margin-bottom: 1.25rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 46%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  border-color: var(--border-glass-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.timeline-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.timeline-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-dark);
  border: 2px solid var(--brand-cyan);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 0 14px var(--brand-cyan);
  z-index: 2;
}

.timeline-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-gold);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.timeline-title {
  font-family: var(--font-family-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- PRIZES & RECOGNITION SECTION --- */
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.prize-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
}

.prize-card.grand-prize {
  background: linear-gradient(145deg, var(--bg-surface-elevated), var(--bg-surface));
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-card), var(--glow-gold);
  transform: scale(1.05);
}

.prize-card.grand-prize::before {
  content: 'TOP HONOR';
  position: absolute;
  top: -12px;
  background: var(--grad-gold);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 1.2rem;
  border-radius: var(--radius-full);
}

.prize-trophy-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--brand-gold);
}

.prize-card.runner-up .prize-trophy-icon {
  color: #94a3b8;
}

.prize-card.category-winner .prize-trophy-icon {
  color: #f97316;
}

.prize-title {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.prize-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.prize-rewards-list {
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.25rem;
}

.prize-reward-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
}

.prize-reward-item i {
  color: var(--brand-cyan-text);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  border: 1px solid var(--border-glass);
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 19, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
  color: #ffffff;
  padding: 1.5rem;
  text-align: center;
}

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

.gallery-zoom-icon {
  font-size: 2rem;
  color: var(--brand-gold);
  margin-bottom: 0.5rem;
}

/* --- FAQ SECTION --- */
.faq-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.faq-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(255, 85, 0, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.faq-item.active {
  border-color: var(--brand-gold);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.15);
  background: linear-gradient(145deg, var(--bg-surface-elevated), rgba(43, 15, 22, 0.95));
}

.faq-question {
  width: 100%;
  padding: 1.15rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  font-family: var(--font-family-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.faq-question i {
  color: var(--brand-cyan);
  transition: var(--transition-smooth);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--brand-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0 1.35rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.35rem 1.15rem 1.35rem;
}

/* --- REGISTRATION CTA SECTION --- */
.cta-banner {
  background: var(--grad-hero);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--glow-navy);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-family-display);
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* --- FOOTER --- */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0 1.5rem 0;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.2rem;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-badges {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.footer-badge-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.footer-col-title {
  font-family: var(--font-family-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  position: relative;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-item i {
  color: var(--brand-gold);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* --- MODAL SYSTEM --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.modal-container {
  background: var(--modal-bg);
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.75rem 2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(99, 102, 241, 0.2);
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header-compact {
  text-align: center;
  margin-bottom: 1.25rem;
}

.modal-title-compact {
  font-family: var(--font-family-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.25rem;
}

.modal-subtitle-compact {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {

  .form-row-2col,
  .form-row-3col {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.modal-note-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--brand-gold-glow);
}

.event-modal-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .event-modal-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--hero-meta-bg);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--brand-crimson);
  color: #ffffff;
}

/* Registration Form */
.form-group {
  margin-bottom: 0.85rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.95rem;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-control::placeholder {
  color: var(--text-dim);
  opacity: 0.85;
}

.form-control option {
  background: var(--bg-surface);
  color: var(--text-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-indigo);
  background: var(--input-bg);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}



/* Split Registration Modal Styling Overrides */
.register-modal-split {
  display: flex !important;
  padding: 0 !important;
  overflow: hidden !important;
  max-width: 880px !important;
  border: 1px solid rgba(255, 85, 0, 0.4) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 85, 0, 0.25) !important;
}

.reg-modal-left {
  flex: 0 0 38%;
  background: linear-gradient(145deg, #60000c 0%, #990017 50%, #3d0008 100%);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.reg-left-logo-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 1.25rem !important;
  display: flex;
  align-items: center;
}

.reg-left-logo-box img {
  height: 80px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  background: transparent !important;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.7));
}

.reg-left-title {
  font-family: var(--font-family-display);
  font-size: 1.55rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.reg-left-desc {
  font-size: 0.88rem;
  color: #f1f5f9;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.reg-left-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reg-left-features li {
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.reg-left-features li i {
  color: var(--brand-gold);
}

.reg-left-bottom-logo {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

.reg-left-bottom-logo img {
  max-height: 140px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 85, 0, 0.75));
}

.reg-modal-right {
  flex: 1;
  padding: 2.25rem 2rem;
  position: relative;
  background: var(--modal-bg);
}

@media (max-width: 768px) {
  .register-modal-split {
    flex-direction: column !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }
  .reg-modal-left {
    padding: 1.5rem;
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Laptops & Small Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 2rem;
  }
}

/* Tablets Landscape & Medium Screens (max-width: 1024px) */
@media (max-width: 1024px) {
  .section-padding {
    padding: 3rem 0;
  }

  .hero-grid,
  .about-grid,
  .proposal-grid,
  .rule-book-box,
  .rulebook-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-title .tagline-span {
    font-size: 1.6rem;
  }

  .hero-visual-right {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

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

  .timeline-wrapper::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    justify-content: flex-start;
  }

  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }

  .timeline-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .timeline-desc {
    white-space: normal;
  }

  .timeline-badge {
    left: 20px;
  }

  .prizes-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

  .prize-card.grand-prize {
    transform: none;
  }
}

/* Tablets Portrait & Mobile Navigation Trigger (max-width: 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section-padding {
    padding: 2.5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .top-announcement-bar {
    display: none;
  }

  .nav-container {
    padding: 0.75rem 1.25rem;
  }

  .nav-logo {
    height: 52px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--navbar-scrolled-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    overflow-y: auto;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    display: flex;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--btn-sec-bg);
    border: 1px solid var(--btn-sec-border);
    color: var(--text-main);
    font-size: 1.2rem;
  }

  .hero-meta-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-title {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .modal-container {
    padding: 1.5rem 1.25rem;
    max-height: 88vh;
    margin: 0 1rem;
    width: calc(100% - 2rem);
  }

  .form-row-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }


}

/* Large Smartphones & Phablets (max-width: 640px) */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-title .tagline-span {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .event-tabs {
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    white-space: nowrap;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .events-cards-grid {
    grid-template-columns: 1fr;
  }

  .stats-counter-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
  }

  .stat-num {
    font-size: 1.4rem;
  }

  .stat-lbl {
    font-size: 0.7rem;
  }
}

/* Standard Smartphones (max-width: 480px) */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-title .tagline-span {
    font-size: 1.15rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

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

  .nav-cta-wrapper .btn-primary {
    display: none;
  }

  .stats-counter-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .modal-container {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }

  .modal-close-btn {
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
  }
}

/* Small / Compact Smartphones (max-width: 360px) */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.8rem 1.25rem;
    font-size: 0.9rem;
  }

  .container {
    padding: 0 0.85rem;
  }
}

/* ==========================================================================
   SPLIT REGISTRATION MODAL (MATCHING REFERENCE DESIGN)
   ========================================================================== */
.register-modal-split {
  max-width: 950px;
  width: 95%;
  padding: 0 !important;
  border-radius: var(--radius-xl) !important;
  overflow: hidden;
  border: 1px solid var(--border-glass-glow) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 50px rgba(255, 23, 68, 0.25) !important;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  min-height: 560px;
  background: var(--bg-surface) !important;
  backdrop-filter: blur(16px);
}

/* Left Banner Side - Always rich dark crimson branding */
.reg-modal-left {
  background: linear-gradient(160deg, #5c000c 0%, #8b0017 35%, #1a0509 85%, #0f0305 100%);
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff !important;
  position: relative;
  border-right: 1px solid var(--border-glass-glow);
}

.reg-modal-left::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 23, 68, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.reg-left-logo-box,
.reg-brand-badge {
  background: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 23, 68, 0.25);
}

.reg-left-logo-box img,
.reg-brand-badge img {
  height: 65px;
  width: auto;
  display: block;
}

.reg-left-title,
.reg-modal-title {
  font-family: var(--font-family-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  margin-bottom: 0.85rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.reg-left-desc,
.reg-modal-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88) !important;
  margin-bottom: 1.75rem;
}

.reg-left-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.reg-left-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff !important;
}

.reg-left-features li i {
  color: #fbbf24 !important;
  font-size: 0.95rem;
}

.reg-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reg-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}

.reg-info-item i {
  color: #ff335c !important;
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.reg-info-item strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff !important;
}

.reg-info-item span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85) !important;
}

.reg-left-bottom-logo {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
}

.reg-left-bottom-logo img {
  height: 85px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(255, 23, 68, 0.45));
}

/* Right Form Side */
.reg-modal-right {
  background: var(--bg-surface);
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  position: relative;
  color: var(--text-main);
}

.reg-modal-right .modal-close-btn {
  top: 1.25rem;
  right: 1.25rem;
  background: var(--hero-meta-bg);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.reg-modal-right .modal-close-btn:hover {
  background: var(--brand-crimson);
  border-color: var(--brand-crimson);
  color: #ffffff;
}

.reg-right-header {
  margin-bottom: 1.5rem;
}

.reg-right-title {
  font-family: var(--font-family-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-gold-glow);
  margin-bottom: 0.25rem;
}

.reg-right-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.reg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.reg-modal-right .form-label {
  color: var(--text-main);
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
}

.reg-modal-right .form-control {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  width: 100%;
  transition: var(--transition-fast);
}

.reg-modal-right .form-control option {
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 0.5rem;
}

.reg-modal-right .form-control option:disabled,
.reg-modal-right .form-control option[disabled] {
  background: var(--bg-surface-elevated);
  color: var(--text-dim);
}

.reg-modal-right .form-control:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.25);
  outline: none;
}

.reg-modal-right .form-control::placeholder {
  color: var(--text-dim);
  opacity: 0.85;
}

.mobile-input-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--input-bg);
  transition: var(--transition-fast);
}

.mobile-input-group:focus-within {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.25);
}

.mobile-input-group .country-code {
  background: var(--bg-surface-elevated);
  padding: 0.65rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  border-right: 1px solid var(--input-border);
}

.mobile-input-group input {
  border: none !important;
  border-radius: 0 !important;
  flex: 1;
  box-shadow: none !important;
  padding: 0.65rem 0.75rem;
}

.mobile-input-group .btn-send-otp {
  background: var(--brand-navy);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.mobile-input-group .btn-send-otp:hover {
  background: var(--brand-crimson);
}

.btn-submit-registration {
  background: var(--grad-hero);
  color: #ffffff;
  font-family: var(--font-family-display);
  font-size: 0.95rem;
  font-weight: 800;
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-full);
  padding: 0.85rem 2.5rem;
  margin: 1.5rem auto 0 auto;
  display: block;
  width: fit-content;
  min-width: 240px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(255, 23, 68, 0.35);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-submit-registration:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 23, 68, 0.55);
  background: var(--grad-cyan);
}

.full-width-span {
  grid-column: span 2;
}

@media (max-width: 820px) {
  .register-modal-split {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .reg-modal-left {
    padding: 1.75rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--border-glass-glow);
  }

  .reg-modal-right {
    padding: 1.75rem 1.5rem;
  }

  .reg-form-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

/* --- CONTACT & LOCATION SECTION --- */
.contact-grid-wrapper {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  height: 440px;
}

.contact-details-card,
.contact-map-card {
  flex: 1;
  min-width: 0;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.contact-details-card {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.contact-card-title {
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.contact-card-subtitle {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.coordinator-cards-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.coordinator-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.coordinator-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-glass-glow);
  background: rgba(255, 85, 0, 0.08);
}

.coord-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 59, 0, 0.15);
  border: 2px solid var(--brand-cyan);
  color: var(--brand-cyan-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 59, 0, 0.2);
}

.coord-avatar.gold {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--brand-gold);
  color: var(--brand-gold-text);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.coord-avatar.cyan {
  background: rgba(14, 165, 233, 0.15);
  border-color: #0ea5e9;
  color: #38bdf8;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.coord-details {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  flex: 1;
}

.coord-role {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-weight: 700;
  color: var(--text-muted);
}

.coord-name {
  font-family: var(--font-family-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.05rem;
}

.coord-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-cyan-text);
  margin-top: 0.1rem;
}

.coord-phone-btn.gold {
  color: var(--brand-gold-text);
}

.coord-phone-btn.cyan {
  color: #38bdf8;
}

.coord-phone-btn:hover {
  text-decoration: underline;
}

.contact-map-card {
  display: flex;
  flex-direction: column;
}

.map-header-bar {
  background: rgba(18, 7, 10, 0.95);
  padding: 0.75rem 1rem;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-glass);
  flex-shrink: 0;
}

.map-iframe-container {
  flex: 1;
  width: 100%;
  position: relative;
}

.map-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .contact-grid-wrapper {
    flex-direction: column;
    height: auto;
  }

  .contact-details-card,
  .contact-map-card {
    height: auto;
  }

  .map-iframe-container {
    height: 400px;
    min-height: 400px;
  }
}

/* --- COMPETITIONS PAGE STYLES --- */
body.page-competitions-standalone #events {
  min-height: 85vh;
}

/* --- LEGACY SECTION RESPONSIVE --- */
@media (max-width: 992px) {
  .legacy-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .legacy-main-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .hero.hero-modeled {
    min-height: auto;
    padding: 3rem 1rem 2.5rem 1rem;
  }

  .hero-event-logo {
    max-width: 420px;
    max-height: 360px;
  }

  .hero-main-title {
    font-size: 2.5rem;
  }

  .hero-subtitle-highlight {
    font-size: 1.35rem;
  }

  .hero-stats-banner {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-xl);
  }

  .hero-stats-banner .stat-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: 2.1rem;
  }

  .hero-subtitle-highlight {
    font-size: 1.2rem;
  }

  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta-buttons .btn-hero-primary,
  .hero-cta-buttons .btn-hero-secondary,
  .hero-cta-buttons .btn-hero-outline {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.88rem;
  }

  .hero-countdown-block {
    max-width: 100%;
  }

  .countdown-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .countdown-card {
    padding: 0.6rem 0.25rem;
  }

  .countdown-card .count-num {
    font-size: 1.4rem;
  }

  .countdown-card .count-label {
    font-size: 0.58rem;
    letter-spacing: 0.8px;
  }

  .stat-badge {
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .legacy-stats-row {
    grid-template-columns: 1fr;
  }

  .legacy-features-grid {
    grid-template-columns: 1fr;
  }

  .legacy-accreditation-strip {
    flex-direction: column;
    text-align: center;
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 480px) {
  .hero.hero-modeled {
    padding: 2rem 0.75rem 2rem 0.75rem;
  }

  .hero-event-logo {
    max-width: 300px;
    max-height: 270px;
  }

  .hero-main-title {
    font-size: 1.75rem;
  }

  .hero-subtitle-highlight {
    font-size: 1.05rem;
  }

  .hero-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .countdown-card .count-num {
    font-size: 1.5rem;
  }

  .hero-stats-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    justify-items: center;
    width: 100%;
  }
}

/* ==========================================================================
   GALLERY TOGGLE SWITCH & VIDEO GRID STYLES
   ========================================================================== */
.gallery-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  margin-top: 1.5rem;
  backdrop-filter: blur(10px);
}

.gallery-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-toggle-btn i {
  font-size: 1rem;
}

.gallery-toggle-btn:hover {
  color: #ffffff;
}

.gallery-toggle-btn.active {
  background: var(--grad-hero);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 85, 0, 0.4);
}

.gallery-tab-content {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Video Grid Layout */
.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 1rem;
}

.video-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-glow);
  box-shadow: 0 15px 35px rgba(255, 85, 0, 0.25);
}

.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  cursor: pointer;
  overflow: hidden;
}

.video-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--grad-hero);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  box-shadow: 0 0 25px rgba(255, 85, 0, 0.8);
  transition: all 0.3s ease;
  padding-left: 3px;
}

.video-thumbnail-wrapper:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 35px rgba(255, 136, 0, 1);
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.video-card-body {
  padding: 1.25rem;
}

.video-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.video-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ==========================================================================
   ENVISION 2026 PRELOADER / LOADING PAGE STYLES (ENHANCED)
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #1f080e 0%, #12070a 60%, #080204 100%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader.preloader-hidden {
  opacity: 0;
  transform: scale(1.15);
  filter: blur(12px);
  visibility: hidden;
  pointer-events: none;
}

/* Background Cyber Grid Overlay */
.preloader-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 85, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 85, 0, 0.05) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 80%);
  pointer-events: none;
}

/* Radial Glow Behind Logo */
.preloader-bg-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(255, 60, 0, 0.35) 0%, rgba(245, 158, 11, 0.22) 40%, rgba(18, 7, 10, 0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: preloaderGlowPulse 3.5s ease-in-out infinite alternate;
}

@keyframes preloaderGlowPulse {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.35); opacity: 0.95; }
}

/* Floating Particles Container */
.preloader-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.fire-particle {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffaa00 0%, #ff3b00 70%, transparent 100%);
  box-shadow: 0 0 10px #ff5500;
  animation: floatUpParticle linear infinite;
  opacity: 0.8;
}

@keyframes floatUpParticle {
  0% {
    transform: translateY(0) scale(0.5) rotate(0deg);
    opacity: 0;
  }
  20% { opacity: 0.8; }
  100% {
    transform: translateY(-105vh) scale(1.4) rotate(360deg);
    opacity: 0;
  }
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.8rem 1rem;
  margin: 0 auto;
  max-width: 850px;
  width: 92%;
  max-height: 98vh;
  box-sizing: border-box;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Event Badge Header */
.preloader-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.4rem;
  background: rgba(255, 85, 0, 0.14);
  border: 1.5px solid rgba(255, 85, 0, 0.45);
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--brand-gold, #f59e0b);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(255, 85, 0, 0.25);
}

.preloader-badge i {
  color: #ff3b00;
  animation: badgeFlame 1.5s ease-in-out infinite alternate;
}

@keyframes badgeFlame {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px #ff3b00); }
  100% { transform: scale(1.25); filter: drop-shadow(0 0 8px #ffaa00); }
}

/* ==========================================================================
   3D PERSPECTIVE LOGO DISPLAY STAGE (ENLARGED & PERFECTLY BALANCED)
   ========================================================================== */
.logo-3d-stage {
  perspective: 1400px;
  width: clamp(380px, 52vh, 580px);
  height: clamp(380px, 52vh, 580px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transform-style: preserve-3d;
}

/* 3D Orbiting Concentric Rings */
.logo-3d-orbit {
  position: absolute;
  border-radius: 50%;
  transform-style: preserve-3d;
  pointer-events: none;
}

.logo-3d-orbit.outer-orbit {
  width: 100%;
  height: 100%;
  border: 3px dashed rgba(255, 85, 0, 0.6);
  box-shadow: 0 0 45px rgba(255, 85, 0, 0.45), inset 0 0 25px rgba(255, 85, 0, 0.3);
  animation: orbit3DOuter 9s linear infinite;
}

.logo-3d-orbit.inner-orbit {
  width: 82%;
  height: 82%;
  border: 3px dotted rgba(245, 158, 11, 0.8);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.55);
  animation: orbit3DInner 6s linear infinite reverse;
}

@keyframes orbit3DOuter {
  0% { transform: rotateX(65deg) rotateY(15deg) rotateZ(0deg); }
  100% { transform: rotateX(65deg) rotateY(15deg) rotateZ(360deg); }
}

@keyframes orbit3DInner {
  0% { transform: rotateX(-55deg) rotateY(-20deg) rotateZ(0deg); }
  100% { transform: rotateX(-55deg) rotateY(-20deg) rotateZ(360deg); }
}

/* Halo Glow Layer */
.logo-3d-halo {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.85) 0%, rgba(245, 158, 11, 0.5) 50%, transparent 75%);
  border-radius: 50%;
  filter: blur(50px);
  animation: haloPulse3D 2.5s ease-in-out infinite alternate;
}

@keyframes haloPulse3D {
  0% { opacity: 0.5; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1.3); }
}

/* 3D Floating Logo Card */
.logo-3d-card {
  position: relative;
  width: 90%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  animation: logo3DFloat 4s ease-in-out infinite alternate;
}

.preloader-logo-3d {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 4;
  filter: drop-shadow(0 30px 55px rgba(255, 60, 0, 0.95)) drop-shadow(0 0 75px rgba(245, 158, 11, 0.75));
  transform: translateZ(50px);
}

@keyframes logo3DFloat {
  0% {
    transform: translateY(0px) rotateY(-12deg) rotateX(6deg) translateZ(0);
    filter: drop-shadow(0 20px 30px rgba(255, 60, 0, 0.75));
  }
  100% {
    transform: translateY(-16px) rotateY(12deg) rotateX(-6deg) translateZ(40px);
    filter: drop-shadow(0 35px 55px rgba(255, 136, 0, 1));
  }
}

/* Title & Tagline */
.preloader-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 3px;
  color: #ffffff;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  text-shadow: 0 0 35px rgba(255, 85, 0, 0.7);
}

.preloader-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  font-weight: 800;
  color: var(--text-dim, #94a3b8);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.preloader-subtitle span {
  background: linear-gradient(135deg, #ffffff 0%, #ff8800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sleek Soundwave & Status Indicator Container */
.preloader-status-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0;
}

.status-soundwave {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
}

.status-soundwave span {
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #ff3b00, #fbbf24);
  border-radius: 6px;
  animation: soundwavePulse 1.2s ease-in-out infinite alternate;
  box-shadow: 0 0 12px rgba(255, 85, 0, 0.85);
}

.status-soundwave span:nth-child(1) { animation-delay: 0.1s; }
.status-soundwave span:nth-child(2) { animation-delay: 0.3s; }
.status-soundwave span:nth-child(3) { animation-delay: 0.5s; }
.status-soundwave span:nth-child(4) { animation-delay: 0.2s; }
.status-soundwave span:nth-child(5) { animation-delay: 0.4s; }

@keyframes soundwavePulse {
  0% { transform: scaleY(0.2); }
  100% { transform: scaleY(1); }
}

.status-text {
  color: var(--text-muted, #cbd5e1);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 0 12px rgba(255, 85, 0, 0.5);
}

.status-text i {
  color: var(--brand-cyan, #ff5500);
}

.preloader-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim, #94a3b8);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.preloader-subtitle span {
  background: linear-gradient(135deg, #ffffff 0%, #ff8800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Progress Section */
.preloader-progress-wrapper {
  width: 100%;
}

.preloader-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 0.85rem;
  position: relative;
}

.preloader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff3b00 0%, #ff7700 40%, #fbbf24 80%, #ffffff 100%);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 85, 0, 0.9);
  transition: width 0.18s cubic-bezier(0.1, 0.8, 0.3, 1);
  position: relative;
}

.preloader-progress-fill::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  width: 15px;
  background: #ffffff;
  box-shadow: 0 0 12px #ffffff, 0 0 25px #ff5500;
  border-radius: 50%;
}

.preloader-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
}

.status-text {
  color: var(--text-muted, #cbd5e1);
  font-weight: 500;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-text i {
  color: var(--brand-cyan, #ff5500);
}

.status-percentage {
  color: var(--brand-gold, #f59e0b);
  font-weight: 800;
  font-family: monospace;
  font-size: 1rem;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.preloader-footer-note {
  margin-top: 1.6rem;
  font-size: 0.76rem;
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.preloader-footer-note i {
  color: rgba(255, 85, 0, 0.7);
}

/* ==========================================================================
   ANTIGRAVITY CURSOR GLOW & INTERACTION SYSTEM
   ========================================================================== */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  margin-top: -210px;
  margin-left: -210px;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.16) 0%, rgba(245, 158, 11, 0.08) 40%, rgba(255, 0, 60, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.1s cubic-bezier(0.1, 0.8, 0.3, 1), opacity 0.3s ease;
  will-change: transform;
  mix-blend-mode: screen;
  filter: blur(15px);
  opacity: 0;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  margin-left: -4px;
  background-color: var(--brand-cyan, #ff5500);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 12px var(--brand-cyan, #ff5500), 0 0 20px rgba(255, 85, 0, 0.8);
  transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease, background-color 0.2s ease, opacity 0.3s ease;
  will-change: transform;
  opacity: 0;
}

body.cursor-active .cursor-glow,
body.cursor-active .cursor-dot {
  opacity: 1;
}

body.cursor-hovering .cursor-dot {
  width: 28px;
  height: 28px;
  margin-top: -14px;
  margin-left: -14px;
  background-color: rgba(255, 85, 0, 0.25);
  border: 1.5px solid var(--brand-gold, #fbbf24);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.7);
}

body.cursor-hovering .cursor-glow {
  transform: scale(1.3);
}

@media (hover: none) or (pointer: coarse) {
  .cursor-glow, .cursor-dot {
    display: none !important;
  }
}

/* ==========================================================================
   SCROLL ENTRANCE & REVEAL ANIMATIONS (CLEAR, NOTICEABLE & ELEGANT)
   ========================================================================== */
.reveal-fade-up {
  opacity: 0;
  transform: translate3d(0, 52px, 0);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-fade-down {
  opacity: 0;
  transform: translate3d(0, -52px, 0);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85) translate3d(0, 30px, 0);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-slide-left {
  opacity: 0;
  transform: translate3d(-60px, 0, 0);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-slide-right {
  opacity: 0;
  transform: translate3d(60px, 0, 0);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Revealed State */
.is-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* Stagger Delays for Grid Children (Harmonic 120ms intervals) */
.stagger-1 { transition-delay: 0.12s; }
.stagger-2 { transition-delay: 0.24s; }
.stagger-3 { transition-delay: 0.36s; }
.stagger-4 { transition-delay: 0.48s; }
.stagger-5 { transition-delay: 0.60s; }
.stagger-6 { transition-delay: 0.72s; }

/* ==========================================================================
   DISTINCT SECTION BACKGROUND VARIATIONS & VISUAL STYLING
   ========================================================================== */

/* 1. HERO SECTION ENHANCEMENTS */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, #2b0a14 0%, #17050b 50%, #0d0205 100%) !important;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-image: 
    radial-gradient(rgba(255, 85, 0, 0.12) 1px, transparent 1px),
    radial-gradient(rgba(245, 158, 11, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
  opacity: 0.65;
  animation: bgGridFloat 25s linear infinite;
}

@keyframes bgGridFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(40px); }
}

/* 2. ABOUT / LEGACY SECTION (#about) */
.legacy-section {
  position: relative;
  background: linear-gradient(180deg, #0d0205 0%, #150918 40%, #1a0a24 70%, #0d0205 100%) !important;
  border-top: 1px solid rgba(167, 139, 250, 0.18);
  border-bottom: 1px solid rgba(167, 139, 250, 0.18);
}

.legacy-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(14, 165, 233, 0.06) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.legacy-stat-card {
  background: rgba(30, 15, 45, 0.65) !important;
  border: 1px solid rgba(167, 139, 250, 0.25) !important;
  box-shadow: 0 15px 35px -10px rgba(124, 58, 237, 0.25) !important;
  backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.legacy-stat-card:hover {
  transform: translateY(-8px) scale(1.03) !important;
  border-color: rgba(167, 139, 250, 0.6) !important;
  box-shadow: 0 22px 45px -10px rgba(167, 139, 250, 0.45) !important;
}

.legacy-feature-card {
  background: rgba(35, 18, 50, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}

.legacy-feature-card:hover {
  transform: translateX(6px) !important;
  border-color: rgba(167, 139, 250, 0.4) !important;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.2) !important;
}

/* 3. COMPETITIONS / EVENTS SECTION (#events) */
#events {
  position: relative;
  background: linear-gradient(180deg, #0b0c16 0%, #111428 50%, #0d0f1f 100%) !important;
  border-top: 1px solid rgba(14, 165, 239, 0.15);
  border-bottom: 1px solid rgba(14, 165, 239, 0.15);
}

#events::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(14, 165, 233, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 70%, rgba(255, 85, 0, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* 4. RULEBOOK SECTION (#rulebook) */
#rulebook {
  position: relative;
  background: linear-gradient(135deg, #180a0e 0%, #251016 50%, #15080c 100%) !important;
}

.rule-book-box {
  background: linear-gradient(145deg, rgba(48, 16, 25, 0.85), rgba(30, 10, 16, 0.92)) !important;
  border: 1px solid rgba(255, 85, 0, 0.3) !important;
  box-shadow: 0 25px 50px -12px rgba(255, 85, 0, 0.25) !important;
  position: relative;
  overflow: hidden;
}

.rule-book-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, #ff3b00, #fbbf24, #ff003c);
}

.rule-check-item {
  transition: transform 0.3s ease, background 0.3s ease;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
}

.rule-check-item:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.04);
}

/* 5. SCHEDULE SECTION (#schedule) */
#schedule {
  position: relative;
  background: linear-gradient(180deg, #0c0814 0%, #160c26 50%, #0d0715 100%) !important;
  border-top: 1px solid rgba(245, 158, 11, 0.15);
}

.timeline-item {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.timeline-item:hover {
  transform: translateY(-4px) !important;
}

.timeline-content {
  background: rgba(32, 16, 48, 0.6) !important;
  border: 1px solid rgba(167, 139, 250, 0.2) !important;
  transition: border-color 0.35s ease, box-shadow 0.35s ease !important;
}

.timeline-item:hover .timeline-content {
  border-color: rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 15px 35px -10px rgba(245, 158, 11, 0.3) !important;
}

/* 6. PRIZES SECTION (#prizes) */
#prizes {
  position: relative;
  background: radial-gradient(ellipse at 50% 50%, #291807 0%, #180e03 60%, #0d0701 100%) !important;
  border-top: 1px solid rgba(245, 158, 11, 0.25);
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
}

#prizes::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(251, 191, 36, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

.prize-card {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease !important;
}

.prize-card:hover {
  transform: translateY(-12px) scale(1.03) !important;
}

.prize-card.grand-prize {
  background: linear-gradient(145deg, rgba(60, 35, 10, 0.9), rgba(35, 20, 5, 0.95)) !important;
  border: 2px solid rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 25px 60px -10px rgba(245, 158, 11, 0.45) !important;
}

.prize-card.grand-prize:hover {
  box-shadow: 0 35px 75px -10px rgba(245, 158, 11, 0.65) !important;
}

/* 7. GALLERY SECTION (#gallery) */
#gallery {
  position: relative;
  background: linear-gradient(180deg, #09090e 0%, #12121c 50%, #09090e 100%) !important;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.02) !important;
  border-color: var(--brand-cyan, #ff5500) !important;
  box-shadow: 0 20px 40px rgba(255, 85, 0, 0.3) !important;
}

.gallery-item img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.gallery-item:hover img {
  transform: scale(1.1) !important;
}

/* 8. FAQ SECTION (#faq) */
#faq {
  position: relative;
  background: linear-gradient(180deg, #0d0408 0%, #180812 50%, #0d0408 100%) !important;
}

.faq-item {
  background: rgba(32, 12, 22, 0.6) !important;
  border: 1px solid rgba(255, 85, 0, 0.18) !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(255, 85, 0, 0.45) !important;
  box-shadow: 0 10px 30px -5px rgba(255, 85, 0, 0.25) !important;
  transform: translateY(-2px);
}

/* 9. CONTACT SECTION (#contact) */
#contact {
  position: relative;
  background: linear-gradient(180deg, #0a0407 0%, #16070d 50%, #070204 100%) !important;
}

.contact-details-card, .map-frame-card {
  background: rgba(35, 12, 18, 0.75) !important;
  border: 1px solid rgba(255, 85, 0, 0.25) !important;
  box-shadow: 0 20px 45px -10px rgba(255, 85, 0, 0.2) !important;
  backdrop-filter: blur(12px);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.contact-details-card:hover, .map-frame-card:hover {
  border-color: rgba(255, 85, 0, 0.5) !important;
  box-shadow: 0 25px 55px -10px rgba(255, 85, 0, 0.35) !important;
}

/* ==========================================================================
   MICRO-INTERACTIONS & SHIMMER EFFECTS
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease !important;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40px;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(30deg);
  transition: transform 0.6s ease;
  pointer-events: none;
  opacity: 0;
}

.btn:hover::after {
  transform: translateX(350px) rotate(30deg);
  opacity: 1;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02) !important;
}

.btn:active {
  transform: translateY(0) scale(0.98) !important;
}

.stat-badge {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.stat-badge:hover {
  transform: translateY(-4px) scale(1.04) !important;
  border-color: var(--brand-gold, #f59e0b) !important;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3) !important;
}

/* Mouse Parallax Base Smoothness */
[data-parallax] {
  transition: transform 0.12s cubic-bezier(0.1, 0.8, 0.3, 1);
  will-change: transform;
}