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

/* ============================================================
   DESIGN TOKENS / CSS VARIABLES
   ============================================================ */
:root {
  --bg-dark:           #040814;
  --bg-card:           rgba(6, 11, 25, 0.75);
  --card-bg:           rgba(6, 11, 25, 0.75);  /* alias */
  --card-border:       rgba(255, 255, 255, 0.07);
  --gold:              #F59E0B;
  --gold-primary:      #F59E0B;   /* alias */
  --gold-hover:        #D97706;
  --gold-glow:         rgba(245,158,11,0.25);
  --white:             #ffffff;
  --text-white:        #ffffff;   /* alias */
  --gray-light:        #d1d5db;
  --text-gray-light:   #d1d5db;  /* alias */
  --gray:              #9ca3af;
  --text-gray:         #9ca3af;  /* alias */
  --gray-dark:         #6b7280;
  --text-gray-dark:    #6b7280;  /* alias */
  --blue-accent:       #3b82f6;
  --font-head:         'Outfit', sans-serif;
  --font-heading:      'Outfit', sans-serif; /* alias */
  --font-body:         'Inter', sans-serif;
  --radius-xs:         4px;
  --radius-sm:         8px;
  --border-radius-sm:  8px;      /* alias */
  --radius-md:         12px;
  --border-radius-md:  12px;     /* alias */
  --radius-lg:         18px;
  --border-radius-lg:  18px;     /* alias */
  --ease:              all 0.25s cubic-bezier(0.4,0,0.2,1);
  --transition-smooth: all 0.25s cubic-bezier(0.4,0,0.2,1); /* alias */
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--white);
  overflow-x: hidden;
  position: relative;
}

/* Global background radial glows */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 8% 10%,  rgba(14,165,233,0.12) 0%, transparent 38%),
    radial-gradient(ellipse at 85% 18%, rgba(245,158,11,0.08) 0%, transparent 32%),
    radial-gradient(ellipse at 50% 65%, rgba(99,102,241,0.07) 0%, transparent 42%);
  pointer-events: none;
  z-index: -1;
}

a { text-decoration: none; color: inherit; transition: var(--ease); }
ul { list-style: none; padding: 0; margin: 0; }

/* 90% width container layout */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl,
.container-fluid {
  max-width: 90% !important;
  width: 90% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 991px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl,
  .container-fluid {
    max-width: 92% !important;
    width: 92% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 576px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl,
  .container-fluid {
    max-width: 94% !important;
    width: 94% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #1f2937; border-radius: 3px; }

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

/* Glass card base */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.glass-card:hover { border-color: rgba(255,255,255,0.12); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(4, 8, 20, 0.93);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

/* Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo .tnc {
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
}

.logo .sports {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.logo-divider {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

.logo-platform {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-size: 7.5px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1.8px;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Navigation */
nav.d-none { display: none; }

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  padding: 4px 0;
  position: relative;
  letter-spacing: 0.1px;
}

.nav-links a:hover { color: var(--white); }

.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
  border-radius: 2px;
}

/* Lang + Login */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-family: var(--font-head);
  color: var(--gray);
  cursor: pointer;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  transition: var(--ease);
}
.lang-selector:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.lang-selector i { font-size: 14px; }

.login-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--ease);
}
.login-btn:hover {
  border-color: var(--gold);
  color: #040814;
  background: var(--gold);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 70px 0 50px;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  border: 1px solid rgba(245,158,11,0.25);
  background: rgba(245,158,11,0.07);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(44px, 4.8vw, 80px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 0;
  color: var(--white);
}

.hero-subtitle {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.3px;
  margin-top: 14px;
  margin-bottom: 16px;
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray);
  max-width: 500px;
  margin-bottom: 28px;
}

/* Hero Buttons */
.explore-btn {
  font-family: var(--font-head);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--gold);
  color: #030712;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  box-shadow: 0 0 18px rgba(245,158,11,0.35);
  transition: var(--ease);
}
.explore-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(245,158,11,0.5);
}

.get-app-btn {
  font-family: var(--font-head);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--ease);
}
.get-app-btn:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.04);
}

/* Custom Buttons for Academies */
.btn-gold {
  font-family: var(--font-head);
  background-color: var(--gold) !important;
  color: #030712 !important;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--gold) !important;
  border-radius: var(--radius-xs) !important;
  box-shadow: 0 0 18px rgba(245,158,11,0.35);
  transition: var(--ease);
}
.btn-gold:hover {
  background-color: var(--gold-hover) !important;
  border-color: var(--gold-hover) !important;
  color: #030712 !important;
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(245,158,11,0.5);
}

.btn-outline-white {
  font-family: var(--font-head);
  background-color: transparent !important;
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: var(--radius-xs) !important;
  transition: var(--ease);
}
.btn-outline-white:hover {
  border-color: rgba(255, 255, 255, 0.4) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
}

.hero-glow-back {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(14,165,233,0.18) 0%, transparent 65%);
  z-index: 1;
}

.hero-image {
  position: relative;
  z-index: 2;
  width: 115%;
  max-width: none;
  margin-left: -5%;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: screen;
  animation: float 6s ease-in-out infinite;
}

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

/* ============================================================
   SPORTS SELECTOR BAR
   ============================================================ */
.sports-bar-section {
  padding: 12px 0 24px;
}

.sports-list {
  display: flex;
  width: 100%;
  background: #060b17;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
}

/* Full-width section backgrounds */
.sports-bar-section,
.services-section,
.dashboard-section,
.app-section,
.platforms-section,
.stats-banner-section,
.hero,
footer {
  position: relative;
  z-index: 10;
}

.sport-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 8px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
  background: transparent;
  position: relative;
  transition: var(--ease);
}

.sport-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 28%;
  height: 44%;
  width: 1px;
  background: rgba(255,255,255,0.07);
}

.sport-item:hover { color: var(--white); background: rgba(255,255,255,0.03); }
.sport-item.active { color: var(--white); background: rgba(255,255,255,0.04); }

.sport-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Mobile sports bar */
@media (max-width: 768px) {
  .sports-list { flex-wrap: wrap; border-radius: var(--radius-md); }
  .sport-item { flex: 1 0 45%; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .sport-item:not(:last-child)::after { display: none; }
}

/* ============================================================
   SERVICE CARDS STRIP
   ============================================================ */
.services-section {
  padding: 0 0 30px;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.012);
  border: 1px solid rgba(255,255,255,0.04);
  height: 100%;
  transition: var(--ease);
}

.service-card:hover {
  background: rgba(255,255,255,0.025);
  border-color: rgba(245,158,11,0.12);
}

.service-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(245,158,11,0.09);
  border: 1px solid rgba(245,158,11,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 16px;
}

.service-title {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
  line-height: 1.2;
}

.service-desc {
  font-size: 10px;
  color: var(--gray);
  line-height: 1.35;
}

/* ============================================================
   DASHBOARD PANEL GRID
   ============================================================ */
.dashboard-section { padding: 0 0 30px; }

.dashboard-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 470px;
}

.card-header-title {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--white);
}

.card-header-link {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
}
.card-header-link:hover { color: var(--gold-hover); }

/* ============================================================
   LEADERBOARD WIDGET
   ============================================================ */
.leaderboard-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-xs);
  padding: 3px;
  margin-bottom: 14px;
}

.tab-btn {
  flex: 1;
  padding: 6px 8px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  color: var(--gray);
  background: transparent;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--ease);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tab-btn.active {
  background: var(--gold);
  color: #030712;
}

.leaderboard-table { width: 100%; }

.lb-header-row {
  display: grid;
  grid-template-columns: 24px 1fr 60px 40px;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 4px;
}

.lb-col-label {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lb-row {
  display: grid;
  grid-template-columns: 24px 1fr 60px 40px;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.lb-rank {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-dark);
}

.lb-player {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lb-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(245,158,11,0.15);
  border: 1.5px solid rgba(245,158,11,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.lb-name {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
}

.lb-score {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.lb-flag {
  font-size: 16px;
  text-align: right;
}

/* Card footer link */
.card-footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  cursor: pointer;
}
.card-footer-link:hover { color: var(--gold-hover); }
.card-footer-link i { font-size: 10px; transition: transform 0.2s; }
.card-footer-link:hover i { transform: translateX(4px); }

/* ============================================================
   FIND ACADEMIES MAP WIDGET
   ============================================================ */
.location-sub {
  font-size: 11px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}
.location-sub i { color: var(--gold); font-size: 12px; }

.distance-badge {
  margin-left: auto;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-xs);
  padding: 3px 8px;
}

.map-wrapper {
  flex-grow: 1;
  position: relative;
  border-radius: var(--radius-md);
  background: radial-gradient(ellipse at 50% 50%, #0a1428 0%, #04081a 100%);
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
  margin-bottom: 10px;
}

.radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.2);
  transform: translate(-50%, -50%);
}

.ring-1 { width: 60px;  height: 60px;  }
.ring-2 { width: 110px; height: 110px; }
.ring-3 { width: 165px; height: 165px; }
.ring-4 { width: 225px; height: 225px; }

.radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue-accent);
  box-shadow: 0 0 14px var(--blue-accent);
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 16px;
}
.pin-gold { color: var(--gold); }
.pin-blue { color: var(--blue-accent); }
.pin-red  { color: #ef4444; }
.pin-green{ color: #10b981; }

.search-btn {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--ease);
}
.search-btn:hover {
  background: rgba(245,158,11,0.06);
  border-color: var(--gold);
}

/* ============================================================
   SPORTS INTELLIGENCE HUB
   ============================================================ */
.intel-sub {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-demand { background: #ef4444; box-shadow: 0 0 4px #ef4444; }
.legend-supply  { background: var(--blue-accent); box-shadow: 0 0 4px var(--blue-accent); }

.heatmap-wrapper {
  flex-grow: 1;
  position: relative;
  border-radius: var(--radius-md);
  background: radial-gradient(ellipse at center, rgba(10,15,30,0.8), rgba(4,8,20,0.98));
  border: 1px solid rgba(255,255,255,0.03);
  overflow: hidden;
}

.heatmap-img-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  fill: none;
}

.heatmap-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.heat-node {
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.8;
}
.heat-red    { background: radial-gradient(circle, #ef4444 0%, transparent 70%); width: 80px; height: 80px; top: 28%; left: 28%; }
.heat-orange { background: radial-gradient(circle, #f97316 0%, transparent 70%); width: 90px; height: 90px; top: 22%; left: 43%; }
.heat-blue   { background: radial-gradient(circle, #3b82f6 0%, transparent 70%); width: 100px; height: 100px; top: 28%; right: 12%; }
.heat-green  { background: radial-gradient(circle, #10b981 0%, transparent 70%); width: 70px; height: 70px; top: 42%; left: 38%; }

.stats-overlay-card {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(6,11,24,0.96);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  backdrop-filter: blur(10px);
}

.overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.overlay-zone-title {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 600;
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  display: block;
}

.overlay-zone-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.overlay-badge {
  font-family: var(--font-head);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ef4444;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.25);
  padding: 2px 6px;
  border-radius: 3px;
  flex-shrink: 0;
}

.overlay-stat-item { display: flex; flex-direction: column; }

.overlay-stat-label {
  font-size: 9px;
  color: var(--gray);
  margin-bottom: 2px;
}

.overlay-stat-value {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

/* ============================================================
   APP DOWNLOAD BANNER
/* ============================================================
   MOBILE APP BANNER SECTION
   ============================================================ */
.app-section {
  padding: 40px 0;
  position: relative;
  z-index: 10;
}

.app-banner {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.9) 0%, rgba(15, 12, 30, 0.95) 50%, rgba(4, 8, 20, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.15fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.app-banner-mockups {
  position: relative;
  width: 100%;
  height: 250px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.native-phone {
  width: 130px;
  height: 255px;
  background: #02040a;
  border: 4px solid #1e293b;
  border-radius: 22px;
  position: absolute;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

.phone-1 {
  left: 20px;
  bottom: -15px;
  transform: rotate(-8deg);
  z-index: 1;
}

.phone-2 {
  right: 20px;
  top: -15px;
  transform: rotate(8deg);
  z-index: 2;
}

.native-phone:hover {
  transform: translateY(-8px) scale(1.05) rotate(0deg);
  z-index: 10;
  border-color: var(--gold);
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #080c18;
  padding: 6px;
  position: relative;
  box-sizing: border-box;
}

.phone-notch {
  width: 45px;
  height: 10px;
  background: #000000;
  border-radius: 5px;
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 4px 2px;
  z-index: 4;
}

.phone-status-icons {
  display: flex;
  gap: 2px;
}

.phone-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding-top: 6px;
  box-sizing: border-box;
}

.phone-user-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.phone-avatar-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  overflow: hidden;
  margin-bottom: 4px;
}

.phone-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-user-name {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  color: var(--white);
}

.phone-user-rank {
  font-size: 7px;
  color: var(--gray);
}

.phone-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 5px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.phone-stat-label {
  font-size: 7.5px;
  color: var(--gray-light);
}

.phone-stat-value {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  color: var(--white);
}

.phone-screen-title {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  padding-left: 2px;
}

.phone-chart-container {
  height: 60px;
  margin-bottom: 8px;
  position: relative;
}

.phone-chart-svg {
  width: 100%;
  height: 100%;
}

.phone-metrics {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 5px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 5px;
}

.metric-label {
  font-size: 7.5px;
  color: var(--gray);
}

.metric-val {
  font-family: var(--font-head);
  font-size: 8px;
  font-weight: 700;
  color: var(--gold);
}

.app-banner-title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.app-banner-desc {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray-light);
  margin-bottom: 0;
  max-width: 280px;
}

.app-banner-downloads {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.scan-text {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gray);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.downloads-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qr-code-box {
  width: 90px;
  height: 90px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.qr-code-box svg {
  width: 100%;
  height: 100%;
}

.download-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  width: 140px;
  height: 40px;
  text-decoration: none;
  transition: var(--ease);
}

.download-badge:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--white);
}

.download-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.badge-sub {
  font-family: var(--font-body);
  font-size: 7.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.badge-main {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
}

@media (max-width: 991px) {
  .app-banner {
    grid-template-columns: 1fr;
    padding: 28px;
    text-align: center;
  }
  .app-banner-mockups { margin: 0 auto 16px; }
  .app-banner-downloads { justify-content: center; }
}

/* ============================================================
   PLATFORMS SECTION
   ============================================================ */
.platforms-section { padding: 50px 0; }

.platforms-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

.platforms-header-line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.35), transparent);
}

.platforms-header-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

.platform-card {
  padding: 24px 20px;
  display: flex;
  position: relative;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(8, 15, 36, 0.9) 0%, rgba(4, 8, 20, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--ease);
}

.platform-card-content {
  width: 60%;
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 3;
  position: relative;
}

.platform-card-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.platform-card-desc {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--gray-light);
  margin-bottom: 12px;
}

.platform-card-link {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: var(--ease);
  margin-top: auto;
}

.platform-card-link:hover {
  color: var(--white);
}

.platform-card-link i {
  font-size: 10px;
  transition: transform 0.2s;
}

.platform-card-link:hover i {
  transform: translateX(4px);
}

.platform-card-img-wrapper {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  border-top-right-radius: 11px;
  border-bottom-right-radius: 11px;
}

/* Gradient fade to merge image with card background */
.platform-card-img-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(4, 8, 20, 1) 0%, rgba(4, 8, 20, 0.4) 50%, rgba(4, 8, 20, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.platform-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.1);
}

.platform-card:hover .platform-card-img {
  transform: scale(1.08);
}

/* ============================================================
   STATS BANNER
   ============================================================ */
.stats-banner-section {
  padding: 40px 0;
  position: relative;
  z-index: 10;
}

.stats-banner-bar {
  background: rgba(8, 15, 36, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-md) !important;
  padding: 24px 30px !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  justify-content: center;
}

.stat-icon {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stat-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.2px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 10.5px;
  color: var(--gray-light);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #02040c;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 55px 0 20px;
  position: relative;
  z-index: 10;
}

footer .logo-divider {
  display: block !important;
}

footer .logo-platform {
  display: flex !important;
}

.footer-brand-desc {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.65;
  max-width: 270px;
  margin-bottom: 0;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.social-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: var(--ease);
}
.social-btn:hover {
  background: var(--gold);
  color: #030712;
  border-color: var(--gold);
  transform: translateY(-2px);
}
.social-btn i { font-size: 13px; }

.footer-column-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.2px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.4;
}
.footer-links a:hover { color: var(--gold); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
}
.contact-item i { color: var(--gold); font-size: 13px; width: 14px; }

/* Newsletter */
.newsletter-form { margin-top: 16px; }

.newsletter-input-wrapper {
  display: flex;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--ease);
}
.newsletter-input-wrapper:focus-within { border-color: var(--gold); }

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 9px 12px;
  font-size: 12px;
  color: var(--white);
  font-family: var(--font-body);
}
.newsletter-input::placeholder { color: var(--gray-dark); }

.newsletter-submit {
  width: 36px;
  background: var(--gold);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--ease);
  flex-shrink: 0;
}
.newsletter-submit:hover { background: var(--gold-hover); }
.newsletter-submit i { font-size: 13px; color: #030712; font-weight: 700; }

/* Footer bottom */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 16px; }

.copyright-text {
  font-size: 11px;
  color: var(--gray-dark);
}

/* ============================================================
   RADAR / MAP ANIMATION
   ============================================================ */
@keyframes radar-sweep {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 165px;
  height: 165px;
  transform-origin: center;
  animation: radar-sweep 3s linear infinite;
  background: conic-gradient(from 0deg, transparent 75%, rgba(59,130,246,0.18) 90%, transparent 100%);
  border-radius: 50%;
}

/* ============================================================
   LEADERBOARD TABLE STYLING (JS-rendered)
   ============================================================ */
.leaderboard-scroll { flex-grow: 1; overflow-y: auto; }
.leaderboard-scroll::-webkit-scrollbar { width: 3px; }
.leaderboard-scroll::-webkit-scrollbar-thumb { background: #1f2937; }

/* Table head */
.leaderboard-table { width: 100%; border-collapse: collapse; }

.leaderboard-table thead tr {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.leaderboard-table thead th {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 0 8px;
}

/* Table body rows */
.leaderboard-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: var(--ease);
}

.leaderboard-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.leaderboard-table tbody td { padding: 9px 0; vertical-align: middle; }

/* Rank badge */
.rank-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.rank-1 { background: var(--gold); color: #030712; }
.rank-2 { background: #9ca3af; color: #030712; }
.rank-3 { background: #b45309; color: #fff; }
.rank-other { background: rgba(255,255,255,0.06); color: var(--gray); }

/* Player cell */
.player-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(245,158,11,0.12);
  border: 1.5px solid rgba(245,158,11,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 11px;
  flex-shrink: 0;
}

.player-name {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

/* Score cell */
.score-cell {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

/* Country flag */
.country-flag {
  width: 22px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  margin-left: auto;
}

/* ============================================================
   RADAR MAP (Find Academies widget)
   ============================================================ */
.map-select {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xs);
  padding: 4px 8px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.map-select option { background: #060b1c; }

.radar-map-wrapper {
  flex-grow: 1;
  position: relative;
  border-radius: var(--radius-md);
  background: radial-gradient(ellipse at 50% 50%, #0b1530 0%, #040814 100%);
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
  margin-bottom: 12px;
  min-height: 250px;
}

/* Radar rings */
.radar-grid {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-grid::before,
.radar-grid::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.15);
}

.radar-grid::before { width: 80px;  height: 80px;  }
.radar-grid::after  { width: 160px; height: 160px; }

/* Extra rings via pseudo on lines */
.radar-line-x {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(59,130,246,0.12);
  pointer-events: none;
}

.radar-line-y {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(59,130,246,0.12);
  pointer-events: none;
}

/* Outer ring overlay */
.radar-map-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.1);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Radar scanner sweep */
.radar-scanner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 70%, rgba(59,130,246,0.2) 90%, transparent 100%);
  animation: radar-sweep 2.8s linear infinite;
  transform-origin: center;
}

/* Center user dot */
.center-user {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 14px var(--blue-accent), 0 0 28px rgba(59,130,246,0.3);
  z-index: 5;
}

/* Map markers */
.map-marker {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--ease);
  z-index: 4;
}

.map-marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  opacity: 0.3;
  animation: ping 1.5s ease-out infinite;
}

@keyframes ping {
  0%   { transform: translate(-50%,-50%) scale(1); opacity: 0.4; }
  100% { transform: translate(-50%,-50%) scale(2.2); opacity: 0; }
}

.marker-blue   { background: var(--blue-accent); top: 32%; left: 55%; }
.marker-blue::after   { background: var(--blue-accent); }
.marker-red    { background: #ef4444; top: 48%; left: 28%; }
.marker-red::after    { background: #ef4444; }
.marker-green  { background: #10b981; top: 62%; left: 62%; }
.marker-green::after  { background: #10b981; }
.marker-yellow { background: var(--gold); top: 25%; left: 40%; }
.marker-yellow::after { background: var(--gold); }
.marker-orange { background: #f97316; top: 70%; left: 36%; }
.marker-orange::after { background: #f97316; }

/* Radar search button */
.search-btn {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: var(--ease);
}
.search-btn:hover {
  background: rgba(245,158,11,0.06);
  border-color: var(--gold);
}

/* ============================================================
   COMPREHENSIVE RESPONSIVE SYSTEM — ALL MOBILE BROWSERS
   ============================================================ */

/* ── LARGE DESKTOP ≤ 1400px ── */
@media (max-width: 1400px) {
  .hero-title { font-size: clamp(44px, 4.5vw, 76px); }
  .app-banner { padding: 40px 40px; }
}

/* ── TABLET / SMALL LAPTOP ≤ 991px ── */
@media (max-width: 991px) {

  /* Header */
  .header-inner { height: 56px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12px; }
  .header-inner .login-btn { padding: 7px 14px; font-size: 12px; }
  .lang-selector { display: none; }

  /* Hero */
  .hero { padding: 48px 0 32px; }
  .hero-title { font-size: clamp(38px, 6vw, 60px); letter-spacing: -1.5px; }
  .hero-subtitle { font-size: 17px; }
  .hero-desc { font-size: 13px; max-width: 100%; }
  .hero-image { width: 100%; margin-left: 0; }
  .hero-glow-back { display: none; }

  /* Sports bar */
  .sports-list { flex-wrap: wrap; border-radius: var(--radius-md); }
  .sport-item { flex: 1 0 30%; padding: 14px 8px; font-size: 10px; }
  .sport-item:not(:last-child)::after { display: none; }
  .sport-item { border-bottom: 1px solid rgba(255,255,255,0.06); }

  /* Service cards */
  .services-section { padding: 0 0 24px; }

  /* Dashboard */
  .dashboard-card { height: auto; min-height: 380px; }
  .radar-map-wrapper { min-height: 220px; }

  /* App banner */
  .app-banner {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    text-align: center;
    gap: 24px;
  }
  .app-banner-mockups { margin: 0 auto; width: 100%; max-width: 260px; }
  .app-banner-downloads { align-items: center; justify-content: center; }
  .app-banner-desc { margin: 0 auto; }
  .app-banner-title { font-size: 24px; }

  /* Platform cards */
  .platform-card { padding: 18px 16px; height: 230px; }
  .platform-card-img-wrapper { width: 40%; height: 75%; }
  .platforms-header-title { font-size: 15px; letter-spacing: 1.8px; }

  /* Stats */
  .stats-banner-section { padding: 28px 0; }
  .stats-banner-bar { padding: 20px 20px !important; }
  .stat-number { font-size: 17px; }
  .stat-icon { font-size: 20px; }

  /* Footer */
  footer { padding: 44px 0 20px; }
  .footer-brand-desc { max-width: 100%; }
}

/* ── MOBILE LANDSCAPE / LARGE PHONE ≤ 768px ── */
@media (max-width: 768px) {

  /* Header — hamburger mode (hide nav, keep logo + login) */
  .header-inner { height: 52px; }
  .d-none.d-lg-block { display: none !important; }
  .lang-selector { display: none; }
  .header-inner .login-btn span { display: none; }       /* icon-only on small screens */
  .header-inner .login-btn { padding: 0; gap: 0; border-radius: 50%; width: 36px; height: 36px; justify-content: center; display: inline-flex; align-items: center; }
  .mobile-nav-toggle { width: 36px; height: 36px; }
  .logo .tnc { font-size: 18px; }
  .logo .sports { font-size: 11px; }
  .logo-platform { display: none !important; }        /* hide GLOBAL PLATFORM text */
  .logo-divider { display: none !important; }

  /* Hero — stack vertically */
  .hero { padding: 36px 0 28px; }
  .hero-title { font-size: clamp(32px, 8vw, 52px); letter-spacing: -1px; line-height: 1.0; }
  .hero-badge { font-size: 9px; letter-spacing: 1.2px; margin-bottom: 16px; }
  .hero-subtitle { font-size: 15px; margin-top: 10px; margin-bottom: 12px; }
  .hero-desc { font-size: 13px; line-height: 1.6; margin-bottom: 22px; }
  .explore-btn, .get-app-btn { padding: 11px 20px; font-size: 12px; }
  .hero-image-wrapper { margin-top: 24px; }
  .hero-image { width: 100%; margin-left: 0; }
  .col-lg-7, .col-lg-5 { width: 100%; }

  /* Sports bar — 2-column grid */
  .sports-bar-section { padding: 8px 0 20px; }
  .sports-list { border-radius: var(--radius-sm); }
  .sport-item { flex: 1 0 33.33%; font-size: 9px; padding: 12px 6px; gap: 6px; }
  .sport-icon svg { width: 16px; height: 16px; }

  /* Service cards — 2 columns */
  .services-section .row { --bs-gutter-x: 0.5rem; --bs-gutter-y: 0.5rem; }
  .service-card { padding: 10px 12px; gap: 10px; }
  .service-icon-box { width: 34px; height: 34px; font-size: 14px; }
  .service-title { font-size: 11px; }
  .service-desc { font-size: 9.5px; }

  /* Dashboard — single column stack */
  .dashboard-section { padding: 0 0 24px; }
  .dashboard-card { padding: 16px; min-height: 320px; }
  .card-header-title { font-size: 11px; }
  .leaderboard-table thead th { font-size: 8px; }
  .player-name { font-size: 11px; max-width: 90px; }
  .score-cell { font-size: 12px; }
  .rank-badge { width: 20px; height: 20px; font-size: 9px; }
  .player-avatar { width: 22px; height: 22px; font-size: 10px; }
  .radar-map-wrapper { min-height: 200px; }
  .stats-overlay-card { padding: 8px 10px; }
  .overlay-zone-name { font-size: 11px; }
  .overlay-stat-value { font-size: 12px; }
  .leaderboard-tabs { gap: 3px; }
  .tab-btn { font-size: 9px; padding: 5px 4px; }

  /* App banner */
  .app-banner { padding: 24px 20px; gap: 20px; border-radius: var(--radius-md); }
  .app-banner-title { font-size: 20px; }
  .app-banner-desc { font-size: 12px; }
  .app-banner-mockups { width: 100%; max-width: 200px; }
  .qr-code-box { width: 80px; height: 80px; padding: 7px; }
  .download-badge { width: 130px; height: 38px; padding: 5px 10px; }
  .badge-main { font-size: 11px; }

  /* Platform cards — 2 columns (Bootstrap handles via row-cols-2) */
  .platform-card { padding: 16px 14px; height: 210px; }
  .platform-card-img-wrapper { width: 38%; height: 70%; }
  .platform-card-title { font-size: 13px; }
  .platform-card-desc { font-size: 11px; }
  .platforms-header { gap: 12px; margin-bottom: 24px; }
  .platforms-header-title { font-size: 13px; letter-spacing: 1.4px; }
  .platforms-section { padding: 36px 0; }

  /* Stats — 3 columns on mobile */
  .stats-banner-section { padding: 24px 0; }
  .stats-banner-bar { padding: 16px 14px !important; }
  .stat-number { font-size: 15px; }
  .stat-icon { font-size: 18px; }
  .stat-label { font-size: 9.5px; }
  .stat-item { gap: 8px; }

  /* Footer */
  footer { padding: 36px 0 16px; }
  .footer-column-title { font-size: 12px; margin-bottom: 12px; }
  .footer-links a { font-size: 11px; }
  .footer-brand-desc { font-size: 11px; }
  .contact-item { font-size: 11px; }
  .social-links { gap: 6px; }
  .social-btn { width: 28px; height: 28px; }
  .footer-bottom { padding-top: 12px; }
  .copyright-text { font-size: 10px; }
}

/* ── MOBILE PORTRAIT ≤ 576px ── */
@media (max-width: 576px) {

  /* Header */
  .header-inner { height: 50px; }

  /* Hero */
  .hero { padding: 28px 0 24px; }
  .hero-title { font-size: clamp(28px, 9vw, 44px); letter-spacing: -0.5px; line-height: 1.05; }
  .hero-badge { font-size: 8px; padding: 4px 10px; }
  .hero-subtitle { font-size: 14px; }
  .hero-desc { font-size: 12px; }
  .explore-btn, .get-app-btn { width: 100%; justify-content: center; font-size: 12px; padding: 12px 16px; }
  .d-flex.flex-wrap.gap-3 { flex-direction: column; gap: 10px !important; }

  /* Sports bar — 2 per row */
  .sport-item { flex: 1 0 50%; }
  .sport-item:nth-child(-n+4) { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .sport-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.06); }

  /* Service cards — 2 per row at 576 */
  .service-card { flex-direction: column; align-items: flex-start; padding: 12px; }
  .service-icon-box { width: 32px; height: 32px; font-size: 13px; }

  /* Dashboard */
  .dashboard-card { padding: 14px; min-height: 300px; }
  .heatmap-wrapper { min-height: 160px; }
  .stats-overlay-card { position: relative; bottom: auto; left: auto; right: auto; margin-top: 10px; border-radius: var(--radius-sm); }

  /* App banner */
  .app-banner { padding: 20px 16px; border-radius: var(--radius-sm); }
  .app-banner-title { font-size: 18px; line-height: 1.3; }
  .app-banner-mockups { width: 100%; max-width: 160px; }
  .app-banner-downloads { align-items: center; }
  .downloads-container { flex-direction: column; align-items: center; }
  .download-badge { width: 100%; max-width: 180px; justify-content: center; }
  .qr-code-box { display: none; }
  .scan-text { display: none; }

  /* Platform cards — single column */
  .platform-card { padding: 16px 14px; min-height: 200px; }
  .platform-card-img-wrapper { width: 38%; height: 70%; }

  /* Stats — 2 per row */
  .stats-banner-section .row > .col { flex: 0 0 50%; max-width: 50%; }
  .stats-banner-bar { padding: 14px 10px !important; }
  .stat-number { font-size: 14px; }
  .stat-icon { font-size: 16px; }

  /* Footer — single column */
  footer .row:first-of-type > div { margin-bottom: 24px; }
  .footer-brand-desc { max-width: 100%; }
  .newsletter-input-wrapper { max-width: 100%; }
}

/* ── SMALL PHONES ≤ 400px ── */
@media (max-width: 400px) {

  .hero-title { font-size: clamp(26px, 10vw, 38px); }
  .hero-badge { display: none; }
  .hero-subtitle { font-size: 13px; }
  .hero-desc { font-size: 11.5px; }

  .sport-item { font-size: 8.5px; gap: 5px; padding: 10px 4px; }
  .sport-icon svg { width: 14px; height: 14px; }

  .app-banner-title { font-size: 16px; }
  .app-banner-desc { font-size: 11px; }
  .download-badge { padding: 6px 10px; }

  .stat-number { font-size: 18px; }
  .platform-card-title { font-size: 12px; }

  .overlay-zone-name { font-size: 10px; }
  .overlay-stat-value { font-size: 11px; }

  .footer-column-title { font-size: 11px; }
  .footer-links a { font-size: 10.5px; }
}

/* ── TOUCH DEVICE SAFE AREAS (iOS notch / home bar) ── */
@supports (padding: max(0px)) {
  header {
    padding-top: max(0px, env(safe-area-inset-top));
  }
  footer {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}

/* ── PREVENT TEXT SIZE INFLATION ON iOS ── */
body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* ── REMOVE HOVER EFFECTS ON TOUCH ── */
@media (hover: none) {
  .service-card:hover,
  .platform-card:hover .platform-card-img,
  .mockup-phone:hover,
  .social-btn:hover {
    transform: none;
  }
  .glass-card:hover { border-color: var(--card-border); }
}

/* ── REDUCE MOTION FOR ACCESSIBILITY ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-image { animation: none; }
  .radar-scanner { animation: none; }
  .map-marker::after { animation: none; }
}

/* ============================================================
   CARD FOOTER LINK  (override Bootstrap margin-top: auto)
   ============================================================ */
.card-footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  cursor: pointer;
  margin-top: auto;
}
.card-footer-link:hover { color: var(--gold-hover); }
.card-footer-link i { font-size: 9px; transition: transform 0.2s; }
.card-footer-link:hover i { transform: translateX(4px); }

/* Intelligence Hub card footer link in blue */
.card-footer-link.blue { color: var(--blue-accent); }
.card-footer-link.blue:hover { color: #60a5fa; }

/* ============================================================
   BREADCRUMB STYLING (Bootstrap 5 Override)
   ============================================================ */
.breadcrumb {
  --bs-breadcrumb-divider: '/';
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--gray);
  transition: var(--ease);
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item a:hover {
  color: var(--white);
}

.breadcrumb-item.active {
  color: var(--gold);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--gray-dark);
}

/* ============================================================
   MOBILE OFFCANVAS / HAMBURGER NAVIGATION
   ============================================================ */
.mobile-nav-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--ease);
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-nav-toggle i {
  font-size: 20px;
  display: inline-block;
  line-height: 1;
}

/* Glassmorphism Offcanvas container */
.mobile-offcanvas {
  background: rgba(4, 8, 20, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 290px !important;
}

.mobile-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-offcanvas .offcanvas-body {
  padding: 24px 20px;
}

.mobile-offcanvas .logo-divider {
  display: block !important;
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 8px;
}

.mobile-offcanvas .logo-platform {
  display: flex !important;
  flex-direction: column;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  width: 100%;
}

.mobile-nav-links a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: var(--ease);
}

.mobile-nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-nav-links a.active {
  color: var(--gold);
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--gold);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* ============================================================
   LANGUAGE DROPDOWN MENU STYLE OVERRIDES
   ============================================================ */
.lang-dropdown-menu {
  background: rgba(8, 13, 28, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-sm) !important;
  padding: 6px 0 !important;
  min-width: 140px !important;
}

.lang-dropdown-menu .dropdown-item {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  padding: 8px 16px;
  letter-spacing: 0.3px;
  transition: var(--ease);
}

.lang-dropdown-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--white) !important;
}

.lang-dropdown-menu .dropdown-item.active {
  background: rgba(245, 158, 11, 0.12) !important;
  color: var(--gold) !important;
}

/* ============================================================
   SPORTS INTELLIGENCE HUB GRAPH STYLING
   ============================================================ */
.graph-svg {
  width: 100%;
  height: auto;
  display: block;
  padding: 10px 10px 48px 10px;
}

/* ============================================================
   ACADEMIES PAGE CUSTOM STYLES
   ============================================================ */

/* Dashboard Widget Preview Layout */
.academy-dashboard-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.preview-panel {
  background: rgba(8, 15, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.preview-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-bottom: 8px;
}

.preview-panel-title {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-light);
  letter-spacing: 0.5px;
}

.preview-status-pill {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-radius: 20px;
}

.preview-panel-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Timeline steps visualizer */
.timeline-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.timeline-step-card {
  background: rgba(8, 15, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.timeline-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 12px rgba(245, 158, 11, 0.05);
}

.timeline-step-num {
  width: 28px;
  height: 28px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 12px;
}

.timeline-step-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.timeline-step-desc {
  font-family: var(--font-body);
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--gray);
  margin-bottom: 0;
}

/* AI Expansion Heatmap wrapper */
.expansion-heatmap-wrapper {
  background: rgba(8, 15, 36, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.heatmap-pulse {
  animation: markerPulse 2.5s infinite ease-in-out;
}

/* Custom sports icons grid */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.sports-grid-item {
  background: rgba(8, 15, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: var(--ease);
}

.sports-grid-item:hover {
  background: rgba(255,255,255,0.02);
  border-color: rgba(245, 158, 11, 0.2);
  transform: translateY(-3px);
}

.sports-grid-item i {
  font-size: 24px;
  color: var(--gold);
}

.sports-grid-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.2px;
}

@media (max-width: 991px) {
  .academy-dashboard-preview { grid-template-columns: 1fr; }
  .timeline-flow { grid-template-columns: repeat(2, 1fr); }
  .sports-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 576px) {
  .timeline-flow { grid-template-columns: 1fr; }
  .sports-grid { grid-template-columns: repeat(2, 1fr); }
}