/* =========================================
   FC RIVALS — RESPONSIVE STYLES
   ========================================= */

@media (max-width: 900px) {

    .section {
        padding: 75px 0;
    }

    h1 {
        font-size: clamp(3.5rem, 14vw, 6rem);
    }

    h2 {
        font-size: clamp(2.8rem, 10vw, 4rem);
    }

}

@media (max-width: 600px) {

    .container {
        width: min(90%, 1200px);
    }

    .section {
        padding: 60px 0;
    }

    h1 {
        font-size: clamp(3rem, 17vw, 5rem);
    }

    h2 {
        font-size: clamp(2.5rem, 14vw, 3.5rem);
    }

    .btn {
        width: 100%;
    }


    /* =========================================
   NAVIGATION — MOBILE
   ========================================= */

@media (max-width: 800px) {

    .main-nav,
    .nav-actions {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-container {
        padding-top: 120px;
        padding-bottom: 70px;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;

        max-width: 320px;
    }

    .hero-stats {
        gap: 30px;

        margin-top: 55px;
    }

    .hero-scroll {
        display: none;
    }

}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 500px) {

    .nav-container {
        height: 68px;
    }

    .logo-main,
    .logo-rivals {
        font-size: 1.2rem;
    }

    .hero-label {
        font-size: 0.62rem;

        line-height: 1.5;
    }

    .platforms {
        flex-wrap: wrap;

        font-size: 0.65rem;
    }

    .hero-stats {
        justify-content: space-between;

        gap: 15px;
    }

    .hero-stat strong {
        font-size: 1.7rem;
    }

}

/* =========================================
   COMPETITIONS — RESPONSIVE
   ========================================= */

@media (max-width: 950px) {

    .competition-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .competition-grid .competition-card:last-child {
        grid-column:
            1 / -1;

        max-width: 50%;
    }

}


@media (max-width: 700px) {

    .competitions-header {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

    .competition-grid {
        grid-template-columns: 1fr;
    }

    .competition-grid .competition-card:last-child {
        grid-column: auto;

        max-width: none;
    }

}


@media (max-width: 500px) {

    .competition-card h3 {
        font-size: 1.9rem;
    }

}

/* =========================================
   HOW IT WORKS — RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

    .steps-container {
        grid-template-columns: 1fr;
    }

    .step {
        min-height: auto;

        padding: 30px;

        border-right: none;

        border-bottom: 1px solid var(--border);
    }

    .step:last-child {
        border-bottom: none;
    }

    .step-line {
        display: none;
    }

    .step-content {
        max-width: 500px;
    }

}


@media (max-width: 650px) {

    .platform-banner {
        flex-direction: column;

        align-items: flex-start;

        padding: 25px;
    }

    .platform-banner-content {
        flex-wrap: wrap;
    }

    .platform-banner-main {
        font-size: 1.5rem;
    }

    .platform-banner-platforms {
        flex-wrap: wrap;

        gap: 8px;

        line-height: 1.8;
    }

}


@media (max-width: 500px) {

    .step {
        padding: 25px 20px;
    }

    .step-number {
        font-size: 3.5rem;
    }

}

/* =========================================
   LEADERBOARD — RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

    .leaderboard-container {
        overflow-x: auto;
    }

    .leaderboard-row {
        min-width: 720px;
    }

    .leaderboard-footer {
        flex-direction: column;

        align-items: flex-start;
    }

}


@media (max-width: 700px) {

    .leaderboard-header {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

    .leaderboard-container {
        margin-right: -5%;

        width: 110%;

        border-radius: 0;
    }

}


@media (max-width: 500px) {

    .leaderboard-row {
        min-width: 680px;
    }

}

/* =========================================
   NUMBERS — RESPONSIVE
   ========================================= */

@media (max-width: 850px) {

    .numbers-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .number-stat:nth-child(2) {
        border-right: none;
    }

    .number-stat:nth-child(-n+2) {
        border-bottom:
            1px solid var(--border);
    }

}


@media (max-width: 600px) {

    .numbers-grid {
        grid-template-columns: 1fr;
    }

    .number-stat {
        border-right: none;

        border-bottom:
            1px solid var(--border);

        padding: 35px 20px;
    }

    .number-stat:last-child {
        border-bottom: none;
    }

    .numbers-platform-strip {
        flex-wrap: wrap;

        gap: 10px;
    }

    .numbers-strip-message {
        width: 100%;

        margin-left: 0;

        padding-left: 0;

        padding-top: 15px;

        border-left: none;

        border-top:
            1px solid var(--border);

        text-align: center;
    }

}

@media (max-width: 600px) {

    .cta-section {
        padding: 90px 20px;
    }

    .cta-section h2 {
        font-size: 56px;
        letter-spacing: -2px;
    }

    .cta-section p {
        font-size: 15px;
        line-height: 1.6;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}