/*
|--------------------------------------------------------------------------
| MRL Page-Specific Layout
|--------------------------------------------------------------------------
*/

/* Homepage hero */

.mrl-home-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(5, 6, 8, 0.98) 0%,
            rgba(5, 6, 8, 0.88) 42%,
            rgba(5, 6, 8, 0.35) 100%
        ),
        radial-gradient(
            circle at 82% 34%,
            rgba(255, 106, 0, 0.16),
            transparent 20rem
        ),
        linear-gradient(
            145deg,
            #050608,
            #0b1018
        );
    border-bottom: 1px solid var(--mrl-border);
}

.mrl-home-hero__grid {
    position: relative;
    z-index: 3;
    display: grid;
    min-height: 720px;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.72fr);
    gap: 70px;
    align-items: center;
}

.mrl-home-hero__content {
    padding: 70px 0;
}

.mrl-home-hero__content h1 {
    max-width: 850px;
    margin: 12px 0 24px;
    font-family:
        "Arial Black",
        Arial,
        sans-serif;
    font-size: 5rem;
    font-style: italic;
    line-height: 0.88;
    letter-spacing: -0.065em;
    text-transform: uppercase;
}

.mrl-home-hero__content > p {
    max-width: 680px;
    margin: 0;
    color: var(--mrl-muted);
    font-size: 1.12rem;
}

.mrl-home-hero__actions {
    display: flex;
    margin-top: 32px;
    flex-wrap: wrap;
    gap: 12px;
}

.mrl-home-hero__quick {
    display: flex;
    margin-top: 42px;
    flex-wrap: wrap;
    gap: 30px;
}

.mrl-home-hero__quick span {
    color: var(--mrl-muted);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.mrl-home-hero__quick strong {
    display: block;
    margin-bottom: 4px;
    color: var(--mrl-text);
    font-size: 1rem;
}

.mrl-home-hero__visual {
    position: relative;
    display: grid;
    justify-items: center;
}

.mrl-home-hero__crest {
    position: relative;
    z-index: 2;
    width: 420px;
    filter:
        drop-shadow(
            0 34px 50px rgba(0, 0, 0, 0.55)
        );
}

.mrl-home-hero__race-strip {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 480px;
    margin-top: -34px;
    padding: 20px;
    box-shadow: var(--mrl-shadow);
}

.mrl-home-hero__race-strip > .mrl-eyebrow {
    margin-bottom: 10px;
}

.mrl-home-hero__race-strip a {
    display: grid;
    grid-template-columns: 5px 70px minmax(0, 1fr);
    min-height: 46px;
    align-items: center;
    gap: 11px;
    color: var(--mrl-text);
    border-top: 1px solid var(--mrl-border);
    text-decoration: none;
}

.mrl-home-hero__race-strip a:hover strong,
.mrl-home-hero__race-strip a:focus-visible strong {
    color: var(--mrl-accent);
}

.mrl-home-hero__race-strip i {
    width: 4px;
    height: 28px;
    border-radius: 999px;
}

.mrl-home-hero__race-strip span {
    color: var(--mrl-muted);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mrl-home-hero__race-strip strong {
    font-size: 0.78rem;
    text-transform: uppercase;
    transition: color var(--mrl-transition);
}

.mrl-home-hero__moon {
    position: absolute;
    top: 70px;
    right: 5%;
    z-index: 1;
    width: 560px;
    height: 560px;
    background:
        radial-gradient(
            circle at 36% 35%,
            rgba(255, 255, 255, 0.28),
            transparent 4%
        ),
        radial-gradient(
            circle at 61% 27%,
            rgba(0, 0, 0, 0.18),
            transparent 8%
        ),
        radial-gradient(
            circle at 55% 62%,
            rgba(0, 0, 0, 0.20),
            transparent 12%
        ),
        radial-gradient(
            circle at 40% 48%,
            #f2a23d,
            #db641b 55%,
            #6b1b0b 100%
        );
    border-radius: 50%;
    box-shadow:
        0 0 80px rgba(255, 106, 0, 0.22),
        0 0 180px rgba(255, 106, 0, 0.10);
    opacity: 0.38;
}

.mrl-home-hero__streak {
    position: absolute;
    z-index: 2;
    width: 700px;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--mrl-accent-secondary),
            transparent
        );
    transform: rotate(-19deg);
    opacity: 0.23;
}

.mrl-home-hero__streak--one {
    top: 210px;
    right: -150px;
}

.mrl-home-hero__streak--two {
    right: -60px;
    bottom: 130px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--mrl-accent),
            transparent
        );
}

/* Champion page */

.mrl-page-hero--champions {
    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(255, 180, 60, 0.13),
            transparent 26rem
        ),
        linear-gradient(
            130deg,
            rgba(255, 106, 0, 0.09),
            transparent 50%
        ),
        var(--mrl-bg-secondary);
}

/* Join page */

.mrl-page-hero--join {
    background:
        radial-gradient(
            circle at 76% 42%,
            rgba(22, 140, 255, 0.12),
            transparent 25rem
        ),
        linear-gradient(
            130deg,
            rgba(255, 106, 0, 0.10),
            transparent 50%
        ),
        var(--mrl-bg-secondary);
}

@media (max-width: 1100px) {
    .mrl-home-hero__grid {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 35px;
    }

    .mrl-home-hero__content h1 {
        font-size: 4rem;
    }

    .mrl-home-hero__crest {
        width: 340px;
    }

    .mrl-home-hero__moon {
        width: 480px;
        height: 480px;
    }
}

@media (max-width: 900px) {
    .mrl-home-hero,
    .mrl-home-hero__grid {
        min-height: 0;
    }

    .mrl-home-hero__grid {
        grid-template-columns: 1fr;
        padding-top: 30px;
        padding-bottom: 70px;
    }

    .mrl-home-hero__content {
        padding: 60px 0 10px;
    }

    .mrl-home-hero__visual {
        max-width: 600px;
        justify-self: center;
    }

    .mrl-home-hero__moon {
        top: auto;
        right: -160px;
        bottom: 40px;
    }
}

@media (max-width: 760px) {
    .mrl-home-hero__content h1 {
        font-size: 3.15rem;
    }

    .mrl-home-hero__content > p {
        font-size: 1rem;
    }

    .mrl-home-hero__quick {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .mrl-home-hero__quick span {
        padding: 13px;
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid var(--mrl-border);
        border-radius: var(--mrl-radius-sm);
    }

    .mrl-home-hero__crest {
        width: 300px;
    }

    .mrl-home-hero__race-strip {
        margin-top: -18px;
    }
}

@media (max-width: 480px) {
    .mrl-home-hero__content h1 {
        font-size: 2.55rem;
    }

    .mrl-home-hero__actions .mrl-button {
        width: 100%;
    }

    .mrl-home-hero__quick {
        grid-template-columns: 1fr;
    }

    .mrl-home-hero__crest {
        width: 250px;
    }

    .mrl-home-hero__race-strip {
        padding: 16px;
    }

    .mrl-home-hero__race-strip a {
        grid-template-columns: 5px 70px minmax(0, 1fr);
    }
}
