/* ==========================================================================
   ZENTRIX 2K26 — Official Design System
   The Kavery Engineering College (Autonomous, NAAC A+)
   Color Theme: Dark Space (#07070A), Cyber Gold (#F5C542 / #D4AF37), Metallic Silver
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@500;700;800;900&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  /* Backgrounds */
  --bg-primary: #07070a;
  --bg-secondary: #0d0d14;
  --bg-surface: #13131e;
  --bg-surface-elevated: #1a1a29;
  --bg-card: rgba(18, 18, 28, 0.75);
  --bg-card-hover: rgba(26, 26, 40, 0.9);
  --bg-glass: rgba(13, 13, 20, 0.82);

  /* Gold Accents */
  --gold-primary: #F5C542;
  --gold-dark: #D4AF37;
  --gold-light: #FDE89D;
  --gold-glow: rgba(245, 197, 66, 0.28);
  --gold-glow-strong: rgba(245, 197, 66, 0.45);
  --gold-border: rgba(212, 175, 55, 0.35);
  --gold-border-bright: rgba(245, 197, 66, 0.75);

  /* Metallic Silver Accents */
  --silver-bright: #FFFFFF;
  --silver-light: #F1F5F9;
  --silver-mid: #CBD5E1;
  --silver-muted: #94A3B8;
  --silver-dark: #475569;
  --silver-border: rgba(203, 213, 225, 0.2);

  /* Functional Colors */
  --color-success: #10B981;
  --color-success-bg: rgba(16, 185, 129, 0.12);
  --color-error: #F43F5E;
  --color-error-bg: rgba(244, 63, 94, 0.12);
  --color-warning: #F59E0B;
  --color-warning-bg: rgba(245, 158, 11, 0.12);
  --color-info: #0EA5E9;

  /* Typography */
  --font-display: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 0 24px var(--gold-glow);
  --shadow-gold-lg: 0 0 40px var(--gold-glow-strong);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1200px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--silver-light);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  /* Cyber Circuit Grid Background */
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 100% 40%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
    linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-attachment: fixed;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #232336;
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Links & Media */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--silver-bright);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.font-display {
  font-family: var(--font-display);
}

.text-gold {
  color: var(--gold-primary);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5C542 45%, #D4AF37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-silver-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 70%, #94A3B8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(245, 197, 66, 0.1);
  border: 1px solid var(--gold-border);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--silver-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ==========================================================================
   Badges & Tags
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-naac {
  background: linear-gradient(135deg, rgba(245, 197, 66, 0.2), rgba(212, 175, 55, 0.1));
  border: 1px solid var(--gold-border-bright);
  color: var(--gold-light);
  box-shadow: 0 0 12px rgba(245, 197, 66, 0.2);
}

.badge-tech {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #38BDF8;
}

.badge-nontech {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #C084FC;
}

.badge-success {
  background: var(--color-success-bg);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--color-success);
}

.badge-warning {
  background: var(--color-warning-bg);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--color-warning);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #F5C542 0%, #D4AF37 100%);
  color: #07070A;
  box-shadow: var(--shadow-gold);
  border: 1px solid #FFE58F;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-lg);
  filter: brightness(1.08);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.5);
  box-shadow: none;
}

.btn-admin {
  background: rgba(30, 30, 46, 0.8);
  color: var(--silver-light);
  border: 1px solid var(--silver-border);
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
}

.btn-admin:hover {
  background: rgba(45, 45, 68, 0.95);
  border-color: var(--silver-muted);
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--gold-border-bright);
}

.btn-outline:hover {
  background: var(--gold-glow);
  color: #FFFFFF;
  border-color: var(--gold-primary);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--silver-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: #252538;
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFF;
}

.btn-danger {
  background: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid rgba(244, 63, 94, 0.4);
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-danger:hover {
  background: var(--color-error);
  color: #FFF;
}

/* ==========================================================================
   Cards & Glass Surfaces
   ========================================================================== */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.card:hover {
  border-color: var(--gold-border-bright);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px var(--gold-glow);
  transform: translateY(-4px);
}

.card-glass {
  background: rgba(18, 18, 28, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-crest {
  height: 48px;
  width: auto;
  border-radius: 4px;
}

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

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--silver-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--silver-mid);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--transition-normal);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 90px;
  text-align: center;
  overflow: hidden;
}

.hero-college-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(19, 19, 30, 0.85);
  border: 1px solid var(--gold-border);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.college-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--silver-bright);
}

.dept-pill {
  color: var(--gold-primary);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 12px;
  line-height: 1.1;
  text-shadow: 0 0 40px rgba(245, 197, 66, 0.35);
}

.hero-theme {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--silver-mid);
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  margin-bottom: 32px;
}

.hero-meta-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: rgba(14, 14, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 16px 28px;
  max-width: 820px;
  margin: 0 auto 36px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--silver-light);
}

.meta-icon {
  color: var(--gold-primary);
  font-size: 1.2rem;
}

.meta-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Countdown Component
   ========================================================================== */
.countdown-box {
  max-width: 680px;
  margin: 0 auto 20px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(15, 15, 24, 0.75);
  border: 1px solid var(--gold-border);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(245, 197, 66, 0.05);
}

.countdown-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 16px;
  font-weight: 600;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.countdown-unit {
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.countdown-val {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.countdown-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--silver-muted);
}

/* ==========================================================================
   Registration Deadline Elements
   ========================================================================== */
.countdown-deadline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(245, 197, 66, 0.08);
  border: 1px solid var(--gold-border-bright);
  box-shadow: 0 0 25px rgba(245, 197, 66, 0.15), inset 0 0 15px rgba(245, 197, 66, 0.05);
  border-radius: 999px;
  padding: 10px 24px;
  margin: 0 auto 30px;
  font-size: 0.95rem;
  color: var(--silver-light);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: deadlineGlow 3s ease-in-out infinite alternate;
  width: fit-content;
  max-width: 95%;
}

.deadline-pill-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.deadline-pill-divider {
  width: 1px;
  height: 22px;
  background: rgba(245, 197, 66, 0.35);
}

.deadline-onspot-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.onspot-pill-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.onspot-pill-label {
  color: #FDE68A;
  font-weight: 600;
  font-size: 0.92rem;
}

.onspot-pill-badge {
  background: linear-gradient(135deg, #F59E0B 0%, #DC2626 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
  white-space: nowrap;
}

@keyframes deadlineGlow {
  0% {
    box-shadow: 0 0 15px rgba(245, 197, 66, 0.12);
    border-color: rgba(212, 175, 55, 0.4);
  }
  100% {
    box-shadow: 0 0 30px rgba(245, 197, 66, 0.35);
    border-color: rgba(245, 197, 66, 0.85);
  }
}

.countdown-deadline-pill .deadline-pill-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.countdown-deadline-pill .deadline-pill-label {
  color: var(--silver-mid);
  font-weight: 500;
}

.countdown-deadline-pill .deadline-pill-date {
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.countdown-deadline-pill .deadline-pill-time {
  color: var(--silver-muted);
  font-size: 0.82rem;
}

.countdown-deadline-pill .deadline-pill-badge {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* Pulsing Beacon */
.pulse-beacon {
  position: relative;
  width: 10px;
  height: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.beacon-dot {
  width: 8px;
  height: 8px;
  background-color: #EF4444;
  border-radius: 50%;
}

.beacon-ring {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #EF4444;
  animation: beaconPulse 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  opacity: 0.8;
}

@keyframes beaconPulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Registration Page Top Alert Banner */
.reg-deadline-alert {
  max-width: 820px;
  margin: 0 auto 32px;
  background: linear-gradient(135deg, rgba(245, 197, 66, 0.12) 0%, rgba(22, 19, 13, 0.9) 50%, rgba(15, 15, 24, 0.96) 100%);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), 0 0 25px rgba(245, 197, 66, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.reg-deadline-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.reg-deadline-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  flex-shrink: 0;
}

.reg-deadline-tag {
  color: #F87171;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.reg-deadline-message {
  font-size: 0.98rem;
  color: var(--silver-light);
  line-height: 1.45;
}

.text-gold-bright {
  color: var(--gold-primary);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(245, 197, 66, 0.4);
}

.reg-deadline-note {
  color: var(--silver-muted);
  font-size: 0.84rem;
  margin-left: 4px;
}

.reg-deadline-row {
  margin-bottom: 8px;
}

.reg-onspot-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px dashed rgba(245, 197, 66, 0.2);
  font-size: 0.92rem;
  color: var(--silver-light);
}

.onspot-chip {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FBBF24;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.onspot-detail {
  line-height: 1.4;
}

.onspot-alert-text {
  color: #F87171;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  color: var(--silver-mid);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
}

.highlight-icon {
  font-size: 1.4rem;
  color: var(--gold-primary);
}

.highlight-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--silver-bright);
}

.highlight-text span {
  font-size: 0.8rem;
  color: var(--silver-muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.stat-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px var(--gold-glow);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--silver-mid);
  font-weight: 600;
}

/* ==========================================================================
   Events Section
   ========================================================================== */
.events-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

.event-col-title {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-card {
  padding: 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: all var(--transition-normal);
}

.event-card:hover {
  transform: translateX(4px);
  border-color: var(--gold-primary);
  background: var(--bg-card-hover);
}

.event-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(245, 197, 66, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.event-details {
  flex: 1;
}

.event-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--silver-bright);
}

.event-desc {
  font-size: 0.9rem;
  color: var(--silver-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Perks Section
   ========================================================================== */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.perk-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
}

.perk-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.25) 0%, rgba(19, 19, 30, 0.8) 100%);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold-primary);
  box-shadow: 0 0 20px var(--gold-glow);
}

.perk-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.perk-desc {
  color: var(--silver-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #040407;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 60px 0 30px;
  position: relative;
}

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

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-primary);
  margin-bottom: 10px;
}

.footer-address {
  font-size: 0.9rem;
  color: var(--silver-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-qr-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.footer-qr-img {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 4px;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.15rem;
  color: var(--silver-bright);
  margin-bottom: 16px;
  border-left: 3px solid var(--gold-primary);
  padding-left: 8px;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-list a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--silver-dark);
  font-size: 0.85rem;
}

/* ==========================================================================
   Forms & Controls
   ========================================================================== */
.form-container {
  max-width: 820px;
  margin: 30px auto 60px;
}

.form-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.form-section:last-child {
  border-bottom: none;
}

.form-section-title {
  font-size: 1.3rem;
  color: var(--gold-primary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--silver-mid);
}

.form-label .req {
  color: var(--color-error);
}

.form-control {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--silver-bright);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
  background: var(--bg-surface-elevated);
}

.form-control::placeholder {
  color: var(--silver-dark);
}

select.form-control {
  cursor: pointer;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--silver-muted);
}

.field-error {
  font-size: 0.8rem;
  color: var(--color-error);
  display: none;
}

.has-error .field-error {
  display: block;
}

.has-error .form-control {
  border-color: var(--color-error);
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.25);
}

/* Radio Cards (Event Selection) */
.radio-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card-content {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
}

.radio-card input:checked + .radio-card-content {
  background: rgba(245, 197, 66, 0.1);
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px var(--gold-glow);
}

.radio-card-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--silver-muted);
  flex-shrink: 0;
  position: relative;
}

.radio-card input:checked + .radio-card-content .radio-card-circle {
  border-color: var(--gold-primary);
}

.radio-card input:checked + .radio-card-content .radio-card-circle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
}

/* Radio Cards (Non-Technical Single Choice) */
.radio-card-nontech {
  position: relative;
  cursor: pointer;
}

.radio-card-nontech input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card-nontech .radio-card-content {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
}

.radio-card-nontech input:checked + .radio-card-content {
  background: rgba(168, 85, 247, 0.12);
  border-color: #C084FC;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.25);
}

.radio-card-nontech .radio-card-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--silver-muted);
  flex-shrink: 0;
  position: relative;
}

.radio-card-nontech input:checked + .radio-card-content .radio-card-circle {
  border-color: #C084FC;
}

.radio-card-nontech input:checked + .radio-card-content .radio-card-circle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C084FC;
}

/* Checkbox Cards (Non-Technical Events) */
.checkbox-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.checkbox-card {
  position: relative;
  cursor: pointer;
}

.checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-card-content {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkbox-card input:checked + .checkbox-card-content {
  background: rgba(168, 85, 247, 0.12);
  border-color: #C084FC;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.25);
}

.checkbox-card-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--silver-muted);
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-card input:checked + .checkbox-card-content .checkbox-card-box {
  border-color: #C084FC;
  background: #A855F7;
}

.checkbox-card input:checked + .checkbox-card-content .checkbox-card-box::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
}

/* File Upload Dropzone */
.upload-dropzone {
  border: 2px dashed var(--gold-border);
  border-radius: var(--radius-md);
  background: rgba(19, 19, 30, 0.6);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
  border-color: var(--gold-primary);
  background: rgba(245, 197, 66, 0.05);
  box-shadow: 0 0 16px var(--gold-glow);
}

.upload-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-preview-wrap {
  display: none;
  align-items: center;
  gap: 16px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-top: 12px;
}

.upload-preview-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}


/* Dynamic Team Rows */
.team-member-row {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr auto;
  gap: 12px;
  align-items: center;
  animation: fadeIn 0.25s ease-out;
}

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

/* Live Payment Calculation Summary */
.payment-summary-card {
  background: linear-gradient(135deg, rgba(245, 197, 66, 0.12) 0%, rgba(19, 19, 30, 0.95) 100%);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.amount-label {
  font-size: 0.95rem;
  color: var(--silver-light);
}

.amount-breakdown {
  font-size: 0.82rem;
  color: var(--silver-muted);
}

.amount-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-primary);
}

/* Payment QR Display */
.payment-qr-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}

.payment-qr-img {
  width: 170px;
  height: 170px;
  border-radius: var(--radius-md);
  background: #FFF;
  padding: 6px;
  object-fit: contain;
  border: 2px solid var(--gold-primary);
}

.upi-copy-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--gold-border);
  width: fit-content;
  max-width: 100%;
}

/* Alert / Banner */
.alert-banner {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-error {
  background: var(--color-error-bg);
  border: 1px solid var(--color-error);
  color: #FDA4AF;
}

.alert-success {
  background: var(--color-success-bg);
  border: 1px solid var(--color-success);
  color: #6EE7B7;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-border);
  color: var(--silver-bright);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   Table Styling (Admin & Lists)
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#filter-bar-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.1fr 0.9fr 0.9fr auto;
  gap: 14px;
  align-items: center;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.data-table th {
  background: #11111B;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--gold-border);
  white-space: nowrap;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--silver-mid);
  white-space: nowrap;
}

.data-table tbody tr {
  transition: background var(--transition-fast);
  cursor: pointer;
}

.data-table tbody tr:hover {
  background: rgba(245, 197, 66, 0.06);
}

/* Detail Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--silver-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--gold-primary);
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */
.mobile-only {
  display: none !important;
}

@keyframes slideDownNav {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .events-category-grid {
    grid-template-columns: 1fr;
  }
  .perks-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  #filter-bar-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  #filter-bar-grid > div:first-child {
    grid-column: span 2;
  }
  #filter-bar-grid > button {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  /* Utility display classes */
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }

  /* Mobile Spacing & Clean Container */
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .card {
    padding: 20px 14px;
    border-radius: var(--radius-md);
  }
  .section-padding {
    padding: 44px 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-desc {
    font-size: 0.95rem;
    padding: 0 6px;
  }

  /* Compact Clean Mobile Navbar */
  .navbar-inner {
    gap: 8px;
    padding: 0 4px;
  }
  .brand-wrap {
    gap: 8px;
    min-width: 0;
    flex: 1;
  }
  .brand-crest {
    height: 34px;
  }
  .brand-title {
    font-size: 1.05rem;
    letter-spacing: 0.8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-sub {
    display: none;
  }
  .nav-actions {
    gap: 6px;
    order: 2;
    margin-left: auto;
  }
  .nav-actions .btn-admin {
    display: none; /* Safely placed inside mobile drawer */
  }
  .nav-actions .btn-primary {
    padding: 7px 12px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .nav-actions .btn-secondary {
    padding: 6px 12px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 3;
    padding: 6px 10px;
    font-size: 1.2rem;
    border-radius: var(--radius-sm);
    min-width: 38px;
    min-height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gold-border);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(10, 10, 16, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gold-border);
    flex-direction: column;
    padding: 20px 18px;
    gap: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
    animation: slideDownNav 0.22s ease-out;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-link {
    font-size: 1.05rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    display: block;
  }

  /* Prevent iOS Safari input auto-zoom (font-size >= 16px) & enhance touch tap targets */
  .form-control, select.form-control, textarea.form-control {
    font-size: 16px !important;
    padding: 11px 12px;
  }
  .form-grid-2, .form-grid-3, .radio-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .radio-card, .radio-card-nontech {
    grid-column: span 1 !important;
    padding: 14px;
  }
  .radio-card-content {
    gap: 10px;
  }

  /* Dynamic Team Member Rows */
  .team-member-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 12px;
  }
  .team-member-row button.remove-member-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    margin-top: 4px;
  }

  /* Payment QR Code Box */
  .payment-qr-wrap {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 16px;
    padding: 18px 14px;
  }
  .payment-qr-img {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }
  .upi-copy-box {
    margin: 0 auto;
  }

  /* Payment Live Summary Card */
  .payment-summary-card {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 18px 14px;
  }
  .payment-summary-card > div:last-child {
    text-align: center !important;
  }

  /* Hero Section on Mobile */
  .hero-section {
    padding: 34px 0 46px;
  }
  .hero-college-strip {
    border-radius: var(--radius-md);
    padding: 8px 12px;
    gap: 6px;
    font-size: 0.8rem;
  }
  .hero-title {
    font-size: 2.6rem;
    letter-spacing: 2px;
  }
  .hero-theme {
    font-size: 1.1rem;
    letter-spacing: 0.8px;
  }
  .hero-meta-bar {
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    max-width: 100%;
  }
  .meta-divider {
    display: none;
  }
  .meta-item {
    font-size: 0.9rem;
    justify-content: center;
    text-align: center;
  }

  /* Countdown Component */
  .countdown-box {
    padding: 16px 12px;
    margin-bottom: 16px;
  }
  .countdown-grid {
    gap: 8px;
  }
  .countdown-unit {
    padding: 10px 4px;
  }
  .countdown-val {
    font-size: 1.65rem;
  }
  .countdown-text {
    font-size: 0.68rem;
    letter-spacing: 0.8px;
  }

  .countdown-deadline-pill {
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 0.88rem;
    gap: 10px;
    text-align: center;
    border-radius: var(--radius-md);
    flex-direction: column;
  }
  .deadline-pill-group,
  .deadline-onspot-group {
    justify-content: center;
  }
  .deadline-pill-divider {
    width: 100%;
    height: 1px;
    background: rgba(245, 197, 66, 0.2);
  }
  .countdown-deadline-pill .deadline-pill-date {
    font-size: 1.05rem;
  }
  .reg-deadline-alert {
    padding: 14px 16px;
    margin-bottom: 24px;
  }
  .reg-deadline-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .reg-onspot-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* About & Highlights */
  .about-highlights {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-card {
    padding: 16px 10px;
  }
  .stat-number {
    font-size: 1.8rem;
  }

  /* Events & Perks */
  .event-card {
    padding: 15px 12px;
    gap: 12px;
  }
  .event-icon-box {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }
  .event-name {
    font-size: 1.1rem;
  }
  .perk-card {
    padding: 24px 16px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  /* Admin Dashboard Mobile */
  .admin-header-actions {
    gap: 6px;
  }
  .admin-header-actions .btn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
  .modal-backdrop {
    padding: 12px;
  }
  .modal-content {
    padding: 20px 14px;
    max-height: 88vh;
    border-radius: var(--radius-lg);
  }
  .modal-lead-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

@media (max-width: 560px) {
  #filter-bar-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  #filter-bar-grid > div:first-child,
  #filter-bar-grid > button {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.85rem;
  }
  .hero-title {
    font-size: 2.3rem;
    letter-spacing: 1.2px;
  }
  .hero-theme {
    font-size: 1rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hero-actions-wrap {
    flex-direction: column !important;
    width: 100%;
  }
  .hero-actions-wrap .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 375px) {
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .countdown-val {
    font-size: 1.5rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .brand-title {
    font-size: 0.98rem;
  }
}


