body {
    margin: 0;
    background-color: #fff;
    color: #222;
    text-align: center;
}

/* HERO SECTION */
.logo {
    max-width: 212px;
}

.store-buttons {
    display: flex;
}

.store-buttons img {
    height: clamp(40px, 2vh, 72px);

    margin: 10px 10px 10px 0px;
}

.store-buttons a {
    text-decoration: none;
}

.video-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    max-height: none;
    overflow: hidden;
}

/* dark overlay */
.video-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
    filter: blur(14px);
}

.overlay-text {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;

    h1 {
        font-family: "Montserrat", sans-serif;
        font-weight: 900;
        font-style: Italic;
        font-size: clamp(32px, 3.5vw, 56px);
        line-height: 120%;
        color: white;
        letter-spacing: 0.02em;
        text-align: center;
        text-transform: uppercase;
        text-shadow:
            -1px -1px 0 #000,
            0 -1px 0 #000,
            1px -1px 0 #000,
            -1px 0 0 #000,
            1px 0 0 #000,
            -1px 1px 0 #000,
            0 1px 0 #000,
            1px 1px 0 #000,

            -2px 0 0 #000,
            2px 0 0 #000,
            0 -2px 0 #000,
            0 2px 0 #000,

            -2px -1px 0 #000,
            -2px 1px 0 #000,
            2px -1px 0 #000,
            2px 1px 0 #000,

            -1px -2px 0 #000,
            1px -2px 0 #000,
            -1px 2px 0 #000,
            1px 2px 0 #000,
            2.52px 3.36px 0px #000000;
        max-width: clamp(350px, 55vw, 900px);
    }

    p {
        font-family: Nunito;
        font-weight: 700;
        font-size: clamp(12px, 2vw, 14px);
        line-height: 150%;
        letter-spacing: 0.02em;
        text-align: center;
        color: #DADADA;
    }

    .scroll-down-container {
        padding-top: 20px;
        cursor: pointer;

    }
}

/* FEATURES */
.features {
    background: url('./../images/section2_bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #00427B;
    background-position: center;
    padding: clamp(50px, 10vw, 5%) clamp(24px, 10vw, 10%);

    h2 {
        font-family: Montserrat;
        font-weight: 900;
        font-style: Italic;
        font-size: clamp(28px, 3vw, 48px);
        line-height: 120%;
        letter-spacing: 0.02em;
        text-align: center;
        text-transform: uppercase;
        text-shadow:
            -1px -1px 0 #000,
            0 -1px 0 #000,
            1px -1px 0 #000,
            -1px 0 0 #000,
            1px 0 0 #000,
            -1px 1px 0 #000,
            0 1px 0 #000,
            1px 1px 0 #000,

            -2px 0 0 #000,
            2px 0 0 #000,
            0 -2px 0 #000,
            0 2px 0 #000,

            -2px -1px 0 #000,
            -2px 1px 0 #000,
            2px -1px 0 #000,
            2px 1px 0 #000,

            -1px -2px 0 #000,
            1px -2px 0 #000,
            -1px 2px 0 #000,
            1px 2px 0 #000,
            2.52px 3.36px 0px #000000;
        color: #FFFCFC;
        margin: 0px;
    }

    p {
        font-family: Nunito;
        font-weight: 600;
        font-size: clamp(16px, 2vw, 20px);
        line-height: 150%;
        letter-spacing: 0.02em;
        text-align: center;
        color: #FFFCFC;
    }

    .explore-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 186px;
        height: 56px;
        border-radius: 64px;
        padding: 16px 24px;
        background: linear-gradient(180deg, #FFD467 0%, #FD7800 100%);
        font-weight: 800;
        font-family: Montserrat;
        font-style: italic;
        font-size: 20px;
        color: white;
        line-height: 1;
        letter-spacing: 0.2rem;
        text-transform: uppercase;
        border: 1px solid #000000;
        box-shadow: 2px 2px 0px 0px #000000;
        text-shadow: 1px 1px 0px #000000;
        transition: all 0.3s ease;
        text-shadow:
            -1px -1px 0 #000,
            0 -1px 0 #000,
            1px -1px 0 #000,
            -1px 0 0 #000,
            1px 0 0 #000,
            -1px 1px 0 #000,
            0 1px 0 #000,
            1px 1px 0 #000,

            -1px 0 0 #000,
            1px 0 0 #000,
            0 -1px 0 #000,
            0 1px 0 #000,

            -1px -1px 0 #000,
            -1px 1px 0 #000,
            1px -1px 0 #000,
            1px 1px 0 #000,

            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;
    }

    /* scale paw image to text size */
    .explore-btn img {
        height: 1.5em;
        width: auto;
    }

    .explore-btn:hover {
        background: linear-gradient(180deg, #FD7800 0%, #FFD467 100%);
        box-shadow: none;
        transform: translate(5px, 5px);
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,
            minmax(clamp(200px, 25%, 250px), 1fr));
    gap: clamp(12px, 2vw, 24px);
    margin-top: 47px;
    margin-bottom: 48px;
    justify-items: center;
}

.feature-item {
    position: relative;
    display: flex;
    justify-content: center;
}

.feature-item>img {
    position: absolute;
    top: 21%;
    left: 50%;
    transform: translate(-50%, -58%);
    width: 180px;
}

.feature-video {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 216px;
    height: 180px;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.trophy-content:hover .feature-video {
    opacity: 1;
    visibility: visible;
}

.trophy-content:hover img {
    opacity: 0;
}

.trophy-content:hover .feature-video {
    opacity: 1;
    visibility: visible;
}

.trophy-content img {
    max-width: 100%;
    transition: opacity 0.3s ease;
}

/* REWARDS & LEADERBOARD */
.rewards-leaderboard {
    display: flex;
    flex-direction: column;
    padding: 60px 20px;
    gap: 40px;
    background: url('./../images/pawprints.png') no-repeat center/cover;
    background-color: #FEEFBF;

    .play-now-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 186px;
        border-radius: 64px;
        padding: 16px 24px;
        background: linear-gradient(180deg, #FFD467 0%, #FD7800 100%);
        font-weight: 800;
        font-family: Montserrat;
        font-style: italic;
        font-size: 20px;
        color: white;
        line-height: 1;
        letter-spacing: 0.2rem;
        text-transform: uppercase;
        border: 1px solid #000000;
        box-shadow: 2px 2px 0px 0px #000000;
        text-shadow:
            -1px -1px 0 #000,
            0 -1px 0 #000,
            1px -1px 0 #000,
            -1px 0 0 #000,
            1px 0 0 #000,
            -1px 1px 0 #000,
            0 1px 0 #000,
            1px 1px 0 #000,

            -1px 0 0 #000,
            1px 0 0 #000,
            0 -1px 0 #000,
            0 1px 0 #000,

            -1px -1px 0 #000,
            -1px 1px 0 #000,
            1px -1px 0 #000,
            1px 1px 0 #000,

            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .play-now-btn img {
        height: 1.5em;
        width: auto;
    }

    .play-now-btn:hover {
        background: linear-gradient(180deg, #FD7800 0%, #FFD467 100%);
        box-shadow: none;
        transform: translate(5px, 5px);
    }
}

/* Rewards row: text + image side by side */
.rewards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-around;

    h2 {
        font-family: Montserrat;
        font-weight: 900;
        font-style: Italic;
        font-size: clamp(24px, 2vw, 40px);
        line-height: 120%;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        margin-top: 48px;
        margin-bottom: 0px;
    }

    p {
        font-family: Nunito;
        font-weight: 600;
        font-size: 20px;
        line-height: 150%;
        letter-spacing: 0.02em;
        color: #1B1B1B;
    }

    .rewards-text {
        max-width: 621px;
        text-align: left;
    }
}

/* Leaderboard row: image + text side by side */
.leaderboard {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-around;

    h2 {
        font-family: Montserrat;
        font-weight: 900;
        font-style: Italic;
        font-size: clamp(24px, 2vw, 40px);
        line-height: 120%;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        margin-top: 48px;
        margin-bottom: 0px;
    }

    p {
        font-family: Nunito;
        font-weight: 600;
        font-size: 20px;
        line-height: 150%;
        letter-spacing: 0.02em;
        color: #1B1B1B;
    }

    .leaderboard-text {
        max-width: 621px;
        text-align: left;
    }
}

.tag {
    background-color: #AEDAFF;
    border: 1.55px solid #1B1B1B;
    border-radius: 24px;
    border-width: 1.55px;
    padding: 16px;
    box-shadow: 6px 6px 0px 0px #121212;
    font-family: Montserrat;
    font-weight: 900;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: #1B1B1B;
}

.phone-img {
    max-width: 100%;
    margin-top: 20px;
}

/* COMMUNITY */
.community {
    padding: clamp(120px, 10vw, 200px) clamp(24px, 20vw, 354px);
    color: white;
    background:
        linear-gradient(0deg,
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4)),
        radial-gradient(70.28% 70.28% at 50% 50%,
            rgba(0, 0, 0, 0.3) 8.17%,
            rgba(0, 0, 0, 0) 80%),
        url('./../images/community-bg.png');

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    h2 {
        font-family: Montserrat;
        font-weight: 900;
        font-style: Italic;
        font-size: clamp(28px, 5vw, 48px);
        line-height: 120%;
        letter-spacing: 0.02em;
        text-align: center;
        text-transform: uppercase;
        margin: 0px;
        text-shadow:
            -1px -1px 0 #000,
            0 -1px 0 #000,
            1px -1px 0 #000,
            -1px 0 0 #000,
            1px 0 0 #000,
            -1px 1px 0 #000,
            0 1px 0 #000,
            1px 1px 0 #000,

            -2px 0 0 #000,
            2px 0 0 #000,
            0 -2px 0 #000,
            0 2px 0 #000,

            -2px -1px 0 #000,
            -2px 1px 0 #000,
            2px -1px 0 #000,
            2px 1px 0 #000,

            -1px -2px 0 #000,
            1px -2px 0 #000,
            -1px 2px 0 #000,
            1px 2px 0 #000,
            2.52px 3.36px 0px #000000;
    }

    p {
        font-family: Nunito;
        font-weight: 600;
        font-size: clamp(16px, 2.5vw, 20px);
        line-height: 150%;
        letter-spacing: 0.02em;
        text-align: center;
    }

    h3 {
        font-family: Montserrat;
        font-weight: 900;
        font-size: clamp(20px, 2.5vw, 24px);
        line-height: 120%;
        letter-spacing: 0.02em;
        text-align: center;
        text-transform: uppercase;
        margin: 0px;
    }
}

.social-icons img {
    height: 40px;
    margin: 10px;
}

/* CTA */
.cta {
    background: url('./../images/cta_bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: clamp(72px, 8vw, 73px);
    padding-bottom: clamp(72px, 8vw, 73px);
    padding-left: clamp(24px, 5vw, 140px);

    background-position: center;
    display: flex;
    position: relative;
    overflow: visible;

    .text-div {
        text-align: left;
    }

    h2 {
        font-family: Montserrat;
        font-weight: 900;
        font-style: Italic;
        font-size: clamp(28px, 5vw, 48px);
        line-height: 120%;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: #FFFCFC;
        margin: 0px;
        max-width: 753px;
        text-shadow:
            -1px -1px 0 #000,
            0 -1px 0 #000,
            1px -1px 0 #000,
            -1px 0 0 #000,
            1px 0 0 #000,
            -1px 1px 0 #000,
            0 1px 0 #000,
            1px 1px 0 #000,

            -2px 0 0 #000,
            2px 0 0 #000,
            0 -2px 0 #000,
            0 2px 0 #000,

            -2px -1px 0 #000,
            -2px 1px 0 #000,
            2px -1px 0 #000,
            2px 1px 0 #000,

            -1px -2px 0 #000,
            1px -2px 0 #000,
            -1px 2px 0 #000,
            1px 2px 0 #000,
            2.52px 3.36px 0px #000000;
    }

    p {
        font-family: Nunito;
        font-weight: 600;
        font-size: 20px;
        line-height: 150%;
        letter-spacing: 0.02em;
        color: #1B1B1B;
        max-width: clamp(320px, 60vw, 753px);
    }
}

.cta .cta-dog {
    position: absolute;
    right: clamp(8px, 6vw, 72px);
    top: 0;
    transform: translate(15%, -25%);
    pointer-events: none;
    z-index: 1;
}

.cta .cta-dog img {
    height: auto;
    display: block;
    width: 80%;
}

.cta .text-div {
    position: relative;
    z-index: 2;
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    padding: clamp(72px, 5vw, 68px) clamp(16px, 8vw, 140px);
    background: url('./../images/footer_bg.png') no-repeat center/cover;
    gap: clamp(12px, 2vw, 24px);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: clamp(52px, 2vw, 10px);
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 48px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    p {
        font-family: Nunito;
        font-weight: 600;
        font-size: clamp(16px, 2vw, 20px);
        line-height: 150%;
        letter-spacing: 0.02em;
        color: #1C1C1C;
        margin: 0px;
    }
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    justify-content: center;
}

.social-icons a img {
    display: inline-block;
    width: 32px;
    height: auto;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-top: 30px;

    .links {
        display: flex;
        flex-direction: row;
        gap: clamp(12px, 2vw, 20px);
    }

    .copyright-text {
        font-family: Nunito;
        font-weight: 400;
        font-size: clamp(11px, 2vw, 14px);
        line-height: 150%;
        letter-spacing: 0.02em;
        text-align: center;
        color: #808080;
    }

    .puppy-saga-text {
        font-family: Nunito;
        font-weight: 400;
        font-size: clamp(11px, 2vw, 12px);
        line-height: 150%;
        letter-spacing: 0.02em;
        text-align: center;
        color: #808080;
        max-width: 654px;
    }
}

.footer-bottom a,
.footer-bottom span {
    margin-bottom: 5px;
    text-decoration: none;
    font-family: Nunito;
    font-weight: 700;
    font-size: clamp(12px, 2vw, 14px);
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #1B1B1B;
}

.footer-left img {
    display: inline-block;
    height: clamp(48px, 10vw, 80px);
}

.community .social-icons img {
    height: 54px;
    width: 54px;
}

.footer-top .social-icons {
    gap: 8px;
}

.social-icons a.fb img,
.social-icons a.insta img,
.social-icons a.x-img img,
.social-icons a.discord img {
    transition: opacity 0.3s ease;
}

.social-icons a.fb img:hover {
    content: url('../images/fb_hovered.png');
}

.social-icons a.insta img:hover {
    content: url('../images/insta_hovered.png');
}

.social-icons a.x-img img:hover {
    content: url('../images/x_hovered.png');
}

.social-icons a.discord img:hover {
    content: url('../images/discord_hovered.png');
}

/* Privacy policy */
.privacy-policy {
    background-color: #FEF9EB;
    padding: 80px 320px;

    .privacy-content {
        padding-top: 60px;
        padding-bottom: 60px;

        h1 {
            font-family: "Montserrat", sans-serif;
            font-weight: 900;
            font-style: Italic;
            font-size: clamp(32px, 3.5vw, 56px);
            line-height: 120%;
            color: #FAB422;
            letter-spacing: 0.02em;
            text-align: center;
            text-transform: uppercase;
            margin: 0 0 44px 0;
            text-shadow:
                -1px -1px 0 #000,
                0 -1px 0 #000,
                1px -1px 0 #000,
                -1px 0 0 #000,
                1px 0 0 #000,
                -1px 1px 0 #000,
                0 1px 0 #000,
                1px 1px 0 #000,

                -2px 0 0 #000,
                2px 0 0 #000,
                0 -2px 0 #000,
                0 2px 0 #000,

                -2px -1px 0 #000,
                -2px 1px 0 #000,
                2px -1px 0 #000,
                2px 1px 0 #000,

                -1px -2px 0 #000,
                1px -2px 0 #000,
                -1px 2px 0 #000,
                1px 2px 0 #000,
                2.52px 3.36px 0px #000000;
        }

        .text-section {
            text-align: left;
            font-family: Nunito;

            h2 {
                font-weight: 600;
                font-size: clamp(16px, 3.5vw, 20px);
                line-height: 150%;
                letter-spacing: 0.002em;
            }

            p {
                font-weight: 600;
                font-size: clamp(14px, 3.5vw, 16px);
                line-height: 134%;
                padding-bottom: 16px;
            }
        }
    }

}

.privacy-policy .home-btn,
.terms-and-conditions .home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 230px;
    border-radius: 64px;
    padding: 16px 24px;
    background: linear-gradient(180deg, #FFD467 0%, #FD7800 100%);
    font-weight: 800;
    font-family: Montserrat;
    font-style: italic;
    font-size: 20px;
    color: white;
    line-height: 120%;
    letter-spacing: 0.02rem;
    text-transform: uppercase;
    border: 1px solid #000000;
    box-shadow: 2px 2px 0px 0px #000000;
    text-shadow:
        -0.5px -0.5px 0 #000,
        0.5px -0.5px 0 #000,
        -0.5px 0.5px 0 #000,
        0.5px 0.5px 0 #000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.privacy-policy .home-btn img,
.terms-and-conditions .home-btn img {
    height: 1.5em;
    width: auto;
}

.privacy-policy .home-btn:hover,
.terms-and-conditions .home-btn:hover {
    background: linear-gradient(180deg, #FD7800 0%, #FFD467 100%);
    box-shadow: none;
    transform: translate(5px, 5px);
}

/* Terms and Conditions */
.terms-and-conditions {
    background-color: #FEF9EB;
    padding: 80px 320px;

    .terms-content {
        padding-top: 60px;
        padding-bottom: 60px;

        h1 {
            font-family: "Montserrat", sans-serif;
            font-weight: 900;
            font-style: Italic;
            font-size: clamp(32px, 3.5vw, 56px);
            line-height: 120%;
            color: #FAB422;
            letter-spacing: 0.02em;
            text-align: center;
            text-transform: uppercase;
            margin: 0;
            text-shadow:
                -1px -1px 0 #000,
                0 -1px 0 #000,
                1px -1px 0 #000,
                -1px 0 0 #000,
                1px 0 0 #000,
                -1px 1px 0 #000,
                0 1px 0 #000,
                1px 1px 0 #000,

                -2px 0 0 #000,
                2px 0 0 #000,
                0 -2px 0 #000,
                0 2px 0 #000,

                -2px -1px 0 #000,
                -2px 1px 0 #000,
                2px -1px 0 #000,
                2px 1px 0 #000,

                -1px -2px 0 #000,
                1px -2px 0 #000,
                -1px 2px 0 #000,
                1px 2px 0 #000,
                2.52px 3.36px 0px #000000;
        }

        .terms-section {
            text-align: left;

            h2 {
                font-family: Montserrat;
                font-weight: 900;
                font-size: clamp(20px, 3.5vw, 24px);
                line-height: 120%;
                letter-spacing: 0.002em;
                text-transform: uppercase;
                margin-top: 44px;
                margin-bottom: 24px;
            }

            p,
            span {
                font-family: Nunito;
                font-weight: 600;
                font-size: 16px;
                line-height: 150%;
            }

            h3 {
                font-family: Nunito;
                font-weight: 600;
                font-size: 20px;
                line-height: 150%;
                letter-spacing: 0.002em;
                margin: 16px 0px;
            }

            ul {
                padding: 0px;
                margin: 0px;
                font-family: Nunito;
                font-weight: 600;
                font-size: 16px;
                line-height: 150%;

                li {
                    margin: 0px 0px 0px 30px;
                }
            }
        }
    }
}

/* Video Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

/* Modal content */
.modal-content {
    position: relative;
    margin: auto;
    background: #000;
    padding: 0;
    border-radius: 10px;
    width: 80%;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.close-btn {
    color: #fff;
    position: absolute;
    right: 2px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.trophy-run {
    background-color: #FFE299;
    width: 256px;
    height: 340px;
    opacity: 1;
    border-radius: 24px;
    border-width: 1.55px;
    padding-bottom: 20px;
    border: 1.55px solid #121212;
    box-shadow: 6px 6px 0px 0px #121212;
    margin-top: 140px;
    position: relative;
    overflow: hidden;
    z-index: 1;

    .trophy-content {
        padding: 20px 20px 24px 20px;

        h3 {
            font-family: Montserrat;
            font-weight: 900;
            font-size: 24px;
            line-height: 120%;
            letter-spacing: 0.002em;
            text-transform: uppercase;
            color: #121212;
            text-align: left;
            margin-bottom: 0px;
        }

        p {
            font-family: Nunito;
            font-weight: 600;
            font-size: 16px;
            line-height: 150%;
            color: #121212;
            text-align: left;
            margin-top: 10px;
        }
    }
}

/* Desktop mode */
@media (min-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1199px) {

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 910px) {
    .feature-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 1024px) {
    .rewards-leaderboard {
        padding: 10px;
    }

    .leaderboard {
        flex-wrap: nowrap;
    }
}

@media (min-width: 853px) {
    .rewards {
        flex-direction: row;
    }

    .leaderboard {
        flex-direction: row;
    }

    .leaderboard>div:last-child {
        order: -1;
    }

    .rewards img,
    .leaderboard img {
        max-width: 85%;
        margin-top: 0;
    }
}

/* Mobile responsiveness */
@media (max-width: 912px) {
    .rewards-leaderboard {
        gap: 70px;
    }

    .rewards h2,
    .leaderboard h2 {
        font-style: normal;
    }

    .rewards,
    .leaderboard {
        flex-direction: column;
        gap: 20px;
    }

    .leaderboard>div:last-child {
        order: 0;
    }

    .rewards img,
    .leaderboard img {
        width: 100%;
        margin-top: 0;
    }

    .rewards>div:first-child,
    .leaderboard>div:first-child {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .rewards-leaderboard {
        gap: 150px;
    }

    .rewards h2,
    .leaderboard h2 {
        font-style: normal;
    }

    .rewards,
    .leaderboard {
        flex-direction: column;
        gap: 20px;
    }

    .leaderboard>div:last-child {
        order: 0;
    }

    .rewards img,
    .leaderboard img {
        width: 100%;
        margin-top: 0;
    }

    .rewards>div:first-child,
    .leaderboard>div:first-child {
        text-align: left;
    }

    .community {
        padding: 120px 24px;
    }

    .community h3 {
        padding-top: 20px;
    }

    .privacy-policy,
    .terms-and-conditions {
        padding: 80px 24px;
    }

}

@media (min-width: 767px) and (max-width:1024px) {
    .video-container {
        min-height: 70vh;
    }

    .overlay-text {
        min-height: 70vh;
    }
}

@media (max-width:768px) {
    .video-container {
        min-height: 100vh;
    }

    .overlay-text {
        min-height: 100vh;
    }

    .cta {
        padding-left: 50px;

        h2 {
            max-width: 353px;
        }
    }

    .cta .cta-dog {
        right: 0;
        top: 0;
        transform: translate(-10%, -25%);
    }

    .cta .cta-dog img {
        width: min(60vw, 250px);
    }
}

@media (max-width: 540px) {
    .overlay-text h1 {
        letter-spacing: 0.002em;
    }

    .cta {
        padding-left: 10px;

        h2 {
            max-width: 353px;
        }
    }

    .cta .cta-dog {
        right: 0;
        top: -2%;
        transform: translate(-5%, -25%);
    }

    .cta .cta-dog img {
        width: min(60vw, 360px);
    }

    .cta .text-div {
        text-align: center;
        padding-top: 30%;
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        flex-direction: column;
    }

    .community .social-icons img {
        height: 48px;
        width: 48px;
    }

    footer {
        flex-direction: column;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left {
        justify-content: center;
    }

    .footer-right {
        align-items: center;
        text-align: center;

        a img {
            height: 40px;
            width: 40px;
        }
    }

    .social-icons {
        justify-content: center;
    }

}

@media (max-width: 476px) {
    .terms-and-conditions {
        & .terms-content {
            & .terms-section {
                h2 {
                    max-width: 327px;
                }
            }
        }
    }
}

@media (max-width: 430px) {
    .store-buttons {
        justify-content: center;
    }

    .feature-item>img {
        top: 23%;
        width: 130px;
    }
}