/* ==========================================================================
   GCP-98 ANNUAL BATCH REUNION - CORE DESIGN SYSTEM & STYLES
   Mobile-First, Ultra-Premium Glassmorphism & Alumni Nostalgia Aesthetic
   ========================================================================== */

:root {
  /* Color Palette - Midnight Royal Navy & Warm Lustrous Gold */
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-strong: rgba(255, 255, 255, 0.08);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(245, 158, 11, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-dark: #d97706;
  --accent-gold-glow: rgba(245, 158, 11, 0.25);

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);
  --accent-rose: #f43f5e;
  --accent-sky: #0ea5e9;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Glassmorphic Elevation */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.2);

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

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(245, 158, 11, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  padding-bottom: 90px; /* Space for mobile bottom bar */
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   TOP BAR & PERSONA SWITCHER
   ========================================================================== */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 2px solid var(--accent-gold);
  object-fit: cover;
  box-shadow: var(--shadow-gold);
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 40%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Year Event Selector */
.year-selector-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-glass);
  border: 1px solid var(--border-medium);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.year-selector-wrap select {
  background: transparent;
  border: none;
  color: var(--accent-gold-light);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
}

.year-selector-wrap select option {
  background: var(--bg-secondary);
  color: var(--text-main);
}

/* User & Persona Bar */
.user-menu-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.persona-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-medium);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.persona-badge:hover {
  background: rgba(51, 65, 85, 0.8);
  border-color: var(--accent-gold);
}

.persona-avatar {
  font-size: 1.1rem;
}

.persona-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.persona-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.persona-role {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Quick Persona Selector Drawer/Bar */
.demo-role-banner {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.demo-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0;
  -webkit-overflow-scrolling: touch;
}

.demo-pill-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.demo-pill-btn:hover, .demo-pill-btn.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   LEFT SIDEBAR MENU & DESKTOP DASHBOARD LAYOUT
   ========================================================================== */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1040;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.sidebar-backdrop.active {
  display: block;
  opacity: 1;
}

.left-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: rgba(9, 13, 22, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-right: 1px solid var(--border-subtle);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 14px 18px;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}

.left-sidebar.open {
  transform: translateX(0);
}

/* Custom Sleek Scrollbar for Sidebar */
.left-sidebar::-webkit-scrollbar {
  width: 4px;
}
.left-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.left-sidebar::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-full);
}

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

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 2px solid var(--accent-gold);
  object-fit: cover;
  box-shadow: var(--shadow-gold);
}

.sidebar-brand-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 40%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar-brand-subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.sidebar-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.sidebar-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Edition Card in Sidebar */
.sidebar-edition-card {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  margin-bottom: 14px;
}

.edition-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 2px;
}

.edition-selector-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.edition-icon {
  font-size: 0.85rem;
}

.sidebar-year-dropdown {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

.sidebar-year-dropdown option {
  background: var(--bg-secondary);
  color: var(--text-main);
}

/* Nav Section Headers */
.sidebar-section-header {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--text-dim);
  margin: 12px 6px 4px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  width: 100%;
}

.sidebar-nav-item:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(3px);
}

.sidebar-nav-item.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.18) 0%, rgba(99, 102, 241, 0.12) 100%);
  border: 1px solid var(--border-gold);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.15);
}

.sidebar-nav-item .nav-icon {
  font-size: 1.1rem;
  margin-right: 8px;
  flex-shrink: 0;
}

.sidebar-nav-item .nav-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-nav-item .nav-badge {
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.sidebar-nav-item .nav-badge.emerald {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.sidebar-nav-item .nav-badge.gold {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold-light);
}

/* Sidebar Countdown Mini-Widget */
.sidebar-mini-widget {
  background: rgba(15, 23, 42, 0.75);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  margin: 10px 0 8px;
}

.widget-title {
  font-size: 0.62rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.widget-value {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  font-family: var(--font-heading);
  margin: 1px 0;
}

.widget-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Sidebar User Footer */
.sidebar-user-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sidebar-user-footer:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: var(--accent-gold);
}

.sidebar-user-avatar {
  font-size: 1.25rem;
}

.sidebar-user-info {
  flex: 1;
  overflow: hidden;
}

.sidebar-user-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
}

.sidebar-switch-icon {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Hamburger Toggle Button */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 36px;
  height: 36px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 8px 7px;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background: var(--text-main);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.hamburger-btn:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: var(--accent-gold);
}

/* Breadcrumbs in Top Bar */
.top-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.crumb-root {
  color: var(--text-dim);
}

.crumb-separator {
  color: var(--text-dim);
  font-size: 0.7rem;
}

.crumb-current {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

@media (min-width: 600px) {
  .crumb-current {
    max-width: 400px;
  }
}

/* ==========================================================================
   DESKTOP DASHBOARD LAYOUT (Screens >= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .left-sidebar {
    transform: translateX(0);
    box-shadow: none;
  }

  .sidebar-close-btn {
    display: none;
  }

  .hamburger-btn {
    display: none;
  }

  .top-header {
    margin-left: 280px;
    width: calc(100% - 280px);
  }

  #main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
    max-width: calc(100% - 280px);
    padding: 0 32px;
  }

  .mobile-bottom-nav {
    display: none;
  }

  body {
    padding-bottom: 40px;
  }
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR (Screens < 1024px)
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(9, 13, 22, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 999;
  padding: 4px 8px env(safe-area-inset-bottom);
}

.mobile-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  flex: 1;
  padding: 6px 2px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  gap: 3px;
}

.mobile-tab-btn .tab-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.mobile-tab-btn .tab-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mobile-tab-btn.active {
  color: var(--accent-gold);
}

.mobile-tab-btn.active .tab-icon {
  transform: translateY(-2px) scale(1.1);
  transition: transform var(--transition-bounce);
}

@media (min-width: 900px) {
  body {
    padding-bottom: 30px;
  }
  .mobile-bottom-nav {
    display: none;
  }
}

/* ==========================================================================
   HERO BANNER & ACTIVE REUNION SHOWCASE
   ========================================================================== */
.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin: 18px 0 24px;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  background: var(--bg-secondary);
}

.hero-banner-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .hero-banner-img {
    height: 340px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 22, 0.2) 0%, rgba(9, 13, 22, 0.85) 60%, rgba(9, 13, 22, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold-light);
  border: 1px solid var(--border-gold);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-sky {
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.35);
}

.badge-rose {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.badge-purple {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

.hero-theme {
  font-size: 0.92rem;
  color: var(--accent-gold-light);
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.hero-meta-item {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  backdrop-filter: blur(8px);
}

.meta-label {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.meta-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: #000;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.8);
  border-color: var(--border-medium);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: var(--text-muted);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.btn-whatsapp {
  background: #25D366;
  color: #000;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #2ee271;
}

.btn-danger {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.4);
  color: #fda4af;
}

.btn-danger:hover {
  background: #f43f5e;
  color: #fff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   GLASS CARDS & SECTIONS
   ========================================================================== */
.section {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.section.active {
  display: block;
}

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

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 680px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   METRIC STATS CARDS
   ========================================================================== */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gold);
}

.stat-card.stat-emerald::after { background: var(--accent-emerald); }
.stat-card.stat-sky::after { background: var(--accent-sky); }
.stat-card.stat-purple::after { background: var(--accent-purple); }

.stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.stat-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.stat-icon {
  font-size: 1.25rem;
}

.stat-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.stat-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ==========================================================================
   POLLS SYSTEM
   ========================================================================== */
.poll-option-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  transition: all var(--transition-fast);
}

.poll-option-card:hover {
  border-color: var(--border-gold);
  background: rgba(30, 41, 59, 0.85);
}

.poll-option-card.voted {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
}

.poll-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.poll-option-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.poll-option-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.poll-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 10px 0;
}

.poll-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  border-radius: var(--radius-full);
  transition: width 0.5s ease-out;
}

.poll-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   VOLUNTEER TEAMS (6 TEAMS WITH 2 COORDINATORS EACH)
   ========================================================================== */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.team-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.team-name {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-main);
}

.team-purpose {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

.coordinators-section {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin: 14px 0;
}

.coordinators-heading {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.coordinator-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.coordinator-item:last-child {
  border-bottom: none;
}

.coord-details {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coord-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.coord-title {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.coord-actions {
  display: flex;
  gap: 6px;
}

.icon-action-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-action-btn:hover {
  background: var(--accent-gold);
  color: #000;
}

.icon-action-btn.wa:hover {
  background: #25d366;
  color: #000;
}

/* ==========================================================================
   FINANCIAL & CONTRIBUTION VERIFICATION SYSTEM
   ========================================================================== */
.treasury-meter-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-gold);
  margin-bottom: 24px;
}

.treasury-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.treasury-stat-box {
  display: flex;
  flex-direction: column;
}

.treasury-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.treasury-amount {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-main);
}

.amount-gold { color: var(--accent-gold-light); }
.amount-emerald { color: #34d399; }
.amount-rose { color: #fb7185; }

.budget-progress-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.budget-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, var(--accent-gold) 100%);
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bank Account & QR Section */
.bank-info-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.upi-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-gold-light);
  cursor: pointer;
}

/* Verification Strict Notice */
.accounts-volunteer-alert {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: #c7d2fe;
  margin-bottom: 20px;
}

/* Data Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

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

.data-table th {
  background: rgba(30, 41, 59, 0.9);
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-medium);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  vertical-align: middle;
}

.data-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   MODALS & POPUPS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.15s ease-out;
}

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

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  position: relative;
}

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

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #fff;
}

/* Form Controls */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

@media (min-width: 900px) {
  .toast-container {
    bottom: 24px;
  }
}

.toast {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.25s ease-out;
  min-width: 280px;
  max-width: 400px;
}

.toast.toast-success { border-left-color: var(--accent-emerald); }
.toast.toast-error { border-left-color: var(--accent-rose); }

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

/* Utilities */
.text-gold { color: var(--accent-gold-light); }
.text-emerald { color: #34d399; }
.text-muted { color: var(--text-muted); }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.mt-12 { margin-top: 12px; }
.mb-12 { margin-bottom: 12px; }

/* ==========================================================================
   PHOTO GALLERY & REUNION MOMENTS SHOWCASE
   ========================================================================== */
.hero-photo-pills {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 5;
  flex-wrap: wrap;
}

.hero-photo-btn {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f1f5f9;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-photo-btn:hover, .hero-photo-btn.active {
  background: var(--accent-gold);
  color: #0f172a;
  border-color: var(--accent-gold);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
}

.photo-card {
  background: rgba(26, 34, 52, 0.7);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.photo-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.photo-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0b0f19;
}

.photo-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.photo-card:hover .photo-card-img {
  transform: scale(1.04);
}

.photo-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.photo-card-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.85;
}

.photo-card-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.photo-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.photo-card-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

