/* =========================================================
   SDABA — Unified Site Styles (Dark Esports Aesthetic)
   Debugged to keep your original vibe:
   - Dark footer preserved
   - Navbar glow single-source
   - Hero buttons centered symmetrically
   - Preloader = 6 balls (1–6) in triangle
   - Legacy slideshow = full-width (full-bleed) on index
   ========================================================= */

/* ============================= */
/* Global / Reset & Basics       */
/* ============================= */

html {
  height: 100%;
  overflow-y: scroll;              /* Always show vertical scrollbar */
  scroll-behavior: smooth;         /* Smooth scroll polish */
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Open Sans', sans-serif;
  background-color: #000;          /* Deep black background */
  color: #E0E0E0;
  opacity: 0;                      /* Page fade-in */
  animation: fadeInPage 0.8s ease-out forwards;
}

@keyframes fadeInPage {
  from { opacity: 0; }
  to   { opacity: 1; }
}

*,
*::before,
*::after { box-sizing: border-box; }

:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Scroll reveal utility (kept) */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.show { opacity: 1; transform: translateY(0); }

/* ============================= */
/* Header                        */
/* ============================= */

header {
  position: relative;
  text-align: center;
  padding: 25px 0;
  background: linear-gradient(90deg, #0B6623, #1A4E8A);
  color: white;
}

header h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  margin: 0;
  letter-spacing: .5px;
}
.header-logo {
  position: absolute;
  top: 15px;
  left: 20px;
  height: 75px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}

/* ============================= */
/* Navigation (canonical)        */
/* ============================= */

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.5rem 0;
  gap: 1rem;
  height: 65px;
  box-sizing: border-box;
  box-shadow: 0 0 14px rgba(11,102,35,0.35), 0 0 24px rgba(26,78,138,0.25);
}

/* Single animated glow rail under the nav */
nav::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #0B6623, #1A4E8A, #0B6623);
  background-size: 200% 100%;
  animation: sdabaGlowRail 12s linear infinite;
  box-shadow: 0 0 15px rgba(26,78,138,.25), 0 0 25px rgba(11,102,35,.25);
  z-index: 0;
}
@keyframes sdabaGlowRail { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

nav a {
  position: relative;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  transition: transform 0.15s ease, color 0.3s, box-shadow 0.3s;
  z-index: 1; /* keep links above glow */
  overflow: hidden;
}

nav a:hover { color: #FFD700; transform: scale(1.08); text-shadow: 0 0 8px rgba(255,215,0,0.2); }
nav a.active { color: #FFD700; border-bottom: 2px solid #FFD700; }

/* ============================= */
/* Main Layout                   */
/* ============================= */

main {
  max-width: 1200px;          /* gives more breathing room */
  width: 100%;
  margin: 2rem auto;
  padding: 1rem;
  flex: 1 0 auto;
  min-height: calc(100vh - 160px);
}

section { margin-bottom: 3rem; }

/* ============================= */
/* Section Headings (same look)  */
/* ============================= */

section h2 {
  font-family: 'Oswald', sans-serif;
  color: #0B6623;
  text-align: center;
  letter-spacing: .4px;
  position: relative;
  margin: 0 auto 2.2rem;
  border: none;
  isolation: isolate;
}

section h2::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: -8px;
  width: clamp(120px, 30%, 260px);
  height: 3px;
  background: linear-gradient(90deg, #0B6623, #1A4E8A);
  filter: drop-shadow(0 0 8px rgba(11,102,35,.35));
  border-radius: 999px;
  opacity: 0.95;
}

/* Announcements heading uses gold, no double line */
.announcements h2 {
  font-family: 'Oswald', sans-serif;
  color: #FFD700;
  margin-bottom: 1rem;
  border-bottom: 2px solid #0B6623;
  padding-bottom: 0.5rem;
  font-size: 1.6rem;
}
.announcements h2::after { content: none !important; }

/* ============================= */
/* Hero Carousel (cinematic)     */
/* ============================= */

.hero-carousel {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
}

/* Ambient shimmer behind carousel */
.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 70%, rgba(11,102,35,0.12), rgba(26,78,138,0.08), transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: subtlePulse 14s ease-in-out infinite alternate;
}
@keyframes subtlePulse { 0% { opacity:.4; transform:scale(1);} 100% { opacity:.6; transform:scale(1.05);} }

/* Slides */
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: 50% 40%;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform .25s ease-out;
  will-change: transform;
  z-index: 0;
}
.hero-slide.active { opacity: 1; z-index: 2; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,0.30), rgba(0,0,0,0.70));
  z-index: 2;
}

/* HERO TEXT + centered buttons */
.hero-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 3;
  max-width: 92%;
  padding: 0 1rem;
}

.hero-text h2 {
  font-family: 'Oswald', sans-serif;
  color: rgba(245,245,245,0.90);
  font-size: 2.8rem;
  margin: 0 0 .5rem;
  text-shadow: 0 0 10px rgba(11,102,35,0.8), 0 0 20px rgba(26,78,138,0.8);
}

.hero-text p { font-size: 1.2rem; margin: 0 0 1.6rem; }

/* Centered, symmetrical buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2.5rem; /* prevent overlap with h2 underline on some screens */
}

.hero-buttons .btn {
  text-decoration: none;
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(90deg, rgba(11,102,35,0.90), rgba(26,78,138,0.90));
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.20);
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
  backdrop-filter: blur(4px) saturate(130%);
  -webkit-backdrop-filter: blur(4px) saturate(130%);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.hero-buttons .btn:hover { transform: scale(1.06); box-shadow: 0 0 18px rgba(11,102,35,0.35), 0 0 24px rgba(26,78,138,0.30); border-color: rgba(255,255,255,0.28); }
.hero-buttons .btn::before {
  content: ""; position: absolute; top: 0; left: -150%;
  width: 130%; height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,.18), rgba(255,255,255,0), rgba(255,255,255,.18));
  transform: skewX(-18deg); transition: transform .35s ease;
}
.hero-buttons .btn:hover::before { transform: translateX(180%) skewX(-18deg); }

.fade-up { animation: fadeUp 1.2s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translate(-50%, -40%); } to { opacity: 1; transform: translate(-50%, -50%); } }

@media (max-width: 900px) { .hero-carousel { height: 480px; } .hero-text h2 { font-size: 2.2rem; } .hero-text p { font-size: 1.05rem; } }
@media (max-width: 600px) { .hero-carousel { height: 420px; } .hero-text h2 { font-size: 1.9rem; } .hero-buttons .btn { padding: 10px 18px; } }

/* ============================= */
/* Announcements                 */
/* ============================= */

.announcements {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1.2rem 1.5rem;
  background-color: #0a0a0a;
  border: 2px solid #0B6623;
  border-radius: 6px;
  color: #E0E0E0;
  box-shadow: 0 0 14px rgba(11,102,35,.18), 0 0 10px rgba(26,78,138,.12);
}

.announcements ul { list-style: disc; padding-left: 1.5rem; margin: 0; }
.announcements li { margin-bottom: .5rem; font-size: 1.05rem; }

.announcement-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.announcement-card {
  background: #111; border: 1px solid #0B6623; padding: 1rem 1.25rem; border-radius: 6px; max-width: 300px;
  transition: transform .3s, box-shadow .3s; will-change: transform, box-shadow;
}
.announcement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.45), 0 0 18px rgba(11,102,35,.35), 0 0 10px rgba(26,78,138,.25);
}
.badge { display:inline-block; background:#1A4E8A; color:#fff; font-size:.8rem; padding:2px 8px; border-radius:4px; margin-bottom:.5rem; }

/* ============================= */
/* Contact                       */
/* ============================= */

.contact-section {
  max-width: 600px; margin: 2rem auto; padding: 2rem;
  background-color: #111; border: 2px solid #0B6623; border-radius: 5px; color: #E0E0E0;
}
.contact-section h2 { color: #FFD700; margin-bottom: 1rem; font-family: 'Oswald', sans-serif; }
.contact-section label { display:block; margin-top:1rem; font-weight:700; }
.contact-section input, .contact-section textarea {
  width:100%; padding:10px; margin-top:.35rem; border:1px solid #0B6623; border-radius:4px; background-color:#222; color:#E0E0E0;
}
.contact-section button {
  margin-top:1rem; padding:10px 20px; background-color:#0B6623; color:#fff; font-weight:700; border:none; border-radius:5px; cursor:pointer;
  transition: transform .2s, box-shadow .3s, background .3s;
}
.contact-section button:hover { background-color:#1A4E8A; transform:translateY(-1px); box-shadow:0 0 14px rgba(26,78,138,.25); }

/* ============================= */
/* Gallery                       */
/* ============================= */

.gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; max-width: 1200px; margin: 1.5rem auto; padding: 0 1rem;
}
.gallery img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 2px solid #0B6623; background-color:#000; cursor:pointer;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; transform-style: preserve-3d;
}
.gallery img:hover, .gallery img:focus {
  transform: perspective(800px) rotateX(2deg) rotateY(-2.5deg) scale(1.02);
  filter: brightness(1.05);
  box-shadow: 0 8px 20px rgba(11,102,35,0.18), 0 6px 14px rgba(26,78,138,0.10);
  outline: none;
}

/* ============================= */
/* Lightbox                      */
/* ============================= */

.lightbox {
  display: none; position: fixed; inset: 0; background-color: rgba(0,0,0,0.92);
  z-index: 1200; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox-content { max-width:95%; max-height:90%; display:block; background-color:#000; object-fit:contain; }
.lightbox .close { position:absolute; top:18px; right:26px; font-size:40px; color:#fff; cursor:pointer; line-height:1; padding:4px 8px; }
.lightbox .caption { margin-top:12px; color:#E0E0E0; font-size:.95rem; text-align:center; }

@media (max-width: 600px) { .lightbox { padding:1rem; } .lightbox .close { top:12px; right:14px; font-size:34px; } }

/* ============================= */
/* Legacy Slideshow (full-bleed) */
/* ============================= */

/* Full-bleed trick: edge-to-edge even inside centered layout */
.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.slideshow {
  position: relative;
  overflow: hidden;
  border: 3px solid #0B6623;
  border-radius: 5px;
  /* Full-bleed horizontally */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* Height control */
  height: 420px;
  background: #000;
}

@media (min-width: 1400px) {
  .slideshow { height: 520px; }
}

.slides { display: none; width: 100%; height: 100%; }
.slides img { width: 100%; height: 100%; object-fit: cover; }

.fade { animation: fade 1.75s ease-in-out; }
@keyframes fade { from { opacity: 0.4; } to { opacity: 1; } }

/* ============================= */
/* Tournaments                   */
/* ============================= */

.tournament-content { display:flex; gap:2rem; align-items:flex-start; }
.tournament-info { flex:2 1 0; }
.tournamentposter { flex:1 1 0; }
.tournamentposter img { max-width:100%; height:auto; border:2px solid #0B6623; border-radius:5px; }
@media (max-width: 768px) { .tournament-content{flex-direction:column;} .tournamentposter{margin-top:1rem;} }

/* ============================= */
/* Standings / Schedules Hubs    */
/* ============================= */

.standings-hub, .schedules-hub { text-align:center; margin-top:3rem; }
.league-links { display:flex; justify-content:center; gap:1.5rem; flex-wrap:wrap; margin-top:2rem; }
.league-btn {
  text-decoration:none; padding:12px 25px; background:linear-gradient(90deg,#0B6623,#1A4E8A); color:#fff; font-weight:700; border-radius:5px;
  transition: background-color .3s, transform .2s, box-shadow .3s;
}
.league-btn:hover { transform:scale(1.05); box-shadow:0 0 18px rgba(11,102,35,.5),0 0 26px rgba(26,78,138,.45); }

/* ============================= */
/* Footer — KEEPING DARK STYLE   */
/* (Directly from your prior dark footer block) */
/* ============================= */

footer {
  background: radial-gradient(circle at top, rgba(11,102,35,0.25), #000 80%);
  border-top: 2px solid #0B6623;
  color: #aaa;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.6);
  animation: footerFade 1s ease-out both;
}
@keyframes footerFade { from { opacity:0; transform:translateY(30px);} to { opacity:1; transform:translateY(0);} }

footer img {
  height: 40px;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 6px rgba(11,102,35,0.6));
}
footer a { color: #FFD700; text-decoration: none; }
footer a:hover { text-shadow: 0 0 10px #FFD700; }

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding: 0 1.5rem;
  position: relative;
}
.footer-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../postlogo/logo.png') center/120px no-repeat;
  opacity: 0.05;
  filter: grayscale(1);
  pointer-events: none;
}

.footer-section { flex: 1 1 250px; min-width: 240px; }
.footer-section h3, .footer-section h4 {
  font-family: 'Oswald', sans-serif;
  color: #FFD700;
  margin-bottom: 0.8rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.footer-section p, .footer-section ul { margin: 0; line-height: 1.7; }
.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li { margin-bottom: 0.4rem; }
.footer-section a { color: #E0E0E0; text-decoration: none; transition: color .3s ease, text-shadow .3s ease; }
.footer-section a:hover { color: #FFD700; text-shadow: 0 0 8px rgba(255,215,0,0.3); }

.social-icons { margin-top: 1rem; }
.social-icons a {
  color: #E0E0E0;
  display: inline-block;
  margin-right: 10px;
  font-size: 1.2rem;
  transition: transform 0.2s ease, color 0.3s ease;
}
.social-icons a:hover { color: #FFD700; transform: translateY(-2px) scale(1.2); }

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: #aaa;
}

/* Animated rail at very top of footer (same feel as your original) */
footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #0B6623, #1A4E8A, #0B6623);
  background-size: 200%;
  animation: footerGlow 10s linear infinite;
  opacity: 0.9;
}
@keyframes footerGlow { 0% { background-position:0% 50%; } 100% { background-position:200% 50%; } }

/* Soft ellipse glow under footer content */
footer::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 80%; height: 40px;
  background: radial-gradient(ellipse at center, rgba(26,78,138,0.25), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

/* ============================= */
/* Preloader (6 balls triangle)  */
/* ============================= */

#preloader {
  position: fixed; inset: 0;
  display: flex; justify-content: center; align-items: center;
  background: radial-gradient(circle at center, #0a0a0a 40%, #000 100%);
  z-index: 9999; overflow: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.rack-area { position: relative; width: 220px; height: 210px; }

/* Ball visuals */
.ball {
  --size: 36px;
  position: absolute; top: 50%; left: 50%;
  width: var(--size); height: var(--size); border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--c) 0%, #000 90%);
  transform: translate(var(--x), var(--y)) scale(0.8);
  animation: assemble 1.2s ease forwards;
  display: flex; justify-content: center; align-items: center;
  font-family: 'Oswald', sans-serif; font-size: 0.9rem; font-weight: 700; color: #fff; text-shadow: 0 0 2px rgba(0,0,0,0.6);
  box-shadow: inset 0 2px 6px rgba(255,255,255,0.25), inset 0 -2px 8px rgba(0,0,0,0.5), 0 2px 3px rgba(0,0,0,0.6);
}
.ball::before {
  content: ""; position: absolute; top: 5%; left: 10%;
  width: 40%; height: 40%;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.6), transparent 70%);
  border-radius: 50%; pointer-events: none; transform: rotate(-15deg);
}
.ball::after {
  content: attr(data-num);
  position: absolute; width: 18px; height: 18px; background: #fff; color: #000; font-size: 0.75rem; font-weight: 800; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

/* Triangle rack target positions (translate end state) */
.ball:nth-child(1) { --tx:   0px; --ty: -62px; animation-delay: .05s; } /* 1 */
.ball:nth-child(2) { --tx: -18px; --ty: -31px; animation-delay: .10s; } /* 2 */
.ball:nth-child(3) { --tx:  18px; --ty: -31px; animation-delay: .15s; } /* 3 */
.ball:nth-child(4) { --tx: -36px; --ty:   0px; animation-delay: .20s; } /* 4 */
.ball:nth-child(5) { --tx:   0px; --ty:   0px; animation-delay: .25s; } /* 5 */
.ball:nth-child(6) { --tx:  36px; --ty:   0px; animation-delay: .30s; } /* 6 */
@keyframes assemble {
  0%   { transform: translate(var(--x), var(--y)) scale(0.8); opacity: 0.6; }
  70%  { opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(1); opacity: 1; }
}

/* ============================= */
/* Misc Utilities                */
/* ============================= */

.success-msg { color: #00ff80; font-weight: bold; text-align: center; margin-bottom: 1rem; }
.error-msg   { color: #ff4040; font-weight: bold; text-align: center; margin-bottom: 1rem; }

html {
  height: 100%;
  overflow-y: scroll;
  scroll-behavior: auto;           /* was: smooth — instant feels less woozy */
}








/* ============================= */
/* Unified Button System (site-wide = hero style) */
/* Paste at END of style.css */
/* ============================= */

:root{
  --btn-bg-a: rgba(11,102,35,0.90);
  --btn-bg-b: rgba(26,78,138,0.90);
  --btn-br: 10px;
  --btn-pad-y: 12px;
  --btn-pad-x: 25px;
  --btn-border: rgba(255,255,255,0.20);
  --btn-shadow: 0 1px 6px rgba(0,0,0,0.45);
}

/* Base */
.btn,
.league-btn,
.contact-section button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;

  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--btn-br);
  border: 1px solid var(--btn-border);

  background: linear-gradient(90deg, var(--btn-bg-a), var(--btn-bg-b));
  color: #fff !important;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none !important;
  text-shadow: var(--btn-shadow);
  cursor: pointer;

  position: relative;
  overflow: hidden;

  /* glassy */
  backdrop-filter: blur(4px) saturate(130%);
  -webkit-backdrop-filter: blur(4px) saturate(130%);

  transition:
    transform .2s ease,
    box-shadow .25s ease,
    background .25s ease,
    border-color .25s ease,
    filter .25s ease;
}

/* Hover/Focus */
.btn:hover,
.league-btn:hover,
.contact-section button:hover {
  transform: scale(1.06);
  box-shadow:
    0 0 18px rgba(11,102,35,.35),
    0 0 24px rgba(26,78,138,.30);
  border-color: rgba(255,255,255,0.28);
  filter: none;
}

.btn:focus-visible,
.league-btn:focus-visible,
.contact-section button:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

/* Pressed */
.btn:active,
.league-btn:active,
.contact-section button:active {
  transform: scale(.98);
  box-shadow: none;
}

/* Sheen effect (same as hero buttons) */
.btn::before,
.league-btn::before,
.contact-section button::before {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 130%; height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,.18),
    rgba(255,255,255,0),
    rgba(255,255,255,.18)
  );
  transform: skewX(-18deg);
  transition: transform .35s ease;
  pointer-events: none;
}
.btn:hover::before,
.league-btn:hover::before,
.contact-section button:hover::before {
  transform: translateX(180%) skewX(-18deg);
}

/* Size variants (optional) */
.btn-sm { --btn-pad-y: 8px;  --btn-pad-x: 16px; font-size: .9rem; }
.btn-lg { --btn-pad-y: 14px; --btn-pad-x: 28px; font-size: 1.05rem; }

/* Disabled state */
.btn[disabled],
.contact-section button[disabled]{ opacity:.6; pointer-events:none; }

/* Clean up legacy styles that fought the look */
.league-btn {
  border: 1px solid var(--btn-border) !important;
  box-shadow: none !important;
}

/* If you ever need an outline-only button */
.btn-outline {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.35) !important;
}
.btn-outline:hover {
  background: linear-gradient(90deg, rgba(11,102,35,.35), rgba(26,78,138,.35)) !important;
}

/* Buttons inside dark cards shouldn’t dim on hover */
.announcement-card .btn:hover {
  filter: none;
}

/* ============================= */
/* Mobile Hamburger Nav (FIXED)  */
/* Only shows under 900px        */
/* ============================= */

nav { position: sticky; }          /* keep your sticky behavior */
#navbar { position: sticky; }      /* ensure id nav is sticky */
nav#navbar { position: sticky; }   /* extra safety */
nav { position: relative; }        /* REQUIRED: anchors dropdown + button */

/* --- Hamburger button: HARD hidden on desktop --- */
.nav-toggle{
  display: none;                   /* desktop: OFF */
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  line-height: 0;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* The three bars */
.nav-toggle span{
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: linear-gradient(90deg, #0B6623, #1A4E8A);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* Desktop links wrapper stays inline */
.nav-links{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ------------------------------ */
/* MOBILE MODE (<= 900px)         */
/* ------------------------------ */
@media (max-width: 900px){

  /* Show button ONLY on small screens */
  .nav-toggle{
    display: inline-flex;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 40px;
    border-radius: 10px;
    background: #161616;
    border: 1px solid rgba(255,255,255,0.12);
    align-items: center;
    justify-content: center;
    z-index: 1101;
    box-shadow: 0 0 10px rgba(11,102,35,.18), 0 0 14px rgba(26,78,138,.16);
  }
  .nav-toggle span{ margin: 4px 0; }

  /* Collapse links into dropdown panel */
  .nav-links{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    display: none;                 /* closed by default */
    flex-direction: column;
    align-items: stretch;

    background: #111;
    padding: 10px 12px;
    border-top: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 14px 30px rgba(0,0,0,.55);
    z-index: 1100;
  }

  /* Open state */
  nav.open .nav-links{ display: flex; }

  /* Big finger-friendly links */
  .nav-links a{
    display: block;
    padding: 12px 14px;
    margin: 4px 0;
    border-radius: 10px;
    font-size: 1rem;
    text-align: left;
  }

  /* Animate hamburger to X */
  nav.open .nav-toggle span:nth-child(1){
    transform: translateY(6px) rotate(45deg);
  }
  nav.open .nav-toggle span:nth-child(2){
    opacity: 0;
  }
  nav.open .nav-toggle span:nth-child(3){
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Hero buttons: stack nicely on phone */
  .hero-buttons{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 1.2rem;
  }
  .hero-buttons .btn{ width: min(92%, 420px); }

  /* Slideshow height tuning */
  .slideshow{ height: 360px; }
}

@media (max-width: 480px){
  header h1{ font-size: 1.8rem; padding: 0 1rem; }
  .header-logo{ height: 58px; }
  .slideshow{ height: 310px; }
}

/* Optional: prevent page scroll when menu open */
body.menu-open{ overflow: hidden; }
/* ============================= */
/* Mobile Drawer Nav (Left Slide) */
/* Desktop unchanged              */
/* ============================= */

nav { position: sticky; }
#navbar { position: sticky; }
nav { position: relative; } /* anchor hamburger */

/* --- Hamburger button (hidden on desktop) --- */
.nav-toggle{
  display: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: #161616;
  border-radius: 10px;
  width: 46px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1101;
  box-shadow: 0 0 10px rgba(11,102,35,.18), 0 0 14px rgba(26,78,138,.16);
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  line-height: 0;
}

.nav-toggle .bar{
  display:block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0B6623, #1A4E8A);
}

/* Desktop links are your normal row */
.desktop-links { display: flex; }

/* --- Overlay --- */
.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 2000;
  opacity: 0;
  transition: opacity .22s ease;
}

/* --- Drawer --- */
.mobile-drawer{
  position: fixed;
  top: 0;
  left: 0;
  width: min(82vw, 320px);
  height: 100vh;
  background: #0b0b0b;
  border-right: 1px solid rgba(255,255,255,0.08);
  z-index: 2100;

  transform: translateX(-105%);
  transition: transform .26s ease;

  box-shadow: 16px 0 40px rgba(0,0,0,.55);
  display: flex;
  flex-direction: column;
  padding: 14px;
}

/* Top row inside drawer */
.drawer-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 6px 6px 14px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.drawer-title{
  font-family: 'Oswald', sans-serif;
  letter-spacing: .6px;
  color: #E0E0E0;
  font-size: 1.2rem;
}

.drawer-close{
  border: 1px solid rgba(255,255,255,0.12);
  background: #161616;
  color: #fff;
  width: 40px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
}

/* Links in drawer */
.drawer-links{
  padding-top: 12px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-links a{
  display:block;
  padding: 12px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.drawer-links a:hover{
  color: #FFD700;
  box-shadow: 0 0 14px rgba(11,102,35,.18), 0 0 16px rgba(26,78,138,.14);
}

/* OPEN STATE */
body.nav-open .nav-overlay{
  opacity: 1;
}
body.nav-open .mobile-drawer{
  transform: translateX(0);
}
body.nav-open{
  overflow: hidden; /* stop page scroll behind drawer */
}

/* ------------------------------ */
/* Mobile behavior (<= 900px)     */
/* ------------------------------ */
@media (max-width: 900px){
  .nav-toggle{ display: inline-flex; }
  .desktop-links{ display: none; }

  /* Hero buttons stack nicely on mobile */
  .hero-buttons{
    display:flex;
    flex-direction: column;
    align-items:center;
    gap: 10px;
    margin-top: 1.2rem;
  }
  .hero-buttons .btn{ width: min(92%, 420px); }

  /* Optional: reduce hero height a bit on small devices */
  .hero-carousel{ height: 460px; }
}

@media (max-width: 480px){
  .hero-carousel{ height: 420px; }
}
/* ========================================= */
/* Solid Hamburger    */
/* ========================================= */

/* Hamburger button — solid, no border */
.nav-toggle{
  background: #111;          /* solid */
  border: none;              /* no outline */
  box-shadow: none;          /* no glow */
  width: 44px;
  height: 44px;
  border-radius: 4px;        /* subtle, not pill */
}

/* Hamburger bars — clean & bold */
.nav-toggle .bar{
  background: #fff;
  width: 22px;
  height: 2px;
  margin: 4px 0;
}

/* Slight hover feedback (desktop users who resize) */
@media (hover: hover){
  .nav-toggle:hover{
    background: #111;
  }
}

/* Close button in drawer — match hamburger */
.drawer-close{
  background: #111;
  border: none;
  box-shadow: none;
  color: #fff;
  border-radius: 4px;
}
.drawer-close:hover{
  background: #111;
}
/* ============================================
   MOBILE POLISH PACK (Header + Hero + Burger)
   Paste at END of style.css
   ============================================ */

/* ---------- 1) Hamburger button (solid, no border) ---------- */
@media (max-width: 900px){
  .nav-toggle{
    border: none !important;
    background: rgba(0,0,0,0.55) !important; /* solid-ish like Purdue */
    box-shadow: none !important;
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
  }
  .nav-toggle:active{ transform: translateY(-50%) scale(0.98); }
}



/* ---------- 2) Header title not smushed on phone ---------- */
@media (max-width: 900px){
  header{
    padding: 18px 14px 18px; /* tighter */
  }

  /* make logo stop stealing space / covering the title */
  .header-logo{
    position: static !important;
    display: block;
    margin: 0 auto 10px;
    height: 58px;
  }

  header h1{
    font-size: clamp(1.45rem, 5vw, 2.05rem);
    line-height: 1.12;
    padding: 0 10px;
    letter-spacing: .2px;
    margin: 0 auto;
    max-width: 22ch; /* keeps it from looking like a long banner */
  }
}

@media (max-width: 420px){
  header h1{
    font-size: 1.45rem;
    max-width: 20ch;
  }
}

/* ---------- 3) Hero: professional mobile layout ---------- */
@media (max-width: 900px){
  .hero-carousel{
    height: 440px; /* a little shorter than desktop */
  }

  .hero-text{
    width: min(92%, 520px);
    padding: 0;
  }

  /* add a subtle panel behind text/buttons for readability */
  .hero-text{
    background: rgba(0,0,0,0.40);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 16px 14px 14px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.55);
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
  }

  .hero-text h2{
    font-size: clamp(1.35rem, 4.6vw, 1.9rem);
    line-height: 1.12;
    margin: 0 0 10px;
    text-shadow: 0 0 10px rgba(0,0,0,0.55);
  }

  /* If you keep a hero paragraph anywhere, make it subtle */
  .hero-text p{
    font-size: 1rem;
    margin: 0 0 12px;
    opacity: 0.92;
  }

  /* Buttons: consistent, clean, not huge */
  .hero-buttons{
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;  /* stacked */
    gap: 10px;
    justify-items: center;
  }

  .hero-buttons .btn{
    width: 100%;
    max-width: 360px;
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 1rem;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 420px){
  .hero-carousel{ height: 410px; }
  .hero-buttons .btn{ max-width: 320px; }
}
  .nav-toggle {
    background: #111 !important;          /* same as nav */
    border: none !important;              /* no border */
    box-shadow: none !important;          /* Purdue-ish flat */
  }

  /* keep the bars visible and clean */
  .nav-toggle .bar {
    background: #f2f2f2 !important;       /* solid white bars */
  }

  /* ============================================
   MOBILE POLISH PACK v2 (Tight + Centered)
   Replace your current mobile patch with this
   ============================================ */

/* ---------- 1) Hamburger: flat, solid, same as nav ---------- */
@media (max-width: 900px){
  .nav-toggle{
    background: #111 !important;          /* same as nav */
    border: none !important;              /* no border */
    box-shadow: none !important;          /* flat */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .nav-toggle .bar{
    background: #f2f2f2 !important;       /* solid white bars */
  }
}

/* ---------- 2) Header: centered, less blank space, not smushed ---------- */
@media (max-width: 900px){
  header{
    /* tighter header */
    padding: 14px 12px !important;
    /* make the header content center cleanly */
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    row-gap: 10px;
  }

  /* override the desktop absolute positioning ONLY on mobile */
  header .header-logo{
    position: static !important;
    left: auto !important;
    top: auto !important;
    height: 52px !important;
    margin: 0 !important;
  }

  header h1{
    margin: 0 !important;
    padding: 0 10px !important;
    text-align: center !important;

    /* professional sizing */
    font-size: clamp(1.35rem, 4.6vw, 2.0rem) !important;
    line-height: 1.12 !important;
    letter-spacing: .2px !important;

    /* prevents “wide banner” look */
    max-width: 24ch;
  }
}

@media (max-width: 420px){
  header{ row-gap: 8px; }
  header .header-logo{ height: 46px !important; }
  header h1{ max-width: 20ch; }
}

/* ---------- 3) Hero: show more picture + cleaner panel ---------- */
@media (max-width: 900px){
  .hero-carousel{
    height: 520px !important;              /* SHOW MORE IMAGE */
  }

  /* shift crop up a bit so faces don’t cut off */
  .hero-slide{
    background-position: 50% 30% !important;
  }

  /* smaller, more pro glass panel */
  .hero-text{
    width: min(94%, 520px) !important;
    padding: 14px 14px 12px !important;
    background: rgba(0,0,0,0.32) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 16px !important;
    box-shadow: 0 14px 30px rgba(0,0,0,0.50) !important;
    backdrop-filter: blur(7px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(7px) saturate(120%) !important;
  }

  .hero-text h2{
    font-size: clamp(1.25rem, 4.4vw, 1.85rem) !important;
    line-height: 1.12 !important;
    margin: 0 0 10px !important;
  }

  /* Buttons: same style, better spacing */
  .hero-buttons{
    margin-top: 10px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .hero-buttons .btn{
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 420px){
  .hero-carousel{ height: 500px !important; }
  .hero-buttons .btn{ max-width: 320px !important; }
}

/* ---------- 4) Announcements: don’t “take over” the whole phone ---------- */
@media (max-width: 900px){
  .announcements{
    margin: 1.25rem 0.9rem !important;
    padding: 1rem !important;
  }

  .announcement-card{
    width: 100% !important;
    max-width: 100% !important; /* avoid giant centered card */
  }
}




/* =========================================================
   SDABA — Header + Nav (Modern / Dark / Angles)
   - Matches footer vibe
   - “Pool table” angled cuts + rails
   - Tight spacing without feeling cramped
   - Mobile hamburger stays clean + solid
   ========================================================= */

/* ---------- Header shell ---------- */
.site-header{
  position: relative;
  background: radial-gradient(circle at top, rgba(11,102,35,0.18), #000 75%);
  border-bottom: 2px solid rgba(11,102,35,0.55);
  overflow: hidden;
}

/* angled “felt / rail” geometry */
.site-header::before{
  content:"";
  position:absolute;
  inset:-40px -60px auto -60px;
  height: 140px;
  background:
    linear-gradient(135deg,
      rgba(26,78,138,0.22) 0%,
      rgba(11,102,35,0.18) 45%,
      rgba(0,0,0,0) 80%);
  transform: skewY(-6deg);
  pointer-events:none;
  opacity: 0.95;
}

.site-header::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:3px;
  background: linear-gradient(90deg, #0B6623, #1A4E8A, #0B6623);
  background-size: 200% 100%;
  animation: headerRail 12s linear infinite;
  opacity: 0.9;
}
@keyframes headerRail{
  0%{ background-position: 0% 50%; }
  100%{ background-position: 200% 50%; }
}

.header-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 18px;
  position: relative;
  z-index: 2;
}

/* ---------- Brand block ---------- */
.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  text-decoration:none;
  color:#EDEDED;
  width: fit-content;
}

.brand-logo{
  height: 54px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(11,102,35,0.28));
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.brand-title{
  font-family:'Oswald', sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(245,245,245,0.95);
  text-shadow: 0 0 12px rgba(26,78,138,0.20);
}

.brand-subtitle{
  font-size: 0.95rem;
  letter-spacing: 0.25px;
  color: rgba(255,255,255,0.72);
}

/* ---------- Nav (dark, tight, angled feel) ---------- */
.site-nav{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0b0b0b;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 22px rgba(0,0,0,0.55);
}

.site-nav::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:3px;
  background: linear-gradient(90deg, #0B6623, #1A4E8A, #0B6623);
  background-size: 200% 100%;
  animation: navRail 12s linear infinite;
  opacity: 0.85;
}
@keyframes navRail{
  0%{ background-position: 0% 50%; }
  100%{ background-position: 200% 50%; }
}

.nav-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
}

/* desktop links row */
.desktop-links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:center;
  align-items:center;
}

.site-nav a{
  position: relative;
  display:inline-block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration:none;
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  letter-spacing: 0.15px;
  transition: transform .15s ease, color .25s ease, background .25s ease, box-shadow .25s ease;
  outline: none;
}

/* “angled chip” look */
.site-nav a::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(11,102,35,0.18), rgba(26,78,138,0.14));
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  opacity: 0;
  transition: opacity .25s ease;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}

.site-nav a:hover{
  color: #FFD700;
  transform: translateY(-1px);
  text-shadow: 0 0 10px rgba(255,215,0,0.20);
}
.site-nav a:hover::before{ opacity: 1; }

.site-nav a.active{
  color: #FFD700;
}
.site-nav a.active::before{
  opacity: 1;
  border-color: rgba(255,215,0,0.16);
  box-shadow: 0 0 16px rgba(11,102,35,0.20), 0 0 18px rgba(26,78,138,0.16);
}

/* ---------- Mobile hamburger: only visible under breakpoint ---------- */
.nav-toggle{
  display:none; /* shown in media query */
  position:absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 40px;
  background: #111;     /* same as nav */
  border: none;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle .bar{
  display:block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.92);
  margin: 6px 0;
  border-radius: 2px;
}

/* ---------- Mobile layout ---------- */
@media (max-width: 900px){
  .header-inner{
    padding: 14px 14px;
  }

  .brand{
    margin: 0 auto; /* centers header content */
  }

  .brand-logo{
    height: 52px;
  }

  .brand-title{
    font-size: clamp(1.25rem, 5vw, 1.6rem);
  }

  .brand-subtitle{
    font-size: 0.9rem;
  }

  .nav-toggle{
    display:block;
  }

  /* hide desktop links on mobile; drawer handles navigation */
  .desktop-links{
    display:none;
  }

  .nav-inner{
    justify-content:center;
    padding: 10px 14px;
  }
}

/* ---------- Tablet tightening (keeps it from feeling “blank”) ---------- */
@media (min-width: 901px) and (max-width: 1180px){
  .brand-title{ font-size: 1.55rem; }
  .site-nav a{ padding: 9px 10px; }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* =========================================================
   NAV + PRELOADER FIX PACK (paste at END of style.css)
   - Desktop nav centered
   - Mobile hamburger locked to left (not centered)
   - Hamburger background matches nav
   - Preloader balls animate smoothly (no flicker)
   ========================================================= */

/* ---------- NAV LAYOUT: true center on desktop ---------- */
nav#navbar,
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Make nav a 3-column grid so links are perfectly centered */
nav#navbar {
  display: grid;
  grid-template-columns: 56px 1fr 56px; /* left slot / centered links / right slot */
  align-items: center;
  height: 65px;
  padding: 0;
  background: #111;
  position: sticky;
  top: 0;
}

/* Desktop links centered */
nav#navbar .desktop-links,
nav#navbar .nav-links.desktop-links {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* Keep glow rail if you already have it (don’t duplicate) */
nav#navbar::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0B6623, #1A4E8A, #0B6623);
  background-size: 200% 100%;
  animation: sdabaGlowRail 12s linear infinite;
  box-shadow: 0 0 15px rgba(26,78,138,.25), 0 0 25px rgba(11,102,35,.25);
  z-index: 0;
}

/* Hamburger defaults: hidden on desktop */
.nav-toggle {
  display: none;
}

/* ---------- MOBILE: hamburger left + drawer works ---------- */
@media (max-width: 900px) {
  /* Show hamburger on the left slot */
  .nav-toggle {
    grid-column: 1;
    display: inline-flex;
    width: 44px;
    height: 44px;
    margin-left: 12px;
    align-items: center;
    justify-content: center;

    /* Match nav bar background (solid, no border) */
    background: #111 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 10px;
    cursor: pointer;

    position: relative; /* no translate tricks that can center it */
    z-index: 1002;
  }

  /* Ensure bars look clean */
  .nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #f2f2f2 !important;
    margin: 3px 0;
    border-radius: 999px;
    transition: transform .2s ease, opacity .2s ease;
  }

  /* Hide desktop links row on mobile */
  nav#navbar .desktop-links,
  nav#navbar .nav-links.desktop-links {
    display: none !important;
  }
}

/* ---------- MOBILE DRAWER polish (if you have these classes) ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1001;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(78vw, 320px);
  height: 100vh;
  background: #0b0b0b;
  border-right: 1px solid rgba(255,255,255,0.08);
  box-shadow: 18px 0 40px rgba(0,0,0,0.6);
  transform: translateX(-105%);
  transition: transform .25s ease;
  z-index: 1002;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer .drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-drawer .drawer-title {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  letter-spacing: .6px;
}

.mobile-drawer .drawer-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.mobile-drawer .drawer-links a {
  display: block;
  padding: 14px 14px;
  color: #eaeaea;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-drawer .drawer-links a:hover {
  background: rgba(255,255,255,0.04);
  color: #FFD700;
}

/* =========================================================
   PRELOADER FIX: smooth balls (no flicker)
   - unique start offsets + animation-fill-mode: both
   - ignore "reduce motion" global nukes
   ========================================================= */

/* If you have a global prefers-reduced-motion that kills animation,
   force preloader to still animate normally */
@media (prefers-reduced-motion: reduce) {
  #preloader * {
    animation-duration: initial !important;
    transition-duration: initial !important;
  }
  #preloader .ball {
    animation-duration: 1.2s !important;
  }
}

/* Make sure balls don’t “pop” on first paint */
#preloader .ball {
  opacity: 0;
  animation-fill-mode: both; /* keeps 0% styles until animation starts */
  will-change: transform, opacity;
}

/* Give each ball a unique START position (so it assembles smoothly) */
#preloader .ball:nth-child(1) { --sx: -120px; --sy: -80px; }
#preloader .ball:nth-child(2) { --sx:  120px; --sy: -80px; }
#preloader .ball:nth-child(3) { --sx: -140px; --sy:  40px; }
#preloader .ball:nth-child(4) { --sx:  140px; --sy:  40px; }
#preloader .ball:nth-child(5) { --sx: -40px;  --sy:  120px; }
#preloader .ball:nth-child(6) { --sx:  40px;  --sy:  120px; }

/* Override your assemble keyframes to use start offsets */
@keyframes assemble {
  0%   { transform: translate(var(--sx, 0px), var(--sy, 0px)) scale(0.7); opacity: 0; }
  55%  { opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(1); opacity: 1; }
}
/* =========================================================
   NAV FIX PACK (Desktop centered row + Mobile left hamburger)
   Paste at END of style.css
   ========================================================= */

/* ----- NAV: desktop defaults (centered horizontal) ----- */
nav#navbar,
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center; /* centers the link row */
  height: 65px;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Desktop link row: force horizontal layout */
.nav-links.desktop-links {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1200px;
}

/* Make sure links are not behaving like a vertical list on desktop */
.nav-links.desktop-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Hide hamburger + mobile UI on desktop */
.nav-toggle { display: none !important; }
.nav-overlay { display: none !important; }
.mobile-drawer { display: none !important; }

/* ----- MOBILE: show hamburger on LEFT, hide desktop row ----- */
@media (max-width: 900px) {
  nav#navbar,
  nav {
    justify-content: flex-start; /* hamburger sits left */
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Hide the centered desktop links on mobile */
  .nav-links.desktop-links {
    display: none !important;
  }

  /* Show hamburger button on mobile (same background as nav) */
  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;

    background: #111 !important;  /* SAME as nav */
    border: none !important;
    box-shadow: none !important;
    border-radius: 10px;
    padding: 0;
    cursor: pointer;

    /* keep it nicely left + vertically centered */
    position: relative;
    margin: 0;
  }

  /* Hamburger bars */
  .nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #f2f2f2 !important;
    margin: 3.5px 0;
    border-radius: 999px;
  }

  /* Mobile overlay + drawer enabled */
  .nav-overlay {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1998;
  }

  .mobile-drawer {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(82vw, 320px);
    background: #111; /* SAME as nav */
    z-index: 1999;

    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: 18px 0 40px rgba(0,0,0,0.55);
    border-right: 1px solid rgba(255,255,255,0.06);
  }

  /* When your JS adds .open, slide it in */
  .mobile-drawer.open {
    transform: translateX(0);
  }

  /* Drawer header */
  .drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .drawer-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.3px;
  }

  .drawer-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 8px;
  }

  /* Drawer links */
  .drawer-links {
    display: flex;
    flex-direction: column;
    padding: 10px 10px 16px;
    gap: 6px;
  }

  .drawer-links a {
    display: block;
    padding: 12px 12px;
    border-radius: 10px;
    color: #eaeaea;
    text-decoration: none;
    font-weight: 700;
  }

  .drawer-links a:hover {
    background: rgba(255,255,255,0.06);
  }

  .drawer-links a.active {
    color: #FFD700;
    background: rgba(255,215,0,0.08);
  }
}
/* =========================================================
   NAV FIX PACK (Desktop centered + Mobile hamburger left)
   Paste at END of style.css
   ========================================================= */

/* Make sure nav is the positioning context */
nav#navbar, nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Keep desktop links centered regardless of the hamburger existing in the DOM */
nav#navbar, nav {
  display: flex;
  align-items: center;
  justify-content: center; /* center the link row */
}

/* Desktop link row: centered */
nav .nav-links.desktop-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

/* Hamburger base style (hidden on desktop by default) */
.nav-toggle {
  display: none;              /* shown via media query */
  position: absolute;         /* take it out of the flex flow */
  left: 14px;                 /* LEFT aligned */
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 44px;
  padding: 10px;
  border: none;
  background: #111;           /* SAME as nav background */
  border-radius: 10px;
  cursor: pointer;
  z-index: 1200;              /* above nav glow line and content */
  -webkit-tap-highlight-color: transparent;
}

/* The 3 bars */
.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  margin: 6px 0;
  background: #f2f2f2;
  border-radius: 999px;
}

/* Hover/active polish */
.nav-toggle:hover { filter: brightness(1.05); }
.nav-toggle:active { transform: translateY(-50%) scale(0.98); }

/* MOBILE: show hamburger, hide desktop links */
@media (max-width: 900px) {
  nav#navbar, nav {
    justify-content: center;         /* keep the bar itself clean */
    min-height: 65px;
  }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  nav .nav-links.desktop-links {
    display: none !important;        /* DO NOT show the desktop row on mobile */
  }
}

/* ===== Mobile Drawer + Overlay (in case anything is missing/overridden) ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1100;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: min(78vw, 320px);
  background: #111;
  border-right: 1px solid rgba(255,255,255,0.10);
  box-shadow: 10px 0 30px rgba(0,0,0,0.60);
  transform: translateX(-105%);
  transition: transform 220ms ease;
  z-index: 1150;
  padding: 14px;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer .drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.mobile-drawer .drawer-title {
  color: #fff;
  font-weight: 800;
  letter-spacing: .3px;
}

.mobile-drawer .drawer-close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.mobile-drawer .drawer-links a {
  display: block;
  padding: 12px 10px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.mobile-drawer .drawer-links a:hover {
  background: rgba(255,255,255,0.06);
}

.mobile-drawer .drawer-links a.active {
  color: #FFD700;
  background: rgba(255,215,0,0.10);
}





/* ===== FINAL MOBILE NAV FIX (AUTHORITATIVE) ===== */

/* Desktop: hamburger OFF */
.nav-toggle {
  display: none;
}

/* Desktop nav links ON */
.desktop-links {
  display: flex;
}

/* Mobile only */
@media (max-width: 900px) {

  /* Show hamburger */
  .nav-toggle {
    display: flex !important;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 40px;
    background: #111;
    border: none;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    z-index: 1200;
  }

  .nav-toggle .bar {
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    display: block;
  }

  /* Hide desktop links */
  .desktop-links {
    display: none !important;
  }

  /* Drawer slide-in */
  .mobile-drawer {
    transform: translateX(-105%);
  }

  body.nav-open .mobile-drawer {
    transform: translateX(0);
  }

  body.nav-open .nav-overlay {
    opacity: 1;
  }
}




/* =========================================================
   SDABA — MOBILE HAMBURGER + DRAWER (FIX PACK)
   Paste at END of style.css
   IMPORTANT: Remove older hamburger/drawer CSS blocks first.
   Works with your existing JS (body.nav-open, #nav-overlay, #mobile-drawer).
   ========================================================= */

/* ----- Base safety: desktop stays normal ----- */
nav#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Center the desktop links properly */
nav#navbar .desktop-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

/* Hamburger hidden on desktop ALWAYS */
nav#navbar .nav-toggle {
  display: none !important;
}

/* Make sure overlay/drawer never mess with desktop */
.nav-overlay,
.mobile-drawer {
  display: none;
}

/* =========================================================
   MOBILE ONLY
   ========================================================= */
@media (max-width: 900px) {

  /* NAV: keep it clean, and give room for the button */
  nav#navbar {
    position: sticky;
    top: 0;
    z-index: 1500;
    background: #111;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center; /* keeps brand / whatever centered */
    padding-left: 60px;      /* space so hamburger doesn't overlap */
    padding-right: 14px;
  }

  /* Hide desktop links row on mobile */
  nav#navbar .desktop-links {
    display: none !important;
  }

  /* Hamburger button: solid, left aligned, same as nav */
  nav#navbar .nav-toggle {
    display: inline-flex !important;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    padding: 0;
    border: none !important;
    background: #111 !important; /* SAME as nav */
    box-shadow: none !important;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 1600;
    -webkit-tap-highlight-color: transparent;
  }

  /* Hamburger bars */
  nav#navbar .nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #f2f2f2;
    border-radius: 2px;
    margin: 3px 0;
  }

  /* ==========================
     OVERLAY
     ========================== */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 1800;
  }

  /* When JS sets hidden, ensure it's REALLY gone */
  .nav-overlay[hidden] {
    display: none !important;
  }

  /* Open state */
  body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  /* ==========================
     DRAWER
     ========================== */
  .mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: #111;
    color: #fff;
    z-index: 1900;
    transform: translateX(-105%);
    transition: transform 220ms ease;
    box-shadow: 14px 0 30px rgba(0,0,0,0.55);
    border-right: 1px solid rgba(255,255,255,0.06);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.nav-open .mobile-drawer {
    transform: translateX(0);
  }

  /* Drawer header */
  .mobile-drawer .drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-drawer .drawer-title {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
    font-size: 1.05rem;
    color: #FFD700;
  }

  .mobile-drawer .drawer-close {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: #f2f2f2;
    font-size: 22px;
    cursor: pointer;
    border-radius: 10px;
  }
  .mobile-drawer .drawer-close:active {
    transform: scale(0.98);
  }

  /* Drawer links */
  .mobile-drawer .drawer-links {
    padding: 10px;
    display: grid;
    gap: 6px;
  }

  .mobile-drawer .drawer-links a {
    display: block;
    padding: 12px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #E0E0E0;
    font-weight: 700;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
  }

  .mobile-drawer .drawer-links a:hover {
    color: #FFD700;
    border-color: rgba(255,215,0,0.25);
  }

  .mobile-drawer .drawer-links a.active {
    color: #FFD700;
    background: rgba(255,215,0,0.08);
    border-color: rgba(255,215,0,0.22);
  }

  /* Prevent background scroll when menu is open */
  body.nav-open {
    overflow: hidden;
  }

  /* OPTIONAL: If you previously had a #nav-links dropdown system, force-hide it */
  #nav-links {
    display: none !important;
  }
}






/* =========================================================
   MOBILE NAV — FINAL PATCH (under 900px only)
   - Keeps desktop nav untouched/centered
   - Hamburger pinned LEFT, vertically centered
   - Drawer + overlay correct z-index
   - X button clickable + no weird pseudo arrows
   Paste at END of style.css and REMOVE older mobile-nav blocks
   ========================================================= */

/* Make sure hidden actually hides (older CSS sometimes breaks this) */
[hidden] { display: none !important; }

/* --- Desktop defaults (no hamburger, no drawer UI visible) --- */
.nav-toggle { display: none; }
.nav-overlay { display: none; }
.mobile-drawer { display: none; }

/* Ensure nav can anchor the absolute-position hamburger without shifting centered links */
nav#navbar { position: sticky; top: 0; z-index: 1000; }
nav#navbar { position: sticky; }
nav#navbar { position: sticky; } /* harmless redundancy */
nav#navbar { position: sticky; } /* keeps your existing behavior */
nav#navbar { position: sticky; } /* (don’t delete your existing nav styles) */
nav#navbar { position: sticky; }
nav#navbar { position: sticky; }
nav#navbar { position: sticky; }
nav#navbar { position: sticky; }

/* IMPORTANT: this is the only structural requirement */
nav#navbar { position: sticky; }
nav#navbar { position: sticky; }
nav#navbar { position: sticky; }
nav#navbar { position: sticky; }
nav#navbar { position: sticky; }

/* Anchor for absolute hamburger */
nav#navbar { position: sticky; }
nav#navbar { position: sticky; }
nav#navbar { position: sticky; }
nav#navbar { position: sticky; }
nav#navbar { position: sticky; }

/* Real anchor line: */
nav#navbar { position: sticky; }
nav#navbar { position: relative; } /* <— THIS is the key */


/* ---------------- MOBILE ONLY ---------------- */
@media (max-width: 900px) {

  /* Show hamburger on mobile */
  .nav-toggle{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    /* pin LEFT, vertically centered in the nav bar */
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: 46px;
    height: 42px;

    /* SAME background as nav */
    background: #111 !important;
    border: none !important;
    border-radius: 10px;

    box-shadow: none !important;
    cursor: pointer;

    z-index: 1105 !important; /* above nav rail/glow */
    -webkit-tap-highlight-color: transparent;
  }

  /* The 3 bars */
  .nav-toggle .bar{
    display: block;
    width: 22px;
    height: 2px;
    background: #f2f2f2 !important;
    border-radius: 999px;
    margin: 3px 0;
  }

  /* Don’t let mobile hamburger push/shift desktop links */
  nav#navbar .desktop-links{
    width: 100%;
    justify-content: center;
  }

  /* You can optionally tighten nav height on mobile */
  nav#navbar{
    min-height: 62px;
  }

  /* Overlay */
  .nav-overlay{
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1200 !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
  }

  /* Drawer shell */
  .mobile-drawer{
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(84vw, 360px);
    background: #0a0a0a;
    z-index: 1210 !important;

    transform: translateX(-102%);
    transition: transform .22s ease;
    will-change: transform;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    border-right: 1px solid rgba(255,255,255,0.08);
    box-shadow: 14px 0 30px rgba(0,0,0,0.55);
  }

  /* Drawer header row */
  .mobile-drawer .drawer-top{
    position: sticky;
    top: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 10px;
    z-index: 2;
  }

  .mobile-drawer .drawer-title{
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.6px;
    color: #FFD700;
    font-size: 1.2rem;
  }

  /* Close (X) button — must be clickable */
  .drawer-close{
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #111 !important;
    color: #fff !important;

    border: none !important;
    border-radius: 12px;

    cursor: pointer;
    pointer-events: auto !important;
    z-index: 3;

    font-size: 26px;
    line-height: 1;

    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  /* Kill any old pseudo-elements that cause arrows/overlays */
  .drawer-close::before,
  .drawer-close::after,
  .mobile-drawer a::before,
  .mobile-drawer a::after{
    content: none !important;
  }

  .mobile-drawer .drawer-links{
    padding: 10px 14px 18px;
    display: grid;
    gap: 10px;
  }

  .mobile-drawer .drawer-links a{
    display: block;
    padding: 14px 14px;
    border-radius: 12px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);

    color: #eaeaea;
    text-decoration: none;

    font-weight: 700;
    letter-spacing: .2px;
  }

  .mobile-drawer .drawer-links a:hover,
  .mobile-drawer .drawer-links a:focus{
    outline: none;
    border-color: rgba(255,215,0,0.35);
    box-shadow: 0 0 0 2px rgba(255,215,0,0.10);
  }

  /* --- OPEN STATE (this matches your JS: body.nav-open) --- */
  body.nav-open .nav-overlay{
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .mobile-drawer{
    transform: translateX(0);
  }
}
/* =========================================================
   MOBILE HAMBURGER + DRAWER — FINAL FIX
   - Hamburger shows ONLY under 900px
   - Hamburger is LEFT + vertically centered in nav
   - Overlay sits BEHIND drawer (so X is clickable)
   - Drawer slides in/out using body.nav-open class
   - Desktop remains untouched
   ========================================================= */

/* ---------- Desktop: force-hide mobile pieces ---------- */
@media (min-width: 901px){
  .nav-toggle,
  .nav-overlay,
  .mobile-drawer{
    display: none !important;
  }
}

/* ---------- Mobile layout ---------- */
@media (max-width: 900px){

  /* Keep navbar as the anchor */
  #navbar{
    position: sticky;
    top: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center; /* keeps the bar "centered" */
    height: 65px;
  }

  /* Hide desktop row links on mobile */
  #navbar .desktop-links{
    display: none !important;
  }

  /* Hamburger: LEFT + vertically centered (not middle of the bar) */
  #navbar .nav-toggle{
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: 46px;
    height: 46px;
    padding: 0;

    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    background: #111 !important;  /* same as nav */
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 12px;

    cursor: pointer;
    z-index: 2200; /* above everything */
    -webkit-tap-highlight-color: transparent;
  }

  /* Hamburger bars */
  #navbar .nav-toggle .bar{
    width: 22px;
    height: 2px;
    background: #f2f2f2 !important;
    border-radius: 2px;
    margin: 0 auto;
    display: block;
  }

  /* Overlay: behind drawer (so drawer + X are clickable) */
  .nav-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 2050; /* BELOW drawer */
  }

  /* When closed, hide overlay completely */
  body:not(.nav-open) .nav-overlay{
    display: none !important;
  }

  /* Drawer */
  .mobile-drawer{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(82vw, 320px);

    background: #0b0b0b;
    border-right: 1px solid rgba(255,255,255,0.08);

    z-index: 2100; /* ABOVE overlay */
    transform: translateX(-105%);
    transition: transform 0.22s ease;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
  }

  /* Open state controlled by your JS (body.nav-open) */
  body.nav-open .mobile-drawer{
    transform: translateX(0);
  }

  /* Optional: stop page scroll when drawer open */
  body.nav-open{
    overflow: hidden;
  }

  /* Drawer header */
  .drawer-top{
    position: sticky;
    top: 0;
    background: #0b0b0b;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 14px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .drawer-title{
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    color: #FFD700;
    font-size: 1.2rem;
  }

  /* X button MUST be clickable */
  .drawer-close{
    appearance: none;
    -webkit-appearance: none;

    width: 44px;
    height: 44px;

    border: none !important;
    background: #111 !important;
    color: #fff !important;

    border-radius: 12px;
    display: grid;
    place-items: center;

    font-size: 26px;
    line-height: 1;
    cursor: pointer;

    z-index: 2205;       /* above drawer header */
    pointer-events: auto;/* ensure clicks register */
  }

  .drawer-close:active{
    transform: scale(0.98);
  }

  /* Drawer links area */
  .drawer-links{
    padding: 12px 12px 18px;
    display: grid;
    gap: 10px;
  }

  .drawer-links a{
    display: block;
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: #f1f1f1;
    text-decoration: none;
    font-weight: 700;
  }

  .drawer-links a:active{
    transform: scale(0.99);
  }
}
