/* ============================================================
   THE LIONS ROAR — GLOBAL DESIGN SYSTEM
   Colour Palette: Red, White & Black
   ============================================================ */

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

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Core Colours */
  --red-primary:    #CC0000;
  --red-bright:     #FF1122;
  --red-deep:       #990000;
  --red-dark:       #6B0000;
  --white:          #FFFFFF;
  --off-white:      #F0F0F0;
  --grey-light:     #CCCCCC;
  --grey-mid:       #888888;
  --grey-dark:      #444444;
  --black:          #080808;
  --black-mid:      #111111;
  --black-card:     #181818;
  --black-elevated: #222222;
  --black-border:   #2E2E2E;

  /* Glass / Opacity variants */
  --red-glass:      rgba(204, 0, 0, 0.12);
  --red-glass-strong: rgba(204, 0, 0, 0.25);
  --red-glow:       rgba(204, 0, 0, 0.5);
  --white-glass:    rgba(255, 255, 255, 0.06);
  --white-glass-strong: rgba(255, 255, 255, 0.12);

  /* Gradients */
  --gradient-red:       linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
  --gradient-dark:      linear-gradient(135deg, #111111 0%, #000000 100%);
  --gradient-hero:      linear-gradient(180deg, rgba(8,8,8,0.2) 0%, rgba(8,8,8,0.85) 100%);
  --gradient-card-hover: linear-gradient(135deg, rgba(204,0,0,0.15) 0%, rgba(0,0,0,0) 100%);

  /* Typography */
  --font-display:   'Bebas Neue', sans-serif;
  --font-heading:   'Oswald', sans-serif;
  --font-body:      'Inter', sans-serif;

  /* Spacing scale */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   40px;
  --space-2xl:  64px;
  --space-3xl:  96px;

  /* Border radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.6);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.8);
  --shadow-red:  0 4px 24px rgba(204,0,0,0.35);
  --shadow-red-lg: 0 8px 48px rgba(204,0,0,0.5);

  /* Transitions */
  --transition-fast:   all 0.15s ease;
  --transition-base:   all 0.25s ease;
  --transition-slow:   all 0.4s ease;

  /* Layout */
  --container-max:  1280px;
  --nav-height:     72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
}

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

.display-text {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.text-red    { color: var(--red-primary); }
.text-white  { color: var(--white); }
.text-grey   { color: var(--grey-mid); }
.text-sm     { font-size: 0.875rem; }
.text-md     { font-size: 1rem; }
.text-lg     { font-size: 1.125rem; }
.text-xl     { font-size: 1.25rem; }
.text-upper  { text-transform: uppercase; letter-spacing: 0.08em; }
.text-center { text-align: center; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

.flex       { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col   { display: flex; flex-direction: column; }
.gap-sm     { gap: var(--space-sm); }
.gap-md     { gap: var(--space-md); }
.gap-lg     { gap: var(--space-lg); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red-primary);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey-mid);
  max-width: 560px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-red);
  margin: var(--space-md) auto 0;
  border-radius: var(--radius-full);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-border);
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: rgba(8, 8, 8, 0.98);
  box-shadow: 0 2px 30px rgba(0,0,0,0.8);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-red);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.nav-logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-light);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: var(--white-glass);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--red-primary);
  border-radius: var(--radius-full);
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--gradient-red);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-red);
  transition: var(--transition-base);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-red-lg);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-border);
  padding: var(--space-md) var(--space-lg);
  z-index: 999;
  flex-direction: column;
  gap: var(--space-xs);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile .nav-link {
  padding: var(--space-md);
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

.nav-mobile .nav-cta {
  margin-top: var(--space-sm);
  text-align: center;
  padding: var(--space-md);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-lg);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
  transform: translateY(-2px);
}

.btn-outline-red {
  background: transparent;
  color: var(--red-primary);
  border: 2px solid var(--red-primary);
}

.btn-outline-red:hover {
  background: var(--red-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.78rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
}

.card:hover {
  border-color: rgba(204, 0, 0, 0.35);
  box-shadow: var(--shadow-red);
  transform: translateY(-4px);
}

.card-glass {
  background: var(--white-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
}

.card-glass:hover {
  background: var(--red-glass);
  border-color: rgba(204, 0, 0, 0.3);
}

.card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card-body {
  padding: var(--space-lg);
}

.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red-primary);
  background: var(--red-glass);
  border: 1px solid rgba(204,0,0,0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.card-text {
  font-size: 0.875rem;
  color: var(--grey-mid);
  line-height: 1.6;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--black-border);
  font-size: 0.78rem;
  color: var(--grey-dark);
}

/* ============================================================
   HERO SECTION (Shared base)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: var(--black-mid);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(204,0,0,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
}

.page-hero-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red-primary);
  margin-bottom: var(--space-sm);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.page-hero-title span {
  color: var(--red-primary);
}

.page-hero-subtitle {
  font-size: 1.05rem;
  color: var(--grey-mid);
  max-width: 560px;
}

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

.badge-red {
  background: var(--red-glass-strong);
  color: var(--red-bright);
  border: 1px solid rgba(204,0,0,0.4);
}

.badge-white {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-light);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 0.95rem;
  padding: 14px 16px;
  transition: var(--transition-base);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.15);
  background: var(--black-card);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--grey-dark);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--black-mid);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
  padding: var(--space-xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--black-border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--red-primary);
  line-height: 1;
  margin-bottom: 4px;
}

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

/* ============================================================
   TICKER / SCROLLING BANNER
   ============================================================ */
.ticker-wrap {
  background: var(--red-primary);
  overflow: hidden;
  padding: 10px 0;
}

.ticker-track {
  display: flex;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

.ticker-item {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  padding: 0 var(--space-2xl);
  white-space: nowrap;
}

.ticker-item::before {
  content: '🦁 ';
}

/* ============================================================
   LOADING SKELETON
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--black-elevated) 25%, var(--black-card) 50%, var(--black-elevated) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.skeleton-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--space-lg);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  animation: fade-in 0.2s ease;
}

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

.modal {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modal-slide-in 0.3s ease;
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--white-glass);
  border: 1px solid var(--black-border);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background: var(--red-glass-strong);
  border-color: var(--red-primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black-mid);
  border-top: 1px solid var(--black-border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red-primary);
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--grey-mid);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-socials {
  display: flex;
  gap: var(--space-sm);
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--white-glass);
  border: 1px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--grey-mid);
  transition: var(--transition-base);
}

.footer-social-link:hover {
  background: var(--red-glass-strong);
  border-color: var(--red-primary);
  color: var(--red-primary);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-size: 0.875rem;
  color: var(--grey-mid);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--red-primary);
  padding-left: 6px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--black-border);
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--grey-dark);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--grey-dark);
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--red-primary);
}

/* ============================================================
   ANIMATIONS & KEYFRAMES
   ============================================================ */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes modal-slide-in {
  from { opacity: 0; transform: translateY(32px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: var(--shadow-red); }
  50% { box-shadow: var(--shadow-red-lg); }
}

.animate-fade-up   { animation: fade-up 0.6s ease both; }
.animate-fade-in   { animation: fade-in 0.6s ease both; }
.animate-scale-in  { animation: scale-in 0.5s ease both; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-red);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
  z-index: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-lg);
}

/* ============================================================
   FILTER TABS
   ============================================================ */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.filter-tab {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-mid);
  background: var(--white-glass);
  border: 1px solid var(--black-border);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

.filter-tab.active {
  color: var(--white);
  background: var(--gradient-red);
  border-color: var(--red-primary);
  box-shadow: var(--shadow-red);
}

/* ============================================================
   NEWS TABS
   ============================================================ */
.news-tabs {
  display: flex;
  border-bottom: 1px solid var(--black-border);
  margin-bottom: var(--space-2xl);
  gap: var(--space-xs);
}

.news-tab {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-mid);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-bottom: -1px;
}

.news-tab:hover {
  color: var(--white);
}

.news-tab.active {
  color: var(--red-primary);
  border-bottom-color: var(--red-primary);
}

/* ============================================================
   NOTICE / ALERT BANNERS
   ============================================================ */
.notice-bar {
  background: var(--red-glass);
  border: 1px solid rgba(204,0,0,0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.875rem;
  color: var(--grey-light);
}

.notice-bar .notice-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item::before { display: none; }
}

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

  .nav-links,
  .nav-cta { display: none; }

  .nav-hamburger { display: flex; }

  .section { padding: var(--space-2xl) 0; }
  .section-sm { padding: var(--space-xl) 0; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

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

  .page-hero-title { font-size: clamp(2rem, 8vw, 3rem); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .filter-tabs { justify-content: center; }
}

/* ============================================================
   UTILITY / MISC
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.red-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
}

.glow-red {
  text-shadow: 0 0 30px rgba(204,0,0,0.7);
}

.overflow-hidden { overflow: hidden; }
.relative        { position: relative; }
.w-full          { width: 100%; }
.mt-auto         { margin-top: auto; }
