/* ==========================================================================
   11.E ECHO - ULTRA-CLEAN MINIMALIST CAMPAIGN DESIGN SYSTEM
   Theme: Matte Dark Obsidian + Soft Magenta Pink Accents (Mobile Responsive)
   ========================================================================== */

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

:root {
  --bg-main: #0c0e14;
  --bg-surface: #141722;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  --accent-pink: #ec4899;
  --accent-pink-hover: #db2777;
  --accent-magenta: #e11d48;
  --pink-gradient: linear-gradient(135deg, #ec4899 0%, #d946ef 100%);

  --border-light: rgba(255, 255, 255, 0.08);
  --border-pink: rgba(236, 72, 153, 0.3);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background: radial-gradient(circle at 50% -20%, #201328 0%, #0c0e14 70%);
  background-attachment: fixed;
}

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

.pink-text {
  color: var(--accent-pink);
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Clean Card */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  outline: none;
  touch-action: manipulation;
}

.btn-pink {
  background: var(--accent-pink);
  color: #ffffff;
}

.btn-pink:hover {
  background: var(--accent-pink-hover);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Header Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: var(--transition);
  background: rgba(12, 14, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled {
  padding: 0.85rem 0;
  background: rgba(12, 14, 20, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  user-select: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #ffffff;
  font-size: 0.95rem;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}

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

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--accent-pink);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 82vh;
  padding-top: 130px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/echo_hero_bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid var(--border-pink);
  color: var(--accent-pink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* SECTIONS */
.section-padding {
  padding: 5rem 0;
}

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

.section-tagline {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-pink);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}


/* CANDIDATE & LEADERSHIP SHOWCASE SECTION */
.candidate-section {
  position: relative;
}

.candidate-showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(20, 23, 34, 0.6);
  border: 1px solid var(--border-pink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(236, 72, 153, 0.12);
  padding: 2.5rem;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.candidate-ambient-glow {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.candidate-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Candidate Image Frame */
.candidate-img-col {
  width: 100%;
}

.candidate-img-frame {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  background: #0d0f17;
}

.candidate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.candidate-img-frame:hover .candidate-img {
  transform: scale(1.04);
}

.candidate-badge-overlay {
  position: absolute;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(12px);
  z-index: 5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.crown-badge {
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.95), rgba(217, 70, 239, 0.95));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-badge {
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  text-align: center;
  background: rgba(12, 14, 20, 0.85);
  color: #f8fafc;
  border: 1px solid var(--border-pink);
}

/* Candidate Content Column */
.candidate-content-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.candidate-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.candidate-class-tag {
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid var(--border-pink);
  color: var(--accent-pink);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.candidate-year-tag {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.candidate-name {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.candidate-role-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 0.35rem;
}

/* Quote Box */
.candidate-quote-box {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-pink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.4rem;
}

.quote-icon {
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  font-size: 1.8rem;
  color: rgba(236, 72, 153, 0.15);
}

.candidate-quote-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #e2e8f0;
  font-style: italic;
}

/* Candidate Stats Chips */
.candidate-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border-light);
}

.candidate-stat-chip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.candidate-stat-chip:hover {
  background: rgba(236, 72, 153, 0.05);
  border-color: var(--border-pink);
}

.stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-val {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

/* Candidate Actions */
.candidate-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.candidate-actions .btn {
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
}

.candidate-vote-trigger i {
  transition: transform 0.2s ease;
}

.candidate-vote-trigger:hover i {
  transform: scale(1.2);
}

/* Team Banner Sub Section */
.candidate-team-banner {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

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

.team-banner-header h4 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

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

.team-banner-img-frame {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.team-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.5s ease;
}

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

.team-banner-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(12, 14, 20, 0.85);
  border: 1px solid var(--border-pink);
  color: var(--accent-pink);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

/* LIVE NEWS FEED */
.news-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--accent-pink);
  color: #ffffff;
  border-color: var(--accent-pink);
}

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

.news-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-img-wrapper {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-img {
  transform: scale(1.05);
}

.news-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  background: rgba(12, 14, 20, 0.9);
  border: 1px solid var(--border-light);
  color: var(--accent-pink);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.news-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.news-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.news-excerpt {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.news-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-author {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   ALBUM STACK CARD & PHOTO GALLERY STYLING
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.album-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.album-card:hover {
  border-color: var(--accent-pink);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 20px rgba(236, 72, 153, 0.2);
}

/* Album Card Stack Collage Preview (First 3 Photos) */
.album-preview-stack {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #08090d;
}

.album-preview-grid {
  display: grid;
  width: 100%;
  height: 100%;
  gap: 2px;
}

/* 3-Photo Collage Layout */
.album-preview-grid.count-1 { grid-template-columns: 1fr; }
.album-preview-grid.count-2 { grid-template-columns: 1fr 1fr; }
.album-preview-grid.count-3 {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.album-preview-grid.count-3 .preview-img:nth-child(1) {
  grid-row: 1 / -1;
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.album-card:hover .preview-img {
  transform: scale(1.06);
}

.album-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(12, 14, 20, 0.9);
  border: 1px solid var(--border-pink);
  color: var(--accent-pink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.album-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.album-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.album-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Album View Modal Grid */
.album-modal-header {
  margin-bottom: 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.album-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.album-thumb-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.album-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.album-thumb-item:hover img {
  transform: scale(1.1);
}

.album-thumb-title {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  font-size: 0.75rem;
  color: #ffffff;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* LIGHTBOX SLIDER CONTROLS */
.lightbox-container {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-slider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  transition: opacity 0.25s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12, 14, 20, 0.85);
  border: 1px solid var(--border-light);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  touch-action: manipulation;
}

.lightbox-nav-btn:hover, .lightbox-nav-btn:active {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
}

.lightbox-prev {
  left: 0.5rem;
}

.lightbox-next {
  right: 0.5rem;
}

.lightbox-counter {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  display: inline-block;
}

/* MODALS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1.5rem;
}

/* Instant FOUC prevention for offline mode */
html.site-offline section,
html.site-offline #navbar,
html.site-offline footer {
  display: none !important;
}

html.site-offline #maintenance-screen {
  display: flex !important;
}

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

.modal-content-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  max-width: 880px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 20;
}

.modal-close-btn:hover {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
}

/* ADMIN PANEL STYLES */
.admin-login-box {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.admin-form-group {
  margin-bottom: 1.1rem;
  text-align: left;
}

.admin-form-group label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.admin-input, .admin-textarea, .admin-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(12, 14, 20, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.admin-input:focus, .admin-textarea:focus, .admin-select:focus {
  border-color: var(--accent-pink);
}

.admin-dashboard-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-nav-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-btn {
  padding: 0.5rem 1.1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.tab-btn.active {
  background: rgba(236, 72, 153, 0.12);
  color: var(--accent-pink);
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.admin-table th, .admin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
}

.admin-table th {
  color: var(--text-secondary);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.72rem;
}

.action-btn-sm {
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-delete {
  background: rgba(225, 29, 72, 0.2);
  color: #f43f5e;
  border: 1px solid rgba(225, 29, 72, 0.4);
}

.btn-delete:hover {
  background: #e11d48;
  color: #ffffff;
}

/* FOOTER */
.footer {
  background: #08090d;
  border-top: 1px solid var(--border-light);
  padding: 3rem 0 1.5rem 0;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.footer-secret-admin {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.4;
  padding: 0.25rem 0.5rem;
}

.footer-secret-admin:hover {
  opacity: 1;
  color: var(--accent-pink);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  background: #141722;
  border: 1px solid var(--border-light);
  color: #ffffff;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideInRight 0.3s ease forwards;
}

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

/* RESPONSIVE MEDIA QUERIES (TABLET & MOBILE COMPATIBILITY) */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(12, 14, 20, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.1rem;
    display: block;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 50px;
  }

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

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

  .candidate-img-frame {
    height: 380px;
  }

  .program-pillars-grid {
    grid-template-columns: 1fr;
  }

  .candidate-showcase-card {
    padding: 1.5rem;
  }

  .candidate-name {
    font-size: 2.2rem;
  }

  .team-banner-img-frame {
    height: 240px;
  }



  .news-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .modal-content-box {
    padding: 1.25rem;
    max-height: 90vh;
    border-radius: var(--radius-sm);
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .toast {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Industrial Maintenance Screen Styling */
@keyframes pulseGlow {
  0% {
    transform: scale(0.96);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.2);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.5);
  }
}

.industrial-terminal-box {
  font-family: 'Courier New', Courier, monospace;
  background: #050609;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 4px solid #ef4444;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: #f87171;
  font-size: 0.82rem;
  text-align: left;
  line-height: 1.6;
}

@keyframes industrialPulse {
  0% {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
  }
  100% {
    border-color: rgba(239, 68, 68, 0.7);
    box-shadow: 0 0 35px rgba(239, 68, 68, 0.3);
  }
}

.industrial-card {
  border: 1px solid #27272a;
}

#maintenance-admin-btn:hover {
  background: #27272a !important;
  color: #f4f4f5 !important;
}
