/* =========================================================
   VARIABLES
========================================================= */

:root {

    --green: #12c76a;
    --green-dark: #079b50;
    --green-light: #dfffea;

    --black: #07100c;
    --black-2: #0b1711;
    --dark: #101d16;

    --white: #ffffff;
    --light: #f5f7f6;
    --grey: #7b8781;
    --border: #e4e9e6;

    --radius: 18px;

    --shadow:
        0 10px 35px rgba(7, 16, 12, 0.08);

    --shadow-hover:
        0 20px 50px rgba(7, 16, 12, 0.15);

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    color: white;
}

.header-inner {
    width: min(1400px, calc(100% - 70px));
    height: 90px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-ball {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--green);
    border-radius: 12px;

    font-size: 22px;

    box-shadow:
        0 8px 25px rgba(18, 199, 106, 0.25);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text strong {
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo-text strong span {
    color: var(--green);
}

.logo-text small {
    margin-top: 5px;

    font-size: 7px;
    font-weight: 700;
    letter-spacing: 2px;

    opacity: 0.6;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.main-nav a {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    font-weight: 600;

    transition: 0.25s;
}

.main-nav a:hover {
    color: white;
}

.header-button {
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);

    color: white;

    padding: 12px 17px;
    border-radius: 10px;

    font-size: 13px;
    font-weight: 700;

    display: flex;
    align-items: center;
    gap: 12px;

    transition: 0.25s;
}

.header-button span {
    color: var(--green);
    font-size: 18px;
}

.header-button:hover {
    background: white;
    color: var(--black);
}

.mobile-menu-button {
    display: none;

    background: transparent;
    border: 0;

    color: white;
    font-size: 27px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 730px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(18,199,106,0.18),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #06100b 0%,
            #0a1711 55%,
            #07100c 100%
        );

    color: white;
}

.hero-background {
    position: absolute;
    inset: 0;

    opacity: 0.13;

    background-image:
        linear-gradient(
            90deg,
            transparent 49%,
            rgba(255,255,255,0.1) 50%,
            transparent 51%
        ),
        linear-gradient(
            rgba(255,255,255,0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.06) 1px,
            transparent 1px
        );

    background-size:
        100% 100%,
        70px 70px,
        70px 70px;

    transform: perspective(700px) rotateX(50deg) scale(1.7);
    transform-origin: center bottom;
}

.hero::after {
    content: "";

    position: absolute;
    right: -200px;
    bottom: -300px;

    width: 700px;
    height: 700px;

    border: 1px solid rgba(18,199,106,0.15);
    border-radius: 50%;

    box-shadow:
        0 0 0 100px rgba(18,199,106,0.02),
        0 0 0 200px rgba(18,199,106,0.015);
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(1100px, calc(100% - 40px));

    margin: 100px auto 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 13px;

    border: 1px solid rgba(18,199,106,0.25);
    background: rgba(18,199,106,0.08);

    color: #8cf2ba;

    border-radius: 100px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pulse {
    width: 7px;
    height: 7px;

    background: var(--green);
    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(18,199,106,0.1);
}

.hero h1 {
    margin-top: 28px;

    max-width: 900px;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(55px, 8vw, 105px);
    line-height: 0.92;

    letter-spacing: -5px;
}

.hero h1 span {
    color: var(--green);
}

.hero-description {
    max-width: 610px;

    margin-top: 28px;

    color: rgba(255,255,255,0.65);

    font-size: 17px;
    line-height: 1.7;
}

.search-box {
    max-width: 760px;

    margin-top: 38px;

    padding: 7px;

    display: flex;
    align-items: center;

    background: white;

    border-radius: 14px;

    box-shadow:
        0 25px 70px rgba(0,0,0,0.3);
}

.search-icon {
    width: 48px;

    display: flex;
    justify-content: center;

    font-size: 19px;
}

.search-box input {
    flex: 1;

    border: 0;
    outline: 0;

    min-width: 0;

    color: var(--black);

    font-size: 14px;
}

.search-box input::placeholder {
    color: #9ca7a1;
}

.search-box button {
    border: 0;

    padding: 15px 25px;

    background: var(--green);
    color: white;

    border-radius: 9px;

    font-weight: 800;
    font-size: 13px;

    transition: 0.25s;
}

.search-box button:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.popular-searches {
    margin-top: 18px;

    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;

    color: rgba(255,255,255,0.4);

    font-size: 11px;
}

.popular-searches button {
    border: 0;

    padding: 6px 10px;

    border-radius: 6px;

    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.7);

    font-size: 10px;
}

.popular-searches button:hover {
    background: rgba(255,255,255,0.14);
}

.hero-scroll {
    position: absolute;

    right: 35px;
    bottom: 35px;

    z-index: 3;

    display: flex;
    align-items: center;
    gap: 10px;

    color: rgba(255,255,255,0.35);

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;

    writing-mode: vertical-rl;
}

.hero-scroll span {
    width: 1px;
    height: 50px;

    background: rgba(255,255,255,0.2);
}


/* =========================================================
   STATS
========================================================= */

.stats-section {
    background: var(--green);
    color: white;
}

.stats-container {
    width: min(1200px, calc(100% - 40px));

    min-height: 125px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;

    font-family: "Montserrat", sans-serif;

    font-size: 32px;
    font-weight: 900;
}

.stat-item span {
    display: block;

    margin-top: 5px;

    color: rgba(255,255,255,0.75);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-separator {
    width: 1px;
    height: 42px;

    background: rgba(255,255,255,0.2);
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.clubs-section,
.countries-section,
.about-section {
    width: min(1400px, calc(100% - 70px));

    margin: auto;
}

.clubs-section {
    padding: 115px 0 120px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}

.section-heading.centered {
    display: block;
    text-align: center;
}

.section-kicker {
    display: block;

    margin-bottom: 12px;

    color: var(--green);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;
}

.section-kicker.light {
    color: #8cf2ba;
}

.section-heading h2,
.about-text h2,
.missing-content h2 {
    font-family: "Montserrat", sans-serif;

    font-size: clamp(35px, 5vw, 58px);
    line-height: 1;

    letter-spacing: -2.5px;
}

.section-heading h2 span,
.about-text h2 span,
.missing-content h2 span {
    color: var(--green);
}

.section-heading p {
    margin-top: 14px;

    color: var(--grey);

    font-size: 14px;
}

.results-count {
    padding-bottom: 4px;

    color: var(--grey);

    font-size: 11px;
}

.results-count strong {
    color: var(--black);

    font-size: 22px;
}


/* =========================================================
   FILTERS
========================================================= */

.filters {
    display: grid;

    grid-template-columns: 1.6fr 1fr 1fr 1fr auto;

    gap: 10px;

    margin-bottom: 35px;
}

.filter-group,
.filters select {
    height: 48px;

    border: 1px solid var(--border);

    background: white;

    border-radius: 10px;

    color: var(--black);

    font-size: 12px;
}

.filter-group {
    display: flex;
    align-items: center;
}

.filter-group span {
    padding-left: 15px;
}

.filter-group input {
    width: 100%;

    height: 100%;

    border: 0;
    outline: 0;

    padding: 0 12px;

    font-size: 12px;
}

.filters select {
    padding: 0 12px;

    outline: 0;
}

.reset-button {
    height: 48px;

    padding: 0 17px;

    border: 0;

    border-radius: 10px;

    background: var(--black);
    color: white;

    font-size: 11px;
    font-weight: 700;

    transition: 0.25s;
}

.reset-button:hover {
    background: var(--green);
}


/* =========================================================
   CLUB GRID
========================================================= */

.clubs-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.club-card {
    overflow: hidden;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: 0 4px 15px rgba(7,16,12,0.03);

    transition:
        transform 0.3s,
        box-shadow 0.3s,
        border-color 0.3s;
}

.club-card:hover {
    transform: translateY(-7px);

    border-color: transparent;

    box-shadow: var(--shadow-hover);
}

.club-cover {
    height: 115px;

    position: relative;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(18,199,106,0.28),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #0a1711,
            #10281b
        );
}

.club-cover::after {
    content: "⚽";

    position: absolute;

    right: 22px;
    bottom: -15px;

    font-size: 75px;

    opacity: 0.06;

    transform: rotate(-15deg);
}

.club-country {
    position: absolute;

    left: 16px;
    top: 16px;

    padding: 6px 9px;

    border-radius: 6px;

    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(8px);

    color: rgba(255,255,255,0.8);

    font-size: 9px;
    font-weight: 700;
}

.club-level {
    position: absolute;

    right: 16px;
    top: 16px;

    padding: 6px 9px;

    border-radius: 6px;

    background: var(--green);

    color: white;

    font-size: 9px;
    font-weight: 900;
}

.club-card-body {
    min-height: 105px;

    position: relative;

    display: flex;
    align-items: center;

    padding: 15px 18px 15px 20px;
}

.club-logo {
    width: 66px;
    height: 66px;

    flex-shrink: 0;

    margin-top: -38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: white;

    border: 1px solid var(--border);

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.1);
}

.club-logo img {
    width: 80%;
    height: 80%;

    object-fit: contain;
}

.club-logo.placeholder {
    background: var(--light);

    font-size: 25px;
}

.club-info {
    min-width: 0;

    padding-left: 15px;
}

.club-info h3 {
    padding-right: 25px;

    font-size: 14px;
    font-weight: 800;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location {
    margin-top: 6px;

    color: var(--grey);

    font-size: 10px;
}

.website-status {
    display: inline-block;

    margin-top: 9px;

    font-size: 9px;
    font-weight: 700;
}

.website-status.available {
    color: var(--green-dark);
}

.website-status.unavailable {
    color: #e18b30;
}

.club-arrow {
    position: absolute;

    right: 17px;
    top: 50%;

    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--light);

    color: var(--black);

    font-size: 15px;

    transform: translateY(-50%);

    transition: 0.25s;
}

.club-card:hover .club-arrow {
    background: var(--green);
    color: white;
    transform: translate(3px,-50%);
}


/* =========================================================
   NO RESULTS
========================================================= */

.no-results {
    display: none;

    padding: 70px 20px;

    text-align: center;
}

.no-results-icon {
    font-size: 40px;
}

.no-results h3 {
    margin-top: 15px;

    font-family: "Montserrat", sans-serif;
    font-size: 25px;
}

.no-results p {
    margin-top: 8px;

    color: var(--grey);
    font-size: 13px;
}


/* =========================================================
   LOAD MORE
========================================================= */

.load-more-container {
    margin-top: 45px;

    text-align: center;
}

.load-more {
    padding: 14px 22px;

    border: 1px solid var(--border);

    background: white;

    border-radius: 10px;

    color: var(--black);

    font-size: 11px;
    font-weight: 800;

    transition: 0.25s;
}

.load-more span {
    margin-left: 8px;

    color: var(--green);
}

.load-more:hover {
    border-color: var(--green);
    color: var(--green);
}


/* =========================================================
   MISSING WEBSITE CTA
========================================================= */

.missing-section {
    min-height: 480px;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--black);
    color: white;
}

.missing-background {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 70% 50%,
            rgba(18,199,106,0.18),
            transparent 35%
        );
}

.missing-background::after {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -200px;
    top: -50px;

    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 50%;

    box-shadow:
        0 0 0 80px rgba(255,255,255,0.015),
        0 0 0 160px rgba(255,255,255,0.01);
}

.missing-content {
    position: relative;
    z-index: 2;

    width: min(1400px, calc(100% - 70px));

    margin: auto;
}

.missing-content h2 {
    max-width: 760px;
}

.missing-content p {
    max-width: 560px;

    margin-top: 25px;

    color: rgba(255,255,255,0.55);

    font-size: 15px;
    line-height: 1.7;
}

.missing-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    margin-top: 30px;

    padding: 15px 20px;

    background: var(--green);

    border-radius: 10px;

    color: white;

    font-size: 12px;
    font-weight: 800;

    transition: 0.25s;
}

.missing-button span {
    font-size: 19px;
}

.missing-button:hover {
    background: white;
    color: var(--black);
}

.missing-ball {
    position: absolute;

    right: 10%;
    bottom: -80px;

    font-size: 300px;

    opacity: 0.06;

    transform: rotate(-15deg);
}


/* =========================================================
   COUNTRIES
========================================================= */

.countries-section {
    padding: 115px 0;
}

.countries-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

    margin-top: 50px;
}

.country-card {
    min-height: 90px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 17px;

    border: 1px solid var(--border);

    border-radius: 14px;

    transition: 0.25s;
}

.country-card:hover {
    border-color: var(--green);

    transform: translateY(-3px);

    box-shadow: var(--shadow);
}

.country-flag {
    font-size: 31px;
}

.country-card div {
    flex: 1;
}

.country-card strong {
    display: block;

    font-size: 12px;
    font-weight: 800;
}

.country-card small {
    display: block;

    margin-top: 5px;

    color: var(--grey);

    font-size: 9px;
}

.country-arrow {
    color: var(--green);

    font-size: 18px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    padding: 0 0 120px;
}

.about-container {
    min-height: 400px;

    display: grid;

    grid-template-columns: 1.4fr 1fr;

    align-items: center;

    gap: 100px;

    padding: 70px;

    background: var(--light);

    border-radius: 25px;
}

.about-text p {
    max-width: 620px;

    margin-top: 20px;

    color: var(--grey);

    font-size: 14px;
    line-height: 1.8;
}

.about-card {
    min-height: 250px;

    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: var(--black);

    border-radius: 20px;

    color: white;

    text-align: center;
}

.about-card-ball {
    margin-bottom: 15px;

    font-size: 55px;
}

.about-card strong {
    font-family: "Montserrat", sans-serif;

    font-size: 24px;
}

.about-card > span {
    margin-top: 5px;

    color: rgba(255,255,255,0.45);

    font-size: 11px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #050b08;

    color: white;
}

.footer-main {
    width: min(1400px, calc(100% - 70px));

    margin: auto;

    padding: 70px 0;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;
}

.footer-brand p {
    margin-top: 18px;

    max-width: 280px;

    color: rgba(255,255,255,0.35);

    font-size: 11px;
    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.footer-column h4 {
    margin-bottom: 7px;

    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    color: rgba(255,255,255,0.4);

    font-size: 11px;

    transition: 0.2s;
}

.footer-column a:hover {
    color: var(--green);
}

.footer-bottom {
    width: min(1400px, calc(100% - 70px));

    margin: auto;

    padding: 20px 0;

    border-top: 1px solid rgba(255,255,255,0.07);

    display: flex;
    justify-content: space-between;

    color: rgba(255,255,255,0.25);

    font-size: 9px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .main-nav {
        gap: 20px;
    }

    .clubs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filters {
        grid-template-columns: 1fr 1fr;
    }

    .search-filter {
        grid-column: span 2;
    }

}


@media (max-width: 800px) {

    .header-inner,
    .clubs-section,
    .countries-section,
    .about-section,
    .footer-main,
    .footer-bottom {
        width: min(100% - 35px, 1400px);
    }

    .main-nav,
    .header-button {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero {
        min-height: 680px;
    }

    .hero-content {
        margin-top: 80px;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .hero-scroll {
        display: none;
    }

    .stats-container {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 20px;

        padding: 25px 0;
    }

    .stat-separator {
        display: none;
    }

    .clubs-section {
        padding-top: 80px;
    }

    .section-heading {
        display: block;
    }

    .results-count {
        margin-top: 20px;
    }

    .filters {
        grid-template-columns: 1fr;
    }

    .search-filter {
        grid-column: auto;
    }

    .clubs-grid {
        grid-template-columns: 1fr;
    }

    .missing-content {
        width: calc(100% - 35px);
    }

    .missing-ball {
        right: -70px;
        font-size: 200px;
    }

    .about-container {
        grid-template-columns: 1fr;

        gap: 40px;

        padding: 35px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 500px) {

    .hero-content {
        width: calc(100% - 30px);
    }

    .hero h1 {
        font-size: 53px;
    }

    .hero-description {
        font-size: 14px;
    }

    .search-box {
        flex-wrap: wrap;

        background: transparent;

        padding: 0;
    }

    .search-icon {
        display: none;
    }

    .search-box input {
        width: 100%;
        height: 50px;

        padding: 0 15px;

        border-radius: 10px;
    }

    .search-box button {
        width: 100%;

        margin-top: 7px;
    }

    .popular-searches {
        margin-top: 15px;
    }

    .countries-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

}