/* ==========================================================================
   CampusCoders Hackathons - Cyber-Enterprise Design System
   ========================================================================== */

:root {
  --bg-primary: #070A12;
  --bg-surface: #0E1424;
  --bg-card: rgba(16, 24, 43, 0.75);
  --bg-card-hover: rgba(22, 33, 58, 0.85);
  --bg-glass: rgba(14, 20, 36, 0.7);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.3);
  --border-violet: rgba(139, 92, 246, 0.3);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --cyan: #00F0FF;
  --cyan-glow: rgba(0, 240, 255, 0.4);
  --violet: #8B5CF6;
  --violet-glow: rgba(139, 92, 246, 0.4);
  --emerald: #10B981;
  --amber: #F59E0B;
  --rose: #F43F5E;

  --grad-cyan-violet: linear-gradient(135deg, #00F0FF 0%, #8B5CF6 100%);
  --grad-violet-rose: linear-gradient(135deg, #8B5CF6 0%, #F43F5E 100%);
  --grad-surface: linear-gradient(180deg, rgba(14, 20, 36, 0.9) 0%, rgba(7, 10, 18, 0.95) 100%);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(0, 240, 255, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(139, 92, 246, 0.08) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY & BADGES ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid transparent;
}

.badge-cyan {
  background: rgba(0, 240, 255, 0.12);
  color: var(--cyan);
  border-color: rgba(0, 240, 255, 0.3);
}

.badge-violet {
  background: rgba(139, 92, 246, 0.15);
  color: var(--violet);
  border-color: rgba(139, 92, 246, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border-color: rgba(16, 185, 129, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ─── BUTTONS ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
}

.btn-primary {
  background: var(--grad-cyan-violet);
  color: #070A12;
  font-weight: 700;
  box-shadow: 0 4px 18px var(--cyan-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 240, 255, 0.6);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-cyan-outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}
.btn-cyan-outline:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 15px var(--cyan-glow);
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--grad-violet-rose);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(244, 63, 94, 0.35);
}
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(244, 63, 94, 0.55);
  color: #FFF;
}

.btn-danger-outline {
  background: rgba(244, 63, 94, 0.08);
  color: #FB7185 !important;
  border: 1px solid rgba(244, 63, 94, 0.35);
}
.btn-danger-outline:hover {
  background: rgba(244, 63, 94, 0.22);
  color: #FFFFFF !important;
  border-color: #F43F5E;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.4);
  transform: translateY(-2px);
}
.btn-danger-outline:active {
  transform: translateY(0);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* ─── COOL NAVBAR ──────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  transition: background 0.3s ease;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.brand-accent {
  color: var(--cyan);
}

.brand-badge {
  font-size: 11px;
  font-weight: 800;
  background: var(--grad-cyan-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 2px 7px;
  border-radius: 5px;
  vertical-align: middle;
  letter-spacing: 0.5px;
  line-height: 1.2;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.brand-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: var(--grad-cyan-violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #070A12;
  font-size: 18px;
  box-shadow: 0 0 15px var(--cyan-glow);
  line-height: 1;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  line-height: 1;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.07);
}
.nav-link.active {
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  border-radius: 2px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.user-menu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 14px 0 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  box-sizing: border-box;
}

.user-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--grad-cyan-violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  color: #070A12;
  line-height: 1;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.mobile-avatar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ─── CAROUSEL (Smart single/multi slide) ───────────────────────────────── */
.carousel-section {
  position: relative;
  margin: 32px 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.carousel-viewport {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 60px;
  background-size: cover;
  background-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 10, 18, 0.95) 0%, rgba(7, 10, 18, 0.75) 50%, rgba(7, 10, 18, 0.4) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.slide-title {
  font-size: 36px;
  line-height: 1.2;
  margin: 16px 0 12px;
}

.slide-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 24px;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 20, 36, 0.8);
  border: 1px solid var(--border-subtle);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}
.carousel-nav-btn:hover {
  background: var(--cyan);
  color: #070A12;
  box-shadow: 0 0 15px var(--cyan-glow);
}
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dot.active {
  width: 32px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}

/* ─── HACKATHON CARDS ──────────────────────────────────────────────────── */
.hackathon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin: 32px 0;
}

.hackathon-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.hackathon-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 32px rgba(0, 240, 255, 0.15);
  background: var(--bg-card-hover);
}

.card-banner {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.card-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(14, 20, 36, 0.95) 100%);
}

.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 20px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-tagline {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.card-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-bottom: 20px;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.meta-val {
  font-size: 15px;
  font-weight: 700;
  color: #FFF;
}

/* ─── DETAIL PAGE TABS & TIMELINE ──────────────────────────────────────── */
.tabs-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--border-subtle);
  margin: 24px 0 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 240, 255, 0.4) rgba(255, 255, 255, 0.05);
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}
.tabs-nav::-webkit-scrollbar {
  height: 4px;
}
.tabs-nav::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}
.tabs-nav::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.35);
  border-radius: 4px;
}
.tabs-nav::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.tab-btn:hover {
  color: #FFF;
}
.tab-btn.active {
  color: var(--cyan);
}
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* ─── COUNTDOWN BOXES ──────────────────────────────────────────────────── */
.countdown-container {
  display: flex;
  gap: 12px;
  align-items: center;
}

.countdown-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  text-align: center;
  min-width: 60px;
}

.countdown-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--cyan);
}

.countdown-lbl {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── TIMELINE TRACK ───────────────────────────────────────────────────── */
.timeline-track {
  position: relative;
  padding: 24px 0 24px 36px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  margin-left: 16px;
}

.timeline-step {
  position: relative;
  margin-bottom: 32px;
}
.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -47px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--text-muted);
  transition: all 0.3s ease;
}
.timeline-step.completed .timeline-marker {
  background: var(--emerald);
  border-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}
.timeline-step.active .timeline-marker {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

/* ─── FORMS & INPUTS ───────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(14, 20, 36, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #FFF;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* ─── FOOTER ───────────────────────────────────────────────────────────── */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  background: rgba(7, 10, 18, 0.95);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ─── MOBILE NAVIGATION STYLING ────────────────────────────────────────── */
.mobile-nav-triggers {
  display: none;
}

.mobile-menu-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #FFF;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.mobile-menu-toggle:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}
.mobile-menu-toggle:hover span {
  background-color: var(--cyan);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background: #0B1020;
  border-left: 1px solid var(--border-glow);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  overflow-y: auto;
}
.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.mobile-nav-close:hover {
  color: #FFF;
}

.mobile-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 20px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.2s;
}
.mobile-nav-item:hover, .mobile-nav-item:active {
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* ─── RESPONSIVE UTILITY CLASSES ───────────────────────────────────────── */
.responsive-split-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.responsive-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.responsive-three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
}

.table-responsive table {
  min-width: 580px;
}

/* ─── RESPONSIVE BREAKPOINTS ───────────────────────────────────────────── */
@media (max-width: 992px) {
  .navbar-links {
    display: none !important;
  }
  .navbar-actions {
    display: none !important;
  }
  .mobile-nav-triggers {
    display: flex !important;
    align-items: center;
    gap: 10px;
  }
  .responsive-split-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .responsive-two-col {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .detail-hero-content {
    padding: 0 20px 24px !important;
    margin-top: -24px !important;
  }
  .detail-action-box {
    min-width: 100% !important;
    width: 100% !important;
  }
  .footer-inner {
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px !important;
  }
  
  .navbar-brand {
    gap: 7px;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
    border-radius: 8px;
  }
  .brand-text {
    font-size: 14.5px;
    gap: 4px;
    letter-spacing: -0.3px;
  }
  .brand-badge {
    font-size: 10px;
    padding: 1.5px 5px;
    letter-spacing: 0.3px;
  }

  .carousel-viewport {
    height: 420px;
  }
  .slide-content {
    padding: 24px 20px !important;
  }
  .slide-title {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }
  .slide-tagline {
    font-size: 13px !important;
    margin-bottom: 16px !important;
  }
  
  .hackathon-grid {
    grid-template-columns: 1fr !important;
  }

  .responsive-three-col {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .form-control, input, select, textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px !important;
  }
  h1 {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }
  h2 {
    font-size: 19px !important;
  }
  h3 {
    font-size: 17px !important;
  }
  
  .btn {
    padding: 10px 16px !important;
    font-size: 13px !important;
  }
  .btn-lg {
    padding: 12px 20px !important;
    font-size: 15px !important;
  }

  .countdown-container {
    gap: 6px !important;
  }
  .countdown-box {
    padding: 6px 8px !important;
    min-width: 50px !important;
  }
  .countdown-num {
    font-size: 18px !important;
  }
  .countdown-lbl {
    font-size: 9px !important;
  }

  .tabs-nav {
    gap: 6px !important;
    margin: 20px 0 16px !important;
  }
  .tab-btn {
    padding: 10px 12px !important;
    font-size: 13px !important;
  }

  .timeline-track {
    padding-left: 20px !important;
    margin-left: 6px !important;
  }
  .timeline-marker {
    left: -31px !important;
    width: 16px !important;
    height: 16px !important;
  }
}

@media (max-width: 400px) {
  .navbar-brand {
    gap: 5px;
  }
  .brand-icon {
    width: 28px;
    height: 28px;
    font-size: 13px;
    border-radius: 7px;
  }
  .brand-text {
    font-size: 13px;
    gap: 3px;
  }
  .brand-badge {
    font-size: 9px;
    padding: 1px 4px;
    letter-spacing: 0.2px;
  }
}

/* ==========================================================================
   Hackathon Sponsors & Partners Showcase (Round Circular Logos)
   ========================================================================== */
.sponsors-showcase-bar {
  background: linear-gradient(135deg, rgba(14, 20, 36, 0.85) 0%, rgba(10, 15, 28, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.22);
  box-shadow: 0 12px 35px -10px rgba(0, 240, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.sponsors-showcase-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00F0FF, #8B5CF6, transparent);
}

.sponsors-header {
  text-align: center;
  margin-bottom: 24px;
}

.sponsors-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.sponsors-title {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.sponsors-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.sponsor-card {
  background: rgba(19, 27, 46, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.45);
  background: rgba(23, 33, 56, 0.85);
  box-shadow: 0 12px 28px -6px rgba(0, 240, 255, 0.2);
}

.sponsor-logo-wrapper {
  margin-bottom: 14px;
}

/* Strictly Circular Logo Container & Image */
.sponsor-round-logo {
  width: 82px !important;
  height: 82px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  background: #0B0F19;
  border: 2.5px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
  padding: 2px;
  display: block;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-card:hover .sponsor-round-logo {
  transform: scale(1.08);
  border-color: #00F0FF;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.45);
}

.sponsor-logo-link {
  display: inline-block;
  border-radius: 50%;
  text-decoration: none;
}

.sponsor-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.sponsor-tier-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.sponsor-name {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 6px;
}

.sponsor-web-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.15);
  transition: all 0.2s ease;
}

.sponsor-web-link:hover {
  background: rgba(0, 240, 255, 0.18);
  border-color: var(--cyan);
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ==========================================================================
   Cyber Error Pages (404, 500, Custom Anomalies)
   ========================================================================== */

.cyber-error-wrap {
  position: relative;
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  overflow: hidden;
}

.cyber-error-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.cyber-error-card {
  position: relative;
  z-index: 2;
  max-width: 880px;
  width: 100%;
  background: rgba(14, 20, 36, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 240, 255, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 240, 255, 0.08);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.cyber-error-card.card-500 {
  border-color: rgba(244, 63, 94, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(244, 63, 94, 0.12);
}

/* Badge Alert */
.cyber-alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--cyan);
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.cyber-alert-pill.pill-500 {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.4);
  color: var(--rose);
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.2);
}

.cyber-alert-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: radarPulse 1.8s infinite;
}

.cyber-alert-pill.pill-500 .pulse-dot {
  background: var(--rose);
  box-shadow: 0 0 8px var(--rose);
  animation: redAlarmPulse 1s infinite;
}

/* Graphic Container */
.cyber-graphic-box {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cyber-floating-droid {
  width: 170px;
  height: 170px;
  animation: floatDroid 4.2s ease-in-out infinite;
  filter: drop-shadow(0 15px 25px rgba(0, 240, 255, 0.25));
}

.cyber-floating-reactor {
  width: 170px;
  height: 170px;
  animation: reactorJitter 3.5s ease-in-out infinite;
  filter: drop-shadow(0 15px 30px rgba(244, 63, 94, 0.3));
}

/* Chromatic Glitch Code Typography */
.glitch-num-box {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

.glitch-num {
  position: relative;
  font-family: var(--font-mono);
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -2px;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
  user-select: none;
}

.glitch-num::before,
.glitch-num::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-num::before {
  left: 3px;
  text-shadow: -2px 0 #00F0FF;
  clip-path: rect(24px, 550px, 90px, 0);
  animation: glitchAnim1 3s infinite linear alternate-reverse;
}

.glitch-num::after {
  left: -3px;
  text-shadow: -2px 0 #8B5CF6;
  clip-path: rect(85px, 550px, 140px, 0);
  animation: glitchAnim2 2.5s infinite linear alternate-reverse;
}

.glitch-num.glitch-500::before {
  text-shadow: -3px 0 #F43F5E;
}

.glitch-num.glitch-500::after {
  text-shadow: -3px 0 #F59E0B;
}

/* Titles */
.cyber-error-title {
  font-size: 30px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.cyber-error-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

/* Holographic Terminal */
.cyber-terminal {
  background: rgba(7, 10, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 0 auto 32px auto;
  max-width: 680px;
  text-align: left;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5), 0 8px 25px rgba(0, 0, 0, 0.4);
  font-family: var(--font-mono);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; box-shadow: 0 0 6px #FF5F56; }
.dot-yellow { background: #FFBD2E; box-shadow: 0 0 6px #FFBD2E; }
.dot-green { background: #27C93F; box-shadow: 0 0 6px #27C93F; }

.terminal-title {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.terminal-body {
  font-size: 13px;
  line-height: 1.7;
  color: #CBD5E1;
}

.terminal-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  word-break: break-all;
}

.terminal-prompt {
  color: var(--cyan);
  font-weight: 700;
  user-select: none;
}

.terminal-output {
  color: var(--text-secondary);
}

.terminal-highlight {
  color: #F8FAFC;
  font-weight: 600;
}

.terminal-warn {
  color: var(--amber);
  font-weight: 600;
}

.terminal-error {
  color: var(--rose);
  font-weight: 700;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--cyan);
  margin-left: 4px;
  vertical-align: middle;
  animation: blinkCursor 0.9s infinite;
}

.terminal-interactive-row {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-interactive-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  flex: 1;
}

.terminal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.terminal-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-mono);
}

.terminal-chip:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan);
  color: #FFFFFF;
}

/* Actions Deck */
.cyber-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}

.cyber-btn-glow {
  position: relative;
  background: linear-gradient(135deg, #00F0FF 0%, #8B5CF6 100%);
  color: #070A12 !important;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
}

.cyber-btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.55);
  color: #000000 !important;
  text-decoration: none;
}

.cyber-btn-rose {
  background: linear-gradient(135deg, #F43F5E 0%, #F59E0B 100%);
  box-shadow: 0 0 25px rgba(244, 63, 94, 0.35);
}

.cyber-btn-rose:hover {
  box-shadow: 0 0 35px rgba(244, 63, 94, 0.55);
}

.cyber-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.cyber-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
  color: #FFFFFF;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Quick Search Widget */
.cyber-quick-search {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.cyber-search-box {
  display: flex;
  align-items: center;
  background: rgba(7, 10, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 4px 6px 4px 14px;
  transition: border-color 0.2s ease;
}

.cyber-search-box:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.cyber-search-input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  color: #FFFFFF;
  flex: 1;
}

.cyber-search-input::placeholder {
  color: var(--text-muted);
}

/* Keyframes */
@keyframes floatDroid {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(-2deg);
  }
}

@keyframes reactorJitter {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  30% {
    transform: translateY(-6px) scale(1.015);
  }
  70% {
    transform: translateY(4px) scale(0.99);
  }
}

@keyframes radarPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 240, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
  }
}

@keyframes redAlarmPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.8);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(244, 63, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
  }
}

@keyframes blinkCursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes glitchAnim1 {
  0% { clip-path: rect(20px, 9999px, 44px, 0); transform: skew(0.3deg); }
  20% { clip-path: rect(50px, 9999px, 80px, 0); transform: skew(-0.5deg); }
  40% { clip-path: rect(10px, 9999px, 35px, 0); transform: skew(0.8deg); }
  60% { clip-path: rect(65px, 9999px, 95px, 0); transform: skew(-0.2deg); }
  80% { clip-path: rect(30px, 9999px, 60px, 0); transform: skew(0.4deg); }
  100% { clip-path: rect(15px, 9999px, 40px, 0); transform: skew(-0.3deg); }
}

@keyframes glitchAnim2 {
  0% { clip-path: rect(70px, 9999px, 110px, 0); transform: skew(-0.3deg); }
  25% { clip-path: rect(30px, 9999px, 65px, 0); transform: skew(0.5deg); }
  50% { clip-path: rect(80px, 9999px, 125px, 0); transform: skew(-0.6deg); }
  75% { clip-path: rect(10px, 9999px, 45px, 0); transform: skew(0.3deg); }
  100% { clip-path: rect(55px, 9999px, 90px, 0); transform: skew(-0.4deg); }
}

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

@keyframes laserPing {
  0%, 100% { opacity: 0.3; transform: scale(0.95); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

@keyframes thrusterFlame {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50% { transform: scaleY(1.3); opacity: 1; filter: drop-shadow(0 0 10px #00F0FF); }
}

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

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

@keyframes sparkFlash {
  0%, 92%, 100% { opacity: 0; }
  93%, 95% { opacity: 1; filter: drop-shadow(0 0 8px #FFBD2E); }
}

@media (max-width: 768px) {
  .cyber-error-card {
    padding: 32px 20px;
  }
  .glitch-num {
    font-size: 70px;
  }
  .cyber-error-title {
    font-size: 24px;
  }
  .cyber-error-actions {
    flex-direction: column;
    width: 100%;
  }
  .cyber-btn-glow,
  .cyber-btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   ENHANCED HACKATHON COMPARTMENTS & STAGES DESIGN SYSTEM
   ========================================================================== */

/* Enhanced Stage Cards */
.stage-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.stage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--text-muted);
  transition: all 0.3s ease;
}

.stage-card.live {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.06) 0%, rgba(14, 20, 36, 0.9) 100%);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.1);
}
.stage-card.live::before {
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
}

.stage-card.future,
.stage-card.locked {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.04) 0%, rgba(14, 20, 36, 0.92) 100%);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.stage-card.future::before,
.stage-card.locked::before {
  background: var(--amber);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.stage-card.closed {
  background: rgba(14, 20, 36, 0.6);
  border-color: rgba(255, 255, 255, 0.05);
  opacity: 0.85;
}
.stage-card.closed::before {
  background: var(--text-muted);
}

/* Stage Header & Baseline Alignment */
.stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stage-header-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stage-header-title-group .badge {
  line-height: 1;
  padding: 6px 12px;
  font-size: 11px;
}

.stage-header-title-group h4 {
  font-size: 19px;
  color: #FFF;
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

/* 4-Column Balanced Meta Strip */
.stage-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: rgba(7, 10, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 18px 0;
}
@media (max-width: 1100px) {
  .stage-meta-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .stage-meta-strip {
    grid-template-columns: 1fr;
  }
}

.stage-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.stage-meta-content {
  min-width: 0;
  flex: 1;
}

.stage-meta-label {
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stage-meta-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFF;
  line-height: 1.3;
  word-break: break-word;
}

.stage-meta-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

/* Unified High-End Deliverable Chips */
.stage-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.deliverable-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(14, 20, 36, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #E2E8F0;
  transition: all 0.2s ease;
}
.deliverable-chip:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.45);
  color: #FFF;
  transform: translateY(-1px);
}
.deliverable-chip .chip-check {
  color: var(--cyan);
  font-size: 12px;
}

/* Locked / Disabled Button */
.btn-locked {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.06) !important;
  border: 1px dashed rgba(245, 158, 11, 0.45) !important;
  color: var(--amber) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: not-allowed !important;
  opacity: 0.9;
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
}
.btn-locked:hover {
  background: rgba(245, 158, 11, 0.1) !important;
  border-color: rgba(245, 158, 11, 0.65) !important;
}

.locked-notice-banner {
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #FDE68A;
  line-height: 1.5;
}

/* Timeline Vertical Connector */
.roadmap-timeline-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 28px;
}
.roadmap-timeline-container::before {
  content: '';
  position: absolute;
  top: 36px;
  bottom: 50px;
  left: 3px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(245, 158, 11, 0.6) 70%, rgba(255, 255, 255, 0.1) 100%);
  border-radius: 2px;
}
.stage-card-wrapper {
  position: relative;
}
.stage-timeline-node {
  position: absolute;
  top: 32px;
  left: -33px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  z-index: 2;
}
.stage-card-wrapper.future .stage-timeline-node {
  border-color: var(--amber);
  box-shadow: 0 0 10px var(--amber);
}
.stage-card-wrapper.closed .stage-timeline-node {
  border-color: var(--text-muted);
  box-shadow: none;
}
@media (max-width: 768px) {
  .roadmap-timeline-container {
    padding-left: 0;
  }
  .roadmap-timeline-container::before,
  .stage-timeline-node {
    display: none;
  }
}

/* Grand Prize Showcase Podiums */
.prize-podium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}
@media (max-width: 900px) {
  .prize-podium-grid {
    grid-template-columns: 1fr;
  }
}

.prize-card {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.prize-card:hover {
  transform: translateY(-4px);
}

.prize-card.gold {
  border: 2px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(251, 191, 36, 0.15);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.08) 0%, rgba(14, 20, 36, 0.95) 100%);
}
.prize-card.silver {
  border: 2px solid rgba(203, 213, 225, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), 0 0 20px rgba(203, 213, 225, 0.1);
  background: linear-gradient(180deg, rgba(203, 213, 225, 0.06) 0%, rgba(14, 20, 36, 0.95) 100%);
}
.prize-card.bronze {
  border: 2px solid rgba(217, 119, 6, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), 0 0 20px rgba(217, 119, 6, 0.1);
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.06) 0%, rgba(14, 20, 36, 0.95) 100%);
}

.prize-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.prize-card.gold .prize-icon-circle {
  background: rgba(251, 191, 36, 0.15);
  border: 2px solid #FBBF24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}
.prize-card.silver .prize-icon-circle {
  background: rgba(203, 213, 225, 0.15);
  border: 2px solid #CBD5E1;
  box-shadow: 0 0 20px rgba(203, 213, 225, 0.2);
}
.prize-card.bronze .prize-icon-circle {
  background: rgba(217, 119, 6, 0.15);
  border: 2px solid #D97706;
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.2);
}

.prize-amount {
  font-size: 28px;
  font-weight: 800;
  margin: 10px 0 6px;
}
.prize-card.gold .prize-amount { color: #FBBF24; }
.prize-card.silver .prize-amount { color: #E2E8F0; }
.prize-card.bronze .prize-amount { color: #F59E0B; }

/* Enhanced Compartment Card */
.compartment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.compartment-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Feature Highlight Grid */
.feature-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.feature-highlight-item {
  background: rgba(7, 10, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s ease;
}
.feature-highlight-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

/* ─── COMPACT HERO COMPARTMENT ─────────────────────────────────────────── */
.compartment-hero-compact {
  background: linear-gradient(135deg, rgba(14, 20, 36, 0.96) 0%, rgba(7, 10, 18, 0.98) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  position: relative;
}

.compartment-hero-compact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
}

.hero-compact-body {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-banner-frame {
  width: 240px;
  min-width: 240px;
  height: 140px;
  background: #060911;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.hero-banner-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  transition: transform 0.3s ease;
}

.hero-banner-frame:hover img {
  transform: scale(1.03);
}

.hero-main-info {
  flex: 1;
  min-width: 0;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 6px 0;
  color: #FFF;
  letter-spacing: -0.02em;
}

.hero-tagline {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 650px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-action-panel {
  min-width: 240px;
  background: rgba(7, 10, 18, 0.65);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.hero-slim-meta-bar {
  background: rgba(7, 10, 18, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hero-slim-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-slim-meta-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.hero-slim-meta-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  display: block;
}

.hero-slim-meta-val {
  font-size: 14px;
  font-weight: 700;
  color: #FFF;
  display: block;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .hero-compact-body {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-banner-frame {
    width: 100%;
    height: 160px;
  }
  .hero-slim-meta-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-slim-meta-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ─── WINNERS & HALL OF FAME ───────────────────────────────────────────── */
.winners-celebration-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(251, 191, 36, 0.05) 50%, rgba(14, 20, 36, 0.95) 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.1);
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 32px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .podium-grid {
    grid-template-columns: 1fr;
  }
}

.podium-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.podium-card.rank-1 {
  border: 2px solid #FBBF24;
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.12) 0%, rgba(14, 20, 36, 0.95) 100%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(251, 191, 36, 0.25);
  transform: translateY(-8px);
}

.podium-card.rank-2 {
  border: 2px solid #CBD5E1;
  background: linear-gradient(180deg, rgba(203, 213, 225, 0.1) 0%, rgba(14, 20, 36, 0.95) 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(203, 213, 225, 0.15);
}

.podium-card.rank-3 {
  border: 2px solid #D97706;
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.1) 0%, rgba(14, 20, 36, 0.95) 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(217, 119, 6, 0.15);
}

.podium-medal {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.podium-card.rank-1 .podium-medal {
  background: linear-gradient(135deg, #FDE68A, #D97706);
  border: 2px solid #FFF;
}

.podium-card.rank-2 .podium-medal {
  background: linear-gradient(135deg, #F1F5F9, #64748B);
  border: 2px solid #FFF;
}

.podium-card.rank-3 .podium-medal {
  background: linear-gradient(135deg, #FED7AA, #9A3412);
  border: 2px solid #FFF;
}

.podium-team-title {
  font-size: 19px;
  font-weight: 800;
  color: #FFF;
  margin: 0 0 4px;
}

.podium-project-title {
  font-size: 14px;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 8px;
}

.podium-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  margin: 8px auto 14px;
}

.podium-card.rank-1 .podium-score-pill {
  background: rgba(251, 191, 36, 0.2);
  color: #FBBF24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.podium-card.rank-2 .podium-score-pill {
  background: rgba(203, 213, 225, 0.2);
  color: #E2E8F0;
  border: 1px solid rgba(203, 213, 225, 0.4);
}

.podium-card.rank-3 .podium-score-pill {
  background: rgba(217, 119, 6, 0.2);
  color: #F59E0B;
  border: 1px solid rgba(217, 119, 6, 0.4);
}

.winners-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.winners-table th {
  background: rgba(7, 10, 18, 0.9);
  padding: 14px 18px;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.winners-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  vertical-align: middle;
}

.winners-table tr:last-child td {
  border-bottom: none;
}

.winners-table tr:hover td {
  background: rgba(0, 240, 255, 0.03);
}


