body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    padding-bottom: 60px;
}

.header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.header img {
    position: absolute;
    left: 15px;
    height: 40px;
}

.header h1 {
    margin: 0;
    font-size: 24px;
}

.register-btn-header {
    position: absolute;
    right: 15px;

    background: linear-gradient(45deg, #ffcc00, #ff6600);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;

    animation: pulseRegister 1.2s infinite;
    transition: all .3s ease;
}

.banner-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.banner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner img {
    width: 100%;
    height: auto;
}

.balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: white;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.balance .left-icon,
.balance .right-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.balance .left-icon {
    left: 10px;
}

.balance .right-icon {
    right: 10px;
}

.balance .middle {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.balance .middle div {
    text-align: center;
}

.balance .middle div p {
    margin: 5px 0;
}

.balance .middle div i {
    font-size: 24px;
}

.tabs {
    display: flex;
    justify-content: space-around;
    background-color: white;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.tabs div {
    text-align: center;
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8d8f99;
}

.tabs div i {
    margin-right: 5px;
}

.tabs .active {
    color: #00bfff;
    border-bottom: 2px solid #00bfff;
}

.games,
.live,
.slots,
.sports,
.lottery {
    display: none;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 10px;
}

.games.active,
.live.active,
.slots.active,
.sports.active,
.lottery.active {
    display: flex;
}

.game {
    width: 30%;
    margin: 10px 0;
    text-align: center;
}

.game img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.footer {
    position: fixed;
    /* Keep this if you want it fixed */
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    background-color: rgb(255, 255, 255);
    \\\\\\
}

.footer div {
    text-align: center;
    cursor: pointer;
    flex: 1;
}

.footer-icon {
    width: 28px;
    /* Set the width of the icon */
    height: auto;
    /* Maintain aspect ratio */
}

.footer div p {
    font-size: 12px;
    /* Adjust text size here */
    margin: 0;
    /* Remove default margin */
    color: #8d8f99;
    /* Optional: Change text color */
}

.icon-large {
    width: 50px;
    /* Set the desired width */
    height: auto;
    /* Maintain aspect ratio */
}

.cash {
    color: #8d8f99;
    /* Change to your desired color for Cash */
}

.chips {
    color: #8d8f99;
    /* Change to your desired color for Chips */
}

.amount {
    color: #8d8f99;
    /* Change to your desired color for MYR amounts */
}

/* ===== ABOUT / BRAND SECTION ===== */
.about-section {
    color: #00bfff;
    padding: 60px 20px;
    text-align: center;
}

.section-small-title {
    color: #00bfff;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #00bfff;
}

.section-title span {
    color: #00bfff;
}

.section-text {
    max-width: 900px;
    margin: 0 auto 35px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #000000;
}

.section-text .highlight {
    color: #00bfff;
    font-weight: 600;
}

.divider {
    width: 70%;
    max-width: 500px;
    height: 2px;
    background: #00bfff;
    margin: 40px auto;
}

/* Mobile spacing */
@media (max-width: 768px) {
    .about-section {
        padding: 45px 16px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-text {
        font-size: 1.3rem;
    }
}

/* ✅ FORCE MOBILE BUTTONS SIDE BY SIDE */
@media (max-width: 768px) {
    .mobile-auth-buttons {
        flex-direction: row !important;
        justify-content: center;
        gap: 12px;
    }

    .mobile-auth-buttons .btn {
        width: 48%;
        padding: 12px;
        border-radius: 20px;
    }

    /* Left button (Login) */
    .mobile-auth-buttons .sign-in-btn {
        background: #00bfff;
        color: #fff;
        border: none;
    }

    /* Right button (Register) */
    .mobile-auth-buttons .register-id-btn {
        background: #fff;
        color: #00bfff;
        border: 2px solid #00bfff;
    }
}

@media (max-width: 768px) {
    .sidebar {
        flex-direction: row;
        align-items: center;
        background: #f2f2f2;
        padding: 0 10px;
        overflow-x: auto;
        gap: 25px;
        margin: 0;
    }

    .sidebar::-webkit-scrollbar {
        display: none;
    }

    .sidebar .tab {
        background: transparent;
        border: none;
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: max-content;
        height: 50px;
        padding: 0;
        font-size: 14px;
        font-weight: 500;
        color: #333;
        position: relative;
    }

    .tab-icon {
        font-size: 16px;
    }

    .sidebar .tab.active::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        border-radius: 2px;
    }
}

.register-btn-header {
    background: linear-gradient(45deg, #ffcc00, #ff6600);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    animation: pulseRegister 1.2s infinite;
    transition: all .3s ease;
}

.register-btn-header.clicked {
    animation: none;
}

@keyframes pulseRegister {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}