/* ==========================================================================
   TECHNOVANZA 2026 — Official Design System & Stylesheet
   Department of Computer Science and Applications
   ========================================================================== */

/* --- GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@500;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- DESIGN TOKENS & CSS VARIABLES --- */
:root {
  /* Color Palette */
  --bg-core: #04060e;
  --bg-darker: #020308;
  --bg-surface: rgba(10, 15, 34, 0.65);
  --bg-surface-hover: rgba(16, 24, 52, 0.85);
  --bg-glass-card: rgba(12, 19, 43, 0.6);
  --bg-glass-card-hover: rgba(18, 28, 62, 0.75);
  
  /* Cyber Neons */
  --cyan-primary: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.45);
  --cyan-subtle: rgba(0, 240, 255, 0.12);
  --purple-primary: #b026ff;
  --purple-glow: rgba(176, 38, 255, 0.45);
  --green-primary: #00ff9d;
  --green-glow: rgba(0, 255, 157, 0.4);
  
  /* Text Hues */
  --text-pure: #ffffff;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  
  /* Borders & Highlights */
  --border-glass: rgba(0, 240, 255, 0.18);
  --border-glass-hover: rgba(0, 240, 255, 0.55);
  --border-purple-glass: rgba(176, 38, 255, 0.25);
  --border-green-glass: rgba(0, 255, 157, 0.25);
  
  /* Shadows */
  --shadow-neon-cyan: 0 0 25px rgba(0, 240, 255, 0.28);
  --shadow-neon-purple: 0 0 30px rgba(176, 38, 255, 0.28);
  --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.7);
  --shadow-card-hover: 0 20px 50px -5px rgba(0, 240, 255, 0.22);

  /* Typography */
  --font-display: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sub: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --nav-height: 70px;
  --container-max-width: 1180px;
  --border-radius-card: 14px;
  --border-radius-pill: 9999px;
  --border-radius-btn: 8px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 12px);
  font-size: 16px;
  background-color: var(--bg-core);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  background-color: transparent;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: var(--cyan-primary);
  color: var(--bg-darker);
}

/* --- LIVE CANVAS & BACKGROUND ECOSYSTEM --- */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Ambient subtle glow mesh behind sections */
.ambient-glow-mesh {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(176, 38, 255, 0.04) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

/* Ensure all page content stacks cleanly above background canvas */
header {
  position: relative;
  z-index: 1001;
}

main, footer, .modal-backdrop {
  position: relative;
  z-index: 2;
}

/* --- TYPOGRAPHY & SHARED HEADINGS --- */
h1, h2, h3, h4, .brand-font {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--text-pure);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  position: relative;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

section {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--border-radius-pill);
  background: var(--cyan-subtle);
  border: 1px solid var(--border-glass);
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cyan-primary);
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--cyan-primary);
  box-shadow: 0 0 8px var(--cyan-primary);
  animation: pulseBeacon 2s infinite ease-in-out;
}

.section-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Glowing text gradients */
.gradient-text-cyan {
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan-primary) 60%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #ffffff 0%, var(--purple-primary) 60%, #e9d5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- GLASSMORPHISM SYSTEM --- */
.glass-panel {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-card-hover);
}

/* --- NAVIGATION BAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color var(--transition-smooth), backdrop-filter var(--transition-smooth), border-color var(--transition-smooth), height var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background-color: rgba(4, 7, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  height: 72px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 100%;
}

/* Logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-pure);
}

.nav-brand-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(176, 38, 255, 0.2));
  border: 1px solid var(--cyan-primary);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
  color: var(--cyan-primary);
}

.nav-brand-icon svg {
  width: 18px;
  height: 18px;
}

.nav-brand-text {
  background: linear-gradient(120deg, #ffffff 40%, var(--cyan-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.nav-brand-badge {
  font-family: var(--font-sub);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(176, 38, 255, 0.2);
  border: 1px solid var(--purple-primary);
  color: #d8b4fe;
  letter-spacing: 0.05em;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  list-style: none;
  gap: 1.25rem;
  min-width: 0;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.nav-link {
  font-family: var(--font-sub);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-primary), var(--purple-primary));
  transition: width var(--transition-smooth);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--cyan-primary);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-pure);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

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

/* Nav Action Area */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

/* Audio FX Toggle */
.audio-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 16, 38, 0.7);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.audio-toggle-btn:hover {
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.audio-toggle-btn.active {
  color: var(--cyan-primary);
  border-color: var(--cyan-primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Mobile Hamburger */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: rgba(12, 18, 42, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-pure);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.85rem;
  border-radius: var(--border-radius-btn);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

/* Primary Register Button */
.btn-primary {
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 50%, #b026ff 100%);
  background-size: 200% 200%;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: gradientShift 6s ease infinite;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
  transform: translateX(-100%) rotate(25deg);
  transition: transform 0.8s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.7), 0 0 50px rgba(176, 38, 255, 0.45);
}

.btn-primary:hover::before {
  transform: translateX(100%) rotate(25deg);
}

/* Secondary Button */
.btn-secondary {
  background: rgba(8, 14, 34, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-pure);
  border: 1px solid var(--border-glass);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(14, 24, 58, 0.9);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.35);
}

.btn-nav-register {
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* Large Button in CTA */
.btn-large {
  padding: 1.15rem 2.5rem;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

/* Pulse Beacon Animation */
@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   HERO / FRONT PAGE — THE STAR OF THE SHOW
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-height) + 1.25rem) 1.25rem 1.75rem;
  overflow: hidden;
}

/* Hero HUD Reticles & Scanlines */
.hero-hud-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

.hero-corner-bracket {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(0, 240, 255, 0.25);
  pointer-events: none;
}

.hero-corner-tl { top: 1.25rem; left: 1.5rem; border-right: none; border-bottom: none; }
.hero-corner-tr { top: 1.25rem; right: 1.5rem; border-left: none; border-bottom: none; }
.hero-corner-bl { bottom: 1.25rem; left: 1.5rem; border-right: none; border-top: none; }
.hero-corner-br { bottom: 1.25rem; right: 1.5rem; border-left: none; border-top: none; }

/* Hero Entrance Sequencing */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

/* Digital Scan line on page entry */
.hero-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan-primary) 50%, transparent 100%);
  box-shadow: 0 0 15px var(--cyan-primary);
  opacity: 0;
  animation: heroScanSweep 2.2s ease-out forwards;
}

@keyframes heroScanSweep {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 0.8; }
  85% { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

/* Department Badge */
.hero-dept-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.hero-dept-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  border-radius: var(--border-radius-pill);
  background: rgba(6, 12, 32, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
  text-transform: uppercase;
  opacity: 0;
  animation: heroFadeIn 0.8s ease 0.3s forwards;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.hero-presents-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(7, 17, 34, 0.9), rgba(28, 40, 72, 0.72));
  border: 1px solid rgba(0, 240, 255, 0.75);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.25), inset 0 0 12px rgba(255, 255, 255, 0.07);
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #eafcff;
  opacity: 0;
  animation: heroFadeIn 0.8s ease 0.4s forwards;
}

.hero-dept-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green-primary);
  box-shadow: 0 0 8px var(--green-primary);
  animation: pulseBeacon 1.8s infinite;
}

.hero-brand-lockup {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.hero-event-level,
.hero-inspiration-line {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  color: var(--text-main);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
  opacity: 0;
  position: absolute;
  right: 0;
  width: max-content;
  max-width: 42%;
  white-space: nowrap;
  animation: heroFadeIn 0.8s ease 0.55s forwards;
}

.hero-event-level {
  top: -1.8rem;
}

.hero-inspiration-line {
  color: var(--cyan-primary);
  bottom: 34%;
  animation-delay: 1.05s;
}

/* --- THE MASTER TITLE: TECHNOVANZA --- */
.hero-title-container {
  position: relative;
  margin: 0.15rem 0 0.35rem 0;
  padding: 0.25rem 0.75rem;
}

/* Energy Aura Behind Title */
.hero-title-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 110%;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.2) 0%, rgba(176, 38, 255, 0.12) 45%, transparent 70%);
  filter: blur(35px);
  z-index: -1;
  pointer-events: none;
  animation: pulseAura 4s ease-in-out infinite alternate;
}

@keyframes pulseAura {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}

/* Main TECHNOVANZA Heading */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 8.5rem);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: 0.10em;
  color: var(--text-pure);
  position: relative;
  display: inline-block;
  user-select: none;
  opacity: 0;
  transform: perspective(1200px) rotateX(6deg) skewX(-3deg);
  transform-origin: center;
  text-rendering: optimizeLegibility;
  font-feature-settings: "liga" 1, "kern" 1, "ss01" 1;
  animation: heroRevealTitle 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.8),
    0 0 26px rgba(0, 240, 255, 0.7),
    0 0 42px rgba(176, 38, 255, 0.6),
    0 14px 24px rgba(0, 0, 0, 0.95),
    0 0 18px rgba(255, 255, 255, 0.35);
  filter: drop-shadow(0 0 28px rgba(0, 240, 255, 0.25));
  max-width: 100%;
  white-space: nowrap;
}

/* Shimmer Light Beam Effect across TECHNOVANZA */
.hero-title-text {
  display: inline-block;
  background: linear-gradient(110deg, #ffffff 8%, #f5f5f5 18%, #d9edff 30%, #ffffff 45%, #c5f4ff 52%, #ffffff 62%, #f0d9ff 74%, #ffffff 86%, #f7f7f7 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.55),
    0 0 22px rgba(0, 240, 255, 0.45),
    0 0 32px rgba(176, 38, 255, 0.35);
  animation: shimmerSweep 7s infinite linear;
}

.hero-title-o {
  display: inline-block;
  background: linear-gradient(135deg, #2de3ff 0%, #ffffff 25%, #00b7ff 45%, #ff4fe8 70%, #ffffff 88%, #2de3ff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.75);
  text-shadow:
    0 0 14px rgba(0, 240, 255, 0.5),
    0 0 20px rgba(255, 79, 232, 0.45);
  animation: shimmerSweep 7s infinite linear;
}

@keyframes shimmerSweep {
  0% { background-position: 250% 0; }
  100% { background-position: -250% 0; }
}

/* Tasteful Occasional Micro-Glitch (Non-intrusive, 100% readable) */
.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

.hero-title::before {
  color: #00f0ff;
  z-index: -1;
  animation: glitchScanlineTop 8s infinite ease-in-out;
}

.hero-title::after {
  color: #ff007b;
  z-index: -2;
  animation: glitchScanlineBottom 8s infinite ease-in-out;
}

@keyframes glitchScanlineTop {
  0%, 93%, 100% { opacity: 0; transform: translate(0); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  94% { opacity: 0.85; transform: translate(-3px, -1px); clip-path: polygon(0 15%, 100% 15%, 100% 30%, 0 30%); }
  95% { opacity: 0.9; transform: translate(3px, 1px); clip-path: polygon(0 50%, 100% 50%, 100% 65%, 0 65%); }
  96% { opacity: 0; }
  97% { opacity: 0.7; transform: translate(-2px, 0); clip-path: polygon(0 80%, 100% 80%, 100% 90%, 0 90%); }
  98% { opacity: 0; }
}

@keyframes glitchScanlineBottom {
  0%, 93%, 100% { opacity: 0; transform: translate(0); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  94% { opacity: 0.75; transform: translate(3px, 1px); clip-path: polygon(0 25%, 100% 25%, 100% 40%, 0 40%); }
  95% { opacity: 0.85; transform: translate(-3px, -1px); clip-path: polygon(0 60%, 100% 60%, 100% 75%, 0 75%); }
  96% { opacity: 0; }
}

/* Sweeping horizontal light beam */
.hero-light-beam {
  position: absolute;
  top: 50%;
  left: -20%;
  width: 140%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 240, 255, 0.8) 50%, transparent 100%);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.9);
  pointer-events: none;
  animation: sweepHorizontal 5s ease-in-out infinite;
}

@keyframes sweepHorizontal {
  0% { transform: translateY(-40px) scaleX(0.2); opacity: 0; }
  25% { opacity: 0.8; }
  50% { transform: translateY(0px) scaleX(1); opacity: 0.9; }
  75% { opacity: 0.8; }
  100% { transform: translateY(40px) scaleX(0.2); opacity: 0; }
}

/* Year Badge "2026" */
.hero-year-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.15rem 0 0.35rem 0;
  opacity: 0;
  animation: heroFadeIn 0.8s ease 0.9s forwards;
}

.hero-year-line {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-primary));
}

.hero-year-line.right {
  background: linear-gradient(90deg, var(--cyan-primary), transparent);
}

.hero-year {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #4dd8ff;
  background: linear-gradient(90deg, #2de3ff 0%, #00b7ff 28%, #49d2ff 50%, #ff4fe8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(0, 240, 255, 0.7), 0 0 26px rgba(255, 79, 232, 0.35);
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.12);
  transform: perspective(900px) rotateX(10deg);
  text-rendering: optimizeLegibility;
}

/* Tagline: WHERE IDEAS MEET INNOVATION */
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.8vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin: 0.35rem 0 0.2rem 0;
  text-transform: none;
  text-align: center;
  opacity: 0;
  animation: heroFadeIn 0.8s ease 1.2s forwards;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
}

/* Sub-Tagline: Hosted by Department of Computer Science */
.hero-subtagline {
  font-family: var(--font-sub);
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 1.1rem;
  text-align: center;
  opacity: 0;
  animation: heroFadeIn 0.8s ease 1.4s forwards;
}

.hero-subtagline strong {
  color: var(--cyan-primary);
  font-weight: 600;
}

/* Hero CTA Buttons Container */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0.8rem 0 1.2rem;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 1.6s forwards;
}

/* Hero Live Countdown Timer */
.hero-countdown-card {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.6rem 1.35rem;
  border-radius: var(--border-radius-card);
  background: rgba(8, 13, 30, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(0, 240, 255, 0.05);
  opacity: 0;
  animation: heroFadeUp 0.8s ease 1.8s forwards;
}

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

.countdown-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cyan-primary);
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.countdown-lbl {
  font-family: var(--font-sub);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.countdown-divider {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-faint);
  margin-top: -0.35rem;
}

/* Hero Entrance Keyframes */
@keyframes heroRevealTitle {
  0% {
    opacity: 0;
    transform: scale(0.85);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }
}

@keyframes heroFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ABOUT & STATS SECTION
   ========================================================================== */
.about-section {
  padding: 4rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.25rem;
  align-items: center;
}

.about-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "college department"
    "club fest";
  gap: 1.5rem;
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;
}

.about-panels::before {
  display: none;
}

.about-panel {
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 1;
  animation: aboutPanelFloat 6s ease-in-out infinite;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.about-panel-college { grid-area: college; }
.about-panel-department { grid-area: department; }
.about-panel-club { grid-area: club; }
.about-panel-fest { grid-area: fest; }

.about-panel-department {
  animation-delay: -2s;
}

.about-panel-fest {
  animation-delay: -4s;
}

.about-panel-club {
  animation-delay: -3s;
}

.about-panel-college::after,
.about-panel-department::after,
.about-panel-fest::before {
  display: none;
}

.about-panel-college::after,
.about-panel-department::after {
  top: calc(100% + 0.75rem);
  width: calc(50% + 1.25rem);
  height: 1px;
}

.about-panel-college::after {
  right: calc(-50% - 1.25rem);
  transform: rotate(28deg);
  transform-origin: left center;
}

.about-panel-department::after {
  left: calc(-50% - 1.25rem);
  transform: rotate(-28deg);
  transform-origin: right center;
}

.about-panel-fest::before {
  content: none;
}

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

.about-panel-index {
  margin-bottom: 1rem;
  color: var(--green-primary);
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.about-panel h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  letter-spacing: 0.04em;
}

.about-panel h3 span {
  color: var(--cyan-primary);
}

.about-panel h4 {
  margin: -0.25rem 0 1rem;
  color: var(--text-pure);
  font-family: var(--font-sub);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.about-panel-tagline {
  margin-top: 1rem;
  color: var(--cyan-primary);
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
}

.about-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-primary), transparent);
}

.about-paragraph {
  margin-bottom: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-main);
}

.about-paragraph:last-child {
  margin-bottom: 0;
}

/* Live technology console for the event guidelines sidebar. */
.tech-console {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  align-self: start;
}

.tech-console-header,
.tech-network-panel,
.tech-protocol-panel,
.tech-telemetry-panel {
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: rgba(7, 16, 29, 0.82);
  box-shadow: inset 0 0 22px rgba(0, 198, 255, 0.06);
}

.tech-console-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  color: var(--cyan-primary);
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.tech-live-dot,
.tech-chip i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-primary);
  box-shadow: 0 0 12px rgba(0, 255, 157, 0.9);
}

.tech-console-code {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.6rem;
}

.tech-network-panel,
.tech-protocol-panel,
.tech-telemetry-panel {
  padding: 1rem;
}

.tech-panel-label {
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.tech-network-graphic {
  position: relative;
  height: 145px;
  margin: 0.4rem 0 0.2rem;
}

.network-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-primary), transparent);
  transform-origin: left center;
  animation: networkScan 2.8s ease-in-out infinite;
}

.network-line-one { top: 35%; left: 20%; width: 58%; transform: rotate(25deg); }
.network-line-two { top: 68%; left: 20%; width: 58%; transform: rotate(-25deg); animation-delay: -1s; }
.network-line-three { top: 50%; left: 28%; width: 45%; transform: rotate(90deg); animation-delay: -1.8s; }

.network-node,
.network-core {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.network-node {
  width: 10px;
  height: 10px;
  background: var(--cyan-primary);
  box-shadow: 0 0 12px var(--cyan-primary);
  animation: nodePulse 2s ease-in-out infinite;
}

.network-node-one { top: 31%; left: 17%; }
.network-node-two { top: 64%; left: 17%; animation-delay: -0.7s; }
.network-node-three { top: 28%; right: 17%; animation-delay: -1.2s; }
.network-node-four { top: 67%; right: 17%; animation-delay: -1.7s; }

.network-core {
  top: calc(50% - 24px);
  left: calc(50% - 24px);
  width: 48px;
  height: 48px;
  border: 1px solid var(--green-primary);
  color: var(--green-primary);
  font-family: var(--font-display);
  font-size: 0.8rem;
  box-shadow: 0 0 22px rgba(0, 255, 157, 0.35), inset 0 0 14px rgba(0, 255, 157, 0.12);
  animation: corePulse 3s ease-in-out infinite;
}

.tech-network-footer,
.tech-telemetry-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.tech-network-footer strong,
.tech-telemetry-panel strong {
  color: var(--green-primary);
}

.tech-chip-row {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.tech-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(0, 240, 255, 0.18);
  color: var(--text-primary);
  font-family: var(--font-sub);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.tech-chip-purple { border-color: rgba(176, 38, 255, 0.3); }
.tech-chip-purple i { background: var(--purple-primary); box-shadow: 0 0 12px rgba(176, 38, 255, 0.9); }

.tech-scanline {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 18px;
  margin-top: 0.9rem;
}

.tech-scanline span {
  flex: 1;
  height: 5px;
  background: var(--cyan-primary);
  opacity: 0.65;
  animation: scanBars 1.4s ease-in-out infinite alternate;
}

.tech-scanline span:nth-child(2n) { animation-delay: -0.5s; }
.tech-scanline span:nth-child(3n) { height: 13px; animation-delay: -0.9s; }

.tech-telemetry-panel { border-color: rgba(0, 255, 157, 0.28); }

.tech-bars {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 18px;
  margin-left: auto;
}

.tech-bars i {
  width: 4px;
  height: 55%;
  background: var(--green-primary);
  animation: signalBars 1s ease-in-out infinite alternate;
}

.tech-bars i:nth-child(2n) { height: 85%; animation-delay: -0.3s; }
.tech-bars i:nth-child(3n) { height: 35%; animation-delay: -0.6s; }

@keyframes networkScan {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

@keyframes nodePulse {
  0%, 100% { transform: scale(0.7); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

@keyframes corePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes scanBars {
  to { opacity: 0.25; }
}

@keyframes signalBars {
  to { transform: scaleY(0.35); opacity: 0.45; }
}

/* Interactive Tech Graphic / Neural Core */
.about-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.neural-core-box {
  width: 220px;
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.4);
}

.core-ring-1 {
  width: 210px;
  height: 210px;
  animation: rotateRing 25s linear infinite;
  border-color: rgba(0, 240, 255, 0.25);
}

.core-ring-2 {
  width: 150px;
  height: 150px;
  animation: rotateRingRev 18s linear infinite;
  border: 1px solid rgba(176, 38, 255, 0.35);
}

.core-ring-3 {
  width: 100px;
  height: 100px;
  animation: rotateRing 12s linear infinite;
  border: 2px dotted rgba(0, 255, 157, 0.45);
}

.core-center {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-primary), #0052cc);
  box-shadow: 0 0 25px var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  animation: pulseCore 3s ease-in-out infinite;
}

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

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

@keyframes pulseCore {
  0%, 100% { transform: scale(1); box-shadow: 0 0 25px var(--cyan-primary); }
  50% { transform: scale(1.08); box-shadow: 0 0 40px var(--cyan-primary), 0 0 25px var(--purple-primary); }
}

/* Fest Stats Counter Row */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.stat-item {
  padding: 1.35rem 1rem;
  text-align: center;
  border-radius: var(--border-radius-card);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--cyan-primary);
  margin-bottom: 0.2rem;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

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

/* ==========================================================================
   OUR VISION SECTION
   ========================================================================== */
.vision-section {
  padding: 3.5rem 0;
  position: relative;
}

.vision-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, rgba(12, 19, 45, 0.75) 0%, rgba(20, 15, 45, 0.75) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.12);
}

.vision-icon-box {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem auto;
  border-radius: 14px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--cyan-primary);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  animation: pulseBeacon 2.5s infinite ease-in-out;
}

.vision-icon-box svg {
  width: 26px;
  height: 26px;
}

.vision-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1rem;
}

.vision-quote {
  font-family: var(--font-sub);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500;
  line-height: 1.6;
  color: #f8fafc;
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================================================
   EVENT HIGHLIGHTS (8 CARDS)
   ========================================================================== */
.highlights-section {
  padding: 4rem 0;
  position: relative;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.highlight-card {
  padding: 2.2rem 1.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.highlight-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan-primary);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.25);
}

.highlight-icon-box {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-glass);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
  transition: transform var(--transition-bounce), border-color var(--transition-fast);
}

.highlight-card:hover .highlight-icon-box {
  transform: scale(1.15) rotate(5deg);
  border-color: var(--cyan-primary);
}

.highlight-category {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan-primary);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.highlight-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.highlight-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   MAJOR EVENTS SECTION (12 CORE EVENTS)
   ========================================================================== */
.events-section {
  padding: 4rem 0;
  position: relative;
}

.events-grid {
  display: grid;
  gap: 3.5rem;
}

.event-group {
  display: grid;
  gap: 1.5rem;
}

.event-group-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-glass);
}

.event-group-index {
  color: var(--cyan-primary);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.event-group-heading h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

.event-group-date {
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 0.52em;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-left: 0.55rem;
  text-transform: none;
  white-space: nowrap;
  vertical-align: middle;
}

.event-group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.event-card {
  padding: 1.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
  height: 100%;
  transition: transform 0.1s ease-out, border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  transform-style: preserve-3d;
  cursor: pointer;
  overflow: hidden;
}

/* Event Card Glow Border & Gradient Backing */
.event-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-card);
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.3) 0%, transparent 60%, rgba(176, 38, 255, 0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.event-card:hover {
  border-color: var(--cyan-primary);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.2);
}

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

.event-num-badge {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--cyan-primary);
  letter-spacing: 0.08em;
}

.event-tag-pill {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--border-radius-pill);
  background: rgba(176, 38, 255, 0.15);
  border: 1px solid var(--border-purple-glass);
  color: #d8b4fe;
}

.event-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  margin-bottom: 1rem;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
  transition: transform var(--transition-bounce), color var(--transition-fast);
}

.event-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.event-card:hover .event-icon-wrapper {
  transform: scale(1.1);
  color: #ffffff;
  border-color: var(--cyan-primary);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.4);
}

.event-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.event-tagline {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.event-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.event-prize-tag {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.event-details-btn {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.event-details-btn:hover {
  color: #ffffff;
  gap: 0.6rem;
}

/* ==========================================================================
   PROGRAMME SCHEDULE
   ========================================================================== */
.programme-section {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.programme-header {
  margin-bottom: 2rem;
}

.programme-date-banner {
  width: min(100%, 560px);
  margin: 0 auto 4rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-color: rgba(0, 255, 157, 0.4);
  background: linear-gradient(105deg, rgba(0, 255, 157, 0.12), rgba(0, 240, 255, 0.07));
  box-shadow: 0 0 32px rgba(0, 255, 157, 0.12);
}

.programme-date-label,
.schedule-card-label,
.schedule-mode-kicker {
  color: var(--green-primary);
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.programme-date-banner strong {
  color: var(--text-pure);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.3vw, 1.45rem);
  letter-spacing: 0.06em;
}

.schedule-mode {
  position: relative;
}

.schedule-mode + .schedule-mode {
  margin-top: 4.5rem;
}

.schedule-mode-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.schedule-mode-index {
  color: var(--cyan-primary);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.schedule-mode-heading h3 {
  margin-top: 0.25rem;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

.online-events-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

.schedule-online-card {
  min-height: 170px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 1rem;
  border-color: rgba(176, 38, 255, 0.4);
  background: linear-gradient(140deg, rgba(176, 38, 255, 0.15), rgba(12, 19, 43, 0.68));
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.schedule-online-card:hover,
.schedule-timeline-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-primary);
  box-shadow: var(--shadow-card-hover);
}

.schedule-online-card-offset {
  margin-top: 2rem;
}

.schedule-card-number {
  align-self: start;
  color: #d8b4fe;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}

.schedule-online-card h4,
.schedule-timeline-card h4 {
  margin: 0.45rem 0 0.55rem;
  color: var(--text-pure);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.35;
}

.schedule-online-card p,
.schedule-timeline-card p {
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 0.9rem;
}

.schedule-card-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.8);
  background: rgba(0, 240, 255, 0.12);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
  color: var(--cyan-primary);
  font-family: var(--font-sub);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.schedule-card-arrow {
  align-self: start;
  color: var(--cyan-primary);
  font-size: 1.5rem;
}

.offline-timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 0.5rem 0 0.5rem 5.5rem;
}

.offline-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.95rem;
  width: 1px;
  background: linear-gradient(var(--cyan-primary), rgba(0, 240, 255, 0.08), var(--green-primary));
  box-shadow: 0 0 12px var(--cyan-glow);
}

.schedule-timeline-item {
  position: relative;
  width: 82%;
  animation: scheduleReveal 0.65s both;
}

.schedule-timeline-item:nth-child(even) {
  width: 92%;
  margin-left: 8%;
}

.schedule-timeline-item-wide,
.schedule-timeline-item-featured {
  width: 100%;
}

.schedule-timeline-item-break {
  width: 63%;
}

.schedule-timeline-item-lunch {
  margin-left: 18%;
}

.schedule-timeline-item-final {
  width: 94%;
}

.schedule-time-marker {
  position: absolute;
  top: 1.15rem;
  left: -5.5rem;
  width: 4rem;
  color: var(--cyan-primary);
  font-family: var(--font-display);
  text-align: right;
}

.schedule-time-marker span {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}

.schedule-time-marker small {
  color: var(--text-muted);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.schedule-time-marker::after {
  content: '';
  position: absolute;
  top: 0.25rem;
  right: -1.9rem;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--cyan-primary);
  border-radius: 50%;
  background: var(--bg-core);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.schedule-timeline-card {
  padding: 1.2rem 1.5rem;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.schedule-timeline-card h4 {
  font-size: clamp(0.96rem, 1.8vw, 1.2rem);
}

.schedule-timeline-item-featured .schedule-timeline-card {
  border-color: rgba(0, 240, 255, 0.45);
  background: linear-gradient(105deg, rgba(0, 240, 255, 0.13), rgba(12, 19, 43, 0.7));
}

.schedule-timeline-item-break .schedule-timeline-card {
  border-color: rgba(176, 38, 255, 0.45);
  background: rgba(176, 38, 255, 0.1);
}

.schedule-timeline-item-break .schedule-card-label {
  color: #d8b4fe;
}

.schedule-timeline-item-final .schedule-timeline-card {
  border-color: rgba(0, 255, 157, 0.6);
  background: linear-gradient(105deg, rgba(0, 255, 157, 0.14), rgba(12, 19, 43, 0.7));
}

.schedule-timeline-item-final .schedule-card-label {
  color: var(--green-primary);
}

@keyframes scheduleReveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   PARTICIPATION CTA (FULL-WIDTH IMPACT SECTION)
   ========================================================================== */
.participation-cta-section {
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.participation-banner {
  position: relative;
  padding: 3.5rem 2rem;
  text-align: center;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 50%, rgba(14, 25, 62, 0.9) 0%, rgba(6, 10, 24, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 45px rgba(0, 240, 255, 0.18), inset 0 0 30px rgba(0, 240, 255, 0.06);
  overflow: hidden;
}

.cta-energy-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(176, 38, 255, 0.1) 40%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  animation: pulseAura 5s infinite alternate;
}

.cta-heading {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-main);
  max-width: 700px;
  margin: 0 auto 1.25rem auto;
}

.cta-highlight {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cyan-primary);
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

/* ==========================================================================
   EVENT INFORMATION SECTION
   ========================================================================== */
.info-section {
  padding: 4rem 0;
  position: relative;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-card {
  padding: 1.75rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.info-label {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.info-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.info-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Eligibility & Deadline Banner */
.info-deadline-banner {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-radius: var(--border-radius-card);
  background: rgba(12, 19, 44, 0.7);
  border: 1px solid var(--border-glass);
}

.deadline-text-group h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.deadline-highlight {
  font-family: var(--font-sub);
  font-size: 1rem;
  color: var(--green-primary);
  font-weight: 700;
}

/* ==========================================================================
   QR CODE REGISTRATION SECTION
   ========================================================================== */
.qr-section {
  padding: 4rem 0;
  position: relative;
}

.qr-container-card {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: start;
  gap: 7rem;
}

.scoreboard-panel,
.qr-registration-panel {
  min-width: 0;
  height: auto;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(8, 14, 34, 0.84) 0%, rgba(16, 24, 58, 0.84) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.15);
}

.qr-registration-panel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.event-scoreboard {
  min-width: 0;
  text-align: center;
  position: relative;
  padding: 0.25rem 0;
}

.scoreboard-kicker,
.scoreboard-status,
.scoreboard-unlock-label,
.scoreboard-countdown-label,
.final-results-heading {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.results-data-note {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.scoreboard-kicker {
  color: var(--cyan-primary);
  margin-bottom: 0.6rem;
}

.scoreboard-status {
  color: var(--text-main);
  font-weight: 700;
}

.scoreboard-progress {
  --scoreboard-progress: 0%;
  width: 174px;
  height: 174px;
  margin: 1.25rem auto;
  border-radius: 50%;
  padding: 7px;
  position: relative;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--cyan-primary) var(--scoreboard-progress), rgba(0, 240, 255, 0.12) 0);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.22), inset 0 0 18px rgba(0, 240, 255, 0.12);
  animation: scoreboardPulse 2.4s ease-in-out infinite;
  transition: background 0.6s ease, box-shadow 0.6s ease;
}

@keyframes scoreboardPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

.scoreboard-progress::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(15, 35, 75, 0.95), rgba(3, 8, 22, 0.98));
}

.scoreboard-progress-orbit {
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.45);
  animation: scoreboardOrbit 8s linear infinite;
}

.scoreboard-progress-orbit::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px var(--cyan-primary);
}

@keyframes scoreboardOrbit {
  to { transform: rotate(360deg); }
}

.scoreboard-progress-core {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.25rem;
}

.scoreboard-progress-core strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #ffffff;
}

.scoreboard-progress-core span {
  font-family: var(--font-display);
  font-size: 0.55rem;
  line-height: 1.35;
  letter-spacing: 0.1em;
  color: var(--cyan-primary);
}

.scoreboard-message {
  min-height: 1.4em;
  color: var(--text-main);
  font-family: var(--font-sub);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.scoreboard-unlock-label {
  color: var(--text-muted);
  margin-top: 1rem;
}

.scoreboard-unlock-date {
  color: var(--cyan-primary);
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

.scoreboard-countdown-label {
  color: var(--text-muted);
  margin-top: 1.2rem;
}

.scoreboard-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin: 0.65rem auto 1.35rem;
  max-width: 360px;
}

.scoreboard-countdown span {
  display: grid;
  gap: 0.2rem;
}

.scoreboard-countdown strong {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1rem;
}

.scoreboard-countdown small {
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
}

.scoreboard-results-btn {
  min-width: 190px;
}

.results-released .scoreboard-progress {
  background: conic-gradient(var(--green-primary) 100%, rgba(0, 240, 255, 0.12) 0);
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.3), inset 0 0 18px rgba(34, 197, 94, 0.12);
}

.results-released .scoreboard-progress-core strong,
.results-released .scoreboard-progress-core span {
  color: var(--green-primary);
}

.qr-registration-divider {
  width: 1px;
  align-self: stretch;
  min-height: 290px;
  background: linear-gradient(180deg, transparent, var(--cyan-primary), transparent);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.qr-registration-content {
  min-width: 0;
  width: 100%;
  min-height: 0;
  height: auto;
  padding-top: 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qr-registration-actions {
  flex: 1;
  width: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-panel-heading {
  color: var(--cyan-primary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.55);
}

/* Cyber Scanner QR Code Frame */
.qr-scanner-box {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 1.5rem auto 1.5rem auto;
  padding: 1.2rem;
  border-radius: 14px;
  background: #02040b;
  border: 1px solid var(--cyan-primary);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Laser Scanline Beam */
.qr-laser-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #00f0ff 50%, transparent 100%);
  box-shadow: 0 0 12px #00f0ff;
  animation: qrLaserSweep 2.5s ease-in-out infinite alternate;
}

@keyframes qrLaserSweep {
  0% { top: 4%; }
  100% { top: 96%; }
}

.qr-code-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #ffffff;
  border-radius: 4px;
}

.results-modal-dialog {
  max-width: 620px;
  text-align: center;
  background: linear-gradient(145deg, rgba(8, 14, 34, 0.96), rgba(16, 24, 58, 0.96));
}

.results-modal-progress {
  margin-top: 1.5rem;
}

.results-modal-countdown {
  max-width: 380px;
  margin-top: 1rem;
}

.results-modal-message {
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin: 1.2rem 0 1.5rem;
}

.results-close-action {
  min-width: 140px;
}

.leaderboard {
  margin: 1.5rem 0;
  border-top: 1px solid var(--border-glass);
}

.leaderboard::before {
  content: '#        PARTICIPANT                 SCORE';
  display: block;
  padding: 0.8rem 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-align: left;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 4rem;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.75rem;
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  color: var(--text-main);
  text-align: left;
}

.leaderboard-row strong,
.leaderboard-row b {
  color: var(--cyan-primary);
  font-family: var(--font-display);
}

.leaderboard-row span {
  overflow-wrap: anywhere;
  font-family: var(--font-sub);
}

.qr-deadline-tag {
  font-family: var(--font-sub);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.qr-deadline-tag strong {
  color: var(--cyan-primary);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 4rem 0;
  position: relative;
}

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

.contact-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.contact-info-panel {
  padding: 1.5rem 2.2rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.contact-dept-title {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
  color: #ffffff;
}

.contact-college-name {
  font-family: var(--font-sub);
  font-size: 1.02rem;
  color: var(--cyan-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.coordinator-group {
  margin-bottom: 0.85rem;
}

.coord-role-heading {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--purple-primary);
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.coord-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-socials {
  margin-top: 1rem !important;
}

.coord-name {
  font-weight: 600;
  color: var(--text-pure);
  font-size: 0.95rem;
}

.coord-phone {
  font-family: var(--font-sub);
  color: var(--cyan-primary);
  font-weight: 500;
  font-size: 0.9rem;
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .coord-item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .coord-phone {
    justify-self: start;
  }
}

/* Quick Inquiry Contact Form */
.contact-form-panel {
  padding: 2.2rem;
}

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

.form-label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(5, 9, 22, 0.7);
  border: 1px solid var(--border-glass);
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--cyan-primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.form-textarea {
  resize: vertical;
  min-height: 95px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 3.5rem 0 2rem 0;
  border-top: 1px solid var(--border-glass);
  background: rgba(2, 4, 10, 0.95);
  position: relative;
}

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

.footer-brand-title {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.footer-motto {
  font-family: var(--font-sub);
  font-size: 0.98rem;
  color: var(--cyan-primary);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

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

.footer-nav-col h4 {
  font-size: 0.88rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-nav-links a:hover {
  color: var(--cyan-primary);
  transform: translateX(4px);
}

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

.footer-sys-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  color: var(--green-primary);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--green-primary);
  box-shadow: 0 0 8px var(--green-primary);
  animation: pulseBeacon 1.5s infinite;
}

/* ==========================================================================
   INTERACTIVE MODALS (EVENT DETAILS & REGISTRATION DELEGATE PASS)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform var(--transition-bounce);
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(0, 240, 255, 0.2);
  color: var(--cyan-primary);
  border-color: var(--cyan-primary);
}

/* Event Details Modal Content */
.modal-event-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--cyan-primary);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.modal-event-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal-meta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--border-glass);
}

.modal-meta-item strong {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
}

.modal-meta-item span {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: #ffffff;
  font-weight: 700;
}

.modal-section-title {
  font-size: 1.1rem;
  color: var(--cyan-primary);
  margin: 1.5rem 0 0.75rem 0;
}

.modal-round-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-round-list li {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--cyan-primary);
  font-size: 0.95rem;
}

.modal-round-list li strong {
  color: #ffffff;
}

/* Cyber Delegate Pass Card in Modal */
.delegate-pass-card {
  margin-top: 1.5rem;
  padding: 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #090e24 0%, #150f30 100%);
  border: 1px solid var(--cyan-primary);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.pass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border-glass);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.pass-id {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--green-primary);
}

.pass-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.pass-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.pass-college {
  font-family: var(--font-sub);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pass-event {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-pill);
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--cyan-primary);
  color: var(--cyan-primary);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 1.25rem;
  }

  .nav-actions {
    gap: 0.75rem;
  }

  .nav-brand {
    font-size: 1.1rem;
    gap: 0.55rem;
  }

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

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

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

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

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .hero-brand-lockup {
    width: 100%;
    max-width: 100%;
  }

  .hero-event-level,
  .hero-inspiration-line {
    position: static;
    width: auto;
    max-width: none;
    white-space: normal;
    margin: 0.35rem auto;
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .hero-title-container {
    margin: 0.1rem 0 0.2rem;
    padding: 0.1rem 0;
  }

  .hero-title {
    font-size: clamp(1.5rem, 8.8vw, 2.9rem);
    line-height: 0.8;
    letter-spacing: 0.01em;
    white-space: nowrap;
    max-width: 100%;
    display: block;
    overflow: visible;
  }

  .hero-title-text {
    display: inline-block;
  }

  .hero-year-wrapper {
    gap: 0.5rem;
    margin: 0.2rem 0 0.5rem;
  }

  .hero-year {
    font-size: clamp(1.5rem, 8vw, 3rem);
    letter-spacing: 0.08em;
  }

  .hero-year-line {
    width: 22px;
  }

  .hero-tagline {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    margin-top: 0.25rem;
  }

  .hero-subtagline {
    margin-bottom: 0.9rem;
    font-size: 0.75rem;
  }

  .qr-container-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .scoreboard-panel,
  .qr-registration-panel {
    padding: 2rem 1.25rem;
  }

  .qr-registration-divider {
    width: 100%;
    height: 1px;
    min-height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan-primary), transparent);
  }

  .qr-registration-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Navigation Drawer */
  .mobile-nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--nav-height));
    background: rgba(3, 6, 16, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    border-top: 1px solid var(--border-glass);
  }

  .nav-menu {
    padding-left: 0;
    padding-right: 0;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .nav-actions .btn-nav-register {
    display: none;
  }

  .about-grid, .contact-grid, .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-panels {
    grid-template-columns: 1fr;
    grid-template-areas: "college" "department" "club" "fest";
    gap: 1rem;
  }

  .about-panels::before {
    display: none;
  }

  .about-panel,
  .about-panel-fest {
    width: 100%;
    min-height: 0;
  }

  .about-panels::before,
  .about-panel-college::after,
  .about-panel-department::after,
  .about-panel-fest::before {
    display: none;
  }

  .guidelines-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .guidelines-layout aside {
    width: 100%;
  }

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

  .schedule-online-card-offset {
    margin-top: 0;
  }

  .offline-timeline {
    padding-left: 4.3rem;
  }

  .offline-timeline::before {
    left: 1.45rem;
  }

  .schedule-time-marker {
    left: -4.3rem;
    width: 3.1rem;
  }

  .schedule-time-marker::after {
    right: -1.55rem;
  }

  .schedule-timeline-item,
  .schedule-timeline-item:nth-child(even),
  .schedule-timeline-item-break,
  .schedule-timeline-item-lunch,
  .schedule-timeline-item-final {
    width: 100%;
    margin-left: 0;
  }

  .event-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .event-card {
    padding: 1rem;
  }

  .event-title {
    font-size: 1rem;
  }

  .hero-section {
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--nav-height) + 1rem) 1rem 2rem;
  }

  .hero-title {
    letter-spacing: 0.04em;
  }

  .hero-countdown-card {
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    max-width: 100%;
  }

  .countdown-num {
    font-size: 1.15rem;
  }

  .about-card, .vision-card, .participation-banner, .contact-form-panel {
    padding: 1.8rem 1.25rem;
  }

  .contact-info-panel {
    padding: 1.25rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .info-deadline-banner {
    align-items: stretch;
    text-align: center;
  }

  .deadline-text-group {
    width: 100%;
  }

  .info-deadline-banner .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .highlights-grid, .info-grid, .stats-strip {
    grid-template-columns: 1fr;
  }

  .hero-dept-badge-wrap {
    gap: 0.3rem;
  }

  .hero-dept-badge {
    padding: 0.38rem 0.9rem;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
  }

  .hero-presents-badge {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .hero-event-level,
  .hero-inspiration-line {
    font-size: 0.62rem;
    margin: 0.2rem auto;
  }

  .hero-title {
    font-size: clamp(1.35rem, 9vw, 2.4rem);
    line-height: 0.8;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .hero-year-wrapper {
    margin: 0.2rem 0 0.5rem 0;
    gap: 0.35rem;
  }

  .hero-year {
    font-size: clamp(1.25rem, 8vw, 2.5rem);
    letter-spacing: 0.08em;
  }

  .hero-year-line {
    width: 16px;
  }

  .hero-tagline {
    font-size: 0.74rem;
    letter-spacing: 0.05em;
  }

  .btn {
    width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
    margin-top: 0.6rem;
  }

  .hero-countdown-card {
    width: 100%;
    justify-content: space-between;
    gap: 0.35rem;
  }

  .countdown-divider {
    font-size: 0.95rem;
  }

  .about-card,
  .vision-card,
  .participation-banner,
  .contact-info-panel,
  .qr-container-card,
  .modal-dialog {
    border-radius: 12px;
  }

  .scoreboard-progress {
    width: 150px;
    height: 150px;
  }

  .scoreboard-countdown {
    gap: 0.15rem;
  }

  .scoreboard-countdown strong {
    font-size: 0.85rem;
  }

  .scoreboard-countdown small {
    font-size: 0.45rem;
  }

  .results-modal-dialog {
    padding: 2rem 1rem;
  }

  .leaderboard::before {
    font-size: 0.48rem;
  }

  .leaderboard-row {
    grid-template-columns: 2rem minmax(0, 1fr) 3.5rem;
    gap: 0.4rem;
    padding-inline: 0.35rem;
  }

  .programme-date-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .schedule-mode + .schedule-mode {
    margin-top: 3rem;
  }

  .schedule-timeline-card {
    padding: 1rem;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
