
:root{
    --primary:#2563EB;
    --primary-dark:#1D4ED8;
    --text:#1E293B;
    --muted:#64748B;
    --border:#E5E7EB;
    --surface:#FFFFFF;
    --bg:#F8FAFC;
    --radius:18px;
    --radius-lg:28px;
    --shadow-sm:0 10px 30px rgba(15,23,42,.05);
    --shadow:0 20px 60px rgba(15,23,42,.08);
    --shadow-lg:0 30px 80px rgba(15,23,42,.12);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
    margin:0;
    font-family:'Poppins',sans-serif;
    color:var(--text);
    background:var(--bg);
    padding-top:88px;
}

/* The landing page now uses the shared navbar, which provides its own spacer. */
body.cc-landing{padding-top:0}

a{text-decoration:none}
img{max-width:100%;display:block}

section{padding:100px 0}

/* NAVBAR */

#mainNavbar{
    background:rgba(255,255,255,.82);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(255,255,255,.45);
    padding:18px 0;
    transition:.3s;
    z-index:1030;
}

#mainNavbar.scrolled{
    background:#fff;
    padding:14px 0;
    box-shadow:var(--shadow-sm);
}

.navbar-brand{
    font-size:2rem;
    font-weight:700;
}

.nav-link{
    color:var(--text);
    margin:0 14px;
    font-weight:500;
    transition:.25s;
}

.nav-link:hover,
.nav-link.active{
    color:var(--primary);
}

.btn{
    border-radius:14px;
    transition:.25s;
}

.btn:hover{
    transform:translateY(-2px);
}

.offcanvas{
    max-width:340px;
}

/* HERO */

.hero{
    min-height:0;
    display:flex;
    align-items:center;
    background:linear-gradient(135deg,#EEF6FF 0%,#FFFFFF 100%);
    overflow:hidden;
    padding:52px 0 72px;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 18px;
    border-radius:999px;
    background:#DBEAFE;
    color:var(--primary);
    font-size:14px;
    font-weight:600;
}

.hero-title{
    margin:24px 0;
    font-size:72px;
    line-height:1.05;
    font-weight:700;
}

.hero-description{
    max-width:620px;
    font-size:20px;
    line-height:1.8;
    color:var(--muted);
}

.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-top:40px;
}

.hero-stat{
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:16px;
    box-shadow:0 8px 24px rgba(30,64,104,.055);
    margin-top:0;
    min-width:0;
    padding:18px 17px 17px;
    text-align:left;
    transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

.hero-stats{
    display:grid;
    gap:14px;
    grid-template-columns:repeat(4,minmax(0,1fr));
}

.hero-stat__value{
    align-items:center;
    display:flex;
    gap:13px;
    min-width:0;
    padding-bottom:13px;
}

.hero-stat__value strong{
    color:var(--primary);
    font-size:36px;
    font-weight:750;
    letter-spacing:-.035em;
    line-height:1;
}

.hero-stat__icon{
    align-items:center;
    background:#eef5ff;
    border-radius:10px;
    color:var(--primary);
    display:inline-flex;
    flex:0 0 38px;
    font-size:18px;
    height:38px;
    justify-content:center;
    width:38px;
}

.hero-stat h3{
    border-top:1px solid #e8edf4;
    color:#172033;
    font-size:15px;
    font-weight:700;
    line-height:1.35;
    margin:0;
    padding-top:12px;
}

.hero-stat p{
    color:var(--muted);
    font-size:12px;
    line-height:1.4;
    margin:4px 0 0;
}

@media (hover:hover){
    .hero-stat:hover{
        border-color:#c6d6eb;
        box-shadow:0 12px 28px rgba(30,64,104,.1);
        transform:translateY(-2px);
    }
}

.hero-onboarding-card{
    background:#fff;
    border-radius:var(--radius-lg);
    padding:42px;
    box-shadow:var(--shadow);
}

.auth-social-divider{align-items:center;color:#7b8798;display:flex;font-size:12px;gap:12px;margin:22px 0 16px;text-align:center}.auth-social-divider:before,.auth-social-divider:after{background:#e3e8ef;content:"";flex:1;height:1px}.auth-social-divider span{white-space:nowrap}.auth-social-grid{display:grid;gap:9px;grid-template-columns:repeat(3,minmax(0,1fr))}.auth-social-button{align-items:center;background:#fff;border:1px solid #d8e0ea;border-radius:11px;color:#344054;display:flex;font-size:12px;font-weight:600;justify-content:center;line-height:1.3;min-height:45px;padding:9px 10px;text-align:center;text-decoration:none;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.auth-social-button i{flex:0 0 14px;font-size:14px}.auth-social-button--google i{color:#db4437}.auth-social-button--facebook{color:#1558b0}.auth-social-button--facebook i{color:#1877f2}.auth-social-button--tiktok i{color:#111827}.auth-social-button:hover,.auth-social-button:focus-visible{background:#f8fbff;border-color:#92add6;box-shadow:0 0 0 3px rgba(37,99,235,.1);color:#1d4ed8;outline:0;transform:translateY(-1px)}.auth-social-button.is-redirecting{cursor:wait;opacity:.68;pointer-events:none;transform:none}.auth-social-button.is-redirecting i{animation:auth-social-pulse .8s ease-in-out infinite alternate}@keyframes auth-social-pulse{to{opacity:.35}}@media(max-width:1199.98px){.auth-social-grid{grid-template-columns:1fr}.auth-social-button{font-size:13px}}@media(max-width:991.98px) and (min-width:576px){.auth-social-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-social-button{font-size:12px}}@media(max-width:575.98px){.hero-onboarding-card{padding:26px 20px}.auth-social-grid{grid-template-columns:1fr}.auth-social-button{font-size:13px;min-height:46px}}
@media(min-width:576px){.auth-social-grid{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}}
.auth-social-button{flex-wrap:wrap}.auth-social-button small{color:#8a96a7;flex:0 0 100%;font-size:8px;font-weight:600;letter-spacing:.02em;line-height:1;margin-top:-3px}.auth-social-button.is-unconfigured{background:#fbfcfe;border-style:dashed}.auth-social-button.is-unconfigured:hover,.auth-social-button.is-unconfigured:focus-visible{background:#f8fbff;border-style:solid}.auth-social-button.is-unconfigured:hover small,.auth-social-button.is-unconfigured:focus-visible small{color:#5f6f84}

.role-card{
    display:flex;
    align-items:center;
    gap:18px;
    padding:18px;
    margin-bottom:16px;
    border:1px solid var(--border);
    border-radius:18px;
    color:var(--text);
    transition:.25s;
}

.role-card:hover{
    color:var(--text);
    border-color:var(--primary);
    transform:translateY(-3px);
    box-shadow:var(--shadow-sm);
}

.role-icon{
    width:58px;
    height:58px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#EFF6FF;
    font-size:28px;
}

.section-badge{
    display:inline-block;
    padding:8px 18px;
    border-radius:999px;
    background:#EEF6FF;
    color:var(--primary);
    font-weight:600;
}

.section-title{
    font-size:48px;
    font-weight:700;
    margin-bottom:16px;
}

.section-description{
    color:var(--muted);
    font-size:18px;
}

/* COMMON CARDS */

.stat-card,
.community-card,
.venue-card{
    background:#fff;
    border-radius:24px;
    box-shadow:var(--shadow-sm);
    transition:.25s;
}

.stat-card:hover,
.community-card:hover,
.venue-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow);
}

/* STATS */

.stats-section{background:#fff}

.stat-card{
    padding:35px;
    text-align:center;
}

.stat-card h2{
    color:var(--primary);
    font-size:42px;
    font-weight:700;
}

.stat-card p{
    margin:0;
    color:var(--muted);
}

/* SPORTS */

.sport-card{
    display:block;
    height:100%;
    padding:30px 18px;
    text-align:center;
    background:#fff;
    border:1px solid var(--border);
    border-radius:24px;
    color:var(--text);
    transition:.25s;
}

.sport-card:hover{
    color:var(--text);
    transform:translateY(-6px);
    box-shadow:var(--shadow-sm);
}

.sport-icon{
    width:90px;
    height:90px;
    margin:0 auto 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#EFF6FF;
    font-size:34px;
}

/* COMMUNITY */

.community-cover{
    height:130px;
    background:linear-gradient(135deg,#2563EB,#60A5FA);
    overflow:hidden;
}

.community-cover img{width:100%;height:100%;object-fit:cover;display:block}

.community-body h4 a{color:inherit;text-decoration:none}

.community-avatar{
    width:82px;
    height:82px;
    margin:-40px auto 0;
    border-radius:50%;
    border:5px solid #fff;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    color:var(--primary);
    font-size:34px;
    font-weight:700;
}

.community-avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover;display:block}

.community-body{
    padding:30px;
    text-align:center;
}

.community-meta{
    display:flex;
    justify-content:space-between;
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid var(--border);
}

.community-meta div{
    display:flex;
    flex-direction:column;
}

.community-meta small{
    color:var(--muted);
}

/* VENUES */

.featured-venues{
    background:#F8FAFC;
}

.venue-image{
    width:100%;
    height:220px;
    object-fit:cover;
}

.venue-body{
    padding:24px;
}

.rating{color:#F59E0B}

.rating span,
.venue-location{
    color:var(--muted);
}

.venue-footer{
    margin-top:24px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* RESPONSIVE */

@media (max-width:991px){

    body{padding-top:78px;}

    section{padding:70px 0;}

    .hero{
        min-height:auto;
        text-align:center;
        padding:48px 0 60px;
    }

    .hero-title{
        font-size:48px;
    }

    .hero-description{
        font-size:18px;
    }

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

    .hero-onboarding-card{
        margin-top:50px;
    }

    .hero-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-left:auto;margin-right:auto;max-width:560px}

    .navbar-nav{
        margin:20px 0;
    }
}

@media (max-width:575.98px){
    .hero-stats{grid-template-columns:repeat(2,minmax(0,1fr));max-width:360px}
    .hero-stat{padding:15px 13px}
    .hero-stat__value{gap:10px}
    .hero-stat__value strong{font-size:32px}
}

@media (max-width:359.98px){
    .hero-stats{grid-template-columns:1fr}
}
