* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Poppins,sans-serif;
    background: #070707;
    overflow-x: hidden;
    color: #fff;
}

.container {
    width: 92%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 20px 0;
    transition: .4s;
}

    header.sticky {
        background: rgba(0,0,0,.75);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(212,175,55,.2);
    }

.logo img {
    height: 62px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav a {
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: .3s;
}

    nav a:hover,
    .active {
        color: #D4AF37;
    }

/* CTA block lives inside nav, only shown in mobile drawer */
.navCta {
    display: none;
}

.headerRight {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

    .icon span {
        position: absolute;
        height: 10px;
        width: 10px;
        background: #29ff48;
        border-radius: 50%;
        right: 13px;
        top: 10px;
    }

.loginBtn {
    padding: 14px 30px;
    border: 1px solid #D4AF37;
    color: #D4AF37;
    border-radius: 40px;
    text-decoration: none;
}

.registerBtn {
    padding: 15px 32px;
    background: linear-gradient(90deg,#d4af37,#f5d67b);
    border-radius: 40px;
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.hero {
    height: 100vh;
    background: url("../images/hero.jpg") center/cover;
    position: relative;
    display: flex;
    align-items: flex-start;      /* was center */
    padding-left: 8%;
    padding-top: 220px;           /* pushes "WELCOME TO" block down */
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#000 10%,rgba(0,0,0,.45));
}

.heroContent {
    position: relative;
    z-index: 5;
    max-width: 650px;
}

.hero h4 {
    font-size: 20px;
    color: #D4AF37;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 85px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 25px;
}

    .hero h1 span {
        color: #D4AF37;
    }

.hero p {
    font-size: 20px;
    line-height: 38px;
    color: #ddd;
}

.heroBtns {
    display: flex;
    gap: 20px;
    margin-top: 45px;
}

    .heroBtns a {
        padding: 18px 42px;
        border-radius: 45px;
        background: #D4AF37;
        text-decoration: none;
        color: #111;
        font-weight: 700;
        transition: .4s;
    }

    .heroBtns .outline {
        background: transparent;
        border: 1px solid #D4AF37;
        color: #D4AF37;
    }

    .heroBtns a:hover {
        transform: translateY(-5px);
    }

.stats {
    display: flex;
    gap: 70px;
    margin-top: 70px;
}

    .stats h2 {
        font-size: 38px;
        color: #D4AF37;
    }

    .stats p {
        color: #999;
    }

.bgGlow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: #D4AF37;
    filter: blur(250px);
    opacity: .08;
    top: -150px;
    right: -150px;
    pointer-events: none;
    z-index: -1;
}

.card {
    position: absolute;
    animation: float 6s infinite ease-in-out;
}

.card1 {
    top: 130px;
    right: 120px;
    width: 110px;
}

.card2 {
    bottom: 180px;
    right: 200px;
    width: 130px;
    animation-delay: 2s;
}

.chip {
    position: absolute;
    width: 65px;
    animation: spin 14s linear infinite;
}

.chip1 {
    top: 180px;
    left: 55%;
}

.chip2 {
    bottom: 180px;
    right: 8%;
}

@keyframes float {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-25px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes spin {

    100% {
        transform: rotate(360deg);
    }
}

.scroll {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 50px;
    border: 2px solid #D4AF37;
    border-radius: 20px;
}

    .scroll span {
        position: absolute;
        width: 6px;
        height: 10px;
        background: #D4AF37;
        left: 50%;
        transform: translateX(-50%);
        top: 8px;
        border-radius: 10px;
        animation: wheel 1.6s infinite;
    }

@keyframes wheel {

    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 28px;
        opacity: 0;
    }
}

.menu {
    display: none;
    font-size: 28px;
}

@media(max-width:991px) {

    nav {
        display: none;
    }

    .menu {
        display: block;
    }

    .hero h1 {
        font-size: 60px;
    }

    .stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .headerRight {
        display: none;
    }
}


.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

    .logo img {
        width: 72px;
        height: 72px;
        object-fit: contain;
    }

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 1px;
}

    .logo-text span {
        color: #ffffff;
    }

    .logo-text strong {
        color: #D4AF37;
    }


.about {
    padding: 120px 0;
    background: #090909;
}

    .about .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }

.aboutImage img {
    width: 100%;
    border-radius: 20px;
    border: 2px solid rgba(212,175,55,.3);
}

.subTitle {
    color: #d4af37;
    font-weight: 600;
    letter-spacing: 2px;
}

.about h2 {
    font-size: 55px;
    margin: 20px 0;
}

    .about h2 span {
        color: #d4af37;
    }

.about p {
    color: #bbb;
    line-height: 34px;
    font-size: 18px;
    margin-bottom: 40px;
}

.aboutFeatures {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-bottom: 40px;
}

    .aboutFeatures div {
        background: #111;
        padding: 18px;
        border-radius: 12px;
        border: 1px solid rgba(212,175,55,.15);
        transition: .3s;
    }

        .aboutFeatures div:hover {
            border-color: #d4af37;
            transform: translateY(-4px);
        }

    .aboutFeatures i {
        color: #d4af37;
        margin-right: 12px;
    }

.goldBtn {
    display: inline-block;
    padding: 16px 35px;
    background: #d4af37;
    color: #111;
    font-weight: 700;
    border-radius: 40px;
    text-decoration: none;
}

.counterSection {
    padding: 100px 0;
    background: #050505;
}

.counterGrid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.counter {
    background: #111;
    padding: 45px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid rgba(212,175,55,.2);
    transition: .4s;
}

    .counter:hover {
        transform: translateY(-8px);
        border-color: #d4af37;
        box-shadow: 0 20px 40px rgba(212,175,55,.15);
    }

    .counter i {
        font-size: 40px;
        color: #d4af37;
        margin-bottom: 20px;
    }

    .counter h2 {
        font-size: 42px;
        margin-bottom: 10px;
    }

    .counter p {
        color: #888;
    }

.games {
    padding: 120px 0;
    background: #090909;
}

.sectionTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

    .sectionTitle h2 {
        font-size: 48px;
    }

    .sectionTitle a {
        color: #d4af37;
        text-decoration: none;
        font-weight: 600;
    }

.gameGrid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.game {
    background: #111;
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    transition: .35s;
    border: 1px solid rgba(212,175,55,.15);
}

    .game:hover {
        transform: translateY(-8px);
        border-color: #d4af37;
    }

    .game img {
        width: 100%;
        border-radius: 12px;
    }

    .game h3 {
        margin-top: 20px;
        font-size: 22px;
    }

.container {
    width: min(1400px,92%);
    margin: auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tournament */

.tournament {
    position: relative;
    padding: 120px 0;
    background: url('../images/tournament.jpg') center/cover;
}

    .tournament .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.75);
    }

    .tournament .container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.left h5 {
    color: #D4AF37;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.left h2 {
    font-size: 60px;
    margin-bottom: 20px;
}

.left span {
    color: #D4AF37;
}

.left p {
    max-width: 500px;
    line-height: 34px;
    margin-bottom: 35px;
    color: #ccc;
}

.countdown {
    display: flex;
    gap: 20px;
}

    .countdown div {
        width: 120px;
        height: 120px;
        background: #111;
        border: 1px solid rgba(212,175,55,.3);
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .countdown h2 {
        font-size: 42px;
        color: #D4AF37;
    }

/* Leaderboard */

.leaderboard {
    padding: 100px 0;
    background: #080808;
}

.players {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
}

.player {
    background: #111;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: .35s;
}

    .player:hover {
        transform: translateY(-10px);
    }

    .player img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        border: 3px solid #D4AF37;
        margin-bottom: 20px;
    }

    .player p {
        color: #D4AF37;
        font-size: 22px;
    }

/* Pricing */

.pricing {
    padding: 120px 0;
    background: #090909;
}

.pricingGrid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
}

.plan {
    background: #111;
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(212,175,55,.2);
    position: relative;
    transition: .4s;
}

    .plan:hover {
        transform: translateY(-8px);
    }

    .plan h2 {
        font-size: 55px;
        color: #D4AF37;
    }

    .plan ul {
        margin: 30px 0;
        list-style: none;
    }

    .plan li {
        margin: 15px 0;
    }

    .plan a {
        display: block;
        background: #D4AF37;
        color: #111;
        padding: 15px;
        text-align: center;
        border-radius: 40px;
        font-weight: 700;
        text-decoration: none;
    }

.featured {
    border: 2px solid #D4AF37;
    box-shadow: 0 0 40px rgba(212,175,55,.2);
}

.badge {
    position: absolute;
    top: -15px;
    right: 25px;
    background: #D4AF37;
    color: #111;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

/* Promo */

.promo {
    padding: 100px 0;
    background: #050505;
}

    .promo .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 60px;
    }

    .promo img {
        width: 100%;
    }

    .promo h2 {
        color: #D4AF37;
    }

    .promo h1 {
        font-size: 70px;
        margin: 20px 0;
    }

    .promo p {
        font-size: 22px;
        margin-bottom: 40px;
        color: #bbb;
    }

    .promo a {
        display: inline-block;
        padding: 18px 45px;
        background: #D4AF37;
        color: #111;
        font-weight: 700;
        border-radius: 50px;
        text-decoration: none;
    }


/* =======================
PAYMENTS
=======================*/

.payments {
    padding: 120px 0;
    background: #080808;
}

.paymentGrid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    margin-top: 60px;
}

.paymentCard {
    background: #111;
    padding: 45px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(212,175,55,.2);
    transition: .35s;
}

    .paymentCard:hover {
        transform: translateY(-10px);
        border-color: #D4AF37;
        box-shadow: 0 25px 60px rgba(212,175,55,.15);
    }

    .paymentCard i {
        font-size: 50px;
        color: #D4AF37;
        margin-bottom: 20px;
    }




/* =======================
FEATURES
=======================*/

.features {
    padding: 120px 0;
    background: #050505;
}

.featureGrid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature {
    background: #111;
    padding: 45px;
    text-align: center;
    border-radius: 20px;
    transition: .35s;
    border: 1px solid rgba(212,175,55,.2);
}

    .feature:hover {
        transform: translateY(-8px);
        border-color: #D4AF37;
    }

    .feature .icon {
        width: 90px;
        height: 90px;
        margin: auto;
        background: #1d1d1d;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 25px;
    }

    .feature i {
        font-size: 42px;
        color: #D4AF37;
    }




/* =======================
VIDEO
=======================*/

.videoSection {
    background: url("../images/video-bg.jpg") center/cover;
    padding: 180px 0;
    position: relative;
}

    .videoSection .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.72);
    }

.videoContent {
    position: relative;
    text-align: center;
}

    .videoContent h2 {
        font-size: 65px;
        margin-bottom: 20px;
    }

.playButton {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #D4AF37;
    font-size: 35px;
    color: #111;
    margin-top: 35px;
    text-decoration: none;
    transition: .35s;
}

    .playButton:hover {
        transform: scale(1.1);
    }




/* =======================
TESTIMONIALS
=======================*/

.testimonials {
    padding: 120px 0;
    background: #090909;
}

.testimonialGrid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
    margin-top: 60px;
}

.testimonial {
    background: #111;
    padding: 40px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid rgba(212,175,55,.2);
    transition: .35s;
}

    .testimonial:hover {
        transform: translateY(-8px);
    }

    .testimonial img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 3px solid #D4AF37;
        margin-bottom: 20px;
    }

    .testimonial h3 {
        margin-bottom: 10px;
    }

    .testimonial p {
        margin-top: 20px;
        color: #bbb;
        line-height: 30px;
    }

.center {
    text-align: center;
}




/* =======================
RESPONSIVE
=======================*/

@media(max-width:992px) {

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

    .videoContent h2 {
        font-size: 48px;
    }
}

@media(max-width:768px) {

    .paymentGrid,
    .featureGrid,
    .testimonialGrid {
        grid-template-columns: 1fr;
    }

    .videoSection {
        padding: 120px 20px;
    }

    .videoContent h2 {
        font-size: 34px;
    }

    .playButton {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}

/* BLOG */

.blog {
    padding: 120px 0;
    background: #080808;
}

.blogGrid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
    margin-top: 60px;
}

.blogCard {
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    transition: .35s;
}

    .blogCard:hover {
        transform: translateY(-8px);
    }

    .blogCard img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

.blogContent {
    padding: 30px;
}

    .blogContent span {
        color: #D4AF37;
    }

    .blogContent h3 {
        margin: 20px 0;
        font-size: 28px;
    }

    .blogContent p {
        color: #aaa;
        margin-bottom: 25px;
    }

    .blogContent a {
        color: #D4AF37;
        text-decoration: none;
        font-weight: 700;
    }


/* NEWSLETTER */

.newsletter {
    padding: 120px 0;
    background: linear-gradient(90deg,#0a0a0a,#161616);
    text-align: center;
}

    .newsletter h2 {
        font-size: 55px;
        margin-bottom: 20px;
    }

    .newsletter p {
        color: #bbb;
        margin-bottom: 40px;
    }

    .newsletter form {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .newsletter input {
        width: 420px;
        padding: 18px;
        background: #111;
        border: none;
        color: #fff;
        border-radius: 50px;
    }

    .newsletter button {
        padding: 18px 40px;
        background: #D4AF37;
        border: none;
        font-weight: 700;
        border-radius: 50px;
        cursor: pointer;
    }


/* FOOTER */

footer {
    background: #050505;
    padding: 90px 0 20px;
}

.footerGrid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footerLogo {
    height: 80px;
    margin-bottom: 25px;
}

footer h4 {
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
}

footer li {
    margin: 12px 0;
    color: #999;
}

footer a {
    color: #999;
    text-decoration: none;
}

.social {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

    .social a {
        width: 45px;
        height: 45px;
        background: #111;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        transition: .3s;
    }

        .social a:hover {
            background: #D4AF37;
            color: #111;
        }

.copyright {
    margin-top: 70px;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 20px;
    text-align: center;
    color: #777;
}


/* Back Top */

#backTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: #D4AF37;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}


/* Progress */

#progressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: #D4AF37;
    width: 0;
    z-index: 99999;
}


/* =========================================================
   MOBILE / RESPONSIVE  (added — keep at end of file)
   ========================================================= */

/* Nav drawer overlay */
#navOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

    #navOverlay.show {
        opacity: 1;
        visibility: visible;
    }

@media (max-width:1200px) {

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

    .hero h1 {
        font-size: 66px;
    }

    .hero {
        padding-top: 190px;
    }
}

@media (max-width:991px) {

    /* ---- Hero ---- */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 165px 6% 90px;
    }

        .hero h1 {
            font-size: 46px;
        }

        .hero h4 {
            font-size: 15px;
            letter-spacing: 3px;
            margin-bottom: 14px;
        }

        .hero p {
            font-size: 16px;
            line-height: 30px;
        }

    .heroBtns {
        flex-wrap: wrap;
        gap: 14px;
        margin-top: 30px;
    }

        .heroBtns a {
            padding: 15px 30px;
            font-size: 14px;
        }

    .stats {
        gap: 28px;
        margin-top: 45px;
    }

        .stats h2 {
            font-size: 26px;
        }

    .floating,
    .scroll {
        display: none;
    }

    /* ---- Mobile nav drawer ---- */
    nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 78%;
        max-width: 320px;
        height: 100vh;
        background: #0b0b0b;
        border-left: 1px solid rgba(212,175,55,.25);
        padding: 110px 30px 30px;
        transition: .4s;
        z-index: 998;
        overflow-y: auto;
    }

        nav.open {
            right: 0;
        }

        nav ul {
            flex-direction: column;
            gap: 26px;
        }

        nav a {
            font-size: 18px;
            display: block;
        }

    .navCta {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: 40px;
    }

        .navCta a {
            text-align: center;
            font-size: 14px;
        }

    .menu {
        display: block;
        position: relative;
        z-index: 999;
        cursor: pointer;
    }

    /* ---- Section spacing ---- */
    .about,
    .games,
    .pricing,
    .testimonials,
    .payments,
    .features,
    .blog,
    .newsletter,
    .counterSection,
    .leaderboard,
    .promo,
    .tournament {
        padding: 70px 0;
    }

    .sectionTitle {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 35px;
    }

        .sectionTitle.center {
            align-items: center;
        }

        .sectionTitle h2 {
            font-size: 30px;
            line-height: 1.3;
        }

    /* ---- About ---- */
    .about .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about h2 {
        font-size: 34px;
    }

    .about p {
        font-size: 16px;
        line-height: 30px;
        margin-bottom: 30px;
    }

    /* ---- Tournament ---- */
    .tournament .container {
        flex-direction: column;
        gap: 50px;
        align-items: flex-start;
    }

    .left h2 {
        font-size: 36px;
    }

    .left p {
        font-size: 16px;
        line-height: 30px;
    }

    .countdown {
        flex-wrap: wrap;
        gap: 12px;
        width: 100%;
    }

        .countdown div {
            width: calc(50% - 6px);
            height: 100px;
        }

        .countdown h2 {
            font-size: 30px;
        }

    /* ---- Leaderboard / pricing ---- */
    .players {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .player {
        padding: 30px;
    }

    .pricingGrid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .plan {
        padding: 35px;
    }

        .plan h2 {
            font-size: 40px;
        }

    /* ---- Promo ---- */
    .promo .container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .promoContent {
        order: 2;
        text-align: center;
    }

    .promo img {
        order: 1;
        margin: auto;
    }

    .promo h1 {
        font-size: 36px;
    }

    .promo p {
        font-size: 17px;
        margin-bottom: 28px;
    }

    /* ---- Video ---- */
    .videoSection {
        padding: 100px 20px;
    }

    /* ---- Blog ---- */
    .blogGrid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 35px;
    }

    .blogCard img {
        height: 200px;
    }

    .blogContent h3 {
        font-size: 22px;
        margin: 15px 0;
    }

    /* ---- Newsletter ---- */
    .newsletter h2 {
        font-size: 32px;
    }

    .newsletter form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter input,
    .newsletter button {
        width: 100%;
        max-width: 380px;
    }

    /* ---- Footer ---- */
    .footerGrid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    footer {
        padding: 60px 0 20px;
    }

    .copyright {
        margin-top: 45px;
    }

    /* ---- Cards ---- */
    .paymentCard,
    .feature,
    .counter {
        padding: 30px;
    }

        .counter h2 {
            font-size: 30px;
        }

    .paymentGrid,
    .featureGrid,
    .testimonialGrid {
        margin-top: 35px;
    }
}

@media (max-width:600px) {

    .container {
        width: 90%;
    }

    .gameGrid,
    .counterGrid,
    .footerGrid,
    .aboutFeatures {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 130px 6% 70px;
    }

        .hero h1 {
            font-size: 38px;
        }

    .stats {
        justify-content: space-between;
        gap: 18px;
    }

        .stats h2 {
            font-size: 22px;
        }

        .stats p {
            font-size: 13px;
        }

    .countdown div {
        height: 90px;
    }

    .logo img {
        width: 52px;
        height: 52px;
    }

    #backTop {
        width: 45px;
        height: 45px;
        bottom: 18px;
        right: 18px;
    }

    .promo h1 {
        font-size: 30px;
    }

    .newsletter h2 {
        font-size: 26px;
    }

    .plan,
    .player,
    .paymentCard,
    .feature,
    .testimonial {
        padding: 26px;
    }
}


/* =========================================================
   FIXES — container layout + mobile spacing
   ========================================================= */

/* The base .container rule sets display:flex, which was making
   section titles and grids sit side-by-side instead of stacking. */
.container {
    display: block;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.counterGrid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

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

@media (max-width:991px) {

    /* Kill the dead space under the hero */
    .hero {
        height: auto;
        min-height: 0;
        padding: 140px 6% 60px;
    }

    /* Tighter stacking between sections */
    .about,
    .games,
    .pricing,
    .testimonials,
    .payments,
    .features,
    .blog,
    .newsletter,
    .counterSection,
    .leaderboard,
    .promo,
    .tournament {
        padding: 50px 0;
    }

    .stats {
        margin-top: 35px;
    }

    .about p,
    .aboutFeatures {
        margin-bottom: 25px;
    }

    .paymentGrid,
    .featureGrid,
    .testimonialGrid,
    .blogGrid {
        margin-top: 28px;
    }

    .sectionTitle {
        margin-bottom: 28px;
    }
}

@media (max-width:600px) {

    .counterGrid { grid-template-columns: 1fr; }

    .hero {
        padding: 120px 6% 50px;
    }
}


/* =========================================================
   HERO TOP-CLEARANCE FIX
   Hero top padding now tracks the real header height instead
   of a hardcoded number, so "WELCOME TO / Money Plant" can
   never sit under the fixed header.
   ========================================================= */

:root {
    --headerH: 112px;   /* 20px pad + 72px logo + 20px pad */
}

.hero {
    padding-top: calc(var(--headerH) + 100px);
}

.heroContent {
    width: 100%;
}

@media (max-width:1200px) {
    .hero { padding-top: calc(var(--headerH) + 70px); }
}

@media (max-width:991px) {

    .hero {
        padding: calc(var(--headerH) + 30px) 6% 60px;
    }
}

@media (max-width:600px) {

    :root {
        --headerH: 92px;   /* logo drops to 52px at this width */
    }

    .hero {
        padding: calc(var(--headerH) + 24px) 6% 50px;
    }

    .hero h4 {
        font-size: 14px;
        letter-spacing: 2px;
    }
}


/* =========================================================
   NAV ANCHOR TARGETS
   Stops the fixed header from covering a section's heading
   when you jump to it.
   ========================================================= */

#games,
#tournament,
#vip,
#promotion,
#support {
    scroll-margin-top: var(--headerH);
}

#home {
    scroll-margin-top: 0;
}


/* =========================================================
   MOBILE HERO GRAPHICS
   Cards/chips repositioned for narrow screens (they were
   hidden before), plus glow + texture layers behind the copy.
   ========================================================= */

@media (max-width:991px) {

    .hero {
        position: relative;
        overflow: hidden;
    }

    /* gold bloom behind the headline */
    .hero::before {
        content: "";
        position: absolute;
        top: 8%;
        right: -30%;
        width: 420px;
        height: 420px;
        background: radial-gradient(circle,
                    rgba(212,175,55,.32) 0%,
                    rgba(212,175,55,.10) 45%,
                    transparent 70%);
        pointer-events: none;
        z-index: 1;
        animation: heroPulse 7s ease-in-out infinite;
    }

    /* faint diagonal sheen across the section */
    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(
                    115deg,
                    transparent 0 38px,
                    rgba(212,175,55,.035) 38px 39px);
        pointer-events: none;
        z-index: 1;
    }

    /* bring the floating assets back, sized + placed for mobile */
    .floating {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;
    }

    .card,
    .chip {
        filter: drop-shadow(0 12px 26px rgba(212,175,55,.28));
    }

    .card1 {
        top: 11%;
        right: 4%;
        left: auto;
        width: 74px;
        opacity: .75;
        transform: rotate(12deg);
        animation: floatCardA 7s ease-in-out infinite;
    }

    .card2 {
        bottom: 16%;
        right: 6%;
        left: auto;
        width: 86px;
        opacity: .6;
        animation: floatCardB 8s ease-in-out infinite 1s;
    }

    .chip1 {
        top: 6%;
        left: 62%;
        width: 38px;
        opacity: .55;
        animation: spin 16s linear infinite;
    }

    .chip2 {
        bottom: 8%;
        right: auto;
        left: 6%;
        width: 46px;
        opacity: .45;
        animation: spin 20s linear infinite reverse;
    }

    /* copy sits above every decorative layer */
    .heroContent {
        position: relative;
        z-index: 5;
    }

    /* thin gold rule under the eyebrow text */
    .hero h4 {
        display: inline-block;
        position: relative;
        padding-bottom: 10px;
    }

        .hero h4::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 46px;
            height: 2px;
            background: linear-gradient(90deg,#D4AF37,transparent);
        }

    /* headline glow */
    .hero h1 span {
        text-shadow: 0 0 28px rgba(212,175,55,.45);
    }

    /* stats get separators + breathing room */
    .stats {
        border-top: 1px solid rgba(212,175,55,.18);
        padding-top: 26px;
    }

        .stats > div:not(:last-child) {
            border-right: 1px solid rgba(212,175,55,.12);
            padding-right: 14px;
        }
}

@keyframes heroPulse {

    0%, 100% {
        opacity: .85;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

@keyframes floatCardA {

    0%, 100% {
        transform: rotate(12deg) translateY(0);
    }

    50% {
        transform: rotate(12deg) translateY(-16px);
    }
}

@keyframes floatCardB {

    0%, 100% {
        transform: rotate(-8deg) translateY(0);
    }

    50% {
        transform: rotate(-8deg) translateY(-20px);
    }
}
