:root{
  --text: #e9eefc;
  --muted: rgba(233,238,252,0.75);
  --shadow: 0 18px 50px rgba(0,0,0,0.35);
  --accent: #b10f25;
  --white: #ffffff;
  --container: 1200px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #060812;
  color: var(--text);
  overflow-x:hidden;
}

/* ==============================
   GLOBAL AMBIENT GLOW BACKGROUND
   ============================== */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(177,15,37,0.18), transparent 60%),
    radial-gradient(1200px 800px at 85% 20%, rgba(12,75,214,0.18), transparent 60%),
    radial-gradient(900px 700px at 50% 90%, rgba(255,255,255,0.04), transparent 65%),
    #060812;
}


a{ color: inherit; text-decoration:none; }
.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* ===== Header ===== */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(10,12,20,0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner{
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 14px 0;
}

/* Brand: logo + text + flag (flag on right side of text) */
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 290px;
}
.brand-logo{
  width: 93px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
}
.brand-stack{
  display:flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.brand-top{
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}
.brand-text{
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 22px;
  line-height: 1;
  opacity: 0.95;
}

/* Use image flag (no border) */
.brand-flag{
  height: 30px;   /* fits nicely with two-line stack */
  width: auto;
  border: 0;
  border-radius: 3px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.45));
  opacity: 0.98;
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  flex: 1;
  justify-content: center;
}
.nav-link{
  font-size: 14px;
  font-weight: 500;
  color: rgba(233,238,252,0.82);
  padding: 10px 10px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}
.nav-link:hover{
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.nav-link.is-active{
  color: var(--white);
  background: rgba(255,255,255,0.10);
}
.nav-dropdown{ position: relative; }
.nav-dropbtn{
  border:0;
  background: transparent;
  cursor: pointer;
  display:flex;
  align-items:center;
  gap: 6px;
}
.chev{ opacity: 0.8; font-size: 12px; }
.nav-dropmenu{
  position:absolute;
  top: 44px;
  left: 0;
  min-width: 180px;
  background: rgba(18,22,35,0.92);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display:none;
}
.nav-dropdown:hover .nav-dropmenu,
.nav-dropdown:focus-within .nav-dropmenu{
  display:block;
}
.nav-dropmenu .nav-link{ display:block; padding: 10px 10px; }

/* CTA */
.header-cta{ display:flex; align-items:center; gap: 10px; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn-ghost{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: rgba(233,238,252,0.92);
}
.btn-primary{
  background: linear-gradient(135deg, var(--accent), #d21b34);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(177,15,37,0.25);
}
.btn-lg{ padding: 12px 18px; border-radius: 14px; }

/* Burger */
.burger{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  cursor:pointer;
}
.burger span{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  margin: 5px auto;
  border-radius: 2px;
}

/* Mobile panel */
.mobile-panel{ display:none; border-top: 1px solid rgba(255,255,255,0.08); }
.mobile-inner{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 18px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.m-link{
  display:block;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(233,238,252,0.88);
}
.m-link.is-active{ background: rgba(255,255,255,0.10); color: var(--white); }
.m-cta{ display:flex; gap: 10px; padding-top: 6px; }

/* ===== Hero ===== */
.hero{
  position: relative;
  min-height: calc(100vh - 76px);
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 20% 20%, rgba(177,15,37,0.45), transparent 60%),
    radial-gradient(1200px 800px at 80% 30%, rgba(12,75,214,0.35), transparent 60%),
    url("bg.png") center/cover no-repeat;
  transform: scale(1.04);
  opacity: 0;
  filter: saturate(1.1) contrast(1.05);
}
.hero-overlay{
  position:absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,8,18,0.35), rgba(6,8,18,0.75) 65%, rgba(6,8,18,0.92));
  opacity: 0;
}

.hero-inner{
  position: relative;
  min-height: calc(100vh - 76px);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Desktop title centered background */
.hero-title-wrap{
  position:absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  transform: translateY(-6px);
}
.hero-title-group{ position: relative; display:inline-block; }

.hero-tag{
  position: absolute;
  left: clamp(85px, 7.5vw, 170px);
  top: clamp(28px, 3.2vw, 62px);

  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 3.0vw, 54px);
  letter-spacing: 8px;
  text-transform: uppercase;

  color: rgba(255,255,255,0.86);
  text-shadow: 0 18px 45px rgba(0,0,0,0.35);

  transform: translateY(10px) scaleY(1.12);
  opacity: 0;
}
.hero-title{
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 7px;
  text-transform: uppercase;

  font-size: clamp(86px, 14.6vw, 300px);
  line-height: 0.72;
  transform: translateY(14px) scaleY(1.16);
  opacity: 0;

  color: rgba(255,255,255,0.70);
  text-shadow:
    0 20px 60px rgba(0,0,0,0.35),
    0 1px 0 rgba(255,255,255,0.25);
}

/* Players (desktop overlay ok) */
.player{
  position:absolute;
  bottom: -10px;
  width: min(44vw, 560px);
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 26px 70px rgba(0,0,0,0.55));
  opacity: 0;
  will-change: transform, opacity;

  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 88%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 88%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.player-left{ left: -40px; transform: translateX(-120px); }
.player-right{ right: -40px; transform: translateX(120px); }

/* Content */
.hero-content{
  position: absolute;
  left: 50%;
  bottom: clamp(8px, 3.5vh, 28px);
  transform: translateX(-50%) translateY(16px);
  z-index: 6;
  width: min(740px, 92%);
  text-align: center;
  opacity: 0;
}
.hero-sub{
  margin: 0 auto 18px;
  color: rgba(233,238,252,0.88);
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.6;
  max-width: 640px;
}
.hero-actions{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap: wrap;
}

/* Sections */
.section{
  padding: 80px 0;
  background: #060812;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.section h2{
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 44px;
  letter-spacing: 1px;
  margin: 0 0 12px;
}
.section p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 820px;
}

/* Footer */
.footer{
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(10,12,20,0.6);
}
.footer-inner{
  padding: 18px 0;
  color: rgba(233,238,252,0.75);
  font-size: 13px;
}

/* ===== Animations ===== */
body.preload .hero-bg{ opacity: 0; }

body.is-loaded .hero-bg{ animation: bgIn 900ms ease forwards; }
body.is-loaded .hero-overlay{ animation: overlayIn 800ms ease forwards; animation-delay: 120ms; }
body.is-loaded .hero-tag{ animation: tagIn 650ms cubic-bezier(.2,.9,.2,1) forwards; animation-delay: 260ms; }
body.is-loaded .hero-title{ animation: titleIn 650ms cubic-bezier(.2,.9,.2,1) forwards; animation-delay: 320ms; }
body.is-loaded .player-left{ animation: playerLeftIn 760ms cubic-bezier(.2,.9,.2,1) forwards; animation-delay: 480ms; }
body.is-loaded .player-right{ animation: playerRightIn 760ms cubic-bezier(.2,.9,.2,1) forwards; animation-delay: 480ms; }
body.is-loaded .hero-content{ animation: contentIn 720ms cubic-bezier(.2,.9,.2,1) forwards; animation-delay: 680ms; }

@keyframes bgIn{ from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1.04); } }
@keyframes overlayIn{ from { opacity: 0; } to { opacity: 1; } }
@keyframes tagIn{ from { opacity: 0; transform: translateY(18px) scaleY(1.12); } to { opacity: 1; transform: translateY(10px) scaleY(1.12); } }
@keyframes titleIn{ from { opacity: 0; transform: translateY(28px) scaleY(1.16); } to { opacity: 1; transform: translateY(14px) scaleY(1.16); } }
@keyframes playerLeftIn{ from { opacity: 0; transform: translateX(-140px); } to { opacity: 1; transform: translateX(-10px); } }
@keyframes playerRightIn{ from { opacity: 0; transform: translateX(140px); } to { opacity: 1; transform: translateX(10px); } }
@keyframes contentIn{ from { opacity: 0; transform: translateX(-50%) translateY(16px); } to { opacity: 1; transform: translateX(-50%) translateY(0px); } }

/* ===== Mobile ===== */
@media (max-width: 980px){
  .nav, .header-cta{ display:none; }
  .burger{ display:block; margin-left:auto;
    
 }
  
}

/* MOBILE HERO LAYOUT FIX:
   Title first, then players below (no overlay), then content above legs */
@media (max-width: 680px){

  /* ===============================
     HEADER (keep as-is, already good)
     =============================== */
  .header-inner{ padding: 12px 0; }
  .brand{ min-width: auto; gap: 10px; }
  .brand-text{ font-size: 20px; }
  .brand-top{ font-size: 15px; letter-spacing: 4px; }
  .brand-flag{ height: 28px; }

  /* ===============================
     HERO BASE
     =============================== */
  .hero{
    min-height: calc(100vh - 70px);
  }

  .hero-inner{
    min-height: calc(100vh - 70px);
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding-top: 26px;
    padding-bottom: 260px; /* space for players */
  }

  /* ===============================
     TITLE (TOP, CLEAN, CENTERED)
     =============================== */
  .hero-title-wrap{
    position: relative !important;
    inset: auto !important;
    transform: none !important;

    width: 100%;
    display: flex;
    justify-content: center;

    margin-bottom: 8px;
    z-index: 8;
    pointer-events: none;
  }

  .hero-title-group{
    position: relative;
    text-align: center;
  }

  .hero-tag{
    position: static !important;
    display: block;
    margin-bottom: 1px;

    font-size: 18px;
    letter-spacing: 6px;
    transform: none !important;
    opacity: 1 !important;
  }

  .hero-title{
    font-size: clamp(58px, 15.5vw, 120px);
    line-height: 0.9;
    letter-spacing: 6px;

    transform: none !important;
    opacity: 1 !important;
  }

  /* ===============================
     CONTENT (CENTER, ABOVE PLAYERS)
     =============================== */
  .hero-content{
    position: relative !important;

    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;

    width: min(520px, 92%);
    margin: 6px auto 0;

    text-align: center;
    z-index: 12;
    opacity: 1 !important;
  }

  .hero-sub{
    margin: 0 auto 14px;
    max-width: 460px;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-actions{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: center;
  }

  .btn-lg{
    width: min(360px, 100%);
  }

  /* soft backing so text stays readable */
  .hero-content::before{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -16px;

    width: min(560px, 104%);
    height: calc(100% + 32px);

    border-radius: 18px;
    background: linear-gradient(
      180deg,
      rgba(6,8,18,0.60) 0%,
      rgba(6,8,18,0.35) 55%,
      rgba(6,8,18,0.00) 100%
    );

    z-index: -1;
    pointer-events: none;
  }

  /* ===============================
     PLAYERS (BEHIND CONTENT)
     =============================== */
  .player{
    position: absolute !important;

    bottom: 1px; /* key value: controls overlap height */
    width: 68vw;
    max-width: 480px;

    height: auto;
    z-index: 5; /* behind content, above background */
    pointer-events: none;

    opacity: 1 !important;
    transform: none !important;

    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 92%,
      rgba(0,0,0,0) 100%
    );
    mask-image: linear-gradient(
      to bottom,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 92%,
      rgba(0,0,0,0) 100%
    );
  }

  .player-left{
    left: -26px;
  }

  .player-right{
    right: -26px;
  }

  /* ===============================
     VERY SMALL PHONES
     =============================== */
  @media (max-width: 380px){
    .hero-inner{
      padding-bottom: 300px;
    }

    .player{
      width: 62vw;
      max-width: 240px;
      bottom: 140px;
    }

    .hero-title{
      font-size: clamp(54px, 16vw, 110px);
    }
  }
}

/* Short screens (iPhone X/SE etc): reduce extra bottom space in hero */
@media (max-width: 680px) and (max-height: 740px){
  .hero-inner{
    padding-bottom: 190px !important; /* was 260px */
  }
  .player{
    bottom: 0px !important;          /* keep players lower */
  }
}

/* Even shorter screens */
@media (max-width: 680px) and (max-height: 680px){
  .hero-inner{
    padding-bottom: 165px !important;
  }
  .player{
    bottom: -10px !important;
    width: 64vw !important;          /* slightly smaller to fit */
    max-width: 420px !important;
  }
}


@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  .hero-bg, .hero-overlay, .hero-title, .hero-tag, .player, .hero-content{
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ==============================
   INTRO SECTION (Balanced Theme)
   ============================== */
.intro{
  padding: 70px 0;
  background:
    radial-gradient(900px 600px at 18% 10%, rgba(177,15,37,0.10), transparent 60%),
    radial-gradient(900px 600px at 85% 30%, rgba(12,75,214,0.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-top: 1px solid rgba(255,255,255,0.06);
}

.intro .intro-card{
  border-radius: 22px;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
  backdrop-filter: blur(14px);
  overflow: hidden;
  position: relative;
}

.intro .intro-card::before{
  content:"";
  position:absolute;
  inset: -2px;
  background:
    radial-gradient(520px 260px at 12% 12%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(560px 280px at 88% 40%, rgba(255,255,255,0.07), transparent 62%);
  pointer-events:none;
  opacity: 0.95;
}

.intro .intro-topline{
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.intro .intro-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(6,8,18,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(233,238,252,0.88);
}

.intro .intro-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}

/* IMPORTANT: prevents collapsing / wrong alignment */
.intro .intro-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
  align-items: start;
}

.intro .intro-main{
  min-width: 0;
}

.intro .intro-title{
  margin: 0 0 12px;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 56px);
  letter-spacing: 0.5px;
  line-height: 1.05;
  color: rgba(233,238,252,0.95);
}

.intro .intro-title span{
  color: rgba(255,255,255,0.95);
  text-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

.intro .intro-text{
  margin: 0;
  max-width: 760px;
  color: rgba(233,238,252,0.78);
  line-height: 1.7;
  font-size: 15px;
}

/* Stats */
.intro .intro-stats{
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.intro .stat{
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(6,8,18,0.40);
  border: 1px solid rgba(255,255,255,0.10);
}

.intro .stat-number{
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: 0.5px;
  line-height: 1;
  color: rgba(233,238,252,0.95);
}

.intro .stat-plus{
  opacity: 0.75;
  margin-left: 2px;
}

.intro .stat-label{
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(233,238,252,0.70);
}

/* Make stat boxes clickable without changing design */
.intro .stat-link{
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

@media (hover: hover){
  .intro .stat-link:hover{
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.16);
    box-shadow: 0 18px 55px rgba(0,0,0,0.28);
  }
}

.intro .stat-link:active{
  transform: translateY(0px) scale(0.99);
}

.intro .stat-subby{
  margin-top: 8px;
  font-size: 12px;
  color: rgba(233,238,252,0.70);
}


/* Responsive (fix collapse) */
@media (max-width: 920px){
  .intro .intro-grid{ grid-template-columns: 1fr; }
  .intro .intro-stats{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px){
  .intro{ padding: 54px 0; }
  .intro .intro-stats{ grid-template-columns: 1fr; }
}

/* Reveal Animations (used by intro + can be reused anywhere) */
.reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}


/* ==============================
   SPORTS SECTION (Cards + PDF)
   ============================== */


.sports-head{
  text-align: center;
  margin-bottom: 26px;
}

.sports-kicker{
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(233,238,252,0.70);
  margin-bottom: 10px;
}

.sports-title{
  margin: 0 0 10px;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 54px);
  color: rgba(233,238,252,0.95);
  letter-spacing: 0.5px;
}

.sports-sub{
  margin: 0 auto;
  max-width: 760px;
  color: rgba(233,238,252,0.78);
  line-height: 1.7;
  font-size: 15px;
}

.sports-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
  margin-bottom: 30px;
}

/* Card */
.sport-card{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
  min-height: 290px;
  isolation: isolate;
}

.sport-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
}

.sport-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,8,18,0.20), rgba(6,8,18,0.72) 70%, rgba(6,8,18,0.90));
  z-index: 1;
}

.sport-content{
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.sport-tag{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(233,238,252,0.92);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.sport-name{
  margin: 0;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 34px;
  color: rgba(233,238,252,0.98);
  line-height: 1;
}

.sport-actions{
  margin-top: 10px;
  display: flex;
}

/* PDF Button */
.sport-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: rgba(6,8,18,0.95);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.35);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}

.sport-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.98);
}

/* Disabled look */
.sport-btn.is-disabled{
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.10);
  color: rgba(233,238,252,0.70);
  cursor: not-allowed;
}
.sport-btn.is-disabled:hover{
  transform: none;
  box-shadow: none;
}

/* Premium hover */
@media (hover: hover){
  .sport-card{
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  }
  .sport-card:hover{
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 26px 70px rgba(0,0,0,0.35);
  }
  .sport-card:hover .sport-bg{
    transform: scale(1.06);
    transition: transform .35s ease;
  }
}

/* Responsive */
@media (max-width: 980px){
  .sports-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px){
  .sports{ padding: 60px 0; }
  .sports-head{ text-align: left; }
  .sports-grid{ grid-template-columns: 1fr; }
  .sport-card{ min-height: 260px; }
  .sport-name{ font-size: 32px; }
  .sport-actions{ width: 100%; }
  .sport-btn{ width: 100%; }
}




/* ==============================
   TRAINING CENTERS SECTION
   ============================== */
.centers-section{
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.centers-head{
  text-align: center;
  margin-bottom: 22px;
}
.centers-kicker{
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(233,238,252,0.70);
  margin-bottom: 10px;
}
.centers-title{
  margin: 0 0 10px;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 54px);
  color: rgba(233,238,252,0.95);
  letter-spacing: 0.5px;
}
.centers-sub{
  margin: 0 auto;
  max-width: 780px;
  color: rgba(233,238,252,0.78);
  line-height: 1.7;
  font-size: 15px;
}

/* Layout: equal height columns */
.centers-wrap{
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: stretch; /* IMPORTANT: same height */
}

/* LEFT */
.centers-left{
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* Tabs */
.district-tabs{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
}
.district-tab{
  appearance: none;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(6,8,18,0.35);
  color: rgba(233,238,252,0.88);
  border-radius: 14px;
  padding: 12px 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.district-tab:hover{ transform: translateY(-1px); }
.district-tab.is-active{
  background: linear-gradient(135deg, rgba(177,15,37,0.35), rgba(12,75,214,0.22));
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.95);
}

/* Centers list card */
.centers-card{
  flex: 1;                 /* IMPORTANT: fill height */
  min-height: 420px;       /* gives nice size like your screenshot */
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
  backdrop-filter: blur(14px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.centers-card-head{
  padding: 16px 16px 10px;
}
.centers-card-title{
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(233,238,252,0.65);
}
.centers-list{
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
}

/* Center item (alignment fix: no shifting) */
.center-item{
  width: 100%;
  border-radius: 18px;
  background: rgba(6,8,18,0.34);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 14px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  transition: transform .18s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  /* HARD FIX for the “go right little” bug */
  box-sizing: border-box;
  margin: 0;
  transform: translateX(0);
}
.center-item:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}
.center-item.is-active{
  background: linear-gradient(135deg, rgba(177,15,37,0.18), rgba(12,75,214,0.12));
  border-color: rgba(255,255,255,0.18);
}

/* Left text */
.center-meta{
  min-width: 0; /* prevents overflow pushing layout */
}
.center-name{
  margin: 0;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 26px;
  line-height: 1;
  color: rgba(233,238,252,0.96);
  /* ensures consistent baseline */
  padding: 0;
}
.center-loc{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(233,238,252,0.70);
}

/* Right badge */
.center-badge{
  justify-self: end;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(233,238,252,0.78);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* RIGHT */
.centers-right{
  min-width: 0;
  display: flex;
}
.map-card{
  flex: 1;                 /* IMPORTANT: equal height with centers-card */
  min-height: 420px;       /* same base height */
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
  backdrop-filter: blur(14px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.map-head{
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.map-title{
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 0.3px;
  color: rgba(233,238,252,0.96);
  line-height: 1.05;
}
.map-sub{
  margin-top: 6px;
  font-size: 14px;
  color: rgba(233,238,252,0.72);
}
.map-frame{
  flex: 1;                 /* IMPORTANT: map fills remaining height */
  position: relative;
  background: rgba(6,8,18,0.35);
}
.map-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile */
@media (max-width: 980px){
  .centers-wrap{
    grid-template-columns: 1fr;
  }
  .centers-head{ text-align: left; }
  .map-title{ font-size: 28px; }
}
@media (max-width: 680px){
  .centers-section{ padding: 60px 0; }
  .district-tabs{
    grid-template-columns: 1fr 1fr 1fr;
  }
  .centers-card,
  .map-card{
    min-height: 360px;
  }
  .center-name{ font-size: 24px; }
}


/* ==============================
   TRAINING CENTERS SECTION (COMPACT)
   - Tabs: Mannar / Jaffna / Kilinochchi
   - Left: centers list
   - Right: map + selected center
   - Smaller height for PC + Mobile
   ============================== */

.training{
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.training-card{
  border-radius: 22px;
  padding: clamp(14px, 2vw, 18px);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
  backdrop-filter: blur(14px);
  overflow: hidden;
  position: relative;
}

/* subtle glow inside */
.training-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(520px 260px at 12% 12%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(560px 280px at 88% 40%, rgba(255,255,255,0.07), transparent 62%);
  pointer-events:none;
  opacity: .9;
}

.training-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
  align-items: stretch; /* keeps both columns same height */
}

/* ==============================
   LEFT PANEL
   ============================== */
.training-panel{
  min-height: 380px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(6,8,18,0.35);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Tabs */
.district-tabs{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 2px;
}

.district-tab{
  appearance: none;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgba(233,238,252,0.90);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.district-tab:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
}

.district-tab.is-active{
  background: linear-gradient(135deg, rgba(177,15,37,0.35), rgba(12,75,214,0.25));
  border-color: rgba(255,255,255,0.18);
}

/* Centers list header */
.centers-kicker{
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(233,238,252,0.65);
}

/* Centers list */
.centers{
  display: grid;
  gap: 8px;
  overflow: auto;               /* IMPORTANT: compact height */
  padding-right: 2px;
}

.centers::-webkit-scrollbar{ width: 8px; }
.centers::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.10);
  border-radius: 999px;
}
.centers::-webkit-scrollbar-track{
  background: rgba(255,255,255,0.03);
  border-radius: 999px;
}

.center-item{
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: transform .15s ease, border-color .2s ease, background .2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.center-item:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.16);
}

.center-item.is-active{
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
}

.center-meta{
  min-width: 0;
}

.center-title{
  margin: 0;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: rgba(233,238,252,0.96);
  line-height: 1.05;
}

.center-sub{
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(233,238,252,0.70);
  line-height: 1.3;
}

.center-pill{
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(233,238,252,0.80);
}

/* ==============================
   RIGHT MAP CARD
   ============================== */
.map-card{
  min-height: 380px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(6,8,18,0.35);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-title{
  margin: 0;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.05;
  color: rgba(233,238,252,0.95);
}

.map-sub{
  margin: -2px 0 0;
  font-size: 13px;
  color: rgba(233,238,252,0.70);
}

.map-frame-wrap{
  flex: 1;
  min-height: 260px; /* smaller map */
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.map-frame{
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 980px){
  .training-grid{
    grid-template-columns: 1fr;
  }
  .training-panel,
  .map-card{
    min-height: auto;
  }
  .map-frame-wrap{
    min-height: 260px;
  }
}

@media (max-width: 680px){
  .training{
    padding: 36px 0;
  }

  .training-card{
    border-radius: 18px;
    padding: 12px;
  }

  .training-panel,
  .map-card{
    padding: 12px;
    border-radius: 16px;
  }

  .district-tabs{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .district-tab{
    font-size: 12px;
    padding: 7px 10px;
  }

  .centers{
    max-height: 260px; /* keeps section compact on mobile */
  }

  .center-item{
    padding: 9px 10px;
  }

  .center-title{
    font-size: 15px;
  }

  .map-title{
    font-size: 20px;
  }

  .map-frame-wrap{
    min-height: 220px;
  }
}


/* ==============================
   GALLERY SECTION (Card + Rounded + Hover Zoom)
   - Keeps your dark / glow theme
   - Desktop: 5 columns (auto fits)
   - Mobile: 2 columns
   ============================== */

/* ==============================
   GALLERY (Card + Grid + Hover)
   ============================== */
.gallery{
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(177,15,37,0.08), transparent 60%),
    radial-gradient(900px 520px at 85% 18%, rgba(12,75,214,0.08), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
}

.gallery-head{
  text-align: left;
  margin-bottom: 18px;
}

.gallery-kicker{
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(233,238,252,0.65);
  margin-bottom: 10px;
}

.gallery-title{
  margin: 0 0 10px;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  color: rgba(233,238,252,0.95);
}

.gallery-sub{
  margin: 0;
  max-width: 880px;
  color: rgba(233,238,252,0.78);
  line-height: 1.7;
  font-size: 15px;
}

/* The outer card */
.gallery-card{
  width: 100%;
  margin: 18px auto 0;
  border-radius: 24px;
  padding: clamp(12px, 2vw, 18px);

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
  backdrop-filter: blur(14px);

  overflow: hidden; /* keeps everything inside */
}

/* Grid */
.gallery-grid{
  width: 100%;
  display: grid;
  gap: 14px;

  /* Desktop nice auto layout (gives 4–6 columns depending screen) */
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

/* Each image tile */
.gallery-item{
  display: block;
  position: relative;
  border-radius: 18px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(6,8,18,0.35);
  box-shadow: 0 14px 40px rgba(0,0,0,0.22);

  transform: translateY(0);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  isolation: isolate;

  /* keeps all tiles consistent */
  aspect-ratio: 4 / 3;
}

.gallery-item img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  transform: scale(1.02);
  transition: transform .35s ease, filter .35s ease;
  filter: saturate(1.05) contrast(1.02);
}

/* Soft overlay for premium look */
.gallery-item::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 240px at 20% 12%, rgba(255,255,255,0.10), transparent 60%),
    linear-gradient(180deg, rgba(6,8,18,0.00), rgba(6,8,18,0.28));
  opacity: 0.75;
  pointer-events: none;
}

@media (hover:hover){
  .gallery-item:hover{
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 26px 70px rgba(0,0,0,0.35);
  }
  .gallery-item:hover img{
    transform: scale(1.08);
    filter: saturate(1.10) contrast(1.05);
  }
}

/* ✅ MOBILE: center + 2 by 2 */
@media (max-width: 680px){
  .gallery{ padding: 60px 0; }
  .gallery-head{ text-align: left; }
  .gallery-card{ border-radius: 20px; padding: 12px; }

  .gallery-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2×2 */
    gap: 12px;
  }

  .gallery-item{
    border-radius: 16px;
    aspect-ratio: 1 / 1; /* square tiles look best on mobile */
  }
}

/* Very small phones: 1 column (optional, but looks clean) */
@media (max-width: 360px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-item{ aspect-ratio: 4 / 3; }
}


.footer{
  margin-top: 80px;
  padding: 22px 0;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(255,255,255,0.06), transparent 60%),
    rgba(10,12,20,0.75);
  border-top: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
}

.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(233,238,252,0.72);
}

.footer-copy{
  margin: 0;
}

.footer-credit{
  margin: 0;
  font-size: 13px;
  color: rgba(233,238,252,0.65);
}

/* PixelPals brand */
.pixelpals{
  margin-left: 4px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: opacity .2s ease, transform .2s ease;
}

.pixelpals .pp-dot{
  color: #ff8a00;
}

.pixelpals:hover{
  opacity: 0.9;
  transform: translateY(-1px);
}

.pixelpals::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, #ff8a00);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity .25s ease, transform .25s ease;
}

.pixelpals:hover::after{
  opacity: 1;
  transform: scaleX(1);
}

@media (max-width: 680px){
  .footer-inner{
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

/* FIX: Google map not showing on mobile (force real height) */
.map-frame{
  min-height: 360px;
}

.map-frame iframe{
  display: block;
  width: 100%;
  height: 100%;
}

/* Mobile: give a guaranteed height so iframe is visible */
@media (max-width: 680px){
  .centers-right{ width: 100%; }
  .map-frame{
    height: 360px;      /* IMPORTANT */
    min-height: 360px;  /* IMPORTANT */
  }
}

/* Very small phones */
@media (max-width: 380px){
  .map-frame{
    height: 320px;
    min-height: 320px;
  }
}

