/* ================================
   SECTION WRAPPER
================================ */

.overview,
.competitions,
.join {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 40px 20px;
    text-align: center;
}

/* ================================
   HERO
================================ */
.hero {
background: url('/images/hero-desktop-v2.png');

background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
 background-color: #06141d;

    color: white;
    padding: 100px 24px;
    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    max-width: 1100px;
margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;

    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    position: relative;
}
.hero-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 18px;
    font-size: 48px;
    line-height: 1.12;
    color: #ffffff;
    letter-spacing: -1px;
}

.hero p {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 1.6;
    color: #e6f0f0;
}

.hero .cta-button {
    background: #D4AF37;
    color: #063843;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
}

.hero .cta-button:hover {
    background: #E6C75A;
}

.hero-note {
    margin-top: 18px;
    color: #b6d8d6;
    font-size: 1rem;
}

.hero-content {
    max-width: 620px;
}

.hero h1 {
    text-align: center;
}

.hero p {
    text-align: center;
}

/* ================================
   HOW IT WORKS
================================ */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.step {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step h3 {
    color: #063843;
    margin-bottom: 8px;
}

.step p {
    color: #555;
    font-size: 0.95rem;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

/* ================================
   FEATURED COMPETITIONS
================================ */

.competitions {
    padding: 30px 20px;
}

.competition-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.competition-card {
    background: #ffffff;
    width: 100%;
    max-width: 320px;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.competition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.competition-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.competition-card p {
    font-size: 0.95rem;
    color: #555;
}

.competition-card .cta-button {
    margin-top: auto;
    width: 100%;
    border-radius: 8px;
}

/* ================================
   STATUS COLOURS
================================ */

.status-active {
    color: #067236;
    font-weight: 700;
}

.status-pending {
    color: #D4AF37;
    font-weight: 700;
}

.status-completed {
    color: #888888;
    font-weight: 700;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 45px 20px;
    }
}
@media (max-width: 768px) {

.hero {
background-image: url('/images/hero-desktop-v2.png');
    background-position: center center;
background-size: contain;
    background-repeat: no-repeat;
background-color: #06141d;
min-height: 260px;
    padding: 0;

    border-radius: 0;
width: 100vw;
max-width: 100vw;
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);

}

}
.hero-cta {
    text-align: center;
    margin: 20px 0 10px;
}

.hero-cta .cta-button {
    background: #D4AF37;
    color: #063843;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
}

.hero-cta .cta-button:hover {
    background: #E6C75A;
}
/* Trust / legal content pages */
.page-content {
    max-width: 860px;
    margin: 48px auto 72px auto;
    padding: 0 22px;
    line-height: 1.65;
}

.page-content h1 {
    font-size: 32px;
    margin-bottom: 14px;
    color: #003847;
}

.page-content h2 {
    font-size: 22px;
    margin-top: 34px;
    margin-bottom: 10px;
    color: #003847;
    text-align: left;
}

.page-content p {
    margin-bottom: 16px;
    color: #111;
}

.page-content ul,
.page-content ol {
    margin: 10px 0 22px 22px;
    padding: 0;
}

.page-content li {
    margin-bottom: 8px;
}

@media (max-width: 700px) {
    .page-content {
        margin: 32px auto 56px auto;
        padding: 0 18px;
    }

    .page-content h1 {
        font-size: 28px;
    }

    .page-content h2 {
        font-size: 20px;
    }
}
.scoring-example {
    max-width: 600px;
    margin: 20px auto;     /* centers the block */
    text-align: left;      /* keeps text readable */
}

.scoring-example ul {
    margin-top: 12px;
    padding-left: 20px;
}

.scoring-example li {
    margin-bottom: 8px;
}	


/* =========================================
   ECOSYSTEM SECTIONS
========================================= */

.ecosystem-grid,
.money-grid,
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 34px;
}

.ecosystem-card,
.money-card,
.sponsor-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ecosystem-card:hover,
.money-card:hover,
.sponsor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.ecosystem-card h3,
.money-card h3,
.sponsor-card h3 {
    margin-bottom: 12px;
    color: #063843;
    font-size: 1.15rem;
}

.ecosystem-card p,
.money-card p,
.sponsor-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.96rem;
}

.money-highlight {
    background: linear-gradient(135deg, #063843 0%, #0b1f2a 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 36px 28px;
    margin-top: 30px;
}

.money-highlight h2,
.money-highlight p,
.money-highlight li {
    color: #ffffff;
}

.money-flow {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.money-item {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 18px;
    min-width: 180px;
}

.money-item strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #D4AF37;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
}

.club-cta-buttons {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.secondary-button {
    background: transparent;
    border: 2px solid #063843;
    color: #063843;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.secondary-button:hover {
    background: #063843;
    color: #ffffff;
}

.trust-note {
    margin-top: 24px;
    font-size: 0.96rem;
    color: #e6f0f0;
}

@media (max-width: 900px) {
    .ecosystem-grid,
    .money-grid,
    .sponsor-grid {
        grid-template-columns: 1fr;
    }

    .money-flow {
        flex-direction: column;
        align-items: stretch;
    }
}

/* =========================================
   HOMEPAGE POLISH PASS
========================================= */

.overview,
.competitions,
.join {
    padding: 64px 22px;
    margin: 0 auto;
}

.overview h2,
.competitions h2,
.join h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -1px;
    color: #063843;
    margin-bottom: 18px;
}

.homepage-intro {
    padding-top: 72px;
    padding-bottom: 72px;
}

.overview:nth-of-type(3) {
    background: #f6f8f7;
    max-width: none;
}

.overview:nth-of-type(3) > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.club-highlight {
    background: linear-gradient(135deg, #eef8f1 0%, #ffffff 100%);
    max-width: none;
    border-top: 1px solid rgba(6, 114, 54, 0.12);
    border-bottom: 1px solid rgba(6, 114, 54, 0.12);
}

.club-highlight > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.step,
.ecosystem-card,
.sponsor-card,
.competition-card {
    border: 1px solid rgba(6, 56, 67, 0.08);
    box-shadow: 0 16px 40px rgba(6, 56, 67, 0.08);
}

.step h3,
.ecosystem-card h3,
.sponsor-card h3,
.competition-card h3 {
    font-size: 1.25rem;
    color: #063843;
}

.competitions {
    background: #ffffff;
}

.competition-card {
    max-width: 360px;
    padding: 28px;
    border-top: 5px solid #D4AF37;
}

.competition-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.status-pending,
.status-active,
.status-completed {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
}

.status-pending {
    background: #fff6d8;
    color: #8a6500;
}

.status-active {
    background: #e7f7ed;
    color: #067236;
}

.status-completed {
    background: #eeeeee;
    color: #666666;
}

.join {
    max-width: none;
    background: linear-gradient(135deg, #063843 0%, #06141d 100%);
    color: #ffffff;
    padding: 76px 22px;
}

.join h2,
.join p {
    color: #ffffff;
}

.join p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.7;
}

.join .secondary-button {
    border-color: #D4AF37;
    color: #D4AF37;
}

.join .secondary-button:hover {
    background: #D4AF37;
    color: #063843;
}

@media (max-width: 768px) {
    .overview,
    .competitions,
    .join {
        padding: 48px 18px;
    }

    .overview h2,
    .competitions h2,
    .join h2 {
        font-size: 2rem;
    }

    .hero-cta {
        padding: 0 18px;
    }

    .hero-cta .cta-button,
    .hero-cta .secondary-button {
        display: block;
        width: 100%;
        margin: 0 0 10px;
        text-align: center;
    }
}
