/* =========================================================
   PART OF THE PLOT
   Home Page Stylesheet
   Homepage-specific styles only
   ========================================================= */


/* =========================================================
   1. HOME HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 700px;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 30px;

    text-align: center;

    background:
        var(--page-atmosphere),
        var(--page-gradient);

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(255, 255, 255, 0.025),
            transparent 45%
        );

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    top: 40px;

    animation: fadeUp 1.2s ease forwards;
}

.hero h1 {
    color: var(--cream);

    font-size: clamp(55px, 10vw, 120px);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: 8px;
}

.hero h1 span {
    color: var(--gold);
}

.hero .divider {
    width: 100px;
    height: 1px;

    margin: 35px auto;

    background: var(--gold);
}

.hero .tagline {
    margin-bottom: 35px;

    color: #d4d0c8;

    font-size: 20px;
    font-weight: 300;
}

.hero .tagline strong {
    color: var(--light-gold);
    font-weight: 500;
}


/* =========================================================
   2. HOME HERO BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 15px;
    margin-top: 30px;
}

.hero-buttons .button {
    width: 190px;

    text-align: center;
}


/* =========================================================
   3. HOME HERO SCROLL INDICATOR
   ========================================================= */

.hero-scroll-arrow {
    display: block;

    margin-top: 32px;

    color: var(--gold);

    font-size: 28px;
    line-height: 1;

    text-decoration: none;

    opacity: 0.8;

    animation: heroArrowBounce 2s infinite;
}

.hero-scroll-arrow:hover {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;

    color: var(--muted);

    font-size: 9px;
    letter-spacing: 3px;

    transform: translateX(-50%);
}

.arrow {
    margin-top: 5px;

    color: var(--gold);

    font-size: 20px;
}


/* =========================================================
   4. HOME INTRO
   ========================================================= */

.intro {
    max-width: 850px;

    margin: auto;
    padding: 130px 30px 45px;

    text-align: center;
}

.intro h2 {
    margin-bottom: 25px;

    font-size: clamp(35px, 5vw, 55px);
    font-weight: 500;
    line-height: 1.2;
}

.intro-text {
    margin-bottom: 20px;

    color: var(--gold);

    font-family: 'Cinzel', serif;
    font-size: 21px;
}

.intro > p:last-child {
    max-width: 700px;

    margin: auto;

    color: var(--muted);
}


/* =========================================================
   5. HOME EXPERIENCE SECTION
   ========================================================= */

.experience-section {
    padding: 40px 8% 100px;

    background: var(--dark);
}

.experience {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.experience > div {
    padding: 40px 30px;

    text-align: center;

    background: var(--dark-blue);

    border: 1px solid var(--border);

    transition:
        border-color 0.3s ease,
        transform 0.3s ease;
}

.experience > div:hover {
    border-color: var(--border-strong);

    transform: translateY(-3px);
}

.experience-icon {
    display: block;

    margin-bottom: 15px;

    color: var(--gold);

    font-size: 25px;
}

.experience h3 {
    margin-bottom: 12px;

    color: var(--cream);

    font-size: 20px;
}

.experience p {
    color: var(--muted);

    font-size: 13px;
}

.experience-button {
    display: flex;
    justify-content: center;

    margin-top: 40px;
}


/* =========================================================
   6. HOME GAMES CTA
   ========================================================= */

.games-cta {
    display: flex;
    justify-content: center;

    padding: 0 20px 80px;

    background: var(--dark);
}


/* =========================================================
   7. HOME MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .experience {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    /* Hero */

    .hero {
        min-height: 650px;

        padding: 130px 20px 60px;
    }

    .hero h1 {
        letter-spacing: 4px;
    }


    /* Intro */

    .intro {
        padding: 90px 20px;
    }


    /* Experience */

    .experience-section {
        padding: 80px 20px;
    }


    /* Games CTA */

    .games-cta {
        padding-bottom: 60px;
    }

}


/* =========================================================
   8. DESKTOP HERO POSITION
   ========================================================= */

@media (min-width: 901px) {

    .hero-content {
        top: 100px;
    }

}