/* ================================================================
   SANTANA SPORT — Design System CSS v1.0
   Mobile-First | Dark/Light Mode | Glass Morphism | Blue Gradient
   ================================================================ */

/* ================================================================
   1. GOOGLE FONTS IMPORT
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600&family=Rajdhani:wght@500;600;700&display=swap');

/* ================================================================
   2. CSS RESET
   ================================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* ================================================================
   3. DESIGN TOKENS — LIGHT MODE (padrão)
   ================================================================ */
:root {
  /* Brand Colors */
  --cyan: #0090CC;
  --cyan-glow: #00AEEF;
  --cyan-dark: #005F99;
  --cyan-light: #33C4FF;
  --green: #00C07A;
  --green-dark: #00a870;
  --gold: #E6A800;
  --red: #E83A4A;
  --purple: #7C3AED;
  --orange: #F97316;

  /* Background System */
  --bg: #F0F5FB;
  --bg2: #FFFFFF;
  --bg3: #E4EDF7;
  --bg4: #D6E4F0;

  /* Surface (glass/overlay) */
  --surface: rgba(10, 22, 40, 0.04);
  --surface2: rgba(10, 22, 40, 0.07);
  --surface3: rgba(10, 22, 40, 0.11);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.85);

  /* Border */
  --border: rgba(10, 22, 40, 0.09);
  --border2: rgba(10, 22, 40, 0.14);
  --border3: rgba(10, 22, 40, 0.20);

  /* Text */
  --text: #0069A3;
  --text-muted: #4A6280;
  --text-faint: #7A95AD;

  /* Navigation */
  --nav-bg: rgba(255, 255, 255, 0.90);
  --nav-border: rgba(10, 22, 40, 0.08);

  /* Hero */
  --hero-bg1: #cce3f5;
  --hero-bg2: #b8d6ef;
  --hero-bg3: #a4c8e8;
  --grid-line: rgba(0, 144, 204, 0.10);
  --orb1: rgba(0, 174, 239, 0.12);
  --orb2: rgba(0, 95, 153, 0.10);
  --hero-overlay: linear-gradient(135deg, rgba(232, 246, 255, 0.92) 0%, rgba(232, 246, 255, 0.75) 50%, rgba(232, 246, 255, 0.55) 100%);
  --hero-title-color: #0069A3;

  /* Sidebar (admin) */
  --sidebar-bg: #060F1E;
  --sidebar-text: #6B82A0;
  --sidebar-text-active: #FFFFFF;
  --sidebar-border: rgba(255, 255, 255, 0.06);
  --sidebar-hover: rgba(255, 255, 255, 0.04);
  --sidebar-active: rgba(0, 174, 239, 0.12);

  /* Topbar (admin) */
  --topbar-bg: rgba(255, 255, 255, 0.92);
  --topbar-border: rgba(10, 22, 40, 0.08);

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(10, 22, 40, 0.06);
  --shadow-sm: 0 2px 10px rgba(10, 22, 40, 0.08);
  --shadow: 0 4px 20px rgba(10, 22, 40, 0.10);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.14);
  --shadow-xl: 0 24px 60px rgba(10, 22, 40, 0.18);
  --shadow-cyan: 0 0 20px rgba(0, 174, 239, 0.25);
  --shadow-cyan-lg: 0 0 40px rgba(0, 174, 239, 0.45);

  /* Input */
  --input-bg: #F5F9FE;
  --input-border: rgba(10, 22, 40, 0.14);
  --input-focus: rgba(0, 144, 204, 0.12);

  /* Logo */
  --logo-filter: none;
  --logo-blend: multiply;

  /* Band */
  --band-bg: rgba(0, 144, 204, 0.05);
  --band-border: rgba(0, 144, 204, 0.12);

  /* Footer */
  --footer-bg: #060F1E;
  --footer-text: #6B82A0;
  --footer-border: rgba(255, 255, 255, 0.06);

  /* Transition */
  --trans: all 0.25s ease;
  --trans-fast: all 0.15s ease;
  --trans-slow: all 0.40s ease;
}

/* ================================================================
   4. DARK THEME
   ================================================================ */
[data-theme="dark"] {
  --cyan: #00AEEF;
  --cyan-glow: #33C4FF;
  --green: #00D68F;
  --gold: #FFD700;
  --red: #FF4757;

  --bg: #060F1E;
  --bg2: #0A1628;
  --bg3: #0D1E38;
  --bg4: #112240;

  --surface: rgba(255, 255, 255, 0.03);
  --surface2: rgba(255, 255, 255, 0.06);
  --surface3: rgba(255, 255, 255, 0.09);
  --glass: rgba(10, 22, 40, 0.75);
  --glass-border: rgba(255, 255, 255, 0.10);

  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.11);
  --border3: rgba(255, 255, 255, 0.16);

  --text: #F0F5FB;
  --text-muted: #8FADC8;
  --text-faint: #4A6280;

  --nav-bg: rgba(6, 15, 30, 0.90);
  --nav-border: rgba(0, 174, 239, 0.12);

  --hero-bg1: #060F1E;
  --hero-bg2: #0A1628;
  --hero-bg3: #040B16;
  --grid-line: rgba(0, 174, 239, 0.06);
  --orb1: rgba(0, 174, 239, 0.10);
  --orb2: rgba(0, 95, 153, 0.12);
  --hero-overlay: linear-gradient(135deg, rgba(6, 15, 30, 0.92) 0%, rgba(6, 20, 45, 0.75) 50%, rgba(6, 15, 30, 0.55) 100%);
  --hero-title-color: var(--text);

  --topbar-bg: rgba(6, 15, 30, 0.92);
  --topbar-border: rgba(255, 255, 255, 0.06);

  --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.20);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.55);

  --input-bg: rgba(255, 255, 255, 0.04);
  --input-border: rgba(255, 255, 255, 0.11);
  --input-focus: rgba(0, 174, 239, 0.12);

  --logo-filter: brightness(1.15) saturate(0.9);
  --logo-blend: normal;

  --band-bg: rgba(0, 174, 239, 0.07);
  --band-border: rgba(0, 174, 239, 0.14);
}

/* ================================================================
   5. BASE STYLES
   ================================================================ */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

/* ================================================================
   6. TYPOGRAPHY SYSTEM
   ================================================================ */
.font-outfit {
  font-family: 'Outfit', sans-serif;
}

.font-rajdhani {
  font-family: 'Rajdhani', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.15;
  font-weight: 700;
  color: var(--text);
}

.display-1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
}

.display-2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
}

.display-3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
}

.heading-1 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
}

.heading-2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
}

.heading-3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.text-lg {
  font-size: 1.125rem;
}

.text-base {
  font-size: 1rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-2xs {
  font-size: 0.65rem;
}

.text-muted {
  color: var(--text-muted);
}

.text-faint {
  color: var(--text-faint);
}

.text-cyan {
  color: var(--cyan);
}

.text-green {
  color: var(--green);
}

.text-gold {
  color: var(--gold);
}

.text-red {
  color: var(--red);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan-glow), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-2 {
  background: linear-gradient(135deg, var(--cyan-glow), var(--cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   7. LAYOUT UTILITIES
   ================================================================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container-lg {
  max-width: 1320px;
}

.container-sm {
  max-width: 860px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 2rem;
}

.flex-1 {
  flex: 1;
}

.shrink-0 {
  flex-shrink: 0;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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


.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

.p-4 {
  padding: 2rem;
}

.px-2 {
  padding-inline: 1rem;
}

.py-2 {
  padding-block: 1rem;
}

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.overflow-hidden {
  overflow: hidden;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  inset: 0;
}

.z-10 {
  z-index: 10;
}

.z-100 {
  z-index: 100;
}

.z-200 {
  z-index: 200;
}

.pointer {
  cursor: pointer;
}

.select-none {
  user-select: none;
}

/* ================================================================
   8. NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--nav-border);
  transition: background 0.3s, border-color 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 66px;
  padding-inline: 1.25rem;
  max-width: 1140px;
  margin-inline: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: auto;
  mix-blend-mode: var(--logo-blend);
  filter: var(--logo-filter);
  transition: filter 0.3s;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

/* Theme toggle */
.theme-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--trans);
  flex-shrink: 0;
}

.theme-btn:hover {
  border-color: var(--cyan);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 38px;
  height: 38px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.mobile-nav.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav a:hover {
  background: var(--surface2);
  color: var(--cyan);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

/* ================================================================
   9. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--trans);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-glow), var(--cyan-dark));
  color: #fff;
  box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
  box-shadow: var(--shadow-cyan-lg);
  transform: translateY(-2px) scale(1.01);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid rgba(0, 144, 204, 0.45);
}

.btn-outline:hover {
  background: rgba(0, 144, 204, 0.08);
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border2);
}

.btn-ghost:hover {
  background: var(--surface3);
  border-color: var(--border3);
}

.btn-danger {
  background: linear-gradient(135deg, var(--red), #c0293a);
  color: #fff;
}

.btn-success {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text-muted);
}

.btn-icon:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-full {
  width: 100%;
  white-space: normal;
  text-align: center;
}

/* Nav CTA button */
.nav-cta {
  background: linear-gradient(135deg, var(--cyan-glow), var(--cyan-dark));
  color: #fff;
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--trans);
  box-shadow: var(--shadow-cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

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

.nav-link-btn {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border2);
  background: transparent;
  cursor: pointer;
  transition: var(--trans);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-link-btn:hover {
  color: var(--text);
  border-color: var(--border3);
}

/* ================================================================
   10. BADGES & LABELS
   ================================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.badge-cyan {
  background: rgba(0, 144, 204, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 144, 204, 0.22);
}

.badge-green {
  background: rgba(0, 192, 122, 0.12);
  color: var(--green);
  border: 1px solid rgba(0, 192, 122, 0.22);
}

.badge-gold {
  background: rgba(230, 168, 0, 0.12);
  color: var(--gold);
  border: 1px solid rgba(230, 168, 0, 0.22);
}

.badge-red {
  background: rgba(232, 58, 74, 0.12);
  color: var(--red);
  border: 1px solid rgba(232, 58, 74, 0.22);
}

.badge-purple {
  background: rgba(124, 58, 237, 0.12);
  color: var(--purple);
  border: 1px solid rgba(124, 58, 237, 0.22);
}

.badge-gray {
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border2);
}

.badge-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid rgba(0, 144, 204, 0.40);
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

/* ================================================================
   11. CARD SYSTEM
   ================================================================ */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  overflow: hidden;
}

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

.card-body {
  padding: 1.5rem;
}

.card-body-sm {
  padding: 1.1rem;
}

.card-body-lg {
  padding: 2rem;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.card-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.card-action {
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.card-action:hover {
  opacity: 0.7;
}

/* Glass card */
.card-glass {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--glass-border);
}

/* Accent top bar */
.card-accent-top {
  position: relative;
}

.card-accent-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, var(--cyan-glow), var(--cyan-dark));
}

/* ================================================================
   12. FORM ELEMENTS
   ================================================================ */
.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.form-label.required::after {
  content: ' *';
  color: var(--red);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 12px;
  font-size: 0.93rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  transition: var(--trans);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-faint);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--cyan);
  background: var(--bg2);
  box-shadow: 0 0 0 3px var(--input-focus);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--red);
}

.form-input.success,
.form-select.success,
.form-textarea.success {
  border-color: var(--green);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234A6280' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background-color: var(--bg2);
  color: var(--text);
}

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

.form-hint {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 0.35rem;
}

.form-error {
  font-size: 0.75rem;
  color: var(--red);
  margin-top: 0.35rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Checkbox / Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-check-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================================================================
   13. TABLE SYSTEM
   ================================================================ */
.table-wrap {
  overflow-x: auto;
  margin: -0.25rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.table thead th {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border2);
  background: var(--surface);
  white-space: nowrap;
}

.table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.table tbody tr:last-child {
  border: none;
}

.table tbody tr:hover {
  background: var(--surface);
}

.table tbody td {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  vertical-align: middle;
}

.td-bold {
  font-weight: 600;
}

.td-muted {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.td-mono {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

/* ================================================================
   14. KPI / STAT CARDS
   ================================================================ */
.kpi-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}

.kpi-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(0, 144, 204, 0.20);
}

.kpi-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}

.kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  font-size: 20px;
}

.kpi-value {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
  margin-bottom: 3px;
}

.kpi-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.kpi-delta {
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ================================================================
   14b. LIVE KPI / MINIMAL STAT CARDS
   ================================================================ */
.live-kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.live-kpi {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent, var(--cyan)) !important;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.live-kpi-value {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--text);
}

.live-kpi-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ================================================================
   14c. ADMIN FILTERS LAYOUT
   ================================================================ */
.admin-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 767px) {
  .admin-filters {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem !important;
  }

  .admin-filters>div:first-child,
  .admin-filters>input:first-child {
    grid-column: 1 / -1;
  }

  .admin-filters select,
  .admin-filters input,
  .admin-filters button {
    width: 100% !important;
    min-width: 0 !important;
  }
}

.delta-up {
  color: var(--green);
}

.delta-down {
  color: var(--red);
}

.delta-neu {
  color: var(--text-faint);
}

/* ================================================================
   15. SECTION LAYOUT
   ================================================================ */
section {
  padding: 5rem 1.25rem;
}

.section-sm {
  padding: 3rem 1.25rem;
}

.section-lg {
  padding: 7rem 1.25rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.text-center .section-sub {
  margin-inline: auto;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-top: 0.75rem;
}

/* ================================================================
   16. HERO SECTION
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 1.25rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      var(--hero-bg1) 0%,
      var(--hero-bg2) 45%,
      var(--hero-bg3) 100%);
  transition: background 0.3s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: grid-scroll 22s linear infinite;
}

@keyframes grid-scroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(64px);
  }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: orb-float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--orb1) 0%, transparent 68%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
}

.hero-orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--orb2) 0%, transparent 68%);
  top: 15%;
  right: 8%;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(0, 192, 122, 0.08) 0%, transparent 68%);
  bottom: 15%;
  left: 8%;
  animation-delay: -6s;
}

@keyframes orb-float {

  0%,
  100% {
    transform: translate(-50%, -52%) scale(1);
  }

  50% {
    transform: translate(-50%, -56%) scale(1.06);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  width: 100%;
  animation: fade-up 0.8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 144, 204, 0.10);
  border: 1px solid rgba(0, 144, 204, 0.28);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
  color: var(--hero-title-color);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid var(--border2);
  max-width: 680px;
  margin-inline: auto;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--cyan);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-divider {
  width: 1px;
  height: 44px;
  background: var(--border2);
  align-self: center;
}

/* ================================================================
   17. EVENT CARDS
   ================================================================ */
.event-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--trans);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 144, 204, 0.30);
  box-shadow: var(--shadow-lg);
}

.event-banner {
  height: 150px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-badge-status {
  position: absolute;
  top: 12px;
  right: 12px;
}

.event-body {
  padding: 1.25rem;
}

.event-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 1rem;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.event-slots {
  margin-bottom: 1rem;
}

.slots-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.slots-bar {
  height: 4px;
  background: var(--surface3);
  border-radius: 4px;
  overflow: hidden;
}

.slots-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan-glow), var(--green));
  transition: width 0.6s ease;
}

.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-price {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cyan);
}

/* ================================================================
   18. ADMIN SIDEBAR
   ================================================================ */
.admin-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 245px;
  flex-shrink: 0;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 150;
  overflow-y: auto;
  transition: transform 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
  transform: translateX(-100%);
}

.sidebar.open {
  transform: translateX(0);
}

.sb-header {
  padding: 1.4rem 1.25rem 1.2rem;
  border-bottom: 1px solid var(--sidebar-border);
}

.sb-logo img {
  height: 38px;
  width: auto;
  filter: brightness(2) saturate(0.3);
  opacity: 0.90;
}

.sb-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 174, 239, 0.14);
  color: #00AEEF;
  border: 1px solid rgba(0, 174, 239, 0.22);
  border-radius: 50px;
  padding: 2px 10px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.sb-section {
  padding: 0.2rem 1.25rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(107, 130, 160, 0.45);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 1.1rem 0 0.2rem;
}

.sb-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  color: var(--sidebar-text);
  cursor: pointer;
  transition: var(--trans-fast);
  font-weight: 500;
  border-left: 2px solid transparent;
  text-decoration: none;
  border-radius: 0;
}

.sb-link:hover {
  background: var(--sidebar-hover);
  color: var(--sidebar-text-active);
}

.sb-link.active {
  background: var(--sidebar-active);
  color: #00AEEF;
  border-left-color: #00AEEF;
}

.sb-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.75;
}

.sb-link.active svg {
  opacity: 1;
}

.sb-badge-count {
  margin-left: auto;
  background: rgba(232, 58, 74, 0.85);
  color: #fff;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 7px;
  min-width: 18px;
  text-align: center;
}

.sb-bottom {
  margin-top: auto;
  padding: 1rem 0;
  border-top: 1px solid var(--sidebar-border);
}

.sb-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 1.25rem;
}

.sb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00AEEF, #005F99);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  flex-shrink: 0;
}

.sb-user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sidebar-text-active);
}

.sb-user-role {
  font-size: 0.7rem;
  color: #00AEEF;
}

/* Sidebar overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(0, 0, 0, 0.60);
  backdrop-filter: blur(2px);
}

.sidebar-overlay.open {
  display: block;
}

/* Admin main content */
.admin-main {
  flex: 1;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left 0.3s;
  background: var(--bg);
}

/* Admin topbar */
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--topbar-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--topbar-border);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s;
}

.topbar-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.topbar-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.sidebar-toggle {
  display: flex;
  width: 36px;
  height: 36px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
}

.admin-content {
  padding: 1.5rem;
  flex: 1;
}

/* Admin cards and charts */
.chart-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.chart-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Activity Feed (used in tables and logs across admin panels) */
.activity-feed {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.activity-header {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.activity-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.activity-item:last-child {
  border: none;
}

.activity-item:hover {
  background: var(--surface);
}

.activity-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.activity-text {
  flex: 1;
}

.activity-msg {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}

.activity-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.activity-time {
  font-size: 0.7rem;
  color: var(--text-faint);
  white-space: nowrap;
  flex-shrink: 0;
}


/* ================================================================
   19. PROGRESS / STEPS
   ================================================================ */
.progress-steps {
  display: flex;
  align-items: center;
  max-width: 620px;
  margin-inline: auto;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  height: 2px;
  background: var(--border2);
  transition: background 0.3s;
}

.progress-step.done:not(:last-child)::after {
  background: var(--green);
}

.progress-step.active:not(:last-child)::after {
  background: linear-gradient(90deg, var(--cyan), var(--border2));
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border2);
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  z-index: 1;
  transition: all 0.3s;
}

.progress-step.active .step-circle {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 0 14px rgba(0, 144, 204, 0.4);
}

.progress-step.done .step-circle {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.step-label {
  font-size: 0.66rem;
  color: var(--text-faint);
  margin-top: 0.4rem;
  text-align: center;
  white-space: nowrap;
}

.progress-step.active .step-label {
  color: var(--cyan);
  font-weight: 600;
}

.progress-step.done .step-label {
  color: var(--green);
}

/* ================================================================
   20. PODIUM
   ================================================================ */
.podium-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--trans);
}

.podium-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.podium-card.gold {
  border-color: rgba(230, 168, 0, 0.28);
}

.podium-card.silver {
  border-color: rgba(160, 174, 192, 0.28);
}

.podium-card.bronze {
  border-color: rgba(180, 120, 80, 0.28);
}

.podium-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.podium-medal {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.podium-pos {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.podium-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin: 0.25rem 0;
}

.podium-time {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--cyan);
}

.podium-cat {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.podium-bib {
  font-size: 0.7rem;
  color: var(--text-faint);
  margin-top: 4px;
}

/* ================================================================
   21. RESULTS TABLE CELLS
   ================================================================ */
.pos-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.pos-1 {
  background: rgba(230, 168, 0, 0.14);
  color: var(--gold);
}

.pos-2 {
  background: rgba(160, 174, 192, 0.14);
  color: #8a9bb0;
}

.pos-3 {
  background: rgba(180, 120, 80, 0.14);
  color: #c47f50;
}

.pos-n {
  background: var(--surface2);
  color: var(--text-muted);
}

.athlete-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.athlete-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-glow), var(--cyan-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  color: #fff;
  flex-shrink: 0;
}

.athlete-name {
  font-weight: 600;
  font-size: 0.86rem;
}

.athlete-bib {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.time-cell {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.pace-cell {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pr-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(0, 192, 122, 0.10);
  color: var(--green);
  border: 1px solid rgba(0, 192, 122, 0.20);
  border-radius: 50px;
  padding: 1px 7px;
  font-size: 0.65rem;
  font-weight: 700;
  margin-left: 5px;
}

/* ================================================================
   22. PILLS / TABS
   ================================================================ */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tab {
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--border2);
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--trans);
  background: var(--bg2);
  white-space: nowrap;
}

.tab:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.tab.active {
  border-color: var(--cyan);
  background: rgba(0, 144, 204, 0.10);
  color: var(--cyan);
  font-weight: 600;
}

/* ================================================================
   23. MODAL
   ================================================================ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal.open {
  display: flex;
}

.modal-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  animation: modal-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-height: min(680px, calc(100vh - 2rem));
  overflow-y: auto;
}

@media (max-width: 480px) {
  .modal-card {
    padding: 1.25rem;
  }

  .modal-actions {
    flex-direction: column-reverse;
    gap: 0.75rem !important;
  }

  .modal-actions .btn {
    width: 100%;
    flex: none !important;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--trans);
}

.modal-close:hover {
  background: var(--surface3);
  color: var(--text);
}

/* ================================================================
   24. TOAST / NOTIFICATIONS
   ================================================================ */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.88rem;
  font-weight: 500;
  min-width: 260px;
  max-width: 360px;
  pointer-events: all;
  animation: toast-in 0.3s ease;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast-success {
  border-left: 3px solid var(--green);
}

.toast-error {
  border-left: 3px solid var(--red);
}

.toast-info {
  border-left: 3px solid var(--cyan);
}

/* ================================================================
   25. FOOTER
   ================================================================ */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 4rem 1.25rem 2rem;
  color: var(--footer-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1140px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.footer-brand-logo img {
  height: 40px;
  filter: brightness(1) saturate(1);
  opacity: 1;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--footer-text);
  max-width: 280px;
}

.footer-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--footer-text);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cyan-glow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--footer-border);
  max-width: 1140px;
  margin-inline: auto;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--footer-text);
}

.footer-social {
  display: flex;
  gap: 0.625rem;
}

.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--footer-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  transition: var(--trans);
  font-size: 0.85rem;
}

.social-btn:hover {
  background: rgba(0, 174, 239, 0.12);
  border-color: rgba(0, 174, 239, 0.25);
  color: var(--cyan-glow);
}

/* ================================================================
   26. PAGE HERO (inner pages)
   ================================================================ */
.page-hero {
  margin-top: 66px;
  padding: 3.5rem 1.25rem 2.5rem;
  background: linear-gradient(135deg, #060F1E, #0A1E3D 55%, #04080F);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 174, 239, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 174, 239, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
}

.page-hero-orb {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.08) 0%, transparent 68%);
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: 1140px;
  margin-inline: auto;
  position: relative;
}

.page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(143, 173, 200, 0.88);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* ================================================================
   27. ANIMATIONS
   ================================================================ */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

.animate-fade-down {
  animation: fade-down 0.6s ease both;
}

.animate-fade-in {
  animation: fade-in 0.4s ease both;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

/* Intersection Observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ================================================================
   28. SCROLLBAR
   ================================================================ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* ================================================================
   29. PAGINATION
   ================================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  padding: 1.25rem;
}

.pag-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--text-muted);
  background: var(--bg2);
  transition: var(--trans);
}

.pag-btn:hover,
.pag-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 144, 204, 0.08);
}

.pag-btn.active {
  font-weight: 700;
}

/* ================================================================
   30. UPLOAD DROPZONE
   ================================================================ */
.dropzone {
  border: 2px dashed var(--border2);
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--trans);
  background: var(--bg);
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--cyan);
  background: rgba(0, 144, 204, 0.04);
}

.dropzone-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.dropzone-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.dropzone-text strong {
  color: var(--cyan);
}

/* ================================================================
   31. MISCELLANEOUS
   ================================================================ */
.divider {
  height: 1px;
  background: var(--border);
  margin-block: 1.5rem;
}

.avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-glow), var(--cyan-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
}

.pix-code {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  word-break: break-all;
  font-family: monospace;
  line-height: 1.5;
}

.skeleton {
  background: linear-gradient(90deg, var(--surface2) 25%, var(--surface3) 50%, var(--surface2) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 8px;
}

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

  100% {
    background-position: -200% 0;
  }
}

/* ================================================================
   32. RESPONSIVE BREAKPOINTS (Mobile-First)
   ================================================================ */

/* Tablet: 768px+ */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .nav-links {
    display: flex;
  }

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

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .sidebar {
    transform: translateX(0);
  }

  .admin-main {
    margin-left: 245px;
    max-width: calc(100% - 245px);
  }

  .sidebar-toggle {
    display: none !important;
  }

  .sidebar-overlay {
    display: none !important;
  }
}

/* ===== MOBILE OVERRIDES ===== */
@media (max-width: 767px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none !important;
  }

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

  .hero-stat-num {
    font-size: 1.8rem;
  }

  .hero-divider {
    display: none;
  }

  .hero-stats {
    gap: 1.5rem;
  }

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

  .footer-grid> :first-child {
    grid-column: 1 / -1;
  }

  .progress-step .step-label {
    display: none;
  }

  .admin-content {
    padding: 1rem;
  }

  .admin-topbar {
    padding: 0.75rem 1rem;
  }

  .admin-topbar .topbar-sub {
    display: none;
  }

  .refresh-indicator {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .admin-topbar {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }

  .admin-topbar>div:first-child {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .admin-topbar>div:last-child,
  .admin-topbar>.flex:last-child {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .podium {
    grid-template-columns: 1fr !important;
  }
}

/* ================================================================
   33. PREMIUM HOMEPAGE POPUP (MOBILE-FIRST VERTICAL BANNER)
   ================================================================ */
.event-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.event-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 8, 15, 0.75);
  backdrop-filter: blur(8px);
  transition: opacity 0.3s ease;
}

.event-popup-card {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  max-width: 380px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 45px rgba(0, 174, 239, 0.18);
  z-index: 10;
  animation: popup-scale-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: opacity 0.3s ease;
}

@keyframes popup-scale-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.event-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(4, 8, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.event-popup-close:hover {
  background: rgba(232, 58, 74, 0.9);
  border-color: rgba(232, 58, 74, 1);
  transform: rotate(90deg);
}

.event-popup-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.event-popup-banner {
  width: 100%;
  flex-shrink: 0;
  height: 55%;
  max-height: 300px;
  min-height: 160px;
  overflow: hidden;
  background: var(--bg3);
  position: relative;
}

.event-popup-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.event-popup-card:hover .event-popup-banner img {
  transform: scale(1.04);
}

.event-popup-body {
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.event-popup-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 174, 239, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(0, 174, 239, 0.15);
}

.event-popup-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.event-popup-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.event-popup-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Event Popup Carousel Layout */
.event-popup-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.event-popup-slides {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.event-popup-slide {
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Navigation buttons */
.event-popup-prev,
.event-popup-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(4, 8, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  display: none;
  /* Shown dynamically in JS if multiple events */
  align-items: center;
  justify-content: center;
  z-index: 12;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  user-select: none;
}

.event-popup-prev:hover,
.event-popup-next:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 174, 239, 0.5);
}

.event-popup-prev {
  left: 12px;
}

.event-popup-next {
  right: 12px;
}

/* Dots indicators */
.event-popup-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  /* Shown dynamically in JS if multiple events */
  gap: 8px;
  z-index: 12;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.event-popup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 0;
}

.event-popup-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.event-popup-dot.active {
  background: var(--cyan);
  width: 20px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0, 174, 239, 0.6);
}

/* Add extra padding bottom to slides when dots are present */
.event-popup-card.has-carousel .event-popup-body {
  padding-bottom: 2.25rem;
}

/* Responsive adjustments for Event Popup on short screens */
@media (max-height: 540px) {
  .event-popup-banner {
    display: none;
    /* Hides the banner completely on extremely short screen viewports (mobile landscape) */
  }
}

/* Admin Two-Column Responsive Grid Layout */
.admin-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 901px) {
  .admin-two-col {
    grid-template-columns: 1.6fr 1fr;
  }
}