/* ==========================================================================
   ECE TECHNICAL EVENT 2026 — YENEPOYA INSTITUTE OF TECHNOLOGY
   Design System & Animation Masterclass Styling
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-deep: #050810;
  --bg-card: #0a101f;
  --bg-card-hover: #0f182e;
  --bg-nav: rgba(5, 8, 16, 0.92);

  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.35);
  --accent-blue: #1b6bff;
  --accent-blue-glow: rgba(27, 107, 255, 0.4);
  --accent-amber: #f59e0b;
  --accent-green: #10b981;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #475569;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 240, 255, 0.3);
  --border-blue: rgba(27, 107, 255, 0.4);

  /* Fonts */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

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

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   YEN NOVA FUTURISTIC PRELOADER SCREEN
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background: #04070e;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 500px;
  padding: 2rem;
}

.loader-logo-wrap {
  margin-bottom: 1.5rem;
}

.loader-logo {
  height: 55px;
  width: auto;
  animation: logo-float 2.5s ease-in-out infinite alternate;
}

@keyframes logo-float {
  0% {
    transform: translateY(0px) scale(0.98);
  }

  100% {
    transform: translateY(-8px) scale(1.04);
  }
}

.loader-title-wrap {
  margin-bottom: 2rem;
}

.loader-title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.loader-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.loader-progress-box {
  width: 100%;
  max-width: 380px;
}

.loader-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.loader-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  box-shadow: 0 0 12px var(--accent-cyan);
  transition: width 0.1s linear;
}

.loader-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
}

/* Background Canvas & Grid */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.tech-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.8;
  animation: grid-pulse 8s ease-in-out infinite alternate;
}

@keyframes grid-pulse {
  0% {
    opacity: 0.4;
  }

  100% {
    opacity: 0.8;
  }
}

/* Transparent Logo Rules */
.transparent-logo {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  object-fit: contain;
}

/* Container */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mono-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  border-radius: 50%;
}

/* SHIMMER GRADIENT ANIMATED TEXT */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shimmer 6s linear infinite;
}

@keyframes text-shimmer {
  to {
    background-position: 200% center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--tr-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-blue);
  color: #fff;
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 0 20px rgba(27, 107, 255, 0.4);
}

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

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

.btn-primary:hover {
  background: #2575ff;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.7);
  transform: translateY(-3px);
}

.btn-secondary {
  background: rgba(10, 16, 31, 0.85);
  color: var(--text-main);
  border: 1px solid var(--border-accent);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
  transform: translateY(-3px);
}

/* Header & Navigation Bar */
header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all var(--tr-smooth);
}

header.navbar.scrolled {
  padding: 0.85rem 0;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 95%;
  width: 100%;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  min-width: fit-content;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  transition: transform var(--tr-fast);
}

.nav-brand:hover .nav-logo-img {
  transform: scale(1.05);
}

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

.brand-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
  letter-spacing: 0.12em;
  margin-top: 0.15rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0 2rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--tr-fast);
  position: relative;
  padding: 0.5rem 0.2rem;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  transition: width var(--tr-fast);
}

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ==========================================================================
   PURE EDITORIAL CENTERED HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  padding-top: 10rem;
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  margin-bottom: 1.25rem;
}

.hero-fest-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1.2rem;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid var(--accent-cyan);
  border-radius: 4px;
}

.hero-title {
  text-transform: uppercase;
}

.hero-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.2rem;
  background: rgba(10, 16, 31, 0.9);
  border: 1px solid var(--border-accent);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-main);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.hero-description {
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   ULTRA-ATTRACTIVE HERO COUNTDOWN HUD WIDGET
   ========================================================================== */
.hero-countdown-hud {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 1.6rem 2.8rem;
  background: rgba(8, 14, 28, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 240, 255, 0.18);
  backdrop-filter: blur(20px);
  position: relative;
  transition: all var(--tr-smooth);
}

.hero-countdown-hud:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 45px rgba(0, 240, 255, 0.3);
}

.hero-cd-pill-tag {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.9rem;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
}

.hero-cd-grid {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-cd-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 85px;
  padding: 1rem 0.85rem;
  background: linear-gradient(180deg, rgba(12, 20, 40, 0.95) 0%, rgba(5, 10, 20, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-top: 2px solid var(--accent-cyan);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform var(--tr-fast);
}

.hero-cd-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-cyan);
}

.hero-cd-val {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 0 18px rgba(0, 240, 255, 0.7);
  letter-spacing: -0.02em;
}

.hero-cd-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-cyan);
  letter-spacing: 0.16em;
  margin-top: 0.4rem;
  opacity: 0.9;
}

.hero-cd-colon {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  opacity: 0.75;
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* ==========================================================================
   SIMPLE & ELEGANT BUILD-A-THON ANIMATED HARDWARE PIPELINE
   ========================================================================== */
.buildathon-pipeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.pipeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pipeline-live-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pipeline-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-bottom: 2rem;
}

.pipe-stage {
  background: rgba(5, 8, 16, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: all var(--tr-smooth);
}

.pipe-stage:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.15);
}

.pipe-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.pipe-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.pipe-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.pipe-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pipe-pulse-line {
  position: absolute;
  top: 50%;
  right: -1.5rem;
  width: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
}

.buildathon-code-console {
  background: rgba(4, 7, 14, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 6px;
  padding: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.console-title-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px stroke rgba(255, 255, 255, 0.08);
}

.console-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Section Header */
.section-header {
  margin-bottom: 3.5rem;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 650px;
}

/* Editorial Statement Section */
.editorial-section {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #080d19 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.editorial-headline {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.editorial-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.editorial-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pillar-chip {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-main);
}

.date-monument {
  text-align: center;
  position: relative;
}

.date-monument-num {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.06);
  -webkit-text-stroke: 1px rgba(0, 240, 255, 0.4);
  user-select: none;
}

.date-monument-label {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  margin-top: 1rem;
}

/* About Section */
.about-section {
  padding: 7rem 0;
  position: relative;
}

.timeline-4step {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}

.timeline-4step::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-subtle);
  z-index: 1;
}

.step-card {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem 1.5rem;
  border-radius: 6px;
  transition: all var(--tr-smooth);
}

.step-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Events Challenge Floor Section */
.events-section {
  padding: 7rem 0;
  position: relative;
  background: rgba(10, 16, 31, 0.4);
}

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

.event-panel {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--tr-smooth);
  overflow: hidden;
}

.event-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-blue);
  transition: background var(--tr-fast);
}

.event-panel.robotics-panel::before {
  background: var(--accent-amber);
}

.event-panel:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

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

.event-fee-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  border-radius: 4px;
}

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

.event-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.event-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.event-spec-item {
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   ROBOTICS SCHEDULE STYLING — MECHATRONICS TRACK
   ========================================================================== */
.robotics-schedule-block {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.schedule-section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-amber);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
}

.schedule-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 8px var(--accent-amber);
  animation: sched-pulse-dot 2s infinite ease-in-out;
}

@keyframes sched-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.schedule-sync-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  text-transform: uppercase;
}

.robotics-days-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.robotics-day-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-left: 3px solid var(--accent-amber);
  border-radius: 6px;
  padding: 1.15rem 1.25rem;
  transition: all var(--tr-smooth);
}

.robotics-day-card:hover {
  background: rgba(20, 30, 55, 0.85);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.day-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.day-badge-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.day-num-tag {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.day-date-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--accent-amber);
  color: #fbbf24;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.18);
}

.day-status-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.day-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.day-events-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.day-group-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.day-events-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.day-events-items li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.event-bullet-point {
  color: var(--accent-amber);
  font-size: 0.85rem;
  line-height: 1;
}

.event-name {
  font-weight: 500;
}

.event-note-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent-amber);
  opacity: 0.95;
  margin-left: 0.35rem;
}

.day-simultaneous-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-style: italic;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.day-simultaneous-banner .info-icon {
  flex-shrink: 0;
  stroke: var(--accent-amber);
}

.day-timeline-group {
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(245, 158, 11, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.timeline-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.timeline-dot-connector {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 14px;
  padding-top: 5px;
  flex-shrink: 0;
}

.timeline-clock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--tr-fast);
}

.timeline-clock-dot.dot-active {
  background: var(--accent-amber);
  border-color: #fbbf24;
  box-shadow: 0 0 8px var(--accent-amber);
}

.timeline-vertical-line {
  width: 1px;
  height: 26px;
  background: rgba(245, 158, 11, 0.25);
  margin-top: 3px;
}

.timeline-content-col {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex-grow: 1;
}

.timeline-heading {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-time-text {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #e2e8f0;
  font-size: 0.85rem;
}

.timeline-time-text.highlight-time {
  color: #fbbf24;
}

.timeline-sep {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin: 0 0.1rem;
}

.timeline-label {
  color: #f8fafc;
  font-weight: 600;
}

.timeline-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sharp-highlight-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #050810;
  background: #f59e0b;
  padding: 0.15rem 0.55rem;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
  display: inline-flex;
  align-items: center;
  animation: pulse-sharp 2.5s infinite;
}

@keyframes pulse-sharp {
  0%, 100% {
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
  }
  50% {
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.95);
  }
}

/* Event Section Bottom Rulebook Button */
.events-rulebook-btn-wrapper {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0.5rem;
}

/* Ambient glow behind the button */
.events-rulebook-btn-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, 90%);
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.22) 0%, rgba(27, 107, 255, 0.08) 55%, transparent 75%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  animation: pulse-rulebook-ambient 4s ease-in-out infinite alternate;
}

@keyframes pulse-rulebook-ambient {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.95); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.rulebook-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 2rem;
  background: linear-gradient(135deg, rgba(13, 22, 44, 0.95) 0%, rgba(10, 16, 31, 0.96) 50%, rgba(15, 29, 58, 0.94) 100%);
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: 12px;
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 240, 255, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    inset 0 -1px 1px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light shimmer sweep animation */
.rulebook-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 20%,
    rgba(0, 240, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: rulebook-sweep 5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes rulebook-sweep {
  0%, 65% { left: -120%; }
  100% { left: 220%; }
}

/* Outer Border Glow on Hover */
.rulebook-btn-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.6), rgba(27, 107, 255, 0.2), rgba(0, 240, 255, 0.7));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

/* Left Icon Box */
.rulebook-icon-box {
  position: relative;
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 9px;
  color: var(--accent-cyan);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 0 12px rgba(0, 240, 255, 0.12);
}

.rulebook-icon-box svg {
  color: var(--accent-cyan);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.5));
}

/* Pulsing Status Dot on the Icon */
.rulebook-live-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981, 0 0 14px rgba(16, 185, 129, 0.8);
  animation: live-dot-blink 2s infinite ease-in-out;
}

@keyframes live-dot-blink {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.65; }
}

/* Text Content Container */
.rulebook-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
}

.rulebook-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  opacity: 0.9;
  transition: color 0.3s ease;
}

.rulebook-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Right Badge & Arrow */
.rulebook-action-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: 0.5rem;
}

.rulebook-badge-pdf {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.rulebook-arrow {
  color: var(--accent-cyan);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

/* Hover State */
.rulebook-btn:hover {
  background: linear-gradient(135deg, rgba(16, 28, 56, 0.98) 0%, rgba(12, 22, 44, 0.98) 50%, rgba(20, 38, 75, 0.98) 100%);
  border-color: rgba(0, 240, 255, 0.85);
  box-shadow: 
    0 14px 40px rgba(0, 0, 0, 0.6),
    0 0 32px rgba(0, 240, 255, 0.4),
    0 0 60px rgba(27, 107, 255, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
  transform: translateY(-4px) scale(1.015);
}

.rulebook-btn:hover .rulebook-btn-glow {
  opacity: 1;
}

.rulebook-btn:hover .rulebook-icon-box {
  background: rgba(0, 240, 255, 0.18);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), inset 0 0 15px rgba(0, 240, 255, 0.25);
  transform: scale(1.05);
}

.rulebook-btn:hover .rulebook-icon-box svg {
  transform: rotate(-5deg) scale(1.1);
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.9));
}

.rulebook-btn:hover .rulebook-title {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

.rulebook-btn:hover .rulebook-sub {
  color: #e0f2fe;
}

.rulebook-btn:hover .rulebook-badge-pdf {
  background: rgba(245, 158, 11, 0.25);
  border-color: #fbbf24;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.rulebook-btn:hover .rulebook-arrow {
  transform: translate(3px, -3px);
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.9));
}

/* Active / Tap state */
.rulebook-btn:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 240, 255, 0.3);
}

/* Old Rules Section */
.rules-section {
  padding: 6rem 0;
}

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

.rule-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  border-radius: 6px;
}

.rule-idx {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.rule-text {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* Build-A-Thon Section & Hardware Kit */
.buildathon-section {
  padding: 7rem 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #090e1c 100%);
  border-top: 1px solid var(--border-subtle);
}

.kit-schematic-container {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  padding: 3rem 2rem;
  position: relative;
  margin-top: 3rem;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.schematic-svg-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mcu-center-node {
  width: 180px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
  padding: 1.5rem;
  background: rgba(27, 107, 255, 0.15);
  border: 2px solid var(--accent-blue);
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(27, 107, 255, 0.3);
  position: relative;
  z-index: 10;
  transition: all var(--tr-smooth);
}

.mcu-center-node:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.5);
}

.mcu-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-cyan);
}

.mcu-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.components-inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 10;
}

.component-node {
  background: rgba(5, 8, 16, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all var(--tr-fast);
  position: relative;
}

.component-node:hover,
.component-node.active {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  transform: translateY(-3px);
}

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

.comp-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
}

.comp-qty {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  color: var(--accent-cyan);
}

.comp-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.workflow-5step {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  position: relative;
}

.wf-stage {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.wf-stage-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.wf-stage-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
}

/* Achievements Archive Section */
.achievements-section {
  padding: 7rem 0;
  position: relative;
}

.achievements-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.achievement-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  border-radius: 6px;
  align-items: center;
  transition: all var(--tr-smooth);
}

.achievement-card:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
}

.achievement-year {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.achievement-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.achievement-org {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.achievement-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Team Section */
.team-section {
  padding: 7rem 0;
  background: rgba(10, 16, 31, 0.4);
}

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

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--tr-smooth);
}

.team-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.team-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.05);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.team-name {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-dept {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Department Feature & Vision/Mission */
.dept-section {
  padding: 7rem 0;
  background: rgba(10, 16, 31, 0.6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.dept-vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.dept-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 8px;
  transition: transform var(--tr-smooth), border-color var(--tr-smooth), box-shadow var(--tr-smooth);
}

.dept-card:hover {
  transform: translateY(-3px);
}

.dept-vision-card {
  border: 1px solid var(--border-accent);
  border-top: 4px solid var(--accent-cyan);
}

.dept-vision-card:hover {
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.dept-mission-card {
  border: 1px solid var(--border-blue);
  border-top: 4px solid var(--accent-blue);
}

.dept-mission-card:hover {
  box-shadow: 0 10px 30px rgba(27, 107, 255, 0.18);
}

.dept-card-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.dept-card-title.vision-title {
  color: var(--accent-cyan);
}

.dept-card-title.mission-title {
  color: var(--accent-blue);
}

.dept-card-text {
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.7;
}

.dept-mission-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.dept-mission-list li {
  display: flex;
  gap: 0.75rem;
}

.mission-arrow {
  color: var(--accent-cyan);
  font-weight: 700;
  flex-shrink: 0;
}

.mono-blue {
  color: var(--accent-blue) !important;
}

.mono-blue::before {
  background-color: var(--accent-blue) !important;
  box-shadow: 0 0 10px var(--accent-blue) !important;
}

.dept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

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

.dept-img-box {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  height: 180px;
}

.dept-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
  transition: transform var(--tr-smooth);
}

.dept-img-box:hover img {
  transform: scale(1.05);
}

.why-ece-container {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent-cyan);
  padding: 2.5rem 2rem;
  border-radius: 6px;
}

.why-title {
  font-size: 2.2rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  font-family: var(--font-mono);
}

.why-text {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Event Info & Countdown */
.info-countdown-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, rgba(10, 16, 31, 0.8) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.info-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.countdown-box {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.count-unit {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  text-align: center;
  min-width: 90px;
}

.count-val {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1;
}

.count-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* Registration CTA Banner */
.reg-cta-section {
  padding: 8rem 0;
  text-align: center;
  position: relative;
}

.cta-box {
  background: linear-gradient(135deg, rgba(10, 16, 31, 0.9) 0%, rgba(27, 107, 255, 0.1) 100%);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.15);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.25rem;
}

.cta-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* Modal Styling */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-smooth);
}

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

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--accent-cyan);
}

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

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(5, 8, 16, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--accent-cyan);
  padding: 1rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-main);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--tr-smooth);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer & Router */
footer.site-footer {
  background: #03050a;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 3rem 0;
  position: relative;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.footer-router-col {
  text-align: right;
  margin-left: auto;
}

.footer-desc {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 440px;
  font-size: 0.95rem;
}

.footer-links-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--tr-fast);
}

.footer-link:hover {
  color: var(--accent-cyan);
}

.back-to-top-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-accent);
  border-radius: 4px;
  transition: all var(--tr-fast);
}

.back-to-top-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   PRIZE POOL SECTION STYLING (BASE DESKTOP)
   ========================================================================== */
.prize-section {
  padding: 6.5rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.12) 0%, rgba(5, 8, 16, 0.98) 75%);
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--border-accent);
}

.prize-grand-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  margin-bottom: 3.5rem;
}

.prize-grand-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(251, 191, 36, 0.06) 100%);
  border: 2px solid rgba(245, 158, 11, 0.55);
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.3), inset 0 0 25px rgba(245, 158, 11, 0.15);
  border-radius: 24px;
  padding: 2.5rem 4.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 100%;
}

.prize-grand-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.2) 50%, transparent 55%);
  animation: shine-sweep 3.5s infinite linear;
}

@keyframes shine-sweep {
  0% {
    transform: translate(-30%, -30%);
  }

  100% {
    transform: translate(30%, 30%);
  }
}

.prize-icon-large {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.8));
}

.prize-amount-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #fffbeb 0%, #fef08a 30%, #f59e0b 70%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.4));
}

.prize-subtitle-glow {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #fbbf24;
  margin-top: 0.8rem;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* Prize Cards Grid */
.prize-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.prize-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: transform var(--tr-smooth), border-color var(--tr-smooth), box-shadow var(--tr-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prize-card:hover {
  transform: translateY(-10px);
}

.prize-card.gold {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.2);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, rgba(10, 16, 31, 0.98) 100%);
}

.prize-card.gold:hover {
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.4);
}

.prize-card.silver {
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow: 0 12px 35px rgba(0, 240, 255, 0.15);
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.1) 0%, rgba(10, 16, 31, 0.98) 100%);
}

.prize-card.silver:hover {
  box-shadow: 0 20px 50px rgba(0, 240, 255, 0.35);
}

.prize-card.bronze {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 12px 35px rgba(168, 85, 247, 0.15);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.1) 0%, rgba(10, 16, 31, 0.98) 100%);
}

.prize-card.bronze:hover {
  box-shadow: 0 20px 50px rgba(168, 85, 247, 0.35);
}

.prize-card-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.prize-card.gold .prize-card-badge {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.prize-card.silver .prize-card-badge {
  background: rgba(0, 240, 255, 0.2);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.5);
}

.prize-card.bronze .prize-card-badge {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.5);
}

.prize-card-rank-icon {
  font-size: 3.2rem;
  margin-bottom: 0.75rem;
}

.prize-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.prize-card-cash {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.prize-card.gold .prize-card-cash {
  color: #fbbf24;
}

.prize-card.bronze .prize-card-cash {
  color: #c084fc;
}

.prize-card-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  width: 100%;
}

.prize-card-perks li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
}

/* Category Perks Footer Grid */
.prize-perks-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  background: rgba(10, 16, 31, 0.85);
  border: 1px solid var(--border-accent);
  padding: 2rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.prize-perk-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.prize-perk-icon {
  font-size: 1.8rem;
}

/* ==========================================================================
   MASTER RESPONSIVE DESIGN SYSTEM (ALL SCREEN SIZES)
   ========================================================================== */

/* Universal Overflow Prevention & Base Typography */
html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

/* Accessible Touch Targets */
button,
a.btn,
input,
select,
.rulebook-btn {
  min-height: 44px;
  touch-action: manipulation;
}

/* --------------------------------------------------------------------------
   1. LAPTOPS & MEDIUM DESKTOPS (<= 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 2rem;
  }

  .nav-menu {
    gap: 1.25rem;
    margin: 0 1rem;
  }

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

  .hero-title {
    font-size: clamp(3.2rem, 7vw, 5.5rem);
  }

  .events-grid {
    gap: 2rem;
  }

  .team-grid {
    gap: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   2. TABLETS & SMALL LAPTOPS (<= 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

  .hero-grid,
  .editorial-grid,
  .dept-vision-mission-grid,
  .dept-grid,
  .info-flex {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .editorial-section,
  .dept-section,
  .events-section,
  .team-section,
  .info-countdown-section {
    padding: 5.5rem 0;
  }

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

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

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

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

  .dept-card {
    padding: 2.2rem 1.8rem;
  }
}

/* --------------------------------------------------------------------------
   3. TABLET PORTRAIT & MOBILE NAVIGATION BREAKPOINT (<= 900px)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  header.navbar {
    padding: 0.85rem 0;
  }

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

  .nav-menu {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(5, 8, 16, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border-accent);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
    transform: translateY(-160%);
    transition: transform var(--tr-smooth);
    margin: 0;
    z-index: 99;
  }

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

  .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-link::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid var(--border-accent);
    border-radius: 8px;
    color: var(--accent-cyan);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all var(--tr-fast);
  }

  .menu-toggle:hover {
    background: rgba(0, 240, 255, 0.15);
    box-shadow: 0 0 15px var(--accent-cyan-glow);
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .footer-router-col {
    text-align: left;
    margin-left: 0;
  }
}

/* --------------------------------------------------------------------------
   4. SMARTPHONES & SMALL TABLETS (<= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  section {
    padding: 4.5rem 0 !important;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 7rem !important;
    padding-bottom: 4rem !important;
    min-height: auto;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    padding: 0.4rem 0.8rem;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    margin-bottom: 1.25rem !important;
  }

  .hero-title {
    font-size: clamp(2.4rem, 9.5vw, 4rem) !important;
    line-height: 1.08;
    margin-bottom: 1.25rem !important;
  }

  .hero-date-badge {
    font-size: 0.82rem;
    padding: 0.55rem 1rem;
    text-align: center;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
    margin-bottom: 1.5rem !important;
  }

  .hero-description {
    font-size: 1.02rem !important;
    line-height: 1.65 !important;
    margin-bottom: 2rem !important;
    max-width: 100% !important;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 440px;
    gap: 0.9rem;
    margin-bottom: 2.5rem !important;
  }

  .hero-ctas .btn {
    width: 100%;
    padding: 0.95rem 1.5rem !important;
    font-size: 0.88rem !important;
  }

  /* Hero Countdown HUD */
  .hero-countdown-hud {
    padding: 1.4rem 1.2rem;
    width: 100%;
    max-width: 500px;
    border-radius: 14px;
    gap: 1rem;
  }

  .hero-cd-pill-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
  }

  .hero-cd-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
  }

  .hero-cd-card {
    min-width: 62px;
    flex: 1;
    padding: 0.85rem 0.35rem;
    border-radius: 6px;
  }

  .hero-cd-val {
    font-size: 1.85rem;
  }

  .hero-cd-lbl {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    margin-top: 0.3rem;
  }

  .hero-cd-colon {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
  }

  /* Section Titles */
  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: clamp(1.65rem, 6.5vw, 2.4rem);
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Editorial Manifesto */
  .editorial-headline {
    font-size: clamp(1.6rem, 5.5vw, 2.3rem);
    line-height: 1.3;
  }

  .editorial-text {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .date-monument-num {
    font-size: clamp(3.8rem, 14vw, 6.5rem);
  }

  /* Vision & Mission Cards */
  .dept-card {
    padding: 1.8rem 1.35rem;
    border-radius: 8px;
  }

  .dept-card-title {
    font-size: 1.45rem;
  }

  .dept-card-text {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  /* Challenge Floor / Events */
  .event-panel {
    padding: 1.85rem 1.35rem;
    border-radius: 12px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .event-header-tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-bottom: 1.25rem;
  }

  .event-fee-badge {
    white-space: nowrap;
    font-size: 0.8rem;
  }

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

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

  .event-specs-list {
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .event-spec-item {
    font-size: 0.82rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .event-spec-item strong {
    font-size: 0.82rem;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .event-panel .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 0.75rem;
    font-size: clamp(0.72rem, 3.4vw, 0.85rem);
    letter-spacing: 0.05em;
    text-align: center;
    justify-content: center;
    white-space: normal;
    word-break: break-word;
  }

  /* Robotics Schedule Mobile Responsiveness */
  .robotics-schedule-block {
    margin-top: 1.25rem;
    margin-bottom: 1.75rem;
    gap: 0.85rem;
  }

  .schedule-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .schedule-section-tag {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .schedule-sync-badge {
    font-size: 0.65rem;
    white-space: nowrap;
  }

  .robotics-days-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    width: 100%;
  }

  .robotics-day-card {
    padding: 1.05rem 1rem;
    border-radius: 6px;
    box-sizing: border-box;
    width: 100%;
  }

  .day-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
  }

  .day-badge-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .day-num-tag {
    font-size: 0.9rem;
  }

  .day-date-badge {
    font-size: 0.76rem;
    padding: 0.18rem 0.5rem;
    white-space: nowrap;
  }

  .day-status-pill {
    font-size: 0.64rem;
    white-space: nowrap;
  }

  .day-events-items {
    gap: 0.35rem;
  }

  .day-events-items li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.85rem;
    line-height: 1.4;
    flex-wrap: wrap;
  }

  .event-bullet-point {
    margin-top: 2px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .event-name {
    display: inline;
  }

  .event-note-pill {
    font-size: 0.7rem;
    white-space: nowrap;
    display: inline-block;
    margin-left: 0.3rem;
  }

  .day-simultaneous-banner {
    display: flex;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.74rem;
    line-height: 1.35;
    padding: 0.4rem 0.6rem;
    gap: 0.45rem;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .day-simultaneous-banner .info-icon {
    margin-top: 2px;
    flex-shrink: 0;
  }

  .day-timeline-group {
    margin-top: 0.25rem;
    padding-top: 0.65rem;
    gap: 0.55rem;
  }

  .timeline-row {
    gap: 0.65rem;
    align-items: flex-start;
  }

  .timeline-dot-connector {
    width: 12px;
    padding-top: 4px;
    flex-shrink: 0;
  }

  .timeline-vertical-line {
    height: 30px;
  }

  .timeline-content-col {
    min-width: 0;
    flex: 1;
  }

  .timeline-heading {
    font-size: 0.84rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
  }

  .timeline-time-text {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .timeline-label {
    font-size: 0.84rem;
    line-height: 1.3;
  }

  .timeline-detail {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .sharp-highlight-badge {
    font-size: 0.66rem;
    padding: 0.15rem 0.45rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
  }

  .events-rulebook-btn-wrapper {
    margin-top: 2rem;
  }

  .rulebook-btn {
    width: 100%;
    max-width: 440px;
    padding: 0.95rem 1.15rem;
    gap: 0.85rem;
  }

  .rulebook-title {
    font-size: 0.92rem;
  }

  .rulebook-sub {
    font-size: 0.62rem;
  }

  /* Prize Pool */
  .prize-section {
    padding: 4.5rem 0 !important;
  }

  .prize-grand-badge {
    padding: 2rem 1.4rem;
    width: 100%;
    border-radius: 16px;
  }

  .prize-icon-large {
    font-size: 3rem;
  }

  .prize-amount-title {
    font-size: clamp(2.8rem, 10vw, 4.2rem);
  }

  .prize-subtitle-glow {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
  }

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

  /* Team Grid */
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.25rem;
  }

  /* Logistics & Countdown */
  .countdown-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.55rem;
    width: 100%;
    margin-top: 1.5rem;
  }

  .count-unit {
    min-width: 0;
    padding: 0.85rem 0.3rem;
    border-radius: 8px;
  }

  .count-val {
    font-size: 1.65rem;
  }

  .count-lbl {
    font-size: 0.65rem;
  }

  /* CTA Banner */
  .cta-box {
    padding: 2.8rem 1.35rem;
    border-radius: 16px;
  }

  .cta-title {
    font-size: clamp(1.6rem, 6vw, 2.3rem);
    line-height: 1.25;
  }

  .cta-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  /* Contact Desk */
  .rules-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .rule-item {
    padding: 1.5rem 1.25rem;
    border-radius: 8px;
  }

  .rule-item a[href^="tel:"] {
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 1rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 8px;
    font-size: 0.92rem;
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    align-items: center;
    padding-top: 1.5rem;
  }

  .footer-bottom>div {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   5. COMPACT MOBILE SCREENS (<= 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .nav-container {
    padding: 0 0.85rem;
  }

  .nav-brand {
    gap: 0.65rem;
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }

  .brand-text {
    min-width: 0;
    overflow: hidden;
  }

  .brand-title {
    font-size: clamp(0.82rem, 3.8vw, 0.95rem);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 190px;
  }

  .brand-subtitle {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .nav-logo-img {
    height: 35px;
  }

  /* Preloader */
  .loader-title {
    font-size: 2.2rem;
  }

  .loader-progress-box {
    max-width: 260px;
  }

  /* Hero Section */
  .hero-eyebrow {
    font-size: 0.65rem;
    padding: 0.35rem 0.65rem;
  }

  .hero-title {
    font-size: clamp(2rem, 11vw, 2.7rem) !important;
  }

  .hero-date-badge {
    font-size: 0.74rem;
    padding: 0.5rem 0.8rem;
  }

  .hero-countdown-hud {
    padding: 1.1rem 0.75rem;
    border-radius: 12px;
  }

  .hero-cd-grid {
    gap: 0.3rem;
  }

  .hero-cd-card {
    min-width: 52px;
    padding: 0.65rem 0.2rem;
  }

  .hero-cd-val {
    font-size: 1.45rem;
  }

  .hero-cd-lbl {
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    margin-top: 0.25rem;
  }

  .hero-cd-colon {
    font-size: 1rem;
    margin-bottom: 0.45rem;
  }

  /* Events Specs */
  .event-panel {
    padding: 1.4rem 0.95rem;
    border-radius: 10px;
  }

  .event-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
  }

  .event-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .event-specs-list {
    padding: 0.85rem 0.75rem;
    margin-bottom: 1.25rem;
    gap: 0.4rem;
  }

  .event-spec-item {
    font-size: 0.78rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .event-spec-item strong {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .robotics-day-card {
    padding: 0.95rem 0.8rem;
  }

  .day-events-items li {
    font-size: 0.82rem;
  }

  .timeline-heading {
    font-size: 0.82rem;
  }

  .timeline-label {
    font-size: 0.82rem;
  }

  /* Prize Pool */
  .prize-icon-large {
    font-size: 2.75rem;
  }

  .prize-amount-title {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .prize-subtitle-glow {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  /* Countdown */
  .count-unit {
    padding: 0.65rem 0.2rem;
  }

  .count-val {
    font-size: 1.35rem;
  }

  .count-lbl {
    font-size: 0.6rem;
  }

  .rule-item {
    padding: 1.25rem 1rem;
  }

  .rule-item h3 {
    font-size: 1.15rem !important;
  }
}

/* --------------------------------------------------------------------------
   6. EXTRA SMALL SCREENS (<= 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }

  .nav-container {
    padding: 0 0.65rem;
  }

  .brand-title {
    max-width: 155px;
    font-size: 0.82rem;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-title {
    font-size: 1.85rem !important;
  }

  .hero-cd-card {
    min-width: 46px;
    padding: 0.5rem 0.15rem;
  }

  .hero-cd-val {
    font-size: 1.25rem;
  }

  .hero-cd-lbl {
    font-size: 0.5rem;
    letter-spacing: 0.04em;
  }

  .hero-cd-colon {
    font-size: 0.85rem;
  }

  .event-panel {
    padding: 1.15rem 0.7rem;
    border-radius: 8px;
  }

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

  .event-desc {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .robotics-day-card {
    padding: 0.8rem 0.6rem;
    border-left-width: 2px;
  }

  .day-num-tag {
    font-size: 0.84rem;
  }

  .day-date-badge {
    font-size: 0.72rem;
    padding: 0.15rem 0.4rem;
  }

  .day-status-pill {
    font-size: 0.6rem;
  }

  .day-events-items li {
    font-size: 0.78rem;
  }

  .timeline-heading {
    font-size: 0.78rem;
  }

  .timeline-time-text {
    font-size: 0.78rem;
  }

  .timeline-label {
    font-size: 0.78rem;
  }

  .sharp-highlight-badge {
    font-size: 0.62rem;
    padding: 0.12rem 0.38rem;
  }

  .event-panel .btn {
    padding: 0.8rem 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .prize-amount-title {
    font-size: 2.15rem !important;
  }

  .count-val {
    font-size: 1.2rem;
  }

  .count-lbl {
    font-size: 0.55rem;
  }
}