/* 
 * CECCM Landing Page - 2026 Design System
 * Glassmorphic Aesthetic with Bento Grid Layout
 * Functional Minimalism & Depth
 */

/* ============================================
   IMPORT DESIGN TOKENS
   ============================================ */

/* ============================================
   ADDITIONAL LANDING PAGE VARIABLES
   ============================================ */
:root {
  /* Landing-specific colors (extending design tokens) */
  --color-bg-primary: #0a0e1a;
  --color-bg-secondary: #111827;
  --color-bg-tertiary: #1e293b;

  /* Glassmorphism */
  --glass-blur: 20px;
  --glass-blur-heavy: 40px;
  --glass-opacity: 0.05;
  --glass-border: 1px solid var(--color-border-glass);

  /* Landing-specific shadows */
  --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.3);
  --shadow-glow-violet: 0 0 40px rgba(139, 92, 246, 0.3);
}

/* ============================================
   BASE STYLES
   ============================================ */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 80px; /* Account for fixed header height */
}

/* Scroll padding for anchor links */
html {
  scroll-padding-top: 100px;
}

/* Landing page specific */
body.landing-page {
  padding-top: 80px;
}

.main-content {
  padding: var(--space-8) 0;
  min-height: calc(100vh - 80px);
}

/* Content wrapper for inner content sections */
.content-wrapper {
  padding: var(--space-8) 0;
  min-height: calc(100vh - 80px);
}

/* Section spacing for landing pages */
.section {
  padding: var(--space-16) 0;
}

/* Grain Texture Overlay - z-index lowered to not interfere with header */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1; /* Behind all content - prevents stacking context interference */
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.heading-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings:
    "wght" 700,
    "opsz" 72;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.heading-1 {
  font-size: var(--text-6xl);
  color: #ffffff;
}
.heading-2 {
  font-size: var(--text-5xl);
  color: #ffffff;
}
.heading-3 {
  font-size: var(--text-4xl);
  color: #ffffff;
}
.heading-4 {
  font-size: var(--text-3xl);
  color: #ffffff;
}
.heading-5 {
  font-size: var(--text-2xl);
  color: #ffffff;
}

.text-gradient {
  background: linear-gradient(135deg, #22d3ee 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #22d3ee; /* Fallback color */
  font-weight: var(--font-weight-bold);
}

.text-glow {
  text-shadow: 0 0 40px rgba(6, 182, 212, 0.5);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
/* Container - using components.css base, landing uses full-width variant */
.container-full {
  width: 100%;
  max-width: 100%;
  padding: 0 var(--space-6);
}

.grid-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
}

/* ============================================
   LANDING-SPECIFIC GLASS EFFECTS
   ============================================ */
/* Glass effect - extends components.css .glass-card */
.glass-card-landing {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-xl);
  transition: all var(--transition-smooth);
}

.glass-card-landing:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border-color: var(--color-border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), var(--shadow-glow-cyan);
}

/* ============================================
   LANDING BUTTON STYLES
   ============================================ */
/* Note: Base .btn from components.css, landing adds effects */
.btn-landing-primary {
  background: linear-gradient(
    135deg,
    var(--color-accent-primary),
    var(--color-accent-secondary)
  );
  color: var(--color-bg-primary);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-landing-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-landing-primary:hover::before {
  left: 100%;
}

.btn-landing-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(6, 182, 212, 0.5),
    var(--shadow-glow-cyan);
}

/* Landing glass button variant */
.btn-landing-glass {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-glass);
  color: var(--color-text-primary);
  backdrop-filter: blur(10px);
}

.btn-landing-glass:hover {
  background: var(--color-bg-glass-hover);
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-glow-cyan);
}

/* Landing glow button variant */
.btn-landing-glow {
  position: relative;
  background: transparent;
  border: 2px solid var(--color-accent-primary);
  color: var(--color-accent-glow);
  overflow: visible;
}

.btn-landing-glow::after {
  content: "";
  position: absolute;
  inset: -4px;
  background: radial-gradient(
    ellipse at center,
    rgba(6, 182, 212, 0.3) 0%,
    transparent 70%
  );
  z-index: -1;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* ============================================
   HERO SECTION - SPATIAL COLLAGE
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(
      ellipse at 20% 20%,
      rgba(6, 182, 212, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 80%,
      rgba(139, 92, 246, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(34, 211, 238, 0.08) 0%,
      transparent 60%
    );
  animation: hero-ambient 20s ease-in-out infinite;
}

@keyframes hero-ambient {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(2%, 2%) rotate(1deg);
  }
  66% {
    transform: translate(-1%, 1%) rotate(-1deg);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: var(--z-elevated);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: var(--space-6);
  color: #ffffff;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: #e5e7eb;
  max-width: 540px;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Section Tags */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: var(--space-6);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  color: #ffffff;
  margin: var(--space-4) 0;
  text-align: center;
  width: 100%;
}

.section-header p {
  color: #d1d5db;
  max-width: 600px;
  margin: var(--space-4) auto 0;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   BENTO GRID COLLAGE - Leadership Hierarchy
   Square Grid Layout with Visual Hierarchy
   ============================================ */
.hero-collage {
  position: relative;
  height: 500px;
  perspective: 1000px;
}

/* Bento Grid Container */
.hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-3);
  width: 100%;
  max-width: 500px;
  height: 500px;
}

/* President - Full Left Side (spans both rows) */
.bento-president {
  grid-row: 1 / 3;
  grid-column: 1;
}

/* Right Column Container */
.bento-right-column {
  grid-row: 1 / 3;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Director - Top Right Half */
.bento-director {
  flex: 1;
}

/* Assistant Directors Row */
.bento-ad-row {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

/* Bento Portrait Cards */
.bento-portrait {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid var(--color-border-glass);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.bento-portrait:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    var(--shadow-2xl),
    0 0 40px rgba(6, 182, 212, 0.3);
  border-color: var(--color-accent-cyan);
  z-index: var(--z-local-top);
}

/* Image Wrapper */
.bento-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.bento-portrait:hover .bento-image-wrapper img {
  transform: scale(1.08);
}

/* Image Overlay with Gradient */
.bento-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    transparent 70%
  );
  transition: opacity var(--transition-base);
}

.bento-portrait:hover .bento-image-overlay {
  background: linear-gradient(
    to top,
    rgba(6, 182, 212, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    transparent 70%
  );
}

/* Labels */
.bento-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  text-align: center;
  z-index: 2;
}

.bento-name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.bento-president .bento-name {
  font-size: var(--text-xl);
}

.bento-ad .bento-name {
  font-size: var(--text-sm);
}

.bento-title {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bento-portrait:hover .bento-title {
  color: var(--color-accent-cyan);
}

/* Hierarchy Badges */
.bento-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-highlight);
  font-size: 14px;
}

.bento-badge-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #0a0e1a;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
}

.bento-badge-silver {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(148, 163, 184, 0.5);
  width: 26px;
  height: 26px;
  font-size: 12px;
}

.bento-badge-bronze {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.5);
  width: 22px;
  height: 22px;
  font-size: 10px;
}

/* Legacy collage-image support (for backward compatibility) */
.collage-image {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-smooth);
}

.collage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.collage-image:hover img {
  transform: scale(1.05);
}

/* Floating CTA Card */
.hero-cta-card {
  position: absolute;
  bottom: -30px;
  left: -20px;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.2),
    rgba(139, 92, 246, 0.2)
  );
  backdrop-filter: blur(var(--glass-blur-heavy));
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  z-index: var(--z-local-max);
  animation: float-card 6s ease-in-out infinite;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.cta-card-title {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.cta-card-stat {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-accent-glow);
}

/* ============================================
   ABOUT SECTION - BENTO GRID
   Redesigned 2026 - See bento-grid.css for full styles
   ============================================ */
.about-section {
  background: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-border-glass),
    transparent
  );
}

/* Ambient background glow */
.about-section::after {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(6, 182, 212, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Bento grid styles are in components/bento-grid.css */
/* This file provides section-level styling only */

/* ============================================
   FEATURED MEDIA SECTION
   ============================================ */
.media-section {
  position: relative;
  overflow: hidden;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.video-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-bg-tertiary);
  aspect-ratio: 16/9;
}

.video-container video,
.video-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.video-container:hover .video-controls {
  opacity: 1;
}

.video-play-btn-sm {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-primary);
  border-radius: var(--radius-full);
  color: var(--color-bg-primary);
  font-size: var(--text-lg);
  cursor: pointer;
  transition: all var(--transition-base);
}

.video-play-btn-sm:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-cyan);
}

/* Lazy-loaded Image Mask */
.image-mask-reveal {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.image-mask-reveal img {
  opacity: 0;
  transform: scale(1.1);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-mask-reveal.revealed img {
  opacity: 1;
  transform: scale(1);
}

.image-mask-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-bg-primary);
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-mask-reveal.revealed::after {
  transform: translateY(0);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays for children */
.stagger-children > *:nth-child(1) {
  transition-delay: 0ms;
}
.stagger-children > *:nth-child(2) {
  transition-delay: 100ms;
}
.stagger-children > *:nth-child(3) {
  transition-delay: 200ms;
}
.stagger-children > *:nth-child(4) {
  transition-delay: 300ms;
}
.stagger-children > *:nth-child(5) {
  transition-delay: 400ms;
}
.stagger-children > *:nth-child(6) {
  transition-delay: 500ms;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento-large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Show collage on tablets and mobile */
  .hero-collage {
    display: grid;
    height: auto;
    max-width: 100%;
    margin-top: var(--space-8);
  }

  .hero-bento {
    max-width: 100%;
    height: 400px;
    margin: 0 auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

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

  .bento-large {
    grid-column: span 2;
    grid-row: span 1;
  }

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

@media (max-width: 768px) {
  :root {
    --text-6xl: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
  }

  .section {
    padding: var(--space-16) 0;
  }

  .hero-section {
    padding-top: 100px;
  }

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

  .bento-large,
  .bento-wide,
  .bento-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* Ensure section headers are centered on mobile */
  .section-header {
    text-align: center;
  }

  .section-header h2 {
    text-align: center;
    width: 100%;
  }

  .section-header p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .section-tag {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn,
  .cta-button-group .btn,
  .live-placeholder-cta .btn {
    width: 100%;
  }

  .hero-tag {
    font-size: 0.65rem;
    padding: var(--space-1) var(--space-3);
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

  /* Bento Grid Collage on Mobile */
  .hero-collage {
    height: auto;
    margin-top: var(--space-6);
  }

  .hero-bento {
    height: 320px;
    gap: var(--space-2);
  }

  .bento-label {
    padding: var(--space-2);
  }

  .bento-name {
    font-size: var(--text-sm);
  }

  .bento-president .bento-name {
    font-size: var(--text-base);
  }

  .bento-ad .bento-name {
    font-size: var(--text-xs);
  }

  .bento-title {
    font-size: 0.6rem;
  }

  .bento-badge {
    width: 24px;
    height: 24px;
    font-size: 10px;
    top: var(--space-2);
    right: var(--space-2);
  }

  .bento-badge-silver {
    width: 20px;
    height: 20px;
    font-size: 9px;
  }

  .bento-badge-bronze {
    width: 18px;
    height: 18px;
    font-size: 8px;
  }

  /* Hide floating CTA card on mobile */
  .hero-cta-card {
    display: none;
  }
}

/* Extra small mobile - 375px and below */
@media (max-width: 375px) {
  .container {
    padding: 0 var(--space-2);
  }

  .section {
    padding: var(--space-12) 0;
  }

  .hero-section {
    padding-top: 100px;
  }

  .bento-grid {
    gap: var(--space-2);
    padding: var(--space-2);
  }

  .bento-item {
    padding: var(--space-4);
  }

  .bento-title {
    font-size: var(--text-lg);
  }

  .media-grid {
    gap: var(--space-4);
  }

  .hero-cta-group {
    gap: var(--space-2);
  }
}

/* ============================================
   HERO GRADIENT ORBS (Migrated from index.php)
   ============================================ */
.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float-orb 15s ease-in-out infinite;
}

.hero-gradient-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.3) 0%,
    transparent 70%
  );
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.hero-gradient-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.3) 0%,
    transparent 70%
  );
  top: 50%;
  right: -100px;
  animation-delay: -5s;
}

.hero-gradient-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.2) 0%,
    transparent 70%
  );
  bottom: -100px;
  left: 30%;
  animation-delay: -10s;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* ============================================
   HERO STATS COUNTER (Enhanced)
   ============================================ */
.hero-stats {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats .stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stats .stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: #ffffff;
  line-height: var(--leading-none);
  text-shadow: 0 0 40px rgba(6, 182, 212, 0.5);
}

.hero-stats .stat-label {
  font-size: var(--text-xs);
  color: #d1d5db;
  margin-top: var(--space-1);
  font-weight: var(--font-weight-medium);
}

/* ============================================
   VIDEO OVERLAY & PLAY BUTTON (Enhanced)
   ============================================ */
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease;
  opacity: 1;
}

.video-container:hover .video-overlay {
  opacity: 0;
}

/* Video Placeholder - Coming Soon State */
.video-placeholder {
  position: relative;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder .video-overlay {
  opacity: 1 !important;
  background: rgba(0, 0, 0, 0.5);
}

.video-placeholder:hover .video-overlay {
  opacity: 1 !important;
}

.coming-soon-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.9),
    rgba(139, 92, 246, 0.9)
  );
  border-radius: var(--radius-lg);
  color: #ffffff;
  font-weight: var(--font-weight-semibold);
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.5);
  animation: pulse-badge 2s ease-in-out infinite;
}

.coming-soon-badge i {
  font-size: 1.5rem;
}

.coming-soon-badge span {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

@keyframes pulse-badge {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(6, 182, 212, 0.7);
  }
}

.video-play-btn-lg {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-accent-cyan),
    var(--color-accent-violet)
  );
  border-radius: 50%;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.video-play-btn-lg:hover {
  transform: scale(1.15);
  box-shadow: 0 0 60px rgba(6, 182, 212, 0.8);
  background: linear-gradient(
    135deg,
    var(--color-accent-cyan-light),
    var(--color-accent-violet-light)
  );
}

/* ============================================
   EVENT CARDS (Migrated & Enhanced)
   ============================================ */
.events-section {
  padding: var(--space-16) 0;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 500px;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: none;
  }
}

.event-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.event-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(6, 182, 212, 0.15);
}

.event-card h3 {
  color: #ffffff;
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  margin: var(--space-4) 0 var(--space-2);
}

.event-card .text-xl {
  color: #ffffff;
}

.event-card .mb-2 {
  margin-bottom: var(--space-2);
}

.event-location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: #d1d5db;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}

.event-location-icon {
  color: var(--color-accent-cyan);
  font-size: var(--text-base);
}

.event-info {
  color: #9ca3af;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

/* Event Date Badge */
.event-date-badge {
  background: linear-gradient(
    135deg,
    var(--color-accent-cyan),
    var(--color-accent-violet)
  );
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: var(--space-4);
}

.event-date-day {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  display: block;
  line-height: var(--leading-none);
  color: #0a0e1a;
}

.event-date-month {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: #0a0e1a;
}

/* ============================================
   CTA SECTION (Migrated & Enhanced)
   ============================================ */
.cta-section {
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.15),
    rgba(139, 92, 246, 0.15)
  );
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: #ffffff;
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-6);
}

.cta-description {
  color: #e5e7eb;
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  max-width: 700px;
  margin: 0 auto var(--space-10);
}

.cta-button-group {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE ENHANCEMENTS
   ============================================ */
@media (max-width: 992px) {
  .hero-stats {
    justify-content: center;
  }

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

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

  .hero-content {
    text-align: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .cta-content h2 {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: var(--space-6);
    align-items: center;
  }

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

  .impact-stats {
    grid-template-columns: 1fr !important;
    gap: var(--space-4) !important;
  }

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

  .hero-subtitle {
    font-size: var(--text-lg);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 300px;
  }

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

  .cta-section {
    padding: var(--space-12) 0;
  }

  .cta-content h2 {
    font-size: var(--text-2xl);
  }

  .cta-description {
    font-size: var(--text-lg);
  }

  .cta-button-group {
    flex-direction: column;
    align-items: center;
  }

  .cta-button-group .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ============================================
   VIDEO CARDS (Homepage Featured Videos)
   ============================================ */
.video-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.video-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(6, 182, 212, 0.15);
}

.video-card .video-link {
  display: block;
  text-decoration: none;
}

.video-card .video-container {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-card .video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-card:hover .video-container img {
  transform: scale(1.05);
}

.video-card .video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  transition: opacity var(--transition-base);
  opacity: 1;
}

.video-card:hover .video-overlay {
  opacity: 0.8;
}

.video-card .play-button {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-accent-cyan),
    var(--color-accent-violet)
  );
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.25rem;
  transition: all var(--transition-base);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
}

.video-card:hover .play-button {
  transform: scale(1.15);
  box-shadow: 0 0 50px rgba(6, 182, 212, 0.7);
}

.video-card .video-duration {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-2);
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
}

.video-card .video-info {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.video-card .video-info h3 {
  color: #ffffff;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-2);
  line-height: var(--leading-tight);
}

.video-card .video-info p {
  color: #9ca3af;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3);
}

.video-card .video-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: #6b7280;
  font-size: var(--text-xs);
}

.video-card .video-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.video-card .video-meta i {
  color: var(--color-accent-cyan);
  font-size: var(--text-sm);
}

/* Video card animation */
.video-card.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   FEATURES SECTION (Homepage)
   ============================================ */
.features-section {
  padding: var(--space-16) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.feature-card {
  padding: var(--space-8);
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  transition: all var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(6, 182, 212, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.2),
    rgba(139, 92, 246, 0.2)
  );
  border-radius: var(--radius-xl);
  margin: 0 auto var(--space-6);
  font-size: 2rem;
  color: var(--color-accent-cyan);
  transition: all var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.3),
    rgba(139, 92, 246, 0.3)
  );
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
}

.feature-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  color: #ffffff;
  margin-bottom: var(--space-3);
}

.feature-description {
  color: #9ca3af;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

/* ============================================
   LIVE SECTION PLACEHOLDER
   ============================================ */
.live-section {
  position: relative;
}

/* Live Streaming Indicator Dot */
.live-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  display: inline-block;
  animation: live-pulse 2s ease-in-out infinite;
  margin-right: var(--space-2);
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.live-container {
  max-width: 900px;
  margin: 0 auto;
}

.live-placeholder {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-placeholder-content {
  max-width: 500px;
}

.live-placeholder-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-accent-cyan),
    var(--color-accent-violet)
  );
  border-radius: 50%;
  margin: 0 auto var(--space-6);
  font-size: 2.5rem;
  color: #0a0e1a;
  animation: pulse-broadcast 2s ease-in-out infinite;
}

@keyframes pulse-broadcast {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(6, 182, 212, 0.5);
  }
}

.live-placeholder-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.live-placeholder-text {
  color: #d1d5db;
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.live-placeholder-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Video iframe styling for live stream */
.video-iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
}

/* Background section styling */
.bg-section-secondary {
  background: var(--color-bg-secondary);
  position: relative;
}

.bg-section-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-border-glass),
    transparent
  );
}

/* ============================================
   GSAP FALLBACK CLASSES
   Used when GSAP library is not loaded
   These classes provide animations via CSS instead of inline styles
   ============================================ */

/* Base fallback animation class - marks element as animated */
.gsap-fallback-animated {
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Transition duration variants */
.gsap-fallback-transition {
  transition-duration: 0.3s;
}

/* Hidden state - for initial stagger animation state */
.gsap-fallback-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Visible state - for revealed elements */
.gsap-fallback-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Offset state - for elements with y-offset (stagger initial state) */
.gsap-fallback-offset {
  transform: translateY(var(--gsap-fallback-y, 0));
}

/* Opacity animation via CSS custom property */
.gsap-fallback-opacity {
  opacity: var(--gsap-fallback-opacity, 1);
}

/* Ensure hover effects still work on fallback-animated elements */
.gsap-fallback-animated.btn:hover,
.gsap-fallback-animated.glass-card:hover,
.gsap-fallback-animated.bento-item:hover,
.gsap-fallback-animated.collage-image:hover {
  /* Let existing CSS hover styles take precedence */
  transition-property: opacity, transform, background, border-color, box-shadow;
}

/* Preserve existing hover transforms for buttons */
.gsap-fallback-animated.btn-landing-primary:hover {
  transform: translateY(-2px);
}

/* Preserve existing hover transforms for cards */
.gsap-fallback-animated.glass-card-landing:hover {
  transform: translateY(-4px);
}

/* Preserve existing hover transforms for collage images */
.gsap-fallback-animated.collage-image:hover img {
  transform: scale(1.05);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-background::before {
    animation: none;
  }

  .hero-cta-card {
    animation: none;
  }
}

/* Note: .sr-only and :focus-visible are defined in reset.css and components.css */
