:root{
  --ink:#12172a; --ink-soft:#565f7a; --line:#e6e8f0; --bg:#f7f8fc; --card:#fff;
  --accent:#3b5bfd; --accent-dark:#2743c9; --accent-ink:#fff;
  --c1:#2f8fe0; --c2:#22b57d; --c3:#f2a430; --c4:#ef4d6b; --c5:#8a5cf6;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0; font-family:'IBM Plex Sans',system-ui,sans-serif; color:var(--ink); background:var(--bg);}
h1,h2,h3{font-family:'Manrope',system-ui,sans-serif; margin:0;}
a{color:var(--accent);}
img{max-width:100%;}
.wrap{max-width:1120px; margin:0 auto; padding:0 24px;}

/* Topbar */
.topbar{position:sticky; top:0; z-index:10; background:rgba(255,255,255,.92); backdrop-filter:blur(6px); border-bottom:1px solid var(--line);}
.topbar-inner{display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 24px; max-width:1120px; margin:0 auto;}
.brand{display:flex; align-items:center; gap:10px;}
.brand img{height:24px; display:block;}
.topnav{display:flex; align-items:center; gap:22px;}
.topnav a{color:var(--ink-soft); text-decoration:none; font-size:14px; font-weight:500;}
.topnav a:hover{color:var(--ink);}
.btn{display:inline-flex; align-items:center; gap:8px; padding:10px 18px; border-radius:9px; text-decoration:none; font-weight:700; font-size:14px; border:none; cursor:pointer;}
.btn-accent{background:var(--accent); color:var(--accent-ink);}
.btn-accent:hover{background:var(--accent-dark);}
.btn-ghost{background:rgba(255,255,255,.1); color:#fff;}

/* Language switcher (select-based, used by the marketing home) */
.lang-select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background:#f2f3f8; color:var(--ink); border:1px solid var(--line);
  border-radius:8px; padding:8px 30px 8px 12px; font-size:13px; font-weight:600; font-family:inherit;
  cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23565f7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 8px center; background-size:14px;
}
.lang-select:hover{background-color:#e9ebf3;}
.lang-select option{color:#12172a; background:#fff;}

/* Hero */
.hero{padding:76px 0 64px; overflow:hidden;}
.hero-inner{display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center;}
.hero .eyebrow{display:inline-block; background:#e9edff; color:var(--accent-dark); font-weight:700; font-size:12.5px; padding:6px 14px; border-radius:999px; margin-bottom:18px;}
.hero h1{font-size:44px; line-height:1.12; margin:0 0 18px;}
.hero p.lead{font-size:17px; color:var(--ink-soft); max-width:520px; margin:0 0 30px; line-height:1.6;}
.hero-ctas{display:flex; gap:12px; flex-wrap:wrap;}
.btn-lg{padding:13px 26px; font-size:15px;}

/* Hero visual: collage of sport badges over soft color blobs */
.hero-visual{position:relative; height:420px;}
.hero-visual .blob{position:absolute; border-radius:50%; filter:blur(46px); opacity:.35;}
.hero-visual .blob1{width:260px; height:260px; background:var(--c1); top:-30px; right:10px;}
.hero-visual .blob2{width:220px; height:220px; background:var(--c3); bottom:-20px; left:0;}
.hero-visual .blob3{width:180px; height:180px; background:var(--c5); bottom:60px; right:60px;}
.hero-badges{position:relative; height:100%; display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; gap:18px; padding:10px;}
.hero-badge{
  background:var(--card); border:1px solid var(--line); border-radius:20px; padding:18px;
  display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:10px;
  box-shadow:0 18px 38px -18px rgba(18,23,42,.28);
}
.hero-badge:nth-child(1){transform:translateY(-6px);}
.hero-badge:nth-child(2){transform:translateY(16px);}
.hero-badge:nth-child(3){transform:translateY(10px);}
.hero-badge:nth-child(4){transform:translateY(-10px);}
.hero-badge .icon{width:40px; height:40px; border-radius:11px; display:flex; align-items:center; justify-content:center; color:#fff;}
.hero-badge span{font-size:13.5px; font-weight:700;}

/* Sections */
section{padding:64px 0;}
.section-head{max-width:640px; margin:0 auto 40px; text-align:center;}
.section-head .eyebrow{display:block; color:var(--accent); font-weight:700; font-size:12.5px; text-transform:uppercase; letter-spacing:.04em; margin-bottom:10px;}
.section-head h2{font-size:30px; margin-bottom:12px;}
.section-head p{color:var(--ink-soft); font-size:15.5px; line-height:1.6; margin:0;}

/* Sports strip */
.sports-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.sport-card{background:var(--card); border:1px solid var(--line); border-radius:16px; padding:26px 22px; text-align:center;}
.sport-card .icon{
  width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  color:#fff; margin:0 auto 16px;
}
.sport-card h3{font-size:16px; margin-bottom:8px;}
.sport-card p{margin:0; color:var(--ink-soft); font-size:13.5px; line-height:1.55;}
.sports-note{text-align:center; color:var(--ink-soft); font-size:13.8px; margin-top:24px;}

/* Features */
.features-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.feature-card{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:24px;}
.feature-card .icon{
  width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center;
  color:#fff; margin-bottom:16px;
}
.feature-card h3{font-size:16px; margin-bottom:8px;}
.feature-card p{margin:0; color:var(--ink-soft); font-size:13.8px; line-height:1.55;}

/* Roles */
.roles-band{background:var(--ink); color:#fff;}
.roles-band .section-head h2, .roles-band .section-head p{color:#fff;}
.roles-band .section-head p{color:#c7cbe0;}
.roles-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:16px;}
.role-card{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:12px; padding:18px;}
.role-card h3{font-size:14.5px; color:#fff; margin-bottom:6px;}
.role-card p{margin:0; color:#b9bfd8; font-size:13px; line-height:1.5;}

/* Payments */
.payments-section{background:linear-gradient(180deg,#eef1ff,transparent);}
.payments-panel{display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center; background:var(--card); border:1px solid var(--line); border-radius:24px; padding:42px; max-width:1120px; margin:0 auto;}
.payments-panel h2{font-size:27px; margin-bottom:14px;}
.payments-panel p.lead{color:var(--ink-soft); font-size:15px; line-height:1.65; margin:0 0 20px;}
.payments-points{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px;}
.payments-points li{display:flex; gap:12px; align-items:flex-start; font-size:14.5px; color:var(--ink);}
.payments-points .tick{flex:none; width:24px; height:24px; border-radius:50%; background:var(--c2); color:#fff; display:flex; align-items:center; justify-content:center; margin-top:1px;}
.payments-visual{background:linear-gradient(135deg,var(--accent),var(--accent-dark)); border-radius:18px; padding:26px; color:#fff;}
.payments-visual .row{display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.16); font-size:13.5px;}
.payments-visual .row:last-child{border-bottom:none;}
.payments-visual .row .tag{padding:3px 10px; border-radius:999px; font-size:11.5px; font-weight:700;}
.tag-ok{background:rgba(34,181,125,.25); color:#a8f2d6;}
.tag-pending{background:rgba(242,164,48,.25); color:#ffd899;}

/* How it works */
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.step-card{position:relative; padding-left:2px;}
.step-num{display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:9px; background:#e9edff; color:var(--accent-dark); font-weight:800; font-size:14px; margin-bottom:14px;}
.step-card h3{font-size:15.5px; margin-bottom:6px;}
.step-card p{margin:0; color:var(--ink-soft); font-size:13.8px; line-height:1.55;}

/* Contact */
.contact-band{background:var(--ink); color:#fff; border-radius:24px; padding:48px 44px; margin:0 24px; display:grid; grid-template-columns:1.2fr .8fr; gap:40px;}
.contact-band h2{font-size:27px; margin-bottom:12px;}
.contact-band p{color:#c7cbe0; font-size:15px; margin:0; line-height:1.6;}
.contact-card{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:16px; padding:24px;}
.contact-row{display:flex; gap:12px; align-items:flex-start; margin-bottom:16px;}
.contact-row:last-child{margin-bottom:0;}
.contact-row .icon{flex:none; width:34px; height:34px; border-radius:10px; background:rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; color:#fff;}
.contact-row .label{font-size:11.5px; text-transform:uppercase; letter-spacing:.04em; color:#9aa0c0; margin-bottom:2px;}
.contact-row a, .contact-row div.value{color:#fff; font-size:14.5px; text-decoration:none; line-height:1.5;}
.contact-row a:hover{text-decoration:underline;}

footer{padding:36px 24px; text-align:center; color:var(--ink-soft); font-size:13px; border-top:1px solid var(--line);}
footer a{color:var(--ink-soft);}
footer .fbrand{display:flex; align-items:center; justify-content:center; gap:8px; margin-bottom:10px;}
footer .fbrand img{height:18px;}

/* Directory (clubs.php) */
.clubs-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:18px; margin-top:8px;}
.club-card{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:22px; text-align:center;}
.club-card img{height:56px; width:56px; object-fit:contain; border-radius:12px; margin-bottom:14px; background:#f2f3f7;}
.club-card h3{font-size:15.5px; margin-bottom:4px;}
.club-card p{margin:0 0 16px; color:var(--ink-soft); font-size:13px;}
.club-card .row{display:flex; gap:8px; justify-content:center;}
.empty-note{text-align:center; color:var(--ink-soft); padding:40px 0;}

@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-visual{height:340px; max-width:460px; margin:0 auto;}
  .payments-panel{grid-template-columns:1fr; padding:32px;}
  .contact-band{grid-template-columns:1fr;}
}
@media (max-width:860px){
  .features-grid, .steps{grid-template-columns:repeat(2,1fr);}
  .sports-grid{grid-template-columns:repeat(2,1fr);}
  .roles-grid{grid-template-columns:repeat(3,1fr);}
  .hero h1{font-size:34px;}
  .topnav{gap:14px;}
}
@media (max-width:600px){
  .features-grid, .steps, .sports-grid{grid-template-columns:1fr;}
  .roles-grid{grid-template-columns:repeat(2,1fr);}
  .topnav{display:none;}
  .hero{padding:48px 0 40px;}
  .hero-visual{height:auto;}
  .hero-badges{grid-template-columns:1fr 1fr; grid-template-rows:auto auto;}
  .contact-band{padding:32px 22px; margin:0 16px;}
  .payments-panel{padding:24px;}
}
