:root {
  --black: #000000;
  --charcoal: #0a0a0a;
  --gunmetal: #141414;
  --steel: #4a4a4a;
  --crimson: #8b1116;
  --crimson-light: #a31820;
  --gold: #d4af37;
  --bone: #f2e7d0;
  --silver: #c8b896;
  --glass: rgba(0, 0, 0, 0.78);
  --glass-border: rgba(212, 175, 55, 0.18);
  --font-display: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--bone);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: 0.04em; }

a { color: var(--silver); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s;
}
.navbar.scrolled { background: rgba(10,10,10,0.95); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0.85rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; color: #fff; }
.nav-shield {
  width: 2.75rem; height: 2.75rem; border-radius: 4px;
  background: var(--black); border: 1px solid rgba(212, 175, 55, 0.35);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  flex-shrink: 0;
}
.nav-shield img { width: 100%; height: 100%; object-fit: contain; padding: 3px; background: #000; }
.nav-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.15em; color: var(--gold); }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--silver); }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--crimson); color: #fff !important; padding: 0.55rem 1.25rem;
  border-radius: 6px; font-weight: 600; font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--crimson-light); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; margin-left: auto; }

/* Flash */
.flash {
  position: fixed; top: 5rem; left: 50%; transform: translateX(-50%); z-index: 1100;
  padding: 0.85rem 1.5rem; border-radius: 8px; font-weight: 500;
  animation: fadeInDown 0.4s ease;
}
.flash-success { background: #1a4d2e; border: 1px solid #2d7a4a; color: #a8e6c1; }
.flash-error { background: #4d1a1a; border: 1px solid var(--crimson); color: #f5a8a8; }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: flex-end; justify-content: center;
  text-align: center; position: relative; padding: 6rem 1.5rem 3rem;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.75) 55%, rgba(0,0,0,0.92) 100%),
    url('../images/banner.png') center top/cover no-repeat;
}
.hero--banner .hero-content { max-width: 720px; }
.hero--banner h1 { display: none; }
.hero-logo {
  width: min(280px, 70vw); height: auto; margin: 0 auto 1.25rem;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.6));
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(transparent, var(--black));
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero-badge {
  display: inline-block; padding: 0.35rem 1rem; border: 1px solid var(--glass-border);
  border-radius: 999px; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--silver); margin-bottom: 1.5rem; background: var(--glass);
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 700; color: #fff;
  line-height: 1.1; margin-bottom: 1rem;
}
.hero h1 span { color: var(--gold); text-shadow: 0 2px 24px rgba(0,0,0,0.8); }
.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.35rem); color: var(--bone); margin-bottom: 0.75rem;
  font-family: var(--font-display); letter-spacing: 0.18em; text-transform: uppercase;
}
.hero-motto-latin {
  font-family: var(--font-display); font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--gold); margin-bottom: 0.35rem; letter-spacing: 0.06em; font-style: italic;
}
.hero-motto {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem); color: var(--silver); margin-bottom: 2.5rem;
  letter-spacing: 0.06em;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: 8px; font-weight: 600; font-size: 1rem;
  transition: all 0.25s; cursor: pointer; border: none; font-family: inherit;
}
.btn-primary { background: var(--crimson); color: #fff; }
.btn-primary:hover { background: var(--crimson-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139,26,26,0.4); }
.btn-outline { background: transparent; color: #fff; border: 2px solid var(--silver); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #e8c86a); color: var(--black); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }

/* Sections */
section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem); color: #fff; margin-bottom: 0.75rem;
}
.section-header p { color: var(--steel); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-header .accent-line {
  width: 60px; height: 3px; background: var(--crimson); margin: 1rem auto 0;
}
.bg-dark { background: var(--charcoal); }
.bg-gunmetal { background: var(--gunmetal); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-text p { color: #b0b8c1; font-size: 1.05rem; margin-bottom: 1rem; }
.glass-card {
  background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); border-radius: 16px; padding: 2rem;
}
.glass-card h3 { color: var(--gold); margin-bottom: 1.25rem; font-size: 1.35rem; }
.values-list { list-style: none; }
.values-list li {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.65rem 0;
  border-bottom: 1px solid var(--glass-border); color: #d0d5dc;
}
.values-list li:last-child { border-bottom: none; }
.values-list i { color: var(--crimson-light); width: 1.25rem; text-align: center; }

/* Leadership */
.leadership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.leadership-grid .glass-card h3 {
  display: flex; align-items: center; gap: 0.65rem;
}
.leadership-grid .glass-card h3 i { color: var(--crimson-light); font-size: 1.1rem; }
.leadership-list { list-style: none; }
.leadership-list li {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 1rem 0; border-bottom: 1px solid var(--glass-border);
}
.leadership-list li:last-child { border-bottom: none; padding-bottom: 0; }
.leadership-list li:first-child { padding-top: 0; }
.leadership-role {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gold);
}
.leadership-name { font-size: 1.15rem; color: #fff; font-family: var(--font-display); }

/* Core values */
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}
.value-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 16px;
  padding: 1.75rem; transition: border-color 0.3s, transform 0.3s;
}
.value-card:hover { border-color: rgba(139,26,26,0.35); transform: translateY(-3px); }
.value-card h4 { color: #fff; font-size: 1.15rem; margin-bottom: 0.65rem; font-family: var(--font-display); }
.value-card p { color: #b0b8c1; font-size: 0.95rem; line-height: 1.65; }
.motto-block .motto-latin {
  font-family: var(--font-display); font-size: 1.75rem; color: #fff;
  font-style: italic; margin-bottom: 0.35rem;
}
.motto-block .motto-english { color: var(--gold); font-size: 1.1rem; }

/* Why Join cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 16px;
  padding: 2rem; transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(139,26,26,0.4); }
.feature-icon {
  width: 3rem; height: 3rem; border-radius: 10px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-light));
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
  margin-bottom: 1.25rem;
}
.feature-card h3 { color: #fff; margin-bottom: 0.5rem; font-size: 1.15rem; }
.feature-card p { color: var(--steel); font-size: 0.95rem; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-card {
  text-align: center; padding: 2rem 1rem;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 16px;
}
.stat-number {
  font-family: var(--font-display); font-size: 2.75rem; font-weight: 700;
  color: var(--gold); display: block; margin-bottom: 0.35rem;
}
.stat-label { color: var(--steel); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* Events */
.event-card {
  display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 16px;
  padding: 1.75rem; margin-bottom: 1rem; transition: border-color 0.3s;
}
.event-card:hover { border-color: rgba(139,26,26,0.35); }
.event-date {
  text-align: center; min-width: 90px; padding: 0.75rem;
  background: rgba(139,26,26,0.15); border-radius: 10px;
}
.event-date .month { color: var(--crimson-light); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; }
.event-date .day { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: #fff; }
.event-info { flex: 1; min-width: 200px; }
.event-info h4 { color: #fff; font-size: 1.2rem; margin-bottom: 0.35rem; }
.event-info p { color: var(--steel); font-size: 0.9rem; }
.event-type {
  display: inline-block; padding: 0.2rem 0.65rem; border-radius: 4px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  margin-top: 0.35rem;
}
.event-type-training { background: rgba(92,102,112,0.3); color: var(--silver); }
.event-type-tournament { background: rgba(139,26,26,0.25); color: #e88; }
.event-type-gathering { background: rgba(201,168,76,0.15); color: var(--gold); }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.news-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 16px;
  padding: 1.75rem; transition: transform 0.3s;
}
.news-card:hover { transform: translateY(-3px); }
.news-date { color: var(--steel); font-size: 0.85rem; margin-bottom: 0.5rem; }
.news-card h4 { color: #fff; margin-bottom: 0.75rem; }
.news-card p { color: #b0b8c1; font-size: 0.95rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.gallery-item {
  aspect-ratio: 1; border-radius: 12px; overflow: hidden; position: relative;
  background: var(--gunmetal);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item--clickable {
  display: block; width: 100%; border: none; padding: 0; cursor: zoom-in;
  font: inherit; color: inherit; text-align: inherit;
}
.gallery-item--clickable:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

.gallery-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  display: none; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.92); padding: 1.5rem;
}
.gallery-lightbox.is-open { display: flex; }
.gallery-lightbox__stage {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; max-width: calc(100vw - 8rem); max-height: calc(100vh - 6rem);
}
.gallery-lightbox__img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--glass-border); background: rgba(20, 20, 20, 0.85);
  color: #fff; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover {
  background: var(--crimson); border-color: var(--crimson); color: #fff;
}
.gallery-lightbox__close {
  top: 1.25rem; right: 1.25rem; width: 2.75rem; height: 2.75rem;
  border-radius: 50%; font-size: 1.75rem; line-height: 1;
}
.gallery-lightbox__nav {
  top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem;
  border-radius: 50%; font-size: 1.1rem;
}
.gallery-lightbox__prev { left: 1.25rem; }
.gallery-lightbox__next { right: 1.25rem; }
.gallery-lightbox__counter {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  margin: 0; color: var(--silver); font-size: 0.9rem; letter-spacing: 0.05em;
}
body.gallery-lightbox-open { overflow: hidden; }

/* Sponsors */
.sponsor-carousel { display: flex; gap: 2rem; overflow-x: auto; padding: 1rem 0; scroll-snap-type: x mandatory; }
.sponsor-item {
  flex: 0 0 180px; height: 90px; scroll-snap-align: start;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.sponsor-item img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(0.3); transition: filter 0.3s; }
.sponsor-item:hover img { filter: grayscale(0); }
.sponsor-name { color: var(--steel); font-weight: 600; font-size: 0.9rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h3 { color: var(--gold); margin-bottom: 1rem; }
.contact-detail { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; color: #b0b8c1; }
.contact-detail i { color: var(--crimson-light); width: 1.25rem; }
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a {
  width: 2.5rem; height: 2.5rem; border-radius: 8px;
  background: var(--glass); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center; color: var(--silver);
  transition: all 0.2s;
}
.social-links a:hover { background: var(--crimson); color: #fff; border-color: var(--crimson); }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.4rem; color: var(--silver); font-size: 0.9rem; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border); border-radius: 8px; color: #fff;
  font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--crimson);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-section { margin-bottom: 2rem; }
.form-section h3 {
  color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--glass-border);
}

/* Fighter cards */
.fighters-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; }
.fighter-card {
  text-align: center; background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 2rem 1.5rem; transition: transform 0.3s, border-color 0.3s;
}
.fighter-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.3); }
.fighter-photo {
  width: 160px; height: 160px; border-radius: 12px; margin: 0 auto 1.25rem;
  overflow: hidden; border: 3px solid var(--crimson); background: var(--black);
}
.fighter-photo img { width: 100%; height: 100%; object-fit: cover; }
.fighter-photo.fighter-photo--emblem img { object-fit: contain; padding: 12px; background: radial-gradient(circle, #1a1a1a, #000); }
.fighter-number { color: var(--steel); font-size: 0.85rem; letter-spacing: 0.1em; }
.fighter-card h3 { color: #fff; margin: 0.35rem 0; }
.fighter-rank { color: var(--gold); font-size: 0.9rem; }

/* Fighter profile */
.profile-hero {
  min-height: 420px; display: flex; align-items: flex-end;
  background:
    linear-gradient(transparent 20%, var(--black) 85%),
    linear-gradient(90deg, rgba(0,0,0,0.85), rgba(0,0,0,0.3)),
    var(--hero-bg, var(--gunmetal)) center/cover;
  padding: 6rem 0 2rem; margin-top: 4rem;
}
.profile-hero-inner { display: flex; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.profile-hero-photo {
  width: 200px; height: 200px; border-radius: 12px; overflow: hidden;
  border: 4px solid var(--crimson); flex-shrink: 0; background: var(--black);
}
.profile-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero-photo.profile-hero-photo--emblem img { object-fit: contain; padding: 16px; background: radial-gradient(circle, #1a1a1a, #000); }
.profile-hero-info h1 { font-size: 2.5rem; color: #fff; }
.profile-hero-info .callsign { color: var(--gold); font-size: 1.2rem; }
.profile-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  max-width: 720px; margin: 2rem auto; justify-items: stretch;
}
.profile-stat {
  text-align: center; padding: 1.25rem; background: var(--glass);
  border-radius: 12px; border: 1px solid var(--glass-border);
}
.profile-stat .num { font-family: var(--font-display); font-size: 1.75rem; color: var(--gold); }
.profile-stat .lbl { color: var(--steel); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Badges */
.badge { display: inline-block; padding: 0.25rem 0.65rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.badge-active { background: rgba(45,122,74,0.25); color: #6ecf96; }
.badge-warning { background: rgba(201,168,76,0.2); color: var(--gold); }
.badge-danger { background: rgba(139,26,26,0.3); color: #f08080; }
.badge-muted { background: rgba(92,102,112,0.3); color: var(--steel); }

/* Dashboard / Admin */
.page-header { padding: 7rem 0 2rem; background: var(--charcoal); border-bottom: 1px solid var(--glass-border); }
.page-header h1 { font-size: 2rem; color: #fff; }
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; padding: 2rem 0 4rem; min-height: 60vh; }
.sidebar {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 16px;
  padding: 1.5rem; height: fit-content; position: sticky; top: 5.5rem;
}
.sidebar a {
  display: block; padding: 0.65rem 1rem; border-radius: 8px; color: var(--silver);
  margin-bottom: 0.25rem; font-size: 0.95rem;
}
.sidebar a:hover, .sidebar a.active { background: rgba(139,26,26,0.15); color: #fff; }
.dashboard-content { min-width: 0; }
.panel-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 16px;
  padding: 1.75rem; margin-bottom: 1.5rem;
}
.panel-card h3 { color: #fff; margin-bottom: 1rem; font-size: 1.15rem; }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th {
  text-align: left; padding: 0.75rem 1rem; color: var(--steel);
  border-bottom: 1px solid var(--glass-border); font-weight: 600; text-transform: uppercase;
  font-size: 0.75rem; letter-spacing: 0.05em;
}
.data-table td { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.04); color: #d0d5dc; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.table-actions { display: flex; gap: 0.5rem; }
.table-actions a, .table-actions button {
  padding: 0.3rem 0.65rem; border-radius: 4px; font-size: 0.8rem;
  border: 1px solid var(--glass-border); background: transparent; color: var(--silver);
  cursor: pointer; font-family: inherit;
}
.table-actions a:hover, .table-actions button:hover { background: rgba(139,26,26,0.2); color: #fff; }

/* Footer */
.site-footer {
  background: var(--charcoal); border-top: 1px solid var(--glass-border); padding: 3rem 0 2rem;
}
.footer-inner { text-align: center; }
.footer-brand h3 { color: var(--gold); font-family: var(--font-display); margin-bottom: 0.35rem; }
.footer-brand p { color: var(--steel); margin-bottom: 1.5rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: var(--steel); font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: #555; font-size: 0.85rem; }

/* Join CTA */
.join-cta { text-align: center; padding: 5rem 0; }
.join-cta h2 { font-size: clamp(2rem, 4vw, 2.75rem); color: #fff; margin-bottom: 1rem; }
.join-cta p { color: var(--steel); font-size: 1.15rem; max-width: 600px; margin: 0 auto 2rem; }

/* Auth pages */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 6rem 1.5rem 2rem; }
.auth-card {
  width: 100%; max-width: 480px; background: var(--glass);
  border: 1px solid var(--glass-border); border-radius: 20px; padding: 2.5rem;
}
.auth-card h1 { text-align: center; color: #fff; margin-bottom: 0.5rem; font-size: 1.75rem; }
.auth-card .subtitle { text-align: center; color: var(--steel); margin-bottom: 2rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; color: var(--steel); font-size: 0.9rem; }

/* Alert boxes */
.alert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.alert-box { padding: 1.25rem; border-radius: 12px; text-align: center; }
.alert-box .count { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.alert-box .label { font-size: 0.85rem; margin-top: 0.25rem; }
.alert-active { background: rgba(45,122,74,0.15); border: 1px solid rgba(45,122,74,0.3); }
.alert-active .count { color: #6ecf96; }
.alert-warning { background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.25); }
.alert-warning .count { color: var(--gold); }
.alert-danger { background: rgba(139,26,26,0.15); border: 1px solid rgba(139,26,26,0.3); }
.alert-danger .count { color: #f08080; }

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,10,10,0.97); flex-direction: column; padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-lightbox__stage { max-width: calc(100vw - 2rem); max-height: calc(100vh - 5rem); }
  .gallery-lightbox__prev { left: 0.5rem; }
  .gallery-lightbox__next { right: 0.5rem; }
  .gallery-lightbox__close { top: 0.75rem; right: 0.75rem; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .profile-stats { grid-template-columns: 1fr; max-width: 280px; }
  .form-row { grid-template-columns: 1fr; }
  .alert-grid { grid-template-columns: 1fr; }
  .event-card { flex-direction: column; text-align: center; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
