/* ============================================================
   NAV-FOOTER.CSS — Modern Redesign of Navbar & Footer
   Overrides shared.css — load AFTER shared.css
   ============================================================ */

/* ──────────────────────────────────────────────
   NAVBAR (Floating Glassmorphic Capsule)
   ────────────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 16px;
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform: none !important;
  width: calc(100% - 32px) !important;
  max-width: 1340px !important;
  height: 64px;
  padding: 0;
  background: rgba(10, 10, 16, 0.75) !important;
  backdrop-filter: blur(24px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 18px !important;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-sizing: border-box;
}

/* Dynamic neon scroll progress bar */
.scroll-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #ff6633, #00e5ff, #ff8833);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.8), 0 0 12px rgba(255, 102, 51, 0.6);
  border-radius: 18px 18px 0 0;
  transition: width 0.08s ease-out;
  pointer-events: none;
  z-index: 1001;
}

/* Hide old backdrop helper */
.navbar::after {
  display: none !important;
}

/* Light mode overrides */

/* Scrolled state transitions */
.navbar.scrolled {
  top: 8px;
  height: 54px;
  background: rgba(6, 6, 8, 0.88) !important;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
}

/* Animated interior glowing line */
.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #ff6633,
    #ffaa00,
    #ff6633,
    transparent
  );
  background-size: 200% 100%;
  animation: navLine 6s linear infinite;
  z-index: 2;
  opacity: 0.6;
  pointer-events: none;

}

@keyframes navLine {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Inner layout */
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: 100%;
  padding: 0 1.2rem;
  gap: 0.8rem;
}

/* ---- LOGO ---- */
.logo {
  font-family: "Orbitron", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  background: linear-gradient(135deg, #ff6633 0%, #ffaa00 50%, #ff8833 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoGradDark 5s ease infinite;
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  display: inline-flex;
  align-items: center;

  -webkit-background-clip: text;
}

@keyframes logoGrad {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes logoGradDark {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.logo:hover {
  transform: scale(1.03);
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(255, 102, 51, 0.25));

}

.logo a {
  text-decoration: none;
  color: inherit;
  -webkit-text-fill-color: inherit;
}

/* Micro-interaction: Pulsating status dot next to logo */
.logo::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffaa00;
  margin-right: 10px;
  box-shadow: 0 0 8px #ffaa00;
  animation: logoDotPulse 2s infinite ease-in-out;

}

@keyframes logoDotPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

/* ---- NAV LINKS ---- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  height: 100%;
  justify-content: flex-end;
  flex-shrink: 1;
}

.navbar .nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 36px;
  padding: 0 0.65rem;
  border-radius: 10px;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7) !important;
  background: transparent !important;
  box-shadow: none !important;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

/* External Link Icon */
.nav-ext-icon {
  width: 11px;
  height: 11px;
  opacity: 0.5;
  flex-shrink: 0;
  margin-left: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.navbar .nav-links a:hover .nav-ext-icon {
  opacity: 1;
  transform: translate(1px, -1px);
}

/* Hover state: sleek capsule highlight */
.navbar .nav-links a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-1px);
}

/* Active state: capsule + active gradient tint */
.navbar .nav-links a.active {
  color: #fff !important;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(255, 102, 51, 0.16), rgba(255, 170, 0, 0.12)) !important;
  box-shadow: 0 0 0 1px rgba(255, 102, 51, 0.3), 0 4px 14px rgba(255, 102, 51, 0.2) !important;

}

/* Indicator bar: glowing indicator pill under active link */
.navbar .nav-links a::after {
  content: "" !important;
  position: absolute !important;
  bottom: 3px !important;
  left: 50% !important;
  width: 16px !important;
  height: 2px !important;
  border-radius: 2px !important;
  background: linear-gradient(90deg, #ff6633, #ffaa00) !important;
  transform: translateX(-50%) scaleX(0) !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  opacity: 1 !important;
  display: block !important;
  box-shadow: 0 0 8px rgba(255, 170, 0, 0.7) !important;

}

.navbar .nav-links a.active::after {
  transform: translateX(-50%) scaleX(1) !important;
}

.navbar .nav-links a:hover::after {
  transform: translateX(-50%) scaleX(0) !important;
}

/* ---- NAV ACTIONS ---- */
.nav-actions {
  display: none !important;
}


/* Actions Divider */
.nav-actions-divider {
  width: 1px;
  height: 16px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  flex-shrink: 0;
  margin: 0 4px !important;
}

/* ---- HAMBURGER ---- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.03);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 0.3s ease,
    width 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ──────────────────────────────────────────────
   FOOTER (Immersive space theme with radial ambient glows)
   ────────────────────────────────────────────── */

footer {
  background: #06060a !important;
  color: #fff;
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ambient glows and engraved pattern in space background */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300' stroke='%23ffffff' fill='none' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.2'%3E%3Crect x='40' y='40' width='50' height='50' rx='4'/%3E%3Crect x='50' y='50' width='30' height='30' rx='2'/%3E%3Cpath d='M50 32v8 M65 32v8 M80 32v8 M50 90v8 M65 90v8 M80 90v8 M32 50h8 M32 65h8 M32 80h8 M90 50h8 M90 65h8 M90 80h8'/%3E%3Cpath d='M98 65 h 60 v 80 h 30'/%3E%3Ccircle cx='188' cy='145' r='3' fill='%23ffffff'/%3E%3Crect x='180' y='40' width='80' height='20' rx='2'/%3E%3Cpath d='M185 60v6 M195 60v6 M205 60v6 M215 60v6 M225 60v6 M235 60v6 M245 60v6 M255 60v6'/%3E%3Cline x1='215' y1='40' x2='215' y2='60' stroke-dasharray='2 4'/%3E%3Crect x='160' y='180' width='100' height='55' rx='4'/%3E%3Ccircle cx='185' cy='205' r='16'/%3E%3Ccircle cx='235' cy='205' r='16'/%3E%3Cpath d='M175 235v10 M195 235v10 M215 235v10 M235 235v10'/%3E%3Ccircle cx='70' cy='200' r='30'/%3E%3Ccircle cx='70' cy='200' r='8'/%3E%3Cpath d='M70 170 c 15 0 20 15 5 22 c -5 -5 -15 -15 -5 -22 Z'/%3E%3Cpath d='M70 230 c -15 0 -20 -15 -5 -22 c 5 5 15 15 5 22 Z'/%3E%3Cpath d='M40 200 c 0 -15 15 -20 22 -5 c -5 5 -15 15 -22 5 Z'/%3E%3Cpath d='M100 200 c 0 15 -15 20 -22 5 c 5 -5 15 -15 22 -5 Z'/%3E%3Cpath d='M70 160 v -40 h 60'/%3E%3Ccircle cx='130' cy='120' r='3' fill='%23ffffff'/%3E%3C/svg%3E"),
    radial-gradient(circle at 12% 25%, rgba(0, 102, 255, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 88% 75%, rgba(0, 204, 136, 0.04) 0%, transparent 45%);
  background-size: 300px 300px, 100% 100%, 100% 100%;
  pointer-events: none;
  z-index: 0;
}

/* Animated accent line at top border */
footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #ff6633,
    #ffaa00,
    #ff6633,
    transparent
  );
  background-size: 200% 100%;
  animation: footerAccentLine 6s linear infinite;
  z-index: 1;

}

@keyframes footerAccentLine {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ---- SPONSORS / PARTNERS SECTION ---- */
.footer-top {
  position: relative;
  z-index: 2;
  padding: 3.5rem 2rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-top-title {
  font-family: "Orbitron", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 auto 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  max-width: 600px;
}

.footer-top-title::before,
.footer-top-title::after {
  content: "";
  flex: 1;
  height: 1px;
  max-width: 120px;
}

.footer-top-title::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12));
}

.footer-top-title::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
}

.sponsors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.6rem;
  max-width: 1160px;
  margin: 0 auto;
}

/* Sponsor logo links */
.sponsors a,
.sponsor-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  min-height: 56px;
}

.sponsors a:hover,
.sponsor-link:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.sponsor-logo {
  height: auto;
  max-height: 38px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  opacity: 0.92;
  filter: none !important;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sponsors a:hover .sponsor-logo,
.sponsor-link:hover .sponsor-logo {
  opacity: 1;
  transform: scale(1.05);
}

/* Light mode */
body.light-mode .footer-top-title {
  color: rgba(0, 0, 0, 0.45);
}

body.light-mode .footer-top-title::before {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1));
}

body.light-mode .footer-top-title::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.1), transparent);
}

body.light-mode .sponsors a,
body.light-mode .sponsor-link {
  background: rgba(0, 0, 0, 0.015);
  border-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .sponsors a:hover,
body.light-mode .sponsor-link:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

/* ---- DIVIDER ---- */
.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0 auto;
  max-width: 1200px;
  width: calc(100% - 4rem);
  animation: none;
  background-size: unset;
}

/* ---- MAIN FOOTER BODY ---- */
.footer-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr;
  align-items: start;
  gap: 3.5rem;
  padding: 4.5rem 2rem 3.5rem;
  max-width: 1280px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 2;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Brand Column */
.footer-col--brand {
  gap: 1rem;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-logo-text {
  font-family: "Orbitron", sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ff6633, #ffaa00, #ff8833);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoGradDark 5s ease infinite;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-logo-text:hover {
  transform: scale(1.03);
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 230, 153, 0.08);
  border: 1px solid rgba(0, 230, 153, 0.25);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #00e699;
  letter-spacing: 0.04em;
  box-shadow: 0 0 12px rgba(0, 230, 153, 0.1);
}

.footer-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e699;
  box-shadow: 0 0 8px #00e699;
  animation: statusBlink 2.5s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.footer-desc {
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-width: 360px;
}

/* Column Titles */
.footer-col-title {
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 102, 51, 0.3), transparent);
  max-width: 45px;
}

/* Links List */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list li {
  margin: 0;
}

.footer-links-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
}

.footer-links-list a::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff6633;
  opacity: 0;
  transform: scale(0);
  transition: all 0.25s ease;
}

.footer-links-list a:hover {
  color: #fff;
  transform: translateX(4px);
  text-shadow: 0 0 12px rgba(255, 102, 51, 0.35);
}

.footer-links-list a:hover::before {
  opacity: 1;
  transform: scale(1.4);
}

.footer-ext-icon {
  opacity: 0.45;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-links-list a:hover .footer-ext-icon {
  opacity: 1;
  transform: translate(2px, -2px);
  stroke: #ff6633;
}

/* Contact Column */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin: 0;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: #ff6633;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.footer-contact-item a:hover {
  color: #ff6633;
}

/* Social Badges */
.footer-socials {
  display: flex;
  gap: 0.65rem;
  padding: 0;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social {
  width: 17px;
  height: 17px;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%) brightness(1.3);
  transition: all 0.3s ease;
  display: block;
}

.footer-socials a:hover .footer-social {
  opacity: 1;
  filter: grayscale(0%) brightness(1) !important;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 102, 51, 0.3);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Custom brand hover transitions for social badges */
.footer-socials a[aria-label="Instagram"]:hover {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aec 90%
  ) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px rgba(214, 36, 159, 0.35);
}

.footer-socials a[aria-label="X (Twitter)"]:hover {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.footer-socials a[aria-label="Facebook"]:hover {
  background: #1877f2 !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}

.footer-socials a[aria-label="TikTok"]:hover {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.footer-socials a[aria-label="YouTube"]:hover {
  background: #ff0000 !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.35);
}

.footer-socials a[aria-label="Discord"]:hover {
  background: #5865f2 !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.35);
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 2rem;
  position: relative;
  z-index: 2;
}

.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.footer-bottom-badge .footer-chip {
  background: rgba(255, 102, 51, 0.08);
  border: 1px solid rgba(255, 102, 51, 0.2);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ff8833;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #ff6633;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
}

/* ---- FLOATING ORB BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #ff6633;
  border-color: #ff6633;
  color: #fff;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 20px rgba(255, 102, 51, 0.35);

}

/* ──────────────────────────────────────────────
   RESPONSIVE LAYOUTS
   ────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .nav-content {
    padding: 0 0.8rem;
    gap: 0.4rem;
  }
  .nav-links {
    gap: 0.1rem;
  }
  .navbar .nav-links a {
    padding: 0 0.42rem;
    font-size: 0.70rem;
    letter-spacing: 0.02em;
  }
  .logo {
    font-size: 1.15rem;
  }
}

/* Mobile backdrop & scroll lock */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 999;
}
.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
body.nav-open {
  overflow: hidden !important;
}

@media (max-width: 1080px) {
  .navbar {
    top: 12px;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    width: calc(100% - 24px) !important;
    height: 60px;
    max-width: 100% !important;
  }
  .navbar.scrolled {
    top: 8px;
    height: 54px;
  }

  .nav-content {
    padding: 0 1.1rem;
  }

  /* Cyberpunk Glassmorphism Mobile Drawer Layout */
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(10, 12, 18, 0.94) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    flex-direction: column;
    height: auto;
    max-height: calc(85vh - 70px);
    overflow-y: auto;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(255, 102, 51, 0.25) !important;
    border-radius: 20px !important;
    transform: translateY(16px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      border-color 0.3s ease;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 102, 51, 0.15) !important;
    z-index: 1001;
  }
  .nav-links.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  /* Staggered slide-in animation for link items */
  .nav-links a {
    width: 100%;
    padding: 12px 18px;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    height: 46px;
    border-radius: 12px;
    justify-content: flex-start;
    border: 1px solid transparent;
    opacity: 0;
    transform: translateX(14px);
    transition:
      transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.3s ease,
      background 0.2s ease,
      border-color 0.2s ease,
      color 0.2s ease;
    transition-delay: calc(var(--i, 0) * 0.04s);
  }
  .nav-links.active a {
    opacity: 1;
    transform: translateX(0);
  }
  .nav-links a::after {
    display: none !important;
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateX(4px);
  }
  .nav-links a.active {
    color: #ff6633 !important;
    background: rgba(255, 102, 51, 0.12) !important;
    border-color: rgba(255, 102, 51, 0.3) !important;
    font-weight: 600;
  }

  .nav-actions {
    display: flex !important;
    margin-left: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  /* Footer responsive layout */
  .footer-body {
    grid-template-columns: 1fr 1fr;
    gap: 2.8rem 2rem;
    padding: 3.5rem 1.5rem;
    text-align: left;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .back-to-top {
    bottom: 1rem !important;
    right: 1rem !important;
    width: 42px !important;
    height: 42px !important;
  }
}

@media (max-width: 640px) {
  .footer-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.25rem;
  }
  .footer-col--brand .footer-desc {
    max-width: 100%;
  }
  .sponsors {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.75rem 1.2rem !important;
    width: 100% !important;
  }
  .sponsors a,
  .sponsor-link {
    padding: 0.45rem 0.8rem !important;
    min-height: 48px !important;
  }
  .sponsor-logo {
    max-height: 32px !important;
    max-width: 100px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

@media (max-width: 480px) {
  .nav-content {
    padding: 0 0.8rem;
  }
  .logo {
    font-size: 1.15rem;
  }
  .logo::before {
    margin-right: 6px;
    width: 5px;
    height: 5px;
  }

  .footer-socials a {
    width: 36px;
    height: 36px;
  }
  .footer-social {
    width: 16px;
    height: 16px;
  }
  /* Sponsors grid handled in parent media query */
}

@media (max-width: 992px) { footer::before { background-size: 150px 150px; } }

/* ──────────────────────────────────────────────
   CUSTOM CONFIRM MODAL
   ────────────────────────────────────────────── */
.custom-confirm-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: var(--z-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal) ease, visibility var(--transition-normal) ease;
}
.custom-confirm-overlay.active {
    opacity: 1;
    visibility: visible;
}
.custom-confirm-modal {
    background: var(--color-bg-alt);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px var(--color-shadow);
    padding: 30px;
    border-radius: var(--radius-md);
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: translateY(20px) scale(0.95);
    transition: transform var(--transition-normal) var(--ease-bounce);

}

.custom-confirm-overlay.active .custom-confirm-modal {
    transform: translateY(0) scale(1);
}
.custom-confirm-modal h3 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
}
.custom-confirm-modal p {
    font-family: var(--font-body);
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}
.custom-confirm-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}
.cc-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast) var(--ease-smooth);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cc-btn-cancel {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255,255,255,0.2);

}

.cc-btn-cancel:hover {
    background: var(--color-card-hover);
}
.cc-btn-confirm {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--color-shadow);
}
.cc-btn-confirm:hover {
    transform: translateY(-2px);
    background: var(--color-primary-dark);
}
