/* ==========================================================================
   NBA Election 2026 - Master Responsive Stylesheet
   Design: Clean Crisp Slate & Pure White Neutral Theme (Zero Pink)
   Brand Colors: #dc2626 (NBA Crimson Red), #0f172a (Deep Slate Charcoal)
   Typography: 'Poppins', 'Ubuntu', sans-serif
   Standard Radius: rounded-md (6px / 0.375rem)
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Ubuntu:wght@400;500;700&display=swap');

/* --- Root Color Variables --- */
:root {
  /* Brand Accent Colors */
  --nba-red: #dc2626;
  --nba-red-hover: #b91c1c;
  --nba-red-light: #ef4444;
  --nba-red-glow: rgba(220, 38, 38, 0.15);

  --nba-magenta: #dc2626;
  --nba-magenta-hover: #b91c1c;
  --nba-magenta-light: #ef4444;
  --nba-magenta-glow: rgba(220, 38, 38, 0.15);

  --nba-gold: #c2410c;
  --nba-gold-light: #ea580c;
  --nba-gold-glow: rgba(234, 88, 12, 0.15);

  --nba-blue: #2563eb;
  --nba-blue-hover: #1d4ed8;

  --primary: var(--nba-red);
  --primary-hover: var(--nba-red-hover);

  /* Clean Neutral Slate & Crisp White Tokens (Strictly ZERO Pink) */
  --bg-dark: #f8fafc;       /* Crisp Slate-50 background */
  --bg-subtle: #f1f5f9;     /* Slate-100 section container */
  --bg-card: #ffffff;       /* Pure White card background */
  --bg-glass: rgba(15, 23, 42, 0.03);

  --text-main: #334155;     /* Slate-700 body text */
  --text-heading: #0f172a;  /* Slate-900 heading text */
  --text-muted: #64748b;    /* Slate-500 muted text */
  --text-subtle: #94a3b8;   /* Slate-400 subtle text */

  --border-light: #e2e8f0;  /* Slate-200 clean border */
  --border-active: #dc2626; /* Red active border */

  --font-heading: 'Poppins', 'Ubuntu', sans-serif;
  --font-body: 'Poppins', 'Ubuntu', sans-serif;

  /* Standard rounded-md */
  --radius-sm: 0.25rem;  /* 4px */
  --radius-md: 0.375rem; /* 6px - rounded-md */
  --radius-lg: 0.375rem; /* 6px - rounded-md */
  --radius-full: 0.375rem; /* rounded-md */

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 24px rgba(15, 23, 42, 0.12);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* --- Global Resets & Anti-Overflow --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* Ambient Glow Blobs (Cool Neutral & Faint Red Accent) */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: floatBlob 22s infinite alternate ease-in-out;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
}

.blob-2 {
  top: 40%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, rgba(248, 250, 252, 0) 70%);
  animation-delay: -7s;
}

.blob-3 {
  bottom: -10%;
  left: 20%;
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.06) 0%, rgba(248, 250, 252, 0) 70%);
  animation-delay: -12s;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
  100% { transform: translate(-20px, 20px) scale(0.96); }
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-heading);
  word-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul {
  list-style: none;
}

/* --- Utility Badges & Gradients --- */
.gradient-text {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md); /* rounded-md */
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
  max-width: 100%;
  white-space: normal;
}

.badge-gold {
  background: #fff7ed;
  color: #c2410c;
  border-color: rgba(234, 88, 12, 0.25);
}

.badge-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.25);
}

/* --- Buttons (rounded-md) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md); /* rounded-md */
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border: 1px solid #334155;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-gold:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.btn-outline {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: #dc2626;
  color: #dc2626;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 0.85rem 1.65rem;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Header & Announcement Bar
   ========================================================================== */

.top-bar {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  padding: 0.45rem 0;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow: hidden;
  flex: 1;
  min-width: 220px;
}

.ticker-tag {
  background: #dc2626;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-md);
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-text {
  color: #f1f5f9;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #cbd5e1;
  font-weight: 500;
}

.top-bar-link:hover {
  color: #ffffff;
}

/* Header Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid #e2e8f0;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

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

.brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.68rem;
  color: #dc2626;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: #dc2626;
  transition: width var(--transition-normal);
  border-radius: var(--radius-md);
}

.nav-link:hover, .nav-link.active {
  color: #dc2626;
}

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

.header-cta-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
  z-index: 98;
  box-sizing: border-box;
}

.mobile-nav-drawer.active {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-nav-drawer .nav-link {
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 3.5rem 0 3rem 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.35rem;
  color: #0f172a;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

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

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #dc2626;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Countdown Card */
.countdown-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md); /* rounded-md */
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.countdown-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #dc2626, #0f172a, #2563eb);
}

.countdown-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.countdown-header h3 {
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.countdown-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.timer-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md); /* rounded-md */
  padding: 0.75rem 0.25rem;
  text-align: center;
}

.timer-value {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #dc2626;
  line-height: 1;
}

.timer-unit {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
  margin-top: 0.3rem;
  font-weight: 600;
}

.countdown-footer-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md); /* rounded-md */
  font-size: 0.78rem;
  color: #475569;
}

/* ==========================================================================
   Download Center & Assets Section
   ========================================================================== */

.section {
  padding: 3.5rem 0;
  position: relative;
}

.section-highlight {
  background: #f1f5f9;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.section-subtitle {
  color: #dc2626;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
  display: block;
}

.section-title {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}

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

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-md); /* rounded-md */
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

/* Downloads Grid */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.asset-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md); /* rounded-md */
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.asset-card:hover {
  transform: translateY(-3px);
  border-color: #dc2626;
  box-shadow: var(--shadow-md);
}

.asset-type-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.icon-pdf {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.icon-docx {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.icon-img {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid rgba(234, 88, 12, 0.2);
}

.asset-title {
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

.asset-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-bottom: 0.75rem;
}

.asset-desc {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.asset-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.asset-actions .btn {
  flex: 1;
  min-width: 120px;
}

/* Specimen Banner */
.preview-banner-box {
  margin-top: 2.5rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md); /* rounded-md */
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.preview-banner-info h4 {
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 0.3rem;
}

.preview-banner-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ==========================================================================
   Video Showcase Section
   ========================================================================== */
.section-video-fullbleed {
  width: 100%;
  padding: 0;
  background: #000000;
  overflow: hidden;
}

.video-container-fullbleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.video-player-box {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.official-video-player {
  width: 100%;
  height: auto;
  max-height: 760px;
  display: block;
  border-radius: 0;
  outline: none;
  background: #000000;
}

.video-overlay-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.88);
  color: #ffffff;
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-normal);
  backdrop-filter: blur(4px);
  padding-left: 4px; /* visually center play icon */
}

.video-overlay-play-btn:hover {
  background: #dc2626;
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 12px 35px rgba(220, 38, 38, 0.55);
}

.video-player-box.playing .video-overlay-play-btn {
  opacity: 0;
  pointer-events: none;
}

.video-player-box.playing:hover .video-overlay-play-btn {
  opacity: 0.9;
  pointer-events: auto;
  padding-left: 0;
}

/* ==========================================================================
   Election Schedule & Positions
   ========================================================================== */

.schedule-timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  padding: 0.5rem 0;
}

.schedule-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #cbd5e1;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  width: 50%;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 1.1rem;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 4px solid #dc2626;
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -7px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -7px;
}

.timeline-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 1.25rem;
  border-radius: var(--radius-md); /* rounded-md */
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.timeline-content:hover {
  transform: scale(1.01);
  border-color: #dc2626;
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 0.3rem;
  display: block;
}

.timeline-title {
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

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

/* Contested Positions Grid */
.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.position-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md); /* rounded-md */
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
}

.position-card:hover {
  border-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.position-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

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

.position-requirements {
  font-size: 0.78rem;
  color: var(--text-subtle);
  border-top: 1px solid #f1f5f9;
  padding-top: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Interactive Calculator */
.interactive-widget-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md); /* rounded-md */
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  width: 100%;
  box-sizing: border-box;
}

.widget-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-heading);
}

.form-control {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md); /* rounded-md */
  padding: 0.65rem 0.85rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: #dc2626;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.eligibility-result-box {
  background: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md); /* rounded-md */
  padding: 1.15rem;
  display: none;
  align-items: flex-start;
  gap: 1rem;
  animation: slideUp 0.3s ease;
}

.eligibility-result-box.active {
  display: flex;
}

.result-icon {
  font-size: 1.6rem;
  color: #059669;
  flex-shrink: 0;
}

.result-details h5 {
  font-size: 1rem;
  color: #065f46;
}

.result-details p {
  font-size: 0.84rem;
  color: #047857;
}

/* Commission Members Grid */
.commission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.commissioner-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md); /* rounded-md */
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.commissioner-avatar {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  margin: 0 auto 1rem auto;
  border: 3px solid #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fef2f2;
  font-size: 1.8rem;
  color: #dc2626;
}

.commissioner-name {
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.commissioner-role {
  font-size: 0.8rem;
  color: #c2410c;
  font-weight: 600;
  margin-bottom: 0;
}

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

/* Notice & FAQs */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 850px;
  margin: 0 auto;
}

.notice-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md); /* rounded-md */
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.notice-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 220px;
}

.notice-date-badge {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.3rem 0.6rem;
  text-align: center;
  min-width: 65px;
  flex-shrink: 0;
}

.notice-day {
  font-size: 1.1rem;
  font-weight: 800;
  color: #dc2626;
  line-height: 1;
}

.notice-month {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 600;
}

.notice-title-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.notice-category {
  font-size: 0.76rem;
  color: var(--text-subtle);
}

/* FAQs Accordion */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md); /* rounded-md */
  overflow: hidden;
}

.faq-item.active {
  border-color: #dc2626;
}

.faq-question {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.faq-icon {
  font-size: 0.8rem;
  color: #dc2626;
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-in-out;
  padding: 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.25rem 1rem 1.25rem;
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 1rem;
  box-sizing: border-box;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md); /* rounded-md */
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.modal-title {
  font-size: 1rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-subtle);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
}

.modal-body {
  padding: 1.25rem;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-body img {
  max-height: 65vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.modal-iframe {
  width: 100%;
  height: 60vh;
  border: none;
  border-radius: var(--radius-md);
}

.modal-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  background: #f8fafc;
  flex-wrap: wrap;
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  max-width: calc(100vw - 3rem);
}

.toast {
  background: #ffffff;
  border: 1px solid #dc2626;
  border-radius: var(--radius-md); /* rounded-md */
  padding: 0.75rem 1.1rem;
  color: var(--text-heading);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  pointer-events: auto;
  animation: slideInRight 0.3s ease;
  font-size: 0.85rem;
}

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

/* Footer Section */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 3rem 0 1.5rem 0;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
  background: #fff;
  padding: 4px;
  border-radius: var(--radius-md);
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.84rem;
  line-height: 1.5;
}

.footer-heading {
  font-size: 0.98rem;
  margin-bottom: 1rem;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.35rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: #dc2626;
}

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

.footer-links a {
  color: #cbd5e1;
  font-size: 0.84rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.contact-icon {
  color: #dc2626;
  font-size: 0.95rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md); /* rounded-md */
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
}

.social-icon:hover {
  background: #dc2626;
  color: #ffffff;
}

.back-to-top-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md); /* rounded-md */
  background: #dc2626;
  color: #ffffff;
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 90;
}

.back-to-top-btn:hover {
  background: #b91c1c;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Comprehensive Responsive Breakpoints (Fixing All Screen Issues)
   ========================================================================== */

/* Laptop / Medium Desktop (992px - 1199px) */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 2.3rem;
  }
}

/* Tablet Landscape / Large Mobile (768px - 991px) */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

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

/* Mobile Devices & Small Tablets (< 768px) */
@media (max-width: 767px) {
  .top-bar {
    padding: 0.5rem 0;
  }

  .top-bar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .ticker-wrap {
    width: 100%;
    align-items: flex-start;
  }

  .ticker-tag {
    margin-top: 0.1rem;
    flex-shrink: 0;
  }

  .ticker-text {
    font-size: 0.8rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.4;
    word-break: break-word;
  }

  .top-bar-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 0.75rem;
  }

  .top-bar-link {
    font-size: 0.78rem;
  }

  .hide-mobile {
    display: none !important;
  }

  .nav-wrapper {
    height: 64px;
  }

  .brand-logo-img {
    height: 38px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
  }

  .nav-links {
    display: none !important;
  }

  .nav-cta-btn {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:active {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
  }

  .mobile-nav-drawer {
    top: 64px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  }

  .hero-section {
    padding: 2.5rem 0 2rem 0;
  }

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

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Schedule Timeline Mobile Single Column Fix */
  .schedule-timeline::before {
    left: 14px;
    transform: none;
  }

  .timeline-item {
    width: 100% !important;
    padding-left: 36px !important;
    padding-right: 0 !important;
    text-align: left !important;
    left: 0 !important;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 7px !important;
    right: auto !important;
  }

  .preview-banner-box {
    flex-direction: column;
    text-align: center;
  }

  .preview-banner-box .btn {
    width: 100%;
  }

  .notice-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .notice-card .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .official-video-player {
    max-height: 420px;
  }

  .video-overlay-play-btn {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }

  .filter-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-btn {
    flex: 1 1 auto;
    text-align: center;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-around;
  }

  .stat-item {
    min-width: 90px;
  }
}

/* Small Mobile Screens (< 480px) */
@media (max-width: 479px) {
  .brand-subtitle {
    display: none;
  }

  .brand-title {
    font-size: 0.88rem;
  }

  .top-bar-content {
    gap: 0.35rem;
  }

  .ticker-tag {
    font-size: 0.62rem;
    padding: 0.15rem 0.4rem;
  }

  .ticker-text {
    font-size: 0.76rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.4;
    word-break: break-word;
  }

  .top-bar-link span {
    display: inline;
  }

  .top-bar-link {
    font-size: 0.78rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

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

  .timer-value {
    font-size: 1.5rem;
  }

  .downloads-grid, .positions-grid, .commission-grid {
    grid-template-columns: 1fr;
  }

  .asset-actions {
    flex-direction: column;
  }

  .asset-actions .btn {
    width: 100%;
  }

  .eligibility-result-box {
    flex-direction: column;
  }

  .official-video-player {
    max-height: 320px;
  }

  .video-overlay-play-btn {
    width: 54px;
    height: 54px;
    font-size: 1.25rem;
  }
}

/* Ultra Small Mobile Screens (< 360px) */
@media (max-width: 359px) {
  .container {
    padding: 0 0.85rem;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  .official-video-player {
    max-height: 260px;
  }
}
