:root {
    --accent: #001f1c;
    --dark: #003833;
    --primary: #026b62;
    --light: #039c90;
    --gold: #ffd900;
    --dark-gold: #756403;
    --outline: #00ffea;
    --red: #ff0000;
    --white: #ffffff;
    --black: #000000;
    --blue: #0505e0;
    --transparent: transparent;
}

body {
    background: var(--accent);
    color: --var(--white);
    padding-top: 45px;
    padding-bottom: 120px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* ===== TOPBAR ===== */
.topbar {
    position: fixed; top: 0;left: 0;width: 100%;height: 45px;background-color: var(--accent);display: flex;justify-content: space-between;align-items: center;padding: 5px;z-index: 1000;
}
.logo-area {display: flex; align-items: center;}
.action-buttons {display: flex; align-items: center; gap: 10px;}
.action-buttons a{text-decoration:none;color: var(--gold);}
.btn {border: none; font-size: 15px; font-weight: 600; padding: 6px 16px; border-radius: 25px; cursor: pointer; position: relative; transition: all 0.2s ease-in-out;}
.deposit-btn {
    background: linear-gradient(to top, var(--dark), var(--light)); color: var(--white); position: relative;border-top: 2px solid var(--outline); border-right: 1px solid var(--outline);
}
.deposit-btn .bonus {position: absolute; top: -8px; right: -6px; background: var(--dark); color: var(--white); font-size: 8px; font-weight: 700; padding: 1px 5px; border-radius: 10px;}
.withdraw-btn {background: linear-gradient(to top, var(--dark), var(--light)); color: var(--white); border-top: 2px solid var(--outline); border-right: 1px solid var(--outline);}
.withdraw-btn .bonus {position: absolute; top: -8px; right: -6px; background: var(--red); color: var(--white); font-size: 8px; font-weight: 700; padding: 1px 5px; border-radius: 10px;}
@media (max-width: 600px) {
    .site-name {font-size: 18px;}
    .btn {font-size: 12px; padding: 5px 12px;}
}


/* ===Header Bar=== */
.header-bar {
    width: 100%;height: 45px; position: fixed;top: 45px; left: 0; display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(to bottom, var(--accent), var(--dark)); z-index: 999;
}
.wallet-box {
    display: flex;height: 30px;margin-left: 5px;margin-right: 20px;align-items: center;background: var(--black);
    border-radius: 25px;padding: 4px;box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.wallet-icon img {width: 20px;height: 20px;border-radius: 50%;margin-right: 3px;margin-top: -7px;border:2px solid var(--gold);}
.wallet-amount {color: var(--gold); font-weight: 600; font-size: 14px; margin-right: 5px;}
.refresh-btn {
    width: 22px; height: 22px; background: var(--black); color: var(--outline); font-size: 12px; display: flex; align-items: center;
    justify-content: center; border-radius: 50%; cursor: pointer;
}
.user-box {
    height:40px;display: flex; justify-content: flex-end; align-items: center; background: linear-gradient(to bottom, var(--light), var(--accent)); border-top-left-radius: 50px;
    border-bottom-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-top: 2px solid var(--outline); padding: 2px; position: relative;min-width: 215px;
}
.user-left {padding-top:3px; padding-bottom: 3px; display: flex;flex-direction: column; margin-right: 2px;}
.user-right {display: flex;align-items: center;gap: 6px; margin-left: 10px; margin-right: 5px;}
.user-img {
    width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--outline);
}
.dropdown-toggle {background: transparent; border: none; color: var(--white); font-size: 12px; cursor: pointer; padding-right: 4px;}
.dropdown {position: relative; display: inline-block;}
.dropdown-menu {
    display: none;position: absolute;top: 38px;right: 0;background: var(--light);border-radius: 6px;overflow: hidden;min-width: 200px;z-index: 9999;box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
.dropdown-menu a {display: block; padding: 6px 12px;color: var(--white); text-decoration: none; font-size: 12px;}
.dropdown-menu a:hover {background: var(--primary);}
.dropdown.open .dropdown-menu {display: block;}


/* === FEATURE BAR CONTAINER === */
.feature-bar {
    position:sticky;top: 45px;left: 0;width: 100%;height:auto;display: flex; align-items: flex-start; padding: 5px; gap: 5px; overflow-x: auto;
    background: linear-gradient(to top, var(--dark), var(--accent));scrollbar-width: none; z-index: 998;
}
.feature-bar::-webkit-scrollbar, .ua-carousel-wrap::-webkit-scrollbar {display: none;}
.feature-item {
    flex: 0 0 auto;width: 42px; height: 42px; background: linear-gradient(to bottom, var(--light), var(--dark)); border-radius: 8px; border-top: 2px solid var(--outline);
    border-right: 1px solid var(--outline); display: flex; flex-direction: column;justify-content: center;align-items: center;color: var(--white);text-decoration:none;
}
.icon {font-size: 14px; color: var(--white); margin-bottom: 2px;}
.label {font-size: 9px; font-weight: 600; background: var(--blue); color: var(--white); padding: 0px 6px; border-radius: 8px; text-align: center; line-height: 12px;}
.label.red {background: var(--red);}
.label.blue {background: var(--blue);}
@media (max-width: 600px) {
    .feature-item {width: 38px; height: 38px;}
    .icon {font-size: 13px;}
    .label {font-size: 7px;}
}


/* ===Category Navigation=== */
.category-nav {
    position: fixed; top: 90px;left: 0;right: 0;height: 50px;background: linear-gradient(to top, var(--primary), var(--dark)); padding: 5px; display: flex; flex-wrap: nowrap;
    align-items: center;gap: 5px;overflow-x: auto;overflow-y: hidden;scrollbar-width: none;scroll-behavior: smooth;-webkit-overflow-scrolling: touch;z-index: 997;white-space: nowrap;
}
a.category-box {
    background: var(--white); text-align: center; padding: 5px; cursor: pointer;transition: all 0.3s;box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); border-radius: 8px;
    text-decoration: none; color: var(--primary); gap: 5px; margin-left: 4px;
}
.category-boxx { text-align: center; padding: 5px; cursor: pointer; transition: all 0.3s; border-radius: 8px;}
a.category-box.active {
    background: linear-gradient(to bottom, var(--light), var(--primary)); border-top: 2px solid var(--outline);border-right: 1px solid var(--outline);color: var(--white);
}
.category-icon {font-size: 12px; margin-bottom: 1px; color: var(--primary);}
.category-box.active .category-icon {color: var(--white);}
.category-name {font-size: 9px; font-weight: 500;}



/* ===Blockchain=== */
.ua-carousel-wrap {
    position: fixed;top: 138px;left: 0;right: 0;height: 45px;background: linear-gradient(to top, var(--light), var(--primary));padding: 5px;display: flex;flex-wrap: nowrap;
    align-items: center;gap: 5px; overflow-x: auto;overflow-y: hidden;scrollbar-width: none;scroll-behavior: smooth;-webkit-overflow-scrolling: touch;z-index: 996;white-space: nowrap;
}
.ua-carousel-wrap a {text-decoration: none;}
.ua-carousel-wrap::-webkit-scrollbar {display: none;}
.ua-carousel-item {
    flex: 0 0 auto;display: inline-flex;flex-direction: column;justify-content: center;align-items: center;width: 40px;height: 40px;border-radius: 10px;border-top: 2px solid var(--outline);
    border-right: 1px solid var(--outline);background: linear-gradient(to bottom, var(--light), var(--dark));color: var(--white);font-size: 10px;text-align: center;cursor: pointer;
    user-select: none;
}
.ua-carousel-item.active {background: var(--gold);color:var(--dark);border-top: 2px solid var(--accent);border-right: 1px solid var(--accent);}
.ua-carousel-icon {font-size: 12px;}
.ua-carousel-label {
    margin-top: 2px;font-size: 7px;opacity: 0.9;
}


/* ===Sidebar=== */
.sidebar {
    position: fixed; top: 0px;left: -300px;width: 250px;height: calc(100% - 0px);background: linear-gradient(to left, var(--light), var(--dark));z-index: 1001;border-radius: 0px 20px 20px 0px;
    transition: all 0.3s; padding: 20px; color: var(--white);box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);overflow-y: auto;border-right: 2px solid var(--outline);
}
.sidebar.open {left: 0;}
.sidebar-item {padding: 8px;border-bottom: 1px solid var(--light);cursor: pointer; transition: all 0.3s; border-radius: 5px;}
.sidebar-item:hover { background-color: var(--white);
}


/* ===Bottom Navigation=== */
.bottom-nav {
    background: linear-gradient(to bottom, var(--dark), var(--light)); border-radius: 10px 10px 0 0; position: fixed; bottom: 0; left: 0; right: 0; height: 65px; z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3); display: flex; justify-content: space-around;padding: 10px 0; border-top: 1px solid var(--outline);
}
.nav-item {display: flex; flex-direction: column; align-items: center; color: var(--white); cursor: pointer; transition: all 0.3s; padding: 5px 10px;border-radius: 8px; margin-top: -6px;}
.bottom-nav a{text-decoration: none;}
.bottom-nav .nav-item:not(.slip_box) {
    background: linear-gradient(to bottom, var(--light), var(--dark)); border-top: 2px solid var(--outline); border-right: 1px solid var(--outline); border-radius: 10px;
    width: 55px; height: 55px; justify-content: center;
}
.bottom-nav .nav-item.slip_box{margin-top: -16px;}
.bottom-nav .nav-item.slip_box a{ text-decoration: none; color: var(--white); margin-top: -8px;}
.bottom-nav .nav-item.slip_box a i{
    position: flex; font-size: 1.3em; text-align: center;padding: 7px; width: 60px; height: 60px; line-height: 42px; border-radius: 50%; 
    background: linear-gradient(to bottom, var(--dark), var(--transparent)); color: var(--gold); margin-top: -39px;border-top: 2px solid var(--gold);
}
.nav-item i { font-size: 10px; margin-bottom: 5px;}
.nav-item span { font-size: 12px;}


/* ===Login Area=== */
.login-area {
    padding: 20px; margin: 10px; max-width: 400px; background: linear-gradient(to bottom, var(--light), var(--dark)); 
    border-top: 2px solid var(--outline); border-right: 1px solid var(--outline); border-radius: 15px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}
.login-title { text-align: center; color: var(--white); margin-bottom: 20px; font-weight: 600;}
.login-form { display: flex; flex-direction: column; gap: 15px;}
.input-group { position: relative;}
.form-input { width: 100%; padding: 10px; border: 1px solid var(--light); border-radius: 8px; font-size: 14px; transition: all 0.3s; background: var(--dark); color: var(--light);}
.select-input { padding-right: .5rem; border-radius: 8px; font-size: 14px; transition: all 0.3s; background: var(--light); color: var(--white);}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(10, 90, 0, 0.1);}
.input-icon {
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--gold); cursor: pointer; background: none;
    border: none; font-size: 16px; display: flex; align-items: center; justify-content: center; z-index: 2;
}
.login-btn {
    background: linear-gradient(to top, var(--light), var(--dark));color: var(--white);border: none;padding: 12px;border-radius: 8px;font-size: 16px;
    font-weight: 600; cursor: pointer; transition: all 0.3s; margin-top: 10px;
}
.login-btn:hover { background: linear-gradient(to top, var(--light), var(--dark)); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(10, 90, 0, 0.2);}
.country-code-select {
    position: absolute; left: 0; top: 0; height: 100%; width: 80px; border: none; border-right: 1px solid #ddd; border-top-left-radius: 8px;  border-bottom-left-radius: 8px;
    padding: 0 10px; background: #f9f9f9; appearance: none; -webkit-appearance: none; -moz-appearance: none; z-index: 1;
}
.country-code-wrapper { position: relative;}
.country-code-wrapper .form-input { padding-left: 90px;}
.country-code-wrapper::after {
    content: '\f107'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; left: 60px; top: 50%; 
    transform: translateY(-50%); pointer-events: none; color: var(--dark); z-index: 2;
}
.email-input-container { display: none;}
.toggle-fade {animation: fadeIn 0.3s ease-in;}
@keyframes fadeIn {
    from { opacity: 0;  transform: translateY(-5px); }to { opacity: 1; transform: translateY(0);    }
}
.iti { width: 100%; }
.iti input { width: 100%;padding: 10px 12px 10px 50px; border: 1px solid var(--outline); border-radius: 8px; font-size: 16px; outline: none;}
.iti input:focus { border-color: var(--outline); box-shadow: 0 0 5px rgba(212, 160, 23, 0.3);}
.iti__country-list { position: absolute; top: 45px;max-height: 480px;overflow-y: auto; background: var(--primary);z-index: 9999;box-sizing: border-box; padding: 8px 0;}
.iti__search-input { display: block;}
.iti__country-list::-webkit-scrollbar { width: 6px;}
.iti__country-list::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.3); border-radius: 10px;}



/* ===Game Area=== */
.card {
    top: 140px;position: relative; margin:10px;border-radius: 20px; overflow: hidden;background: linear-gradient(to top, var(--dark), var(--light));cursor: pointer;
    border-top: 2px solid var(--outline);border-right: 2px solid var(--outline);box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-icons {position: absolute;top: 12px;right: 12px;display: flex;gap: 10px;z-index: 10;}
.card-icons a {text-decoration: none;}
.card-icons i { font-size: 18px;color: var(--white);background: var(--outline);padding: 8px; border-radius: 50%; transition: 0.3s ease;}
.card-icons i:hover { background: var(--outline); transform: scale(1.2);}
.card-body img { width: 100%; height: 180px;border-radius: 20px; object-fit: cover;}
.card-footer { padding: 15px; text-align: center;}
.card-title { font-size: 1.1rem; font-weight: 600; color: var(--outline);}
.heart-icon.active { color: var(--outline) !important; background: rgba(255, 0, 79, 0.15) !important; transform: scale(1.3);}


/* ===Profile Setting */
.profile-container { max-width: 1200px; margin: 15px;background: var(--white); border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); overflow: hidden;}
.profile-header { background: linear-gradient(to right, var(--dark), var(--primary)); padding: 10px; color: var(--white); position: relative;}
.profile-image-container {
    width: 100px; height: 100px; border-radius: 50%; border: 5px solid var(--white); overflow: hidden; margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); background-color: var(--white);
}
.profile-image { width: 100%; height: 100%; object-fit: cover;}
.profile-body { padding: 10px;}
.profile-name { font-size: 28px; font-weight: 700; text-align: center; margin: 20px 0 5px; color: var(--white);}
.profile-title {text-align: center; color: var(--white); margin-bottom: 25px; font-size: 18px;}
.profile-stats {display: flex; justify-content: space-around; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; padding: 20px 0; margin: 25px 0;}
.stat-item {text-align: center;}
.stat-value {font-size: 24px; font-weight: 700; color: var(--primary);}
.stat-label {
    font-size: 14px; color: #757575;
}
.profile-menu {
    list-style: none; padding: 0; margin: 20px 0;
}
.profile-menu li {
    padding: 15px 20px; border-bottom: 1px solid #e0e0e0;cursor: pointer; transition: all 0.3s;display: flex; align-items: center;border-left: 4px solid transparent;
}
.profile-menu li i {
    margin-right: 12px;color: var(--primary);width: 20px; text-align: center; font-size: 18px;
}
.profile-menu li:hover {
    background-color: var(--light); padding-left: 25px; color: var(--dark);
}
.profile-menu li.active {
    background-color: var(--light); color: var(--dark); font-weight: 600; border-left: 4px solid var(--dark);
}
.info-item {
    margin-bottom: 5px; display: flex; padding: 5px 0; border-bottom: 1px dashed #e0e0e0;
}
.info-label {
    min-width: 150px; font-weight: 600; color: var(--dark);
}
@media (max-width: 768px) {
    .profile-stats {
        flex-direction: column; gap: 15px;
    }
    .info-item {
        flex-direction: column;
    }
    .info-label {
        min-width: auto; margin-bottom: 5px;
    }
}










/* === Sports Tabs === */
.tabs-container {
    margin-top: 90px;width: 100%; max-width: 700px; border-radius: 0px; overflow: hidden; display: none;
}
.tabs-container.active {display: block;}
.navigation-tabs {
    display: flex; padding: 10px 5px 0;background: linear-gradient(to top, var(--gold), var(--dark-gold)); border-bottom: 1px solid var(--dark-gold); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.navigation-tabs::-webkit-scrollbar {display: none;}
.nav-selector {
    padding: 5px 10px;
    background: linear-gradient(to bottom, var(--light), var(--dark));
    border: none;
    border-radius: 10px 10px 0 0;
    font-weight: 500;
    font-size: 11px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.4s ease;
    margin-right: 5px;
    outline: none;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-selector.active-tab {
    background: linear-gradient(to bottom, var(--gold), var(--dark-gold));
    color: var(--white);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.content-area {
    padding: 10px;
    min-height: 200px;
}

.content-section {
    display: none;
    animation: fadeIn 0.6s ease;
}

.content-section.visible {
    display: block;
}

.match-card {
    background: linear-gradient(to bottom, var(--light), var(--dark));
    border-top: 2px solid var(--outline);
    color: var(--white);
    border-radius: 16px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
.match-card.agent {margin: 10px;}
.match-card.promotions {margin: 10px;}
.match-header {
    margin-top: -10px;
    font-size: 0.7em;
    color: var(--gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
}
.match-header a {text-decoration: none;}
.league {
    font-weight: 400;
    color: var(--gold);
    font-size: 0.8em;
}

.match-time {
    width: 100%;
    color: var(--black);
    font-size: 0.5em;
    background: var(--gold);
    padding: 5px 10px;
    border-radius: 5px;
}

.teams {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.teams p {background: var(--accent);color: var(--white);text-align: justify;font-size: 0.7em;padding: 10px;border-radius:10px;}
.team {
    text-align: center;
    background: var(--dark);
    border-radius: 10px;
    width: 48%;
    height: 70px;
}

.team-name {
    margin-top: -10px;
    margin-bottom: 3px;
    font-size: 0.8em;
}

.team-logo {
    width: 20px;
    height: 20px;
    margin: 0 auto 8px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score {
    width: 4%;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.odds {
    display: flex;
    justify-content: space-around;
    padding-top: 5px;
}

.odd-btn {
    padding: 5px;
    background: linear-gradient(to bottom, var(--light), var(--dark));
    color: var(--white);
    border-top: 2px solid var(--outline);
    border-bottom: 2px solid var(--outline);
    border-radius: 10px;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 90px;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.25);
}

.nodd-btn {
    padding: 5px 10px;
    background: linear-gradient(to bottom, var(--light), var(--dark));
    color: var(--white);
    border-top: 2px solid var(--outline);
    border-bottom: 2px solid var(--outline);
    border-radius: 12px;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 90px;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.25);
}

.live-badge {
    background: linear-gradient(to right, #f72585, #b5179e);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 400;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(247, 37, 133, 0.3);
}

.live-badge-upcoming {
    background: linear-gradient(to bottom, var(--light), var(--primary));
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 400;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(247, 37, 133, 0.3);
}

.live-badge-check {
    background: linear-gradient(to bottom, var(--light), var(--primary));
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 400;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(247, 37, 133, 0.3);
}

.live-badge-trash {
    background: red;
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 400;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(247, 37, 133, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    background: #f9fafb;
    padding: 15px;
    border-radius: 12px;
}
.stat {
    text-align: center;
}
.stat-value {
    font-weight: 800;
    font-size: 1.4rem;
    color: #3a0ca3;
}
.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .navigation-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .nav-selector {
        flex-shrink: 0;
    }
    .teams {
        flex-direction: row;
    }
    .team {
        width: 45%;
    }
    .score {
        width: 10%;
    }
    .match-header {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 0.8em;
        color: var(--gold);
    }
    .league {
        font-size: 1.0em;
    }
    .match-time {
        font-size: 10px;
    }
    .team-logo {
        width: 20px;
        height: 20px;
        margin-top: 3px;
        padding: 2px;
    }
    .team-name {
        font-size: 0.6rem;
    }
    .score {
        font-size: 1.3em;
    }
    .odds {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 5px;
    }
    .odd-btn {
        width: 90px;
        font-size: 0.8em;
        flex-shrink: 0;
    }
    .stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    .stat {
        flex: 1;
        min-width: 45%;
    }
}
.tabs-container .category-box {
    border: 1px solid var(--light);
    margin-right: 2px;
}









.quantity-selector {
    margin-bottom: 10px;
}

.quantity-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 300;
    color: #636e72;
}

.quantity-controls {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-btn {
    background: red;
    color: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.quantity-input {
    width: 100px;
    height: 30px;
    margin: 0 5px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    border: 2px solid red;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.3s ease;
}

.quantity-input:focus {
    border-color: #6c5ce7;
}

.preset-amounts {
    margin-bottom: 10px;
}

.preset-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.preset-btn {
    background: #f5f5f5;
    border: 2px solid red;
    border-radius: 12px;
    padding: 5px;
    font-size: 14px;
    font-weight: 300;
    color: #2d3436;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.preset-btn.active {
    background: #6c5ce7;
    color: var(--white);
    border-color: #6c5ce7;
}
















.gateway-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px;
}
.gateway-box {
    flex: 1 1 calc(25% - 20px);
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}
.gateway-box:hover {
    transform: translateY(-3px);
    background: #f8d1d1;
}











/* Popup Modal */
.modal {
    position: flex;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: flex-end;
    z-index: 1000;
}
.modal-content {
    bottom: 0;
    width: 100%;
    background: var(--white);
    border-radius: 20px;
    border: 2px solid var(--dark);
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    animation: slideUp 0.4s ease forwards;
}
.close-btn {
    width: 40px;
    height: 40px;
    line-height: 15px;
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 20px;
    font-weight: bold;
    background: var(--primary);
    padding: 10px;
    border-radius: 10px;
    border: none;
    text-align: center;
    color: var(--gold);
    cursor: pointer;
    transition: 0.3s;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Optional: smooth closing */
.modal.hide .modal-content {
    animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

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
























/* Shimmer styles */
.skeleton {
    height: 20px;
    margin: 10px 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f2f2f2 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}








#captchaCanvas {
    border: 1px solid #ccc;
    display: block;
    margin-bottom: 8px;
}

.controls {
    margin-bottom: 12px;
}

.errorr {
    color: orange
}

.successs {
    color: green
}


.spinning {
    animation: spin 0.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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


.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


.blink {
    animation: blinker 1.5s linear infinite;
    color: var(--gold);
    font-size: 0.8em;
    margin-bottom: 5px;
    text-align: center;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}


.captcha-display {
    padding: 10px;
    background:
    linear-gradient(45deg, rgba(76, 3, 145, 0.9) 50%, rgba(184, 3, 3, 0.9) 50%), repeating-linear-gradient(45deg, rgba(2, 41, 126, 0.9) 0 2px, rgba(58, 126, 2, 0.9) 2px 18px), var(--gold);
        color: var(--white);text-align: center;font-size: 2.0em;font-weight: bold;
    }


.odd-btn.selected {
    background: var(--red);
    color: var(--white);
    position: relative;
}

.odd-btn.selected::after {
    content: "";
    width: 10px;
    height: 10px;
    background: rgb(134, 2, 2);
    border-radius: 50%;
    position: absolute;
    top: 5px;
    right: 5px;
}



.msg {
    position: fixed;
    width: 97%;
    top: 70px;
    right: 5px;
    left: 5px;
    padding: 10px;
    border-radius: 5px;
    color: var(--white);
    text-align: center;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    animation: fadeInOut 2s ease forwards;
}

.msg.success {
    background: rgb(1, 185, 1);
    color: var(--white);
    border: 1px solid rgb(1, 77, 1);
}

.msg.warning {
    background: var(--gold);
    color: black;
    border: 1px solid var(--red);
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}


.cartCount{
    background: red;
    margin-left: 32px;
    margin-top: -40px;
    padding-left: 7px;
    padding-right: 7px;
    border-radius: 50%;
}
.notiCount {
    background: red;
    margin-left: 32px;
    margin-top: -40px;
    padding-left: 7px;
    padding-right: 7px;
    border-radius: 50%;
}












.topbarr {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 999;
}
.back-btn a {
    text-decoration: none;
}
.back-btn span {
    color: var(--outline);
    font-size: 25px;
    cursor: pointer;
}
.right-icons {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 3px;
    height: 100%;
}
.right-icons a{text-decoration: none;}
.icon {
    position: relative;
    width: 50px;
    height: 100%;
    text-align: center;
    color: var(--outline);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.icon i {
    font-size: 15px;
    display: block;
    margin-bottom: 2px;
}
.icon .label {
    font-size: 9px;
    color: var(--white);
    line-height: 1;
    background: transparent;
}
.icon.message .badge {
    position: absolute;
    top: 3px;
    right: 6px;
    background: #ff3b3b;
    color: var(--white);
    font-size: 10px;
    padding: 4px;
    border-radius: 50%;
}







.account-bar {
    position: fixed;
    height: 45px;
    top: 45px;
    left: 0;
    width: 100%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-family: Arial, sans-serif;
    z-index: 999;
}

.account-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.account-details {
    line-height: 1.2;
}

.account-name {
    font-size: 10px;
    color: var(--white);
}

.account-id {
    font-size: 13px;
    color: var(--outline);
    display: flex;
    align-items: center;
    gap: 5px;
}

.account-id i {
    color: var(--outline);
    cursor: pointer;
}

.account-balance {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--outline);
}

.account-balance i {
    color: var(--outline);
    cursor: pointer;
}

.account-balance span {
    color: var(--white);
    border-bottom: 1px solid var(--outline);
    padding: 0 3px;
}









.action-bar {
    position: fixed;
    top: 90px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background: var(--accent);
    padding: 12px 0;
    z-index: 998;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    font-family: Arial, sans-serif;
    position: relative;
}

.action-item .icon {
    position: relative;
    background: var(--outline);
    color: var(--black);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
}

.action-item span {
    margin-top: 6px;
    font-size: 13px;
    color: var(--white);
}

.badge {
    position: absolute;
    top: -12px;
    right: -10px;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 12px;
    color: var(--white);
}
.badge.red {
    background: #ff3b30;
}
.badge.yellow {
    background: var(--gold);
    color: var(--black);
}
@media (max-width: 480px) {
    .action-bar {
        justify-content: space-evenly;
    }

    .action-item .icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .action-item span {
        font-size: 12px;
    }
}













.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: transparent;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.popup-box {
    background: linear-gradient(to top, var(--dark), var(--light));
    border-top: 2px solid var(--outline);
    border-right: 1px solid var(--outline);
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(40px);
    animation: slideUp 0.4s ease forwards;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== Close Button ===== */
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--white);
    transition: color 0.2s;
    z-index: 2;
}

.popup-close:hover {
    color: red;
}

/* ===== Text ===== */
.popup-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--gold);
    position: relative;
    z-index: 2;
}

.popup-text {
    color: var(--outline);
    margin-bottom: 20px;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* ===== Buttons Container ===== */
.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

/* ===== Animated Border Buttons ===== */
.popup-btn {
    position: relative;
    width:130px;
    padding: 8px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    color: var(--white);
    font-weight: bold;
    font-size: 0.7rem;
    overflow: visible;
    background: #111;
    border-top: 2px solid var(--outline);
    border-right: 1px solid var(--outline);
    z-index: 1;
}
.corner-icon {
    position: absolute;
    top: -30%;
    right: 1px;
    font-size: 20px;
    color: var(--gold);
    background: red;
    border-radius: 50%;
    padding: 5px;
}
@keyframes float {

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

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

.corner-icon {
    animation: float 2s infinite ease-in-out;
}

/* Animated colorful border using pseudo-element */
.popup-btn::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 12px;
    background: linear-gradient(45deg,
            var(--dark),
            var(--light),
            var(--outline),
            #e330f3,
            #00c3ff,
            #8c00ff,
            #ff005e);
    background-size: 400%;
    z-index: -1;
    animation: borderMove 5s linear infinite;
}

@keyframes borderMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Button color backgrounds */
.btn-android {
    background-color: var(--primary);
}

.btn-ios {
    background-color: var(--gold);
}

.popup-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ===== Floating Emojis ===== */
.float {
    position: absolute;
    bottom: 0;
    font-size: 1.5rem;
    opacity: 0.8;
    animation: floatUp 6s linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-250px) rotate(360deg);
        opacity: 0;
    }
}











/* Floating chat button */
.chat-float-btn {
    position: fixed;
    bottom: 65px;
    right: 10px;
    background: var(--gold);
    border: 4px solid var(--primary);
    color: var(--white);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    font-size: 1.5em;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 9999;
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

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

/* Chat popup box */
.chat-popup {
    position: fixed;
    bottom: 120px;
    left: 10px;
    right: 10px;
    width: 94%;
    background: #ebf7e8;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chat-header {
    background: linear-gradient(to bottom, var(--light), var(--dark));
    border-top: 2px solid var(--outline);
    border-right: 1px solid var(--outline);
    color: var(--white);
    padding: 12px;
    text-align: center;
    font-weight: bold;
}

.chat-body {
    height: 280px;
    overflow-y: auto;
    padding: 10px;
    font-size: 14px;
}

.chat-message {
    margin: 6px 0;
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 80%;
    line-height: 1.4;
}

.user-msg {
    background: #e6f0ff;
    align-self: flex-end;
    margin-left: auto;
}

.bot-msg {
    background: #f1f1f1;
    align-self: flex-start;
    margin-right: auto;
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}

.chat-footer input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.chat-footer button {
    margin-left: 8px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}