﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    overflow-x: hidden !important;
}

.container {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

/* Responsive max-widths */
@media (min-width: 576px) {
    .container {
        max-width: 81%;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    .sub-footer {
        margin-bottom: 40px !important;
        gap: 1rem !important;
    }


    .main-footer {
        display: none !important;
    }

    .last-main img {
        width: 100px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

header {
    background: #e00000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 125px;
    flex-wrap: wrap;
    position: sticky;
    /* Make header sticky */
    top: 0;
    /* Stick to the top of the page */
    z-index: 1000;
    /* Ensure it stays on top of other elements */
}

    header .logo img {
        width: 120px;
    }

nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

    nav a {
        color: white;
        text-decoration: none;
        font-weight: 400;
        font-size: 14px;
    }

.menu__nav-link svg {
    width: 24px;
    height: 24px;
    display: block;
    margin-top: -0.5rem;
}

.home-link {
    padding: 4px;
}

.header-buttons {
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.btn-join {
    background: white;
    color: black;
    box-shadow: inset 0 -1.01rem .91rem #cfcfcf;
    padding: 8px;
}

.btn-login {
    color: white;
    background-color: #9dce78;
    box-shadow: inset 0 -1.41rem 1.28rem #357b00;
    padding: 8px;
}

.forgot-link {
    font-size: 12px;
    margin-left: 10px;
    color: white;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
    }

/* Responsive Styles */
@media (max-width: 991px) {
    header {
        padding: 15px 20px;
    }

    nav {
        display: none;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 15px 20px;
        background: #e00000;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
    }

        nav.active {
            display: grid;
        }

        nav a:first-child {
            grid-column: span 2;
        }

    .header-buttons {
        display: none;
        flex-direction: column;
        background: #e00000;
        width: 100%;
        padding: 10px 20px;
    }

        .header-buttons.active {
            display: flex;
        }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .last-main {
        margin-bottom: 75px !important;
    }

    .sub-footer-img img {
        width: 130px !important;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }

    .header-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 28px;
    }

    .tabs {
        padding-left: 40px !important;
    }
}

/* General mobile layout */
@media (max-width: 767px) {

    /* header: reduce padding but don't change desktop layout */
    header {
        padding: 12px 16px;
    }

        header .logo img {
            width: 100px;
            height: auto;
            display: block;
        }

    /* .sub-footer {*/
    /*    gap: 1.5rem;*/
    /*    padding: 12px;*/
    /*}*/

    nav {
        flex-direction: row;
        /* keep it horizontal but scrollable */
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 8px 0;
        width: 100%;
        z-index: 1000;
    }

        nav a {
            white-space: nowrap;
            padding: 6px 8px;
            font-size: 13px;
        }

    .header-buttons {
        width: 93%;
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin-top: 8px;
    }

        .header-buttons > div {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .header-buttons .btn {
            font-size: 13px;
            padding: 12px 17px;
            border-radius: 16px;
        }

    .footer-awards img {
        height: 110px;
        width: 81px;
        margin: auto;
    }

    .forgot-link {
        display: none;
        /* hide on small screens */
    }
}

.lo-hum {
    display: flex;
    gap: 0rem;
}

@media (min-width: 375px) {
    .lo-hum {
        gap: 0rem;
    }

    .container {
        padding: 0 !important;
    }
}

@media (min-width: 425px) {
    .lo-hum {
        gap: 0rem;
    }
}

/* Extra small phones */
@media (max-width: 480px) {

    header {
        padding: 10px 12px;
    }

        header .logo img {
            width: 90px;
        }

    nav a {
        font-size: 12px;
        padding: 6px;
    }

    .header-buttons {
        flex-direction: column;
        align-items: stretch;
    }

        .header-buttons > div {
            width: 105%;
            justify-content: space-between;
        }

    .sub-footer {
        gap: 1rem;
    }
}

.last-main {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

    .last-main img {
        width: 120px;
        height: auto;
        object-fit: contain;
    }

.sub-footer-img img {
    width: 198px;
}

@media (max-width: 576px) {
    .sub-footer-img img {
        width: 100px !important;
    }
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: start;
    gap: 10px;
    padding: 22px;
    flex-wrap: wrap;
    padding-left: 220px;
    box-shadow: 0 1px .36rem rgba(0, 0, 0, .3);
}

.tab {
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    /*font-weight: bold;*/
    border: 2px solid #eee;
    transition: 0.3s;
}

    .tab.active {
        background: #e00000;
        color: white;
        border: 2px solid #e00000;
    }

    .tab:not(.active):hover {
        border: 2px solid #e00000;
        color: #e00000;
    }

/* Tab content */
.tab-content {
    display: none;
    /* hide all by default */
}

    .tab-content.active {
        display: block;
        /* only show active one */
    }

/* Promotions Section */
.promotions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.promo-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.promo-image img {
    width: 100%;
    display: block;
}

.promo-content {
    padding: 15px;
    flex-grow: 1;
    font-size: 14px;
    color: #333;
}

    .promo-content p {
        margin: 0 0 10px;
        line-height: 1.4;
        font-size: 13px;
        color: #444;
    }

.promo-btn {
    background: #9dce78;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    cursor: pointer;
    margin: 10px auto 20px;
    display: block;
    font-weight: bold;
    transition: background 0.3s;
    box-shadow: inset 0 -21.12px 19.2px #357b00;
}

    .promo-btn:hover {
        background: #3b8c40;
    }

/* Responsive */
@media (max-width: 600px) {
    .tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* commnuity tab */
.container {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
}

.sidebar {
    width: 200px;
    flex-shrink: 0;
}

    .sidebar ul {
        list-style: none;
        border: 1px solid #ccc;
    }

    .sidebar li {
        padding: 12px 15px;
        border-bottom: 1px solid #ccc;
        background: #fff;
        color: red;
        font-weight: 600;
        cursor: pointer;
        text-align: center;
        transition: background 0.2s;
    }

        .sidebar li:hover {
            background: #ffe8e8;
        }

        .sidebar li.active {
            background: red;
            color: #fff;
        }

/* Winners Grid */
.winners {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.winner-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-header {
    padding: 20px;
    text-align: center;
    color: #fff;
}

    .card-header img {
        width: 80px;
        height: auto;
        margin-bottom: 10px;
    }

    .card-header h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .card-header p {
        font-weight: bold;
    }

.card-body {
    padding: 15px;
    background: #fff;
    color: #000;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Color Themes */
.yellow .card-header {
    background: #fdbb2d;
    background: linear-gradient(135deg, #fdbb2d 0%, #fdfc47 100%);
}

.blue .card-header {
    background: #4facfe;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.green .card-header {
    background: #43e97b;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        order: 2;
    }

    .winners {
        order: 1;
        width: 100%;
    }
}

/* footer css */
/* footer start css */
/* footer start css */
footer {
    background-color: #e00000;
    color: white;
    text-align: center;
    padding: 40px 20px 20px;
}

.footer-top img {
    width: 58px;
    height: 45px;
    margin: 5px 5px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /*padding-bottom: 30px;*/
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background-color: #B5040E;
    height: 80px;
    margin-top: 0px;
}

@media (max-width: 425px) {
    .footer-top {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        background-color: #B5040E;
        height: 180px;
        margin-top: 0px
    }

    #warning {
        width: 180px !important;
    }

    .sub-footer {
        margin: 0 !important;
    }
}

@media (max-width: 768px) {
    .footer-top {
        height: 180px;
    }
}

.footer-main {
    max-width: 1200px;
    margin: 0px auto;
    font-size: 12.7px;
    line-height: 1.1;
}

    .footer-main a {
        color: #fff;
        text-decoration: underline;
        font-weight: 500;
    }

        .footer-main a:hover {
            text-decoration: none;
        }

.footer-links {
    display: flex;
    justify-content: space-evenly;
    gap: 200px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.footer-awards {
    display: flex;
    justify-content: center;
    gap: 445px;
    flex-wrap: wrap;
    margin-top: 60px;
}

    .footer-awards img {
        height: 129px;
        width: 129px;
    }

.footer-bottom {
    background: #b50000;
    padding: 20px;
}

.footer-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 20px;
}

    .footer-logos img {
        height: 40px;
    }

.sub-footer {
    background: #c2a3d1;
    display: flex;
    justify-content: space-around;
    gap: 16rem;
    padding-top: 0.2rem;
    flex-wrap: wrap;
    margin: 0 150px 0 150px;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    color: white;
    font-size: 1.1rem;
}

    .social-icon img {
        width: 35px;
        height: 32px;
    }

@media (max-width: 768px) {
    .footer-main {
        font-size: 13px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-awards {
        flex-direction: row;
        gap: 20px;
    }

    .footer-logos img {
        height: 30px;
    }
}

.main-footer {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem 1rem;
    background-color: #fff;
    gap: 2rem;
    margin-top: -30px;
}

.footer-column {
    min-width: 180px;
    max-width: 220px;
}

    .footer-column h4 {
        color: red;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .footer-column ul {
        list-style: none;
        padding: 0;
    }

    .footer-column li {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        color: #333;
    }

/* Responsive */
@media (max-width: 768px) {
    .main-footer {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        text-align: center;
    }
}

.SEOPROMOTIONS {
    padding: 10px 10px 10px 34px;
    max-width: 90%;
}

    .SEOPROMOTIONS strong {
        color: red;
        font-style: italic;
    }

/* ===============================
   MOBILE CUSTOM BOTTOM NAVIGATION
   =============================== */

@media (max-width: 1024px) {

    /*footer,*/
    /*.main-footer,*/
    /*.last-sec,*/
    /*.sub-footer {*/
    /*    display: none !important;*/
    /*}*/

    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background: #d60000;
        display: flex;
        justify-content: space-around;
        align-items: center;
        /*max-width: 95%;*/
        z-index: 3;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
    }

        .bottom-nav a {
            flex: 1;
            text-align: center;
            text-decoration: none;
            color: #fff;
            font-size: 13px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
        }

        .bottom-nav svg {
            width: 22px;
            height: 22px;
        }

        .bottom-nav a span {
            line-height: 1;
        }

        .bottom-nav a.active {
            background: rgba(255, 255, 255, 0.2);
        }

        .bottom-nav a:active {
            background: rgba(255, 255, 255, 0.3);
        }

    header {
        padding: 0px 3px;
    }
}

/* Hide on desktop */
@media (min-width: 1025px) {
    .bottom-nav {
        display: none !important;
    }
}

#mobile-header {
    display: none;
}

@media (max-width:768px) {
    #mobile-header {
        display: flex;
        align-items: anchor-center;
    }

    #desktop-header {
        display: none !important;
    }

    .header-buttons {
        padding: 5px;
        margin-left: 1rem;
    }

    .hamburger {
        margin-left: 2rem;
    }

    .logo {
        margin-left: 2rem;
    }

    #headerBtns2 {
        display: none !important;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    /* Drawer Menu */
    #navMenu {
        position: fixed;
        top: 0;
        left: -320px;
        width: 280px;
        height: 100%;
        background: #e60000;
        color: #fff;
        overflow-y: auto;
        padding-top: 60px;
        transition: left 0.4s ease;
        z-index: 1100;
        display: flex;
        flex-direction: column;
        /* ensures links stack vertically */
    }

        #navMenu.active {
            left: 0;
        }

        #navMenu a {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: white;
            padding: 12px 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            font-size: 1rem;
            width: 100%;
            transition: background 0.3s;
        }

            #navMenu a:hover {
                background: rgba(255, 255, 255, 0.15);
            }

        #navMenu svg,
        #navMenu i {
            flex-shrink: 0;
            width: 22px;
            height: 22px;
            margin-right: 12px;
        }

        #navMenu span {
            flex-grow: 1;
        }

        /* Fixes: each link full-width, no two links inline */
        #navMenu a + a {
            display: flex;
        }

    /* OVERLAY BACKGROUND */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

    /* OPTIONAL CLOSE BUTTON (top right X) */
    .close-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 1.6rem;
        cursor: pointer;
        color: white;
    }

    .desktop-burger {
        display: none;
    }

    .game-menu {
        display: block !important;
        position: sticky;
        top: 57px;
        z-index: 999;
        background: white;
    }
}

.mobile-burger {
    display: none;
}

.game-menu {
    display: none;
}

/* Horizontal Slider Menu */
.game-menu {
    background-color: #B71B1B;
    /* Sun Bingo red */
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* hide scrollbar on Firefox */
}

    .game-menu::-webkit-scrollbar {
        display: none;
        /* hide scrollbar on Chrome/Safari */
    }

.game-menu-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 4px 0;
}

.game-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    /*min-width: 90px;*/
    margin-left: 1rem;
    padding: 6px 0px;
    transition: color 0.3s, transform 0.3s;
}

    .game-menu a i {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }

    .game-menu a span {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
    }

    .game-menu a.active,
    .game-menu a:hover {
        color: #ffd700;
        /* yellow/golden highlight */
        transform: scale(1.05);
    }

@media (max-width:375px) {
    .header-buttons {
        margin-left: 0rem !important;
    }

        .header-buttons .btn {
            font-size: 12px;
            padding: 10px 15px;
        }

    .game-menu {
        top: 44px;
    }

    .header-buttons > div {
        width: 138% !important;
    }

    .header-buttons > div {
        width: 100% !important;
    }
}

@media (width:390px) {
    .header-buttons {
        margin-left: 0rem !important;
    }

        .header-buttons > div {
            width: 105% !important;
        }
}

@media (width:360px) {
    .header-buttons {
        margin-left: 0rem !important;
    }

        .header-buttons > div {
            width: 105% !important;
        }

        .header-buttons .btn {
            font-size: 13px;
            padding: 8px 10px;
            border-radius: 21px;
        }

    .container {
        width: 90% !important;
    }
}

@media (width:344px) {
    .header-buttons {
        margin-left: 0rem !important;
    }

        .header-buttons > div {
            width: 105% !important;
        }

        .header-buttons .btn {
            font-size: 13px;
            padding: 8px 10px;
            border-radius: 21px;
        }
}

@media (max-width:320px) {
    .header-buttons .btn {
        font-size: 8px !important;
        padding: 8px 10px !important;
    }

    .header-buttons {
        gap: 1px !important;
    }

    .footer-top {
        height: 370px;
    }

    .container {
        padding: 0 !important;
    }

    .game-menu {
        display: block !important;
        position: sticky;
        top: 44px !important;
    }

    /*.bottom-nav {*/
    /*    max-width: 90% !important;*/
    /*}*/
}

@media (min-width:320px) {
    .sub-footer {
        gap: 0;
    }
}

.prev,
.next {
    display: none;
}

.nav-icon {
    display: none;
}

@media (max-width:576px) {
    .nav-icon {
        display: block;
    }
}

@media (min-width: 600px) and (max-width: 768px) {
    .header-buttons {
        display: block !important;
    }

    .lo-hum {
        gap: 8rem !important;
    }
}

@media (max-width:576px) {
    .footer-sec {
        z-index: 9999;
    }

    .last-sec {
        margin-left: -20px;
        z-index: 3;
        position: absolute;
    }

    .main-footer {
        display: none !important;
    }

    .tabs {
        display: none;
    }
}

@media (width: 820px) {
    .tabs {
        padding-left: 80px;
    }

    .sub-footer {
        margin: 0 20px 0 20px;
    }
}

@media (width: 912px) {
    .tabs {
        padding-left: 80px;
    }

    .sub-footer {
        margin: 0 20px 0 20px;
    }
}

@media (width: 853px) {
    .tabs {
        padding-left: 80px;
    }

    .sub-footer {
        margin: 0 20px 0 20px;
    }
}

@media (width: 540px) {
    .header-buttons {
        margin-left: 7rem;
    }

    .sub-footer {
        margin: 0 20px 0 20px;
    }
}

@media (width: 344px) {
    .header-buttons .btn {
        font-size: 13px;
        padding: 8px 7px;
        border-radius: 21px;
    }
}

@media (width: 430px) {
    .sub-footer {
        margin: 0 50px 0 50px;
    }
}
