/* =========================================
   BROWSE A FARM
   Landing Page
========================================= */

html {
    scroll-behavior: smooth;
}

body {
    background: #f2f0e8;
}


/* =========================================
   HEADER
========================================= */

.main-header {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    border-bottom:
        1px solid
        rgba(255,255,255,.12);
}

.header-inner {
    width: min(1400px, calc(100% - 60px));

    height: 88px;

    margin: auto;

    display: flex;
    align-items: center;

    gap: 45px;
}

.logo {
    display: flex;
    align-items: center;

    gap: 10px;

    text-decoration: none;

    color: white;
}

.logo-icon {
    font-size: 30px;
}

.logo-text {
    font-size: 21px;
    font-weight: 400;

    letter-spacing: -.5px;
}

.logo-text strong {
    font-weight: 800;
}


/* NAVIGATION */

.main-nav {
    display: flex;

    gap: 35px;

    margin-left: auto;
}

.main-nav a {
    color:
        rgba(255,255,255,.72);

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: .2s;
}

.main-nav a:hover {
    color: white;
}


/* HEADER BUTTONS */

.header-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-left: 20px;
}

.btn-login,
.btn-register {
    padding:
        11px
        18px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}

.btn-login {
    color: white;

    border:
        1px solid
        rgba(255,255,255,.3);
}

.btn-login:hover {
    background:
        rgba(255,255,255,.1);
}

.btn-register {
    background: #789c55;

    color: white;
}

.btn-register:hover {
    background: #88ac62;
}


/* MOBILE */

.mobile-menu-button {
    display: none;

    margin-left: auto;

    border: 0;

    background: none;

    color: white;

    font-size: 27px;

    cursor: pointer;
}

.mobile-menu {
    display: none;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    min-height: 850px;
    height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:

        linear-gradient(
            rgba(16,30,17,.15),
            rgba(16,30,17,.25)
        ),

        url('/assets/images/hero-farm.jpg')
        center center / cover
        no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:

        linear-gradient(
            90deg,
            rgba(12,24,14,.94) 0%,
            rgba(12,24,14,.79) 38%,
            rgba(12,24,14,.25) 72%,
            rgba(12,24,14,.08) 100%
        ),

        linear-gradient(
            0deg,
            rgba(12,24,14,.55),
            transparent 45%
        );
}

.hero-content {
    position: relative;

    width:
        min(
            1400px,
            calc(100% - 60px)
        );

    margin: auto;

    padding-top: 80px;

    color: white;

    z-index: 2;
}

.hero-badge {
    display: inline-flex;

    padding:
        8px
        12px;

    margin-bottom: 24px;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius: 6px;

    background:
        rgba(255,255,255,.07);

    backdrop-filter:
        blur(8px);

    color: #c7dfa9;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.6px;
}

.hero h1 {
    max-width: 760px;

    margin: 0;

    font-size:
        clamp(
            58px,
            6.4vw,
            104px
        );

    line-height: .92;

    letter-spacing: -5px;

    font-weight: 800;
}

.hero h1 span {
    color: #9cbd73;
}

.hero-description {
    max-width: 640px;

    margin:
        30px
        0;

    color:
        rgba(255,255,255,.73);

    font-size: 18px;

    line-height: 1.7;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;

    gap: 12px;

    margin-top: 35px;
}

.hero-primary,
.hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 25px;

    min-height: 55px;

    padding:
        0
        25px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform .2s,
        background .2s;
}

.hero-primary {
    background: #7c9f59;

    color: white;
}

.hero-primary:hover {
    background: #8bad63;

    transform:
        translateY(-2px);
}

.hero-secondary {
    border:
        1px solid
        rgba(255,255,255,.25);

    color: white;

    background:
        rgba(255,255,255,.05);
}

.hero-secondary:hover {
    background:
        rgba(255,255,255,.12);
}

.button-arrow {
    font-size: 20px;
}


/* HERO INFO */

.hero-info {
    display: flex;

    gap: 55px;

    margin-top: 60px;
}

.hero-info div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.hero-info strong {
    font-size: 14px;
}

.hero-info span {
    color:
        rgba(255,255,255,.45);

    font-size: 12px;
}


/* SCROLL */

.scroll-indicator {
    position: absolute;

    right: 45px;
    bottom: 40px;

    display: flex;
    align-items: center;

    gap: 15px;

    transform:
        rotate(90deg);

    transform-origin:
        right bottom;

    color:
        rgba(255,255,255,.45);

    font-size: 9px;

    letter-spacing: 3px;
}

.scroll-indicator div {
    width: 55px;
    height: 1px;

    background:
        rgba(255,255,255,.4);
}


/* =========================================
   GENERAL SECTION
========================================= */

.section-container {
    width:
        min(
            1250px,
            calc(100% - 60px)
        );

    margin: auto;
}

.section-label {
    color: #718e51;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 2.5px;
}

.section-label.light {
    color: #b9d795;
}


/* =========================================
   GAME INTRO
========================================= */

.game-section {
    padding:
        130px
        0;

    background: #f3f0e7;
}

.game-intro {
    display: grid;

    grid-template-columns:
        1.2fr
        .8fr;

    gap: 100px;

    margin-top: 25px;
}

.game-heading h2 {
    margin: 0;

    max-width: 700px;

    color: #263326;

    font-size:
        clamp(
            42px,
            5vw,
            72px
        );

    line-height: 1.03;

    letter-spacing: -3px;
}

.game-heading span {
    color: #789854;
}

.game-text {
    padding-top: 10px;

    color: #697067;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================
   FEATURES
========================================= */

.features-section {
    padding:
        120px
        0;

    background: #1d2b20;

    color: white;
}

.features-header {
    display: grid;

    grid-template-columns:
        1fr
        420px;

    gap: 80px;

    align-items: end;

    margin-bottom: 65px;
}

.features-header h2 {
    max-width: 650px;

    margin:
        15px
        0
        0;

    font-size:
        clamp(
            40px,
            4vw,
            64px
        );

    line-height: 1.05;

    letter-spacing: -2px;
}

.features-header > p {
    color:
        rgba(255,255,255,.52);

    line-height: 1.8;
}


/* CARDS */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    border-top:
        1px solid
        rgba(255,255,255,.12);

    border-bottom:
        1px solid
        rgba(255,255,255,.12);
}

.feature-card {
    position: relative;

    min-height: 390px;

    padding:
        35px
        30px;

    border-right:
        1px solid
        rgba(255,255,255,.12);

    transition:
        background .25s;
}

.feature-card:first-child {
    border-left:
        1px solid
        rgba(255,255,255,.12);
}

.feature-card:hover {
    background:
        rgba(255,255,255,.045);
}

.feature-number {
    color:
        rgba(255,255,255,.3);

    font-size: 11px;
}

.feature-icon {
    margin:
        65px
        0
        25px;

    font-size: 42px;
}

.feature-card h3 {
    margin-bottom: 15px;

    font-size: 21px;
}

.feature-card p {
    color:
        rgba(255,255,255,.5);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   FARM CTA
========================================= */

.farm-section {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.farm-background {
    position: absolute;
    inset: 0;

    background:

        url('/assets/images/farm-cta.jpg')
        center center / cover
        no-repeat;
}

.farm-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(13,28,16,.92),
            rgba(13,28,16,.55),
            rgba(13,28,16,.15)
        );
}

.farm-content {
    position: relative;

    width:
        min(
            1250px,
            calc(100% - 60px)
        );

    margin: auto;

    z-index: 2;

    color: white;
}

.farm-content h2 {
    margin:
        18px
        0;

    font-size:
        clamp(
            48px,
            5vw,
            76px
        );

    line-height: 1;

    letter-spacing: -3px;
}

.farm-content p {
    max-width: 520px;

    margin-bottom: 30px;

    color:
        rgba(255,255,255,.65);

    line-height: 1.7;
}


/* =========================================
   FOOTER
========================================= */

.main-footer {
    background: #111a13;

    color: white;
}

.footer-inner {
    width:
        min(
            1250px,
            calc(100% - 60px)
        );

    margin: auto;

    padding:
        70px
        0;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    margin-top: 15px;

    color:
        rgba(255,255,255,.4);

    font-size: 13px;
}

.footer-links {
    display: flex;

    gap: 30px;
}

.footer-links a {
    color:
        rgba(255,255,255,.5);

    text-decoration: none;

    font-size: 12px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding:
        20px;

    border-top:
        1px solid
        rgba(255,255,255,.07);

    text-align: center;

    color:
        rgba(255,255,255,.25);

    font-size: 11px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .main-nav {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .game-intro {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .features-header {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .feature-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .header-inner {
        width:
            calc(100% - 30px);

        height: 70px;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-menu.active {
        display: flex;

        position: absolute;

        top: 70px;
        left: 15px;
        right: 15px;

        padding: 15px;

        flex-direction: column;

        gap: 5px;

        border:
            1px solid
            rgba(255,255,255,.12);

        border-radius: 10px;

        background:
            rgba(20,33,22,.97);

        box-shadow:
            0 20px 50px
            rgba(0,0,0,.3);
    }

    .mobile-menu a {
        padding: 12px;

        color: white;

        text-decoration: none;

        font-size: 14px;
    }

    .mobile-register {
        background: #789c55;

        border-radius: 7px;
    }


    /* HERO */

    .hero {
        min-height: 760px;
    }

    .hero-content {
        width:
            calc(100% - 35px);

        padding-top: 60px;
    }

    .hero h1 {
        font-size: 58px;

        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-primary,
    .hero-secondary {
        width: 100%;
    }

    .hero-info {
        gap: 20px;

        justify-content:
            space-between;
    }

    .hero-info span {
        font-size: 10px;
    }

    .scroll-indicator {
        display: none;
    }


    /* SECTIONS */

    .section-container,
    .farm-content,
    .footer-inner {
        width:
            calc(100% - 35px);
    }

    .game-section,
    .features-section {
        padding:
            85px
            0;
    }

    .game-heading h2 {
        font-size: 44px;

        letter-spacing: -2px;
    }


    /* FEATURES */

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;

        border-left:
            1px solid
            rgba(255,255,255,.12);

        padding-bottom: 45px;
    }

    .feature-icon {
        margin:
            35px
            0
            20px;
    }


    /* CTA */

    .farm-section {
        min-height: 600px;
    }

    .farm-content h2 {
        font-size: 50px;
    }


    /* FOOTER */

    .footer-inner {
        flex-direction: column;

        align-items: flex-start;

        gap: 40px;
    }

    .footer-links {
        flex-direction: column;

        gap: 15px;
    }

}