/* ============================================================
   SEMI MARATHON INTERNATIONAL DE MEKNÈS 2026
   global.css — Green & Gold Heritage Palette (Affiche Colors)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Lato:wght@300;400;700&family=Cairo:wght@400;600;700;900&display=swap');

:root {
  /* ── NEW PALETTE from affiche & logo ── */
  --green-deep:       #1A3D28;
  --green-dark:       #122A1C;
  --green-mid:        #2A6B3A;
  --green-light:      #3A8A4A;
  --green-pale:       #5FAD6A;

  --gold:             #C9A227;
  --gold-light:       #E0B93A;
  --gold-pale:        #F0D070;
  --gold-dark:        #8B6E18;

  --brown-dark:       #1A0F00;
  --brown-mid:        #3D2800;
  --brown-light:      #6B4800;

  /* Alias old vars → new palette so all pages still work */
  --terracotta:       #C9A227;
  --terracotta-dark:  #8B6E18;
  --terracotta-light: #E0B93A;
  --indigo:           #1A3D28;
  --indigo-dark:      #122A1C;
  --indigo-mid:       #2A6B3A;

  --cream:            #F5F0E8;
  --cream-dark:       #EAE2D0;
  --white:            #FFFFFF;
  --charcoal:         #1A1A1A;
  --gray:             #5A6B5A;
  --gray-light:       #D8E0D0;

  /* Typography */
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Lato', sans-serif;
  --font-arabic:  'Cairo', sans-serif;

  /* Spacing */
  --section-pad: 100px 0;
  --container:   1200px;

  /* Header height (used for page-hero padding on mobile) */
  --header-h: 72px;

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(26,61,40,0.10);
  --shadow-md:   0 6px 32px rgba(26,61,40,0.18);
  --shadow-lg:   0 16px 64px rgba(26,61,40,0.24);
  --shadow-gold: 0 8px 32px rgba(201,162,39,0.30);

  --radius:    8px;
  --radius-lg: 16px;
  --ease:      0.35s cubic-bezier(0.4,0,0.2,1);
  --ease-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--indigo);
  overflow-x: hidden;
  line-height: 1.75;
}
body[lang="ar"] { font-family: var(--font-arabic); direction: rtl; }
img { max-width:100%; display:block; }
a  { text-decoration:none; color:inherit; }
ul { list-style:none; }
button { border:none; cursor:pointer; background:none; }

/* ── ZELLIGE PATTERNS ── */
.zellige-bg {
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(201,162,39,0.05) 30px, rgba(201,162,39,0.05) 31px),
    repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(201,162,39,0.05) 30px, rgba(201,162,39,0.05) 31px),
    repeating-linear-gradient(45deg, transparent, transparent 42px, rgba(42,107,58,0.04) 42px, rgba(42,107,58,0.04) 43px),
    repeating-linear-gradient(-45deg, transparent, transparent 42px, rgba(42,107,58,0.04) 42px, rgba(42,107,58,0.04) 43px);
}
.zellige-dark {
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(201,162,39,0.07) 30px, rgba(201,162,39,0.07) 31px),
    repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(201,162,39,0.07) 30px, rgba(201,162,39,0.07) 31px),
    repeating-linear-gradient(45deg, transparent, transparent 42px, rgba(201,162,39,0.045) 42px, rgba(201,162,39,0.045) 43px),
    repeating-linear-gradient(-45deg, transparent, transparent 42px, rgba(201,162,39,0.045) 42px, rgba(201,162,39,0.045) 43px);
}

/* ── GEOMETRIC DIVIDER ── */
.geo-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold));
  margin: 0 auto 16px;
  position: relative;
}
.geo-divider::before, .geo-divider::after {
  content:'';
  position:absolute;
  top:50%;
  width:8px; height:8px;
  background:var(--gold);
  transform:translateY(-50%) rotate(45deg);
}
.geo-divider::before { left:-14px; }
.geo-divider::after  { right:-14px; }

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── SECTION LABELS ── */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
  display: block;
}
.section-eyebrow.light { color: var(--gold-pale); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--indigo);
  margin-bottom: 20px;
}
.section-title.light { color: var(--white); }
.section-title.gold  { color: var(--gold); }

.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 640px;
  line-height: 1.8;
}
.section-subtitle.light { color: rgba(255,255,255,0.72); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-subtitle { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 0;
  border: 2px solid transparent;
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--ease);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}
.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(42,107,58,0.35);
}

.btn-gold {
  background: var(--gold);
  color: var(--brown-dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--indigo);
  border-color: var(--indigo);
}
.btn-outline:hover {
  background: var(--indigo);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--brown-dark);
  transform: translateY(-2px);
}

/* ── FADE-IN ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-slow), transform 0.7s var(--ease-slow);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-slow), transform 0.7s var(--ease-slow);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-slow), transform 0.7s var(--ease-slow);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ════════════════════════════════════════════════════════
   HEADER / NAV — fully responsive
   ════════════════════════════════════════════════════════ */

#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;               /* above overlay (z-index 1000) */
  background: linear-gradient(to bottom,
    rgba(18,42,28,0.97) 0%,
    rgba(18,42,28,0.75) 75%,
    rgba(18,42,28,0) 100%);
  transition: background var(--ease), box-shadow var(--ease);
}
#site-header.scrolled {
  background: rgba(18,42,28,0.99);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.nav-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.1;
}
.logo-city {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

/* ── Desktop nav links (centre) ── */
.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  padding: 8px 8px;
  transition: color var(--ease);
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 8px; right: 8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--ease);
  transform-origin: center;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }

/* ── Right side container ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────
   LANGUAGE SWITCHER
   ─────────────────────────────────────────────────────── */

/* Desktop: pill row — visible ≥901px */
.lang-sw--desktop {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,162,39,0.25);
  padding: 3px 6px;
  border-radius: 4px;
}
.lang-sep {
  color: rgba(201,162,39,0.35);
  font-size: 0.65rem;
  line-height: 1;
  user-select: none;
}
.lang-btn {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  padding: 4px 7px;
  border-radius: 3px;
  transition: color var(--ease), background var(--ease);
  border: none;
  cursor: pointer;
  background: none;
}
.lang-btn:hover,
.lang-btn.active {
  color: var(--brown-dark);
  background: var(--gold);
}

/* Mobile: compact <select> dropdown — hidden ≥901px */
.lang-dropdown-wrap {
  display: none; /* hidden on desktop */
  position: relative;
}
.lang-dropdown-wrap::after {
  content: '▾';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 0.65rem;
  pointer-events: none;
}
.lang-dropdown {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,162,39,0.4);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 26px 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
}
.lang-dropdown option {
  background: var(--green-dark);
  color: var(--white);
  font-weight: 700;
}
.lang-dropdown:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,162,39,0.2);
}

/* ────────────────────────────────────────────────────────
   REGISTER BUTTON
   ─────────────────────────────────────────────────────── */
.nav-register-btn {
  font-size: 0.72rem !important;
  padding: 9px 20px !important;
  letter-spacing: 0.1em !important;
  white-space: nowrap;
}

/* ────────────────────────────────────────────────────────
   HAMBURGER — only visible on mobile
   ─────────────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════
   MOBILE NAV  (≤ 900px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

  .nav-wrap {
    padding: 0 16px;
  }

  /* Hide desktop lang pills */
  .lang-sw--desktop { display: none; }

  /* Show mobile lang dropdown */
  .lang-dropdown-wrap { display: block; }

  /* Show hamburger */
  .hamburger { display: flex; }

  /* Register button — compact but visible */
  .nav-register-btn {
    font-size: 0.62rem !important;
    padding: 7px 12px !important;
    letter-spacing: 0.06em !important;
  }

  /* Nav-links: full-screen slide-in overlay */
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    flex: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: rgba(18,42,28,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateX(-100%);
    transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
    z-index: 1050;              /* above page content, below header (1100) */
    padding: 80px 24px 40px;
    overflow-y: auto;
  }
  [dir="rtl"] .nav-links { transform: translateX(100%); }
  .nav-links.open { transform: translateX(0) !important; }

  /* ✕ close button inside overlay */
  .nav-overlay-close {
    display: flex !important;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(201,162,39,0.3);
    border-radius: 4px;
    cursor: pointer;
    transition: background var(--ease), border-color var(--ease);
    flex-shrink: 0;
  }
  .nav-overlay-close:hover {
    background: rgba(201,162,39,0.15);
    border-color: var(--gold);
  }

  .nav-links a {
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.82);
    padding: 13px 32px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(201,162,39,0.08);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { left: 32px; right: 32px; }
  .nav-links a:hover,
  .nav-links a.active { color: var(--gold); background: rgba(201,162,39,0.05); }

  /* Register button inside overlay (at the bottom) */
  .nav-links .overlay-register-btn {
    display: flex !important;
    margin-top: 24px;
    width: 100%;
    max-width: 260px;
    justify-content: center;
    padding: 14px 32px !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.12em !important;
    cursor: pointer;
  }
}

/* ════════════════════════════════════════════════════════
   VERY SMALL SCREENS  (≤ 420px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 420px) {
  .logo-city { display: none; }       /* hide subtitle under logo */
  .nav-register-btn {
    font-size: 0.58rem !important;
    padding: 6px 10px !important;
    letter-spacing: 0.04em !important;
  }
  .lang-dropdown {
    font-size: 0.65rem;
    padding: 5px 22px 5px 8px;
  }
}

/* ── PAGE HERO ── */
.page-hero {
  padding: calc(var(--header-h) + 88px) 0 90px;
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero .zellige-dark {
  position: absolute;
  inset: 0;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}
.page-hero-ornament {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 24px auto 28px;
}

/* ── CARD ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-img { width:100%; height:220px; object-fit:cover; display:block; }
.card-body { padding: 28px; }
.card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 10px;
  display: block;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card-text { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }

/* ── ORNAMENTAL BORDER ── */
.ornament-top { position: relative; }
.ornament-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold), var(--green-mid));
}

/* ── FOOTER ── */
#site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.65);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
#site-footer .zellige-dark {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.footer-inner { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(201,162,39,0.15);
}
.footer-brand .footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--ease);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border: 1.5px solid rgba(201, 162, 39, 0.3);
  color: var(--gold);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.footer-social a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(201, 162, 39, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-social a:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.25) 0%, rgba(201, 162, 39, 0.15) 100%);
  color: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.2);
}

.footer-social a:hover::before {
  opacity: 1;
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
}

/* Individual social platform colors on hover */
.footer-social a.facebook:hover {
  border-color: #1877F2;
  color: #1877F2;
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.2) 0%, rgba(24, 119, 242, 0.1) 100%);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.25);
}

.footer-social a.instagram:hover {
  border-color: #E4405F;
  color: #E4405F;
  background: linear-gradient(135deg, rgba(228, 64, 95, 0.2) 0%, rgba(228, 64, 95, 0.1) 100%);
  box-shadow: 0 8px 20px rgba(228, 64, 95, 0.25);
}

.footer-social a.threads:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}

.footer-social a.twitter:hover {
  border-color: #000000;
  color: #000000;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.footer-social a.linkedin:hover {
  border-color: #0A66C2;
  color: #0A66C2;
  background: linear-gradient(135deg, rgba(10, 102, 194, 0.2) 0%, rgba(10, 102, 194, 0.1) 100%);
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.25);
}

.footer-social a.youtube:hover {
  border-color: #FF0000;
  color: #FF0000;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.2) 0%, rgba(255, 0, 0, 0.1) 100%);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.25);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .footer-social a {
    width: 40px;
    height: 40px;
  }
  
  .footer-social a svg {
    width: 18px;
    height: 18px;
  }
}
.sponsor-pills { display: flex; flex-direction: column; gap: 8px; }
.sponsor-pill {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  border: 1px solid rgba(201,162,39,0.15);
  padding: 7px 14px;
  text-align: center;
  transition: all var(--ease);
}
.sponsor-pill:hover {
  color: var(--gold);
  border-color: rgba(201,162,39,0.4);
}

/* ── RESPONSIVE — Footer & General ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Overlay register btn: only shown inside mobile menu ── */
.overlay-register-btn { display: none; }
.nav-overlay-close    { display: none; }   /* hidden on desktop */

@media (max-width: 900px) {
  .overlay-register-btn { display: flex !important; }
  /* .nav-overlay-close shown via its own mobile rule above */
}

/* Ensure all .btn elements have pointer cursor */
.btn { cursor: pointer; }

/* ════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: 2px solid var(--gold-dark);
  color: var(--green-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(12, 31, 19, 0.25);
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(12, 31, 19, 0.35);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top svg {
  color: currentColor;
  width: 20px;
  height: 20px;
}

/* Mobile responsiveness for back-to-top */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
  
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
  
  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
}
