/*
|--------------------------------------------------------------------------
| PROJECT REDLINE - HERO
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/

.landing-hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: space-between;

    overflow: hidden;

    padding:
        0
        120px;

    background:
        radial-gradient(
            circle at center,
            rgba(255, 69, 0, 0.08),
            transparent 60%
        ),
        linear-gradient(
            180deg,
            #090909,
            #111111
        );
}

/*
|--------------------------------------------------------------------------
| OVERLAY
|--------------------------------------------------------------------------
*/

.landing-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.92) 0%,
            rgba(0,0,0,0.72) 50%,
            rgba(0,0,0,0.35) 100%
        );
}

/*
|--------------------------------------------------------------------------
| RED GLOW
|--------------------------------------------------------------------------
*/

.landing-hero-glow {
    position: absolute;

    right: -300px;
    top: 50%;

    transform:
        translateY(-50%);

    width: 900px;
    height: 900px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 69, 0, 0.25),
            transparent 70%
        );

    filter: blur(80px);

    pointer-events: none;

    animation:
        heroGlowPulse
        8s
        ease-in-out
        infinite;
}

/*
|--------------------------------------------------------------------------
| CONTENT
|--------------------------------------------------------------------------
*/

.landing-hero-content {
    position: relative;

    z-index: 5;

    max-width: 700px;

    animation:
        heroFadeUp
        1s
        ease;
}

/*
|--------------------------------------------------------------------------
| SUBTITLE
|--------------------------------------------------------------------------
*/

.landing-hero-subtitle {
    color: #FF4500;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 4px;

    text-transform: uppercase;

    margin-bottom: 20px;
}

/*
|--------------------------------------------------------------------------
| LOGO
|--------------------------------------------------------------------------
*/

.landing-hero-logo {
    color: #FFFFFF;

    font-size: 72px;
    font-weight: 900;

    line-height: 1;

    margin-bottom: 25px;

    text-transform: uppercase;
}

/*
|--------------------------------------------------------------------------
| TITLE
|--------------------------------------------------------------------------
*/

.landing-hero-title {
    color: #FFFFFF;

    font-size: 58px;
    font-weight: 900;

    line-height: 1.1;

    margin-bottom: 25px;
}

.landing-hero-title span {
    display: block;

    color: #FF4500;
}

/*
|--------------------------------------------------------------------------
| DESCRIPTION
|--------------------------------------------------------------------------
*/

.landing-hero-description {
    max-width: 620px;

    color: rgba(255,255,255,0.70);

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 45px;
}

/*
|--------------------------------------------------------------------------
| ACTIONS
|--------------------------------------------------------------------------
*/

.landing-hero-actions {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-bottom: 60px;
}

/*
|--------------------------------------------------------------------------
| PLAY BUTTON
|--------------------------------------------------------------------------
*/

.landing-play-button {
    width: 220px;
    height: 64px;

    border: none;
    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            #FF5A1F,
            #FF4500
        );

    color: #FFFFFF;

    font-size: 16px;
    font-weight: 800;

    cursor: pointer;

    transition: 0.25s ease;

    box-shadow:
        0 0 40px rgba(255,69,0,0.35);
}

.landing-play-button:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 0 55px rgba(255,69,0,0.45);
}

/*
|--------------------------------------------------------------------------
| LOGIN BUTTON
|--------------------------------------------------------------------------
*/

.landing-login-button {
    width: 220px;
    height: 64px;

    border-radius: 18px;

    border:
        1px solid rgba(255,255,255,0.15);

    background:
        rgba(255,255,255,0.04);

    color: #FFFFFF;

    font-size: 16px;
    font-weight: 800;

    cursor: pointer;

    transition: 0.25s ease;
}

.landing-login-button:hover {
    background:
        rgba(255,255,255,0.08);
}

/*
|--------------------------------------------------------------------------
| STATS
|--------------------------------------------------------------------------
*/

.landing-hero-stats {
    display: flex;

    gap: 40px;
}

.landing-hero-stat-value {
    color: #FFFFFF;

    font-size: 34px;
    font-weight: 900;

    text-shadow:
        0 0 20px
        rgba(
            255,
            69,
            0,
            0.4
        );
}

.landing-hero-stat-label {
    color: rgba(255,255,255,0.55);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-top: 6px;
}

/*
|--------------------------------------------------------------------------
| Hero Stat Card
|--------------------------------------------------------------------------
*/

.landing-hero-stat {

    padding:
        18px
        24px;

    border-radius: 18px;

    background:
        rgba(
            255,
            255,
            255,
            0.04
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.06
        );

    backdrop-filter:
        blur(12px);
}

/*
|--------------------------------------------------------------------------
| CAR
|--------------------------------------------------------------------------
*/

.landing-hero-car {
    position: absolute;

    right: 0;
    bottom: 0;

    z-index: 4;

    width: 900px;

    display: flex;
    justify-content: flex-end;
}

.landing-hero-car img {
    width: 100%;

    pointer-events: none;

    user-select: none;

    animation:
        heroCarFloat
        5s
        ease-in-out
        infinite;

    filter:
        drop-shadow(
            0 0 80px
            rgba(
                255,
                69,
                0,
                0.25
            )
        );
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 1200px) {

    .landing-hero {
        padding:
            100px
            30px;
    }

    .landing-hero-car {
        opacity: 0.25;
    }

    .landing-hero-logo {
        font-size: 52px;
    }

    .landing-hero-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {

    .landing-hero {
        padding:
            120px
            20px;
    }

    .landing-hero-actions {
        flex-direction: column;
    }

    .landing-play-button,
    .landing-login-button {
        width: 100%;
    }

    .landing-hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .landing-hero-car {
        display: none;
    }
}

/*
|--------------------------------------------------------------------------
| HERO ANIMATIONS
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| Floating Car
|--------------------------------------------------------------------------
*/

@keyframes heroCarFloat {

    0% {

        transform:
            translateY(0px);
    }

    50% {

        transform:
            translateY(-12px);
    }

    100% {

        transform:
            translateY(0px);
    }
}

/*
|--------------------------------------------------------------------------
| Glow Pulse
|--------------------------------------------------------------------------
*/

@keyframes heroGlowPulse {

    0% {

        opacity: 0.4;
        transform:
            translateY(-50%)
            scale(1);
    }

    50% {

        opacity: 1;
        transform:
            translateY(-50%)
            scale(1.08);
    }

    100% {

        opacity: 0.4;
        transform:
            translateY(-50%)
            scale(1);
    }
}

/*
|--------------------------------------------------------------------------
| Fade Up
|--------------------------------------------------------------------------
*/

@keyframes heroFadeUp {

    from {

        opacity: 0;

        transform:
            translateY(40px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}