:root {
    /* UFABET - Gold & Dark Luxury Theme */
    --bg-body: #0d0d0d;
    --bg-card: #1a1815;
    --bg-input: rgba(0, 0, 0, 0.5);
    --gold-gradient: linear-gradient(270deg, rgb(139, 104, 50) 0%, rgb(252, 221, 154) 51.59%, rgb(150, 107, 42) 100%);
    --gold-text: #ECCA77;
    --gold-light: #FCDD9A;
    --gold-border: #ECCA77;
    --gold-border-light: rgba(251, 222, 178, 0.15);
    --gold: #ECCA77;
    --gold-dark: #8B6832;
    --gold-deep: #966B2A;
    --navy: #0d0d0d;
    --navy-light: #1a1815;
    --navy-medium: #121110;
    --navy-dark: #0d0d0d;
    --blue-accent: #90CAF9;
    --blue-light: #BBDEFB;
    --cyan: #90CAF9;
    --cyan-light: #BBDEFB;
    --red: #f44336;
    --red-light: #FF5252;
    --green: #00C200;
    --green-light: #33D633;
    --orange: #ECCA77;
    --orange-light: #FCDD9A;
    --primary: var(--gold-gradient);
    --primary-solid: #ECCA77;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-grey: #CDCDCD;
    --text-light: #F5F5F5;
    --text-dark: #FFFFFF;
    --text-dark-muted: rgba(255, 255, 255, 0.7);
    --background-primary: #0d0d0d;
    --background-navigation: linear-gradient(180deg, rgba(26, 24, 21, 0.98) 0%, rgba(13, 13, 13, 0.98) 100%);
    --card-bg: linear-gradient(0deg, rgba(127, 126, 118, 0.75) -0.04%, rgba(23, 21, 22, 0.75) 0%, rgba(97, 97, 95, 0.75) 97.15%);
    --card-border: rgba(251, 222, 178, 0.3);
    --glass-bg: rgba(26, 24, 21, 0.85);
    --glass-border: rgba(251, 222, 178, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(236, 202, 119, 0.1);
    --modal-background: linear-gradient(180deg, #1a1815 0%, #0d0d0d 100%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--bg-body) !important;
    background-image: url('../images/website/login-backdrop.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    margin: 0 !important;
    font-family: 'Kanit', sans-serif !important;
    font-weight: 300 !important;
    color: var(--text-primary) !important;
    min-height: 100vh;
    padding-top: 55px;
}

a {
    color: var(--text-primary) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--gold-light) !important;
    text-decoration: none !important;
}

.container.main {
    padding-bottom: 120px !important;
}

.text-slider {
    background: var(--navy-light);
    border: none;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    border-radius: 0;
    margin: 0 auto;
    max-width: 576px;
}

.text-slider-icon {
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    font-size: 18px;
    color: var(--gold);
}

.marquee-wrapper {
    overflow: hidden !important;
    width: 100% !important;
}

.marquee-text {
    display: inline-block !important;
    animation: marquee 30s linear infinite !important;
    white-space: nowrap !important;
    color: var(--text-secondary) !important;
    font-weight: 400 !important;
    font-size: 14px;
}

@keyframes marquee {
    0% { transform: translateX(100%) }
    100% { transform: translateX(-100%) }
}

.form-control {
    background: var(--bg-input) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: none !important;
    color: var(--text-light) !important;
    font-weight: 400 !important;
    height: 48px !important;
    padding: 12px 16px !important;
    transition: all var(--transition-fast) !important;
    -webkit-text-fill-color: var(--text-light) !important;
}

.form-control:focus {
    border-color: var(--gold-border) !important;
    box-shadow: 0 0 0 2px rgba(236, 202, 119, 0.2) !important;
    outline: none !important;
    background: rgba(0, 0, 0, 0.6) !important;
}

.form-control:disabled {
    background: rgba(40, 40, 38, 0.95) !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.form-control::placeholder {
    color: rgba(245, 245, 245, 0.15) !important;
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5) inset !important;
    -webkit-text-fill-color: var(--text-light) !important;
    background-color: var(--bg-input) !important;
    caret-color: var(--text-light) !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

.input-group-text {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid var(--glass-border) !important;
    border-left: none !important;
    color: var(--gold-text) !important;
    border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
    padding: 12px 16px !important;
    cursor: pointer;
    font-weight: 500;
    height: 48px !important;
    display: flex;
    align-items: center;
}

.input-group-append {
    display: flex;
}

.input-group .form-control {
    border-radius: var(--radius-md) 0 0 var(--radius-md) !important;
}

.input-group .form-control:disabled {
    background: rgba(40, 40, 38, 0.95) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    cursor: not-allowed !important;
}

.btn {
    border-radius: var(--radius-md) !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    transition: all var(--transition-fast) !important;
    user-select: none !important;
}

.btn-primary {
    background: var(--gold-gradient) !important;
    border: 1px solid var(--gold-border) !important;
    border-radius: 12px !important;
    color: #000 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
    letter-spacing: 0.5px !important;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(212, 184, 150, 0.35) !important;
    filter: brightness(1.05) !important;
}

.btn-primary:focus {
    box-shadow: none !important;
}

.btn-primary:disabled {
    background: rgba(154, 154, 154, 0.2) !important;
    border-color: rgba(154, 154, 154, 0.3) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    text-shadow: none;
}

.btn-primary span {
    color: #000 !important;
}

.btn-primary::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    animation: btnShine 3s ease-in-out infinite !important;
    pointer-events: none !important;
}

@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-outline-light {
    color: #fff !important;
    border: 2px solid var(--card-border) !important;
    background: linear-gradient(145deg, #1a1815 0%, #121110 100%) !important;
}

.btn-outline-light:hover {
    background: linear-gradient(145deg, #252320 0%, #1a1815 100%) !important;
    border-color: var(--gold-text) !important;
}

.btn-lg {
    font-size: 16px !important;
    padding: 14px 28px !important;
}

hr {
    border: 0 !important;
    border-top: 1px solid var(--glass-border) !important;
    margin: 1.5rem 0 !important;
    opacity: 1 !important;
}

.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 55px;
    padding: 4px 12px;
    background: linear-gradient(180deg, rgb(79, 79, 79) 0%, rgb(31, 31, 31) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin: 0;
    width: 100%;
    border-radius: 0;
    border-bottom: none;
}

.top-navbar .navbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.top-navbar .x-hamburger-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    flex: 0 0 auto;
}
.top-navbar .x-hamburger {
    position: relative;
    width: 25px;
    height: 24px;
    margin-right: 8px;
    margin-top: 4px;
    padding: 0;
    z-index: 3;
    border: none;
    background: transparent;
    cursor: pointer;
}
.top-navbar .x-hamburger span {
    display: block;
    position: absolute;
    left: 0;
    width: 70%;
    height: 3px;
    background: #d9ad70;
    border-radius: 9px;
    opacity: 1;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
    transform-origin: left center;
}
.top-navbar .x-hamburger span:nth-child(1) {
    top: 0;
}
.top-navbar .x-hamburger span:nth-child(2) {
    top: 9px;
    animation: x-hamburger-wave 0.4s ease-out 0.3s infinite alternate;
}
.top-navbar .x-hamburger span:nth-child(3) {
    top: 18px;
    animation: x-hamburger-wave 0.4s ease-out 0.6s infinite alternate;
}
@keyframes x-hamburger-wave {
    0% { width: 70%; }
    100% { width: 100%; }
}
@media (max-width: 575.98px) {
    .top-navbar .x-hamburger {
        width: 20px;
        margin-right: 5px;
    }
    .top-navbar .x-hamburger span:nth-child(2) {
        top: 8px;
    }
    .top-navbar .x-hamburger span:nth-child(3) {
        top: 16px;
    }
}
.top-navbar .navbar-logo {
    position: relative;
    height: 40px;
    width: 96px;
    flex-shrink: 0;
    display: block;
}
.top-navbar .navbar-logo img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.top-navbar .navbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
}

.top-navbar .navbar-balance-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    min-width: 0;
}
.top-navbar .navbar-username {
    max-width: 100px;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.top-navbar .navbar-balance-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #1f2937 0%, #111827 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}
.top-navbar .navbar-balance-info {
    display: flex;
    align-items: center;
    gap: 4px;
}
.top-navbar .navbar-balance-coin {
    color: #ECCA77;
    font-size: 14px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}
.top-navbar .navbar-balance-amount {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.top-navbar .navbar-refresh-btn {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
}
.top-navbar .navbar-refresh-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}
.top-navbar .navbar-refresh-btn:disabled {
    opacity: 0.5;
}
.top-navbar .navbar-refresh-btn svg.spin {
    animation: navbar-spin 1s linear infinite;
}
@keyframes navbar-spin {
    to { transform: rotate(360deg); }
}

.top-navbar .navbar-circle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F2B42F;
    color: #000 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.15s ease;
    text-decoration: none;
}
.top-navbar .navbar-circle-btn svg {
    color: #000;
    stroke: #000;
}
.top-navbar .navbar-circle-btn:hover {
    transform: scale(1.05);
    color: #000 !important;
}

.nav-lang {
    display: flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(145deg, #1a1815 0%, #121110 100%);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 6px 10px;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
}

.nav-lang:hover {
    border-color: var(--gold-text);
    background: linear-gradient(145deg, #252320 0%, #1a1815 100%);
}

.nav-lang img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.nav-lang span {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
}

.nav-lang i {
    font-size: 10px;
    color: #fff;
    transition: transform var(--transition-fast);
}

.nav-lang i.rotate {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: linear-gradient(145deg, #1a1815 0%, #121110 100%);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-md);
    min-width: 150px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    overflow: hidden;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-option:hover {
    background: rgba(236, 202, 119, 0.15);
}

.lang-option.active {
    background: rgba(236, 202, 119, 0.2);
}

.lang-option img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-option span {
    flex: 1;
    font-size: 13px;
    color: #fff;
}

.lang-option i {
    font-size: 14px;
    color: var(--gold-text);
}

.nav-rank {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-rank img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nav-profile {
    width: 36px;
    height: 36px;
    background: linear-gradient(145deg, #1a1815 0%, #121110 100%);
    border: 2px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.nav-profile i {
    font-size: 18px;
    color: #fff;
}

.nav-profile:hover {
    background: linear-gradient(145deg, #252320 0%, #1a1815 100%);
    border-color: var(--gold-text);
}

.nav-profile:hover i {
    color: var(--gold-text);
}

.home-banner {
    margin: 0 auto;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    max-width: 576px;
}

.home-swiper {
    border-radius: 0;
}

.home-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.home-pagination {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: auto;
}

.home-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 4px;
}

.home-pagination .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

.home-banner .swiper-button-prev,
.home-banner .swiper-button-next {
    color: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
}

.home-banner .swiper-button-prev:after,
.home-banner .swiper-button-next:after {
    font-size: 20px;
}

.banner-slider {
    margin-bottom: 16px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.banner-swiper {
    border-radius: var(--radius-xl);
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
}

.banner-pagination {
    position: relative !important;
    margin-top: 12px !important;
    bottom: auto !important;
}

.banner-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.banner-pagination .swiper-pagination-bullet-active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
}

.main-card {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    background: linear-gradient(0deg, rgba(127, 126, 118, 0.75) -0.04%, rgba(23, 21, 22, 0.75) 0%, rgba(97, 97, 95, 0.75) 97.15%);
    border: 1px solid rgba(251, 222, 178, 0.3);
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
    box-shadow: var(--glass-shadow);
}

.main-card .card-body {
    padding: 20px;
}

/* ========== User Section - Professional Layout ========== */
.user-section {
    margin-bottom: 20px;
}

.user-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-wrapper {
    position: relative;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-rank-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    background: var(--navy);
    border-radius: 50%;
    padding: 2px;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-rank-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.user-id {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.logout-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.3);
    border: 1px solid rgba(239, 68, 68, 0.6);
    border-radius: 50%;
    color: #ef4444 !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.5);
    border-color: #ef4444;
    transform: scale(1.05);
}

.logout-btn i {
    font-size: 16px;
}

/* Balance Card */
.balance-card {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(251, 222, 178, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.balance-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.balance-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.balance-amount {
    display: flex;
    align-items: center;
    gap: 4px;
}

.balance-amount .currency {
    font-size: 18px;
    color: var(--gold-text);
    font-weight: 500;
}

.balance-amount .amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold-text);
    letter-spacing: -0.5px;
}

.refresh-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.refresh-btn:hover {
    color: var(--gold-text);
}

.balance-info {
    display: flex;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.balance-info .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.balance-info .info-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.balance-info .info-value {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

/* Referral Link Card */
.referral-card {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(251, 222, 178, 0.3);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.referral-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.referral-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(236, 202, 119, 0.2), rgba(139, 104, 50, 0.2));
    border: 1px solid rgba(236, 202, 119, 0.3);
    border-radius: 10px;
    color: var(--gold-text);
    font-size: 18px;
}

.referral-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.referral-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.referral-url {
    font-size: 12px;
    color: var(--gold-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.referral-copy-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--gold-text);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.referral-copy-btn:hover,
.referral-copy-btn:active {
    color: var(--gold-light);
    transform: scale(1.1);
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(251, 222, 178, 0.3);
    border-radius: 10px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
}

.stat-item i {
    font-size: 20px;
    color: var(--gold-text);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.stat-value,
a.stat-item .stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-text) !important;
}

/* ========== Main Action Buttons (2 columns) ========== */
.main-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.main-action-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    transition: all 0.2s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.main-action-btn.play {
    background: linear-gradient(270deg, rgb(139, 104, 50) 0%, rgb(252, 221, 154) 51.59%, rgb(150, 107, 42) 100%);
    border: 1px solid rgba(251, 222, 178, 0.5);
    box-shadow: 0 4px 15px rgba(236, 202, 119, 0.3);
    color: #1a1815;
}

.main-action-btn.deposit {
    background: linear-gradient(270deg, rgb(90, 90, 95) 0%, rgb(200, 200, 205) 51.59%, rgb(140, 140, 150) 100%);
    border: 1px solid rgba(180, 180, 190, 0.5);
    box-shadow: 0 4px 15px rgba(120, 120, 130, 0.4);
    color: #1a1815;
}

.main-action-btn.deposit:active {
    transform: scale(0.98);
}

.main-action-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.main-action-btn.play:hover {
    box-shadow: 0 6px 20px rgba(236, 202, 119, 0.5);
}

.main-action-btn.deposit:hover {
    box-shadow: 0 6px 20px rgba(180, 180, 190, 0.6);
}

.main-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: btnShine 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.main-action-btn span {
    position: relative;
    z-index: 2;
    text-shadow: none;
    color: #1a1815;
    font-weight: 500;
}

.main-action-btn.deposit span {
    color: #1a1815;
    text-shadow: none;
    font-weight: 500;
}

.btn-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #ff0000;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 3;
    animation: badgePulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ========== Quick Menu (3 columns) ========== */
.quick-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.quick-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(251, 222, 178, 0.3);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-menu-item:hover {
    background: rgba(0, 0, 0, 0.75);
    border-color: rgba(251, 222, 178, 0.5);
    transform: translateY(-2px);
}

.quick-menu-item i {
    font-size: 22px;
    color: var(--gold-text);
}

.quick-menu-item span {
    font-size: 11px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

/* ========== Quick Menu - Highlight Item ========== */
.quick-menu-item.highlight {
    background: linear-gradient(135deg, rgba(232, 167, 53, 0.25) 0%, rgba(255, 200, 80, 0.15) 50%, rgba(232, 167, 53, 0.25) 100%);
    border-color: rgba(232, 167, 53, 0.7);
    position: relative;
    overflow: hidden;
}

.quick-menu-item.highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
    animation: highlightShine 3s ease-in-out infinite;
}

.quick-menu-item.highlight i {
    font-size: 24px;
    filter: drop-shadow(0 0 6px rgba(232, 167, 53, 0.6));
}

.quick-menu-item.highlight span {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.quick-menu-item.highlight:hover {
    background: linear-gradient(135deg, rgba(232, 167, 53, 0.35) 0%, rgba(255, 200, 80, 0.25) 50%, rgba(232, 167, 53, 0.35) 100%);
    border-color: rgba(232, 167, 53, 0.9);
}

@keyframes highlightShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    30%, 100% { transform: translateX(100%) rotate(45deg); }
}

/* ========== Withdraw Feed ========== */
.withdraw-feed-card {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    background: linear-gradient(0deg, rgba(127, 126, 118, 0.75) -0.04%, rgba(23, 21, 22, 0.75) 0%, rgba(97, 97, 95, 0.75) 97.15%);
    border: 1px solid rgba(251, 222, 178, 0.3);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
}

.withdraw-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.withdraw-feed-title h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.withdraw-feed-title span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.withdraw-feed-live {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.4);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #f44336;
    letter-spacing: 1px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #f44336;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.withdraw-feed-list {
    max-height: 280px;
    overflow: hidden;
}

.withdraw-feed-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: linear-gradient(145deg, #1a1815 0%, #121110 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 8px;
}

.withdraw-feed-item:last-child {
    margin-bottom: 0;
}

.wf-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(236, 202, 119, 0.2), rgba(236, 202, 119, 0.05));
    border: 1px solid rgba(236, 202, 119, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a94b;
    font-size: 16px;
    overflow: hidden;
}

.wf-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wf-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wf-name {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

.wf-bank {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.wf-amount-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.wf-amount {
    font-size: 14px;
    font-weight: 600;
    color: #4CAF50;
}

.wf-time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.wf-status {
    color: #4CAF50;
    font-size: 20px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.wf-status.is-pending {
    color: #FFA726;
}

.wf-spin {
    animation: wfSpin 0.8s linear infinite;
}

@keyframes wfSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.withdraw-slide-enter-active {
    transition: all 0.5s ease;
}
.withdraw-slide-leave-active {
    transition: all 0.3s ease;
}
.withdraw-slide-enter {
    opacity: 0;
    transform: translateY(-20px);
}
.withdraw-slide-leave-to {
    opacity: 0;
    transform: translateX(30px);
}
.withdraw-slide-move {
    transition: transform 0.4s ease;
}

/* Legacy Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.action-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    transition: all 0.2s ease;
    overflow: hidden;
}

.action-btn.play {
    background: linear-gradient(270deg, rgb(139, 104, 50) 0%, rgb(252, 221, 154) 51.59%, rgb(150, 107, 42) 100%);
    border: 1px solid #ECCA77;
    box-shadow: none;
}

.action-btn.deposit {
    background: linear-gradient(180deg, #00C200 0%, #00A84D 45%, #008B40 50%, #004D24 100%);
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.4);
}

.action-btn.withdraw {
    background: linear-gradient(180deg, #E53935 0%, #C62828 45%, #B71C1C 50%, #7F1212 100%);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4);
}

.action-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.action-btn span {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Legacy support */
.user-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.user-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-card-right {
    text-align: right;
}

.credit-display {
    display: flex;
    align-items: center;
    gap: 6px;
}

.credit-label {
    font-size: 12px;
    color: var(--text-muted);
}

.credit-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
}

.credit-refresh {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
}

.credit-refresh:hover {
    color: var(--gold);
}

.turnover-display {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.user-bonus-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--glass-border);
    margin-bottom: 16px;
}

.bonus-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.bonus-item i {
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 2px;
}

.bonus-label {
    font-size: 11px;
    color: var(--text-muted);
}

.bonus-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--gold);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ph-spin {
    animation: spin 1s linear infinite;
}

.menu-grid-2col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.menu-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
    gap: 8px;
}

.menu-grid-item:hover {
    background: rgba(236, 202, 119, 0.1);
    border-color: var(--gold-text);
    transform: translateY(-2px);
}

.menu-grid-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-grid-icon i {
    font-size: 28px;
}

.menu-grid-item span {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
}

.menu-grid-item.deposit .menu-grid-icon i { color: var(--green); }
.menu-grid-item.withdraw .menu-grid-icon i { color: var(--orange); }
.menu-grid-item.history .menu-grid-icon i { color: var(--cyan); }
.menu-grid-item.promo .menu-grid-icon i { color: var(--gold); }
.menu-grid-item.affiliate .menu-grid-icon i { color: var(--blue-light); }
.menu-grid-item.cashback .menu-grid-icon i { color: var(--red-light); }

.menu-grid-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.menu-grid-featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.menu-grid-bottom {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.menu-play-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
    gap: 8px;
}

.menu-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 202, 119, 0.4);
}

.menu-play-btn i {
    font-size: 48px;
    color: #000;
}

.menu-play-btn span {
    font-size: 14px;
    font-weight: 500;
    color: #000 !important;
}

.menu-grid-ufablaze {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.menu-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
    gap: 6px;
}

.menu-box:hover {
    background: rgba(236, 202, 119, 0.1);
    border-color: var(--gold-text);
    transform: translateY(-2px);
}

.menu-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-box-icon i,
.menu-box-icon iconify-icon {
    font-size: 42px;
    color: var(--gold);
}

.menu-box-icon.deposit i,
.menu-box-icon.deposit iconify-icon {
    color: var(--gold);
}

.menu-box-icon.withdraw i,
.menu-box-icon.withdraw iconify-icon {
    color: var(--gold);
}

.menu-box-icon.play i {
    color: var(--gold);
    animation: playPulse 1.5s ease-in-out infinite;
}

@keyframes playPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Featured Menu Buttons - Play & Deposit */
.menu-box-featured {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: linear-gradient(270deg, rgb(139, 104, 50) 0%, rgb(252, 221, 154) 51.59%, rgb(150, 107, 42) 100%);
    border: 1px solid #ECCA77;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.menu-box-featured:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 24px rgba(236, 202, 119, 0.8);
    filter: brightness(1.1);
}

.menu-box-featured .featured-glow {
    display: none;
}

.menu-box-featured .featured-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.menu-box-featured .featured-icon.play {
    animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    }
}

.menu-box-featured .featured-icon i {
    font-size: 38px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.2);
}

.menu-box-featured .featured-icon.deposit i {
    color: #fff;
}

.menu-box-featured .featured-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.menu-box-featured .featured-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #FF1744 0%, #D50000 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    animation: badgeBounce 1s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(255, 23, 68, 0.5);
    z-index: 2;
}

@keyframes badgeBounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.2) rotate(-5deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    75% {
        transform: scale(1.15) rotate(-3deg);
    }
}

.menu-box-featured .featured-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 2.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Play button glow effect */
.menu-box-featured.play {
    animation: playGlow 2s ease-in-out infinite;
}

@keyframes playGlow {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(236, 202, 119, 0.6),
                    0 0 25px rgba(252, 221, 154, 0.4);
    }
    50% {
        box-shadow: 0 6px 28px rgba(236, 202, 119, 0.8),
                    0 0 45px rgba(252, 221, 154, 0.6);
    }
}

/* Play button particles */
.menu-box-featured.play::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: sparkle 4s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes sparkle {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.menu-box-featured.deposit {
    background: linear-gradient(180deg, #00C200 -4.17%, #00A84D 46.88%, #008B40 48.96%, #004D24 100%);
    box-shadow: 0 4px 16px rgba(0, 200, 83, 0.6);
}

.menu-box-featured.deposit .featured-text {
    color: #fff;
}

.menu-box-featured.deposit:hover {
    box-shadow: 0 6px 24px rgba(0, 200, 83, 0.8);
}


.menu-box-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}

.menu-box-text .th {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.menu-box-text .en {
    font-size: 10px;
    font-weight: 400;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-play-btn {
    display: block;
    position: relative;
    padding: 18px 24px;
    border-radius: var(--radius-lg);
    background: var(--primary);
    overflow: hidden;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.main-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 202, 119, 0.4);
}

.play-btn-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.play-btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.play-btn-content i {
    font-size: 28px;
    color: #000;
}

.play-btn-content span {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.section-title h5 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.section-title span {
    font-size: 12px;
    color: var(--text-muted);
}

.section-nav {
    display: flex;
    gap: 8px;
}

.section-nav .nav-btn {
    width: 32px;
    height: 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.section-nav .nav-btn:hover {
    background: rgba(236, 202, 119, 0.1);
    border-color: var(--gold-text);
    color: var(--gold-text);
}

.promo-card {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    background: linear-gradient(0deg, rgba(127, 126, 118, 0.75) -0.04%, rgba(23, 21, 22, 0.75) 0%, rgba(97, 97, 95, 0.75) 97.15%);
    border: 1px solid rgba(251, 222, 178, 0.3);
    border-radius: var(--radius-xl);
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--glass-shadow);
}

.promo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.promo-card-title h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.promo-card-title span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.promo-card-nav {
    display: flex;
    gap: 8px;
}

.promo-card-nav .nav-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.promo-card-nav .nav-btn:hover {
    background: rgba(236, 202, 119, 0.2);
    border-color: var(--gold-text);
    color: var(--gold-text);
}

.promo-slider-wrapper {
    margin-bottom: 12px;
    overflow: hidden;
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 8px;
    padding-right: 8px;
}

.promo-swiper {
    overflow: visible !important;
    padding-right: 16px;
}

.promo-slide-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.promo-slide-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(236, 202, 119, 0.2);
}

.promo-slide-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.promo-pagination {
    position: relative !important;
    margin-top: 12px !important;
    bottom: auto !important;
    text-align: center;
}

.promo-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 4px;
}

.promo-pagination .swiper-pagination-bullet-active {
    background: var(--gold);
    width: 20px;
    border-radius: 4px;
}

.promo-slide-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.promo-slide-card:hover {
    border-color: var(--gold-text);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(236, 202, 119, 0.2);
}

.promo-slide-card img {
    width: 100%;
    height: auto;
    display: block;
}

.promo-slide-info {
    padding: 12px;
}

.promo-slide-info h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-card {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    background: linear-gradient(0deg, rgba(127, 126, 118, 0.75) -0.04%, rgba(23, 21, 22, 0.75) 0%, rgba(97, 97, 95, 0.75) 97.15%);
    border: 1px solid rgba(251, 222, 178, 0.3);
    border-radius: var(--radius-xl);
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--glass-shadow);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.review-card-title h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.review-card-title span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.review-card-nav {
    display: flex;
    gap: 8px;
}

.review-card-nav .nav-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.review-card-nav .nav-btn:hover {
    background: rgba(236, 202, 119, 0.2);
    border-color: var(--gold-text);
    color: var(--gold-text);
}

.review-slider-wrapper {
    overflow: hidden;
}

.review-swiper {
    overflow: visible !important;
}

.review-slide-item {
    background: linear-gradient(145deg, #1a1815 0%, #121110 100%);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 14px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.review-stars {
    font-size: 14px;
    color: var(--gold-text);
}

.review-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.review-text {
    margin: 0;
    font-size: 13px;
    color: #ddd;
    line-height: 1.5;
}

.review-time {
    font-size: 11px;
    color: #aaa;
}

.review-pagination {
    position: relative !important;
    margin-top: 12px !important;
    bottom: auto !important;
    text-align: center;
}

.review-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 4px;
}

.review-pagination .swiper-pagination-bullet-active {
    background: var(--gold);
    width: 20px;
    border-radius: 4px;
}

.footer-navigation {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: transparent !important;
    border-top: none !important;
    z-index: 1000;
    padding: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    overflow: visible !important;
    --from-color: rgb(79, 79, 79);
    --to-color: rgb(31, 31, 31);
}
.footer-navigation > .container {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}
.footer-navigation > .container > .row,
.footer-navigation > .container > .row > [class*="col-"] {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
    width: 100% !important;
}

.footer-navigation .footer-nav-wrapper {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    height: 64px;
    background: transparent;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}
.footer-navigation .footer-nav-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--from-color) 0%, var(--to-color) 100%);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 64' preserveAspectRatio='none'><path d='M0,0 L160,0 Q166,0 169,8 A40,40 0 0 0 231,8 Q234,0 240,0 L400,0 L400,64 L0,64 Z' fill='%23000'/></svg>") center / 100% 100% no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 64' preserveAspectRatio='none'><path d='M0,0 L160,0 Q166,0 169,8 A40,40 0 0 0 231,8 Q234,0 240,0 L400,0 L400,64 L0,64 Z' fill='%23000'/></svg>") center / 100% 100% no-repeat;
    z-index: 0;
}
.footer-navigation .footer-nav-wrapper > * {
    position: relative;
    z-index: 2;
}

.footer-navigation .nav-item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    color: #FFFFFF !important;
    text-decoration: none;
    padding: 4px 0 0 !important;
}
.footer-navigation .nav-item .icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-navigation .nav-item .icon i {
    color: #FFFFFF !important;
    font-size: 24px;
}
.footer-navigation .nav-item .icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}
.footer-navigation .nav-item .name {
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF !important;
    white-space: nowrap;
}

.footer-navigation .center-game-btn {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    min-width: 0;
    position: relative;
    text-decoration: none;
    color: #FFFFFF !important;
    gap: 0;
    padding-top: 0 !important;
    z-index: 3 !important;
}
.footer-navigation .center-game-btn .center-play-btn {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    outline: none;
    box-shadow: none !important;
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
}
.footer-navigation .center-game-btn .center-play-btn img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}
.footer-navigation .center-game-btn .center-play-btn i {
    font-size: 24px;
    color: #000000;
}
.footer-navigation .center-game-btn .name {
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF !important;
    margin-top: 28px;
    white-space: nowrap;
}
.footer-navigation .center-game-btn:hover .center-play-btn {
    transform: translateX(-50%) translateY(-2px);
}

@media (min-width: 768px) {
    .footer-navigation {
        left: 50% !important;
        right: auto !important;
        width: 460px !important;
        transform: translateX(-50%);
    }
}

.card {
    backdrop-filter: blur(7px) !important;
    -webkit-backdrop-filter: blur(7px) !important;
    background: linear-gradient(0deg, rgba(127, 126, 118, 0.75) -0.04%, rgba(23, 21, 22, 0.75) 0%, rgba(97, 97, 95, 0.75) 97.15%) !important;
    border: 1px solid rgba(251, 222, 178, 0.3) !important;
    border-radius: 10px !important;
    box-shadow: var(--glass-shadow) !important;
}

.card-body {
    padding: 20px !important;
}

.card-body, .card-body * {
    color: #fff;
}

.card-body .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.card-body a {
    color: var(--gold-text) !important;
}

/* Card form styling - like login page */
.card-body .form-label {
    font-size: 12px;
    color: var(--gold-text);
    margin-bottom: 6px;
    display: block;
    font-weight: 400;
}

.card-body .form-control {
    background: rgba(0, 0, 0, 0.5) !important;
    border: none !important;
    border-radius: 12px !important;
    color: var(--text-light) !important;
    height: 48px;
    font-size: 12px;
    -webkit-text-fill-color: var(--text-light) !important;
}

.card-body .form-control:-webkit-autofill,
.card-body .form-control:-webkit-autofill:hover,
.card-body .form-control:-webkit-autofill:focus,
.card-body .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5) inset !important;
    -webkit-text-fill-color: var(--text-light) !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    caret-color: var(--text-light) !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

.card-body .form-control:focus {
    box-shadow: none !important;
    background: rgba(0, 0, 0, 0.6) !important;
}

.card-body .form-control::placeholder {
    color: rgba(245, 245, 245, 0.5) !important;
}

.card-body .input-icon-group {
    position: relative;
    background: transparent !important;
}

.card-body .input-icon-group .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-text);
    font-size: 18px;
    opacity: 0.8;
}

.card-body .input-icon-group .form-control {
    padding-left: 50px !important;
}

.card-body .input-group .input-icon-group .form-control {
    padding-left: 50px !important;
    border-radius: 12px 0 0 12px !important;
}

.card-body .input-group-text.password-toggle {
    background: rgba(0, 0, 0, 0.5) !important;
    border: none !important;
    border-radius: 0 12px 12px 0 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 16px !important;
}

.card-body .input-group-text.password-toggle i {
    color: var(--gold-text) !important;
    font-size: 16px !important;
    opacity: 0.7 !important;
}

.card-body .input-group-text.password-toggle:hover {
    background: rgba(26, 24, 21, 0.8) !important;
}

.card-body .input-group-text.password-toggle:hover i {
    opacity: 1 !important;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.section-header i {
    font-size: 24px;
    color: var(--gold-text);
}

.section-header span {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.settings-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.settings-item:hover {
    background: rgba(236, 202, 119, 0.1);
    border-color: var(--gold-text);
    transform: translateX(4px);
}

.settings-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
}

.settings-icon i {
    font-size: 22px;
    color: var(--text-primary);
}

.settings-icon.pink { background: rgba(239, 68, 68, 0.15); }
.settings-icon.pink i { color: var(--red-light); }
.settings-icon.purple { background: rgba(139, 92, 246, 0.15); }
.settings-icon.purple i { color: #A78BFA; }
.settings-icon.blue { background: rgba(59, 130, 246, 0.15); }
.settings-icon.blue i { color: var(--blue-light); }
.settings-icon.yellow { background: rgba(255, 86, 2, 0.15); }
.settings-icon.yellow i { color: var(--gold); }
.settings-icon.green { background: rgba(16, 185, 129, 0.15); }
.settings-icon.green i { color: var(--green); }
.settings-icon.red { background: rgba(239, 68, 68, 0.15); }
.settings-icon.red i { color: var(--red); }

.settings-content {
    flex: 1;
}

.settings-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.settings-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.settings-arrow {
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.settings-arrow i {
    font-size: 18px;
}

.settings-item:hover .settings-arrow {
    color: var(--gold);
    transform: translateX(4px);
}

/* Setting Page - Clean Design */
.setting-page {
    padding: 8px 0;
}

.setting-group {
    margin-bottom: 24px;
}

.setting-group:last-child {
    margin-bottom: 0;
}

.setting-group-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 4px;
    margin-bottom: 8px;
}

.setting-list {
    background: linear-gradient(145deg, #1a1815 0%, #0d0d0d 100%);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.setting-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(236, 202, 119, 0.15);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.setting-item:active {
    background: rgba(255, 255, 255, 0.05);
}

.setting-item > i:first-child {
    font-size: 20px;
    width: 24px;
    color: var(--text-secondary);
    margin-right: 12px;
    flex-shrink: 0;
}

.setting-item > span {
    flex: 1;
    font-size: 15px;
    font-weight: 400;
}

.setting-chevron {
    font-size: 16px;
    color: var(--text-muted);
    margin-left: auto;
}

.setting-item.logout {
    color: var(--red);
}

.setting-item.logout > i:first-child {
    color: var(--red);
}

/* Avatar Selection */
.avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.avatar-current {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    border: 3px solid var(--gold);
}

.avatar-current img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-selection {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.avatar-option {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.avatar-option:hover {
    opacity: 0.9;
}

.avatar-option.active {
    border-color: var(--gold);
    opacity: 1;
}

.avatar-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.promotion-card {
    background: linear-gradient(145deg, #1a1815 0%, #0d0d0d 100%);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-fast);
    width: 100%;
}

.promotion-card:hover {
    border-color: var(--gold-text);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(236, 202, 119, 0.3);
}

.promotion-card img {
    width: 100%;
    height: auto;
    display: block;
}

.promotion-content {
    padding: 16px;
}

.promotion-content h6 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.promotion-content small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    display: block;
    margin-bottom: 14px;
    white-space: pre-line;
    word-break: break-word;
}

.promotion-content small.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-line;
}

.promotion-content .btn-read-more {
    background: none;
    border: none;
    color: var(--gold-text);
    font-size: 13px;
    padding: 0;
    margin-bottom: 14px;
    cursor: pointer;
    display: block;
}

.promotion-content .btn-read-more:hover {
    text-decoration: underline;
}

.promotion-content small:empty {
    display: none;
}

.history-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.history-tabs::-webkit-scrollbar {
    height: 4px;
}

.tab-btn,
.history-tabs .tab-btn,
.history-tabs button.tab-btn,
button.tab-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(0deg, rgba(60, 60, 55, 0.85) -0.04%, rgba(15, 15, 14, 0.9) 0%, rgba(45, 45, 42, 0.85) 97.15%) !important;
    backdrop-filter: blur(7px) !important;
    -webkit-backdrop-filter: blur(7px) !important;
    border: 2px solid var(--card-border) !important;
    border-radius: var(--radius-md) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover,
.history-tabs .tab-btn:hover,
.history-tabs button.tab-btn:hover,
button.tab-btn:hover {
    background: linear-gradient(0deg, rgba(80, 80, 75, 0.9) -0.04%, rgba(30, 30, 28, 0.95) 0%, rgba(65, 65, 62, 0.9) 97.15%) !important;
    border-color: var(--gold-text) !important;
    color: #fff !important;
}

.tab-btn.active,
.history-tabs .tab-btn.active,
.history-tabs button.tab-btn.active,
button.tab-btn.active {
    background: linear-gradient(180deg, rgba(60, 60, 55, 0.95) 0%, rgba(35, 35, 32, 0.98) 50%, rgba(25, 25, 22, 1) 100%) !important;
    border: 2px solid #D4B86A !important;
    color: #D4B86A !important;
    font-weight: 600;
}

.tab-btn i {
    font-size: 16px;
}

.date-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.table-responsive {
    border-radius: var(--radius-lg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-cs {
    background: linear-gradient(0deg, rgba(60, 60, 55, 0.85) -0.04%, rgba(15, 15, 14, 0.9) 0%, rgba(45, 45, 42, 0.85) 97.15%) !important;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-lg) !important;
    min-width: 500px !important;
    text-align: center !important;
    overflow: hidden;
}

.table-cs thead {
    background: linear-gradient(0deg, rgba(80, 80, 75, 0.9) -0.04%, rgba(30, 30, 28, 0.95) 0%, rgba(65, 65, 62, 0.9) 97.15%);
}

.table-cs tr {
    border-top: none !important;
}

.table-cs td {
    border-top: 1px solid var(--glass-border);
    white-space: nowrap !important;
    font-size: 13px !important;
    padding: 12px 10px !important;
    color: var(--text-primary);
}

.table-cs td.no {
    border-top: none !important;
    color: var(--gold);
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
}

.pagination-controls button {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pagination-controls button:hover:not(:disabled) {
    background: rgba(236, 202, 119, 0.1);
    border-color: var(--gold-text);
}

.pagination-controls button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-info {
    color: var(--text-muted);
    font-size: 13px;
}

.record-count {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.alert {
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    border: none;
}

.alert-warning {
    background: rgba(236, 202, 119, 0.12);
    border: 1px solid rgba(236, 202, 119, 0.25);
    color: var(--gold-light);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: var(--red-light);
}

.alert-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
}

.alert-icon {
    flex-shrink: 0;
}

.alert-icon i {
    font-size: 28px;
}

.alert-text h6 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 500;
}

.alert-text p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

.alert-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}

.withdraw-info-card {
    background: linear-gradient(145deg, #1a1815 0%, #0d0d0d 100%);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 16px;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 13px;
}

.info-header i {
    font-size: 16px;
    color: var(--gold);
}

.turnover-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: rgba(236, 202, 119, 0.08);
    border: 1px solid rgba(236, 202, 119, 0.2);
    border-radius: var(--radius-md);
}

.turnover-label {
    font-size: 13px;
    color: var(--text-primary);
}

.turnover-type {
    color: var(--gold);
    margin-left: 6px;
}

.turnover-values {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.turnover-values .current {
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
}

.turnover-values .separator {
    color: var(--text-muted);
}

.turnover-values .required {
    font-size: 13px;
    color: var(--text-muted);
}

.withdraw-form {
    margin-top: 16px;
}

.withdraw-form .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 14px;
}

.withdraw-form .form-label i {
    font-size: 16px;
    color: var(--gold);
}

.amount-limits {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.amount-limits span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.amount-limits i {
    font-size: 12px;
}

.btn i {
    margin-right: 6px;
}

.loading-state {
    text-align: center;
    padding: 50px 20px;
}

.loading-state i {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 14px;
}

.loading-state p {
    color: var(--text-muted);
    margin: 0;
}

.no-data-message {
    text-align: center;
    padding: 50px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
}

.no-data-message i {
    font-size: 40px;
    margin-bottom: 14px;
    opacity: 0.5;
    color: var(--gold);
}

.no-data-message p {
    margin: 0;
    font-size: 14px;
}

.badge {
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 500;
}

.badge.bg-success {
    background: var(--green) !important;
}

.badge.bg-warning {
    background: var(--gold) !important;
    color: #000 !important;
}

.badge.bg-danger {
    background: var(--red) !important;
}

.badge.bg-primary {
    background: var(--primary) !important;
    color: #000 !important;
}

.text-success {
    color: var(--green) !important;
}

.text-danger {
    color: var(--red) !important;
}

.text-warning {
    color: var(--gold) !important;
}

.text-info {
    color: var(--cyan) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.modal-content {
    background: linear-gradient(145deg, #1a1815 0%, #0d0d0d 100%) !important;
    border: 2px solid var(--card-border) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}

.modal-header {
    border-bottom: 1px solid var(--glass-border) !important;
    padding: 16px 20px !important;
    background: linear-gradient(180deg, rgba(236, 202, 119, 0.08) 0%, transparent 100%);
}

.modal-body {
    padding: 20px !important;
}

.modal-body p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.modal-footer {
    border-top: 1px solid var(--glass-border) !important;
    padding: 14px 20px !important;
    background: linear-gradient(0deg, rgba(236, 202, 119, 0.05) 0%, transparent 100%);
}

.modal-title {
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
}

.modal-title i {
    color: var(--gold-text);
}

.modal .btn-close {
    filter: invert(1) brightness(0.8);
    opacity: 0.7;
    transition: all 0.2s ease;
}

.modal .btn-close:hover {
    opacity: 1;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px);
}

/* Modal Update Data Form */
#modalUpdateData .form-control {
    background: linear-gradient(145deg, #252320 0%, #1a1815 100%) !important;
    border: 2px solid var(--card-border) !important;
    color: #fff !important;
}

#modalUpdateData .form-control:focus {
    border-color: var(--gold-text) !important;
    box-shadow: 0 0 0 3px rgba(236, 202, 119, 0.2) !important;
    background: linear-gradient(145deg, #2a2825 0%, #1f1d1a 100%) !important;
}

#modalUpdateData .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

#modalUpdateData select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
}

#modalUpdateData select.form-control option {
    background: #1a1815;
    color: #fff;
}

#modalUpdateData .form-label {
    color: #fff;
    font-weight: 500;
}

#modalUpdateData .btn-secondary {
    background: linear-gradient(145deg, #252320 0%, #1a1815 100%) !important;
    border: 2px solid var(--card-border) !important;
    color: #fff !important;
}

#modalUpdateData .btn-secondary:hover {
    background: linear-gradient(145deg, #2a2825 0%, #1f1d1a 100%) !important;
    border-color: rgba(236, 202, 119, 0.5) !important;
}

#modalUpdateData .btn-primary {
    background: linear-gradient(270deg, rgb(139, 104, 50) 0%, rgb(252, 221, 154) 51.59%, rgb(150, 107, 42) 100%) !important;
    border: 1px solid #ECCA77 !important;
    color: #000 !important;
    font-weight: 600;
}

#modalUpdateData .btn-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 6px 25px rgba(212, 184, 150, 0.35);
}

/* Popup Modal Checkbox */
#popupModal .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

#popupModal .form-check-input {
    width: 18px;
    height: 18px;
    background: var(--glass-bg);
    border: 1px solid var(--gold);
    border-radius: 4px;
    cursor: pointer;
}

#popupModal .form-check-input:checked {
    background: var(--gold);
    border-color: var(--gold);
}

#popupModal .form-check-label {
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
}

/* Popup Modal Button */
#popupModal .btn-primary {
    background: linear-gradient(270deg, rgb(139, 104, 50) 0%, rgb(252, 221, 154) 51.59%, rgb(150, 107, 42) 100%) !important;
    border: 1px solid #ECCA77 !important;
    color: #000 !important;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: var(--radius-md);
    box-shadow: none;
    text-shadow: none;
    transition: all 0.2s ease;
}

#popupModal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 184, 150, 0.35);
    filter: brightness(1.05);
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--gold-text);
    background: rgba(236, 202, 119, 0.1);
}

.close {
    color: var(--text-primary);
    opacity: 0.7;
    font-size: 22px;
}

.close:hover {
    color: var(--gold);
    opacity: 1;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.form-label i {
    margin-right: 6px;
    color: var(--gold);
}

.input-icon-group {
    position: relative;
}

.input-icon-group .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-text);
    font-size: 16px;
    z-index: 5;
}

.input-icon-group .form-control {
    padding-left: 48px !important;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px !important;
    background-color: #fff !important;
}

select.form-control option {
    background: #fff;
    color: #333;
    padding: 12px;
}

input[type='date'] {
    color: var(--text-light) !important;
    background: var(--bg-input) !important;
    border: 1px solid var(--glass-border) !important;
}

input[type='date']::-webkit-datetime-edit-text,
input[type='date']::-webkit-datetime-edit-month-field,
input[type='date']::-webkit-datetime-edit-day-field,
input[type='date']::-webkit-datetime-edit-year-field {
    color: var(--text-light) !important;
}

input[type='date']::-webkit-calendar-picker-indicator {
    filter: invert(85%) sepia(20%) saturate(500%) hue-rotate(5deg) brightness(95%);
    cursor: pointer;
    opacity: 0.8;
}

input[type='date']::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    filter: invert(85%) sepia(30%) saturate(700%) hue-rotate(5deg) brightness(100%);
}

input[type='date']::placeholder {
    color: rgba(245, 245, 245, 0.5) !important;
}

.swal2-modal, .swal2-popup, .swal2-show {
    background: linear-gradient(145deg, #1a1815 0%, #0d0d0d 100%) !important;
    border: 2px solid var(--card-border) !important;
    border-radius: var(--radius-xl) !important;
    padding: 24px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}

.swal2-title {
    color: #fff !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 500 !important;
}

.swal2-confirm {
    padding: 12px 24px !important;
    border-radius: var(--radius-md) !important;
    background: linear-gradient(270deg, rgb(139, 104, 50) 0%, rgb(252, 221, 154) 51.59%, rgb(150, 107, 42) 100%) !important;
    border: 1px solid #ECCA77 !important;
    color: #000 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.swal2-confirm:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(236, 202, 119, 0.7) !important;
    filter: brightness(1.1) !important;
}

.swal2-cancel {
    padding: 12px 24px !important;
    border-radius: var(--radius-md) !important;
    background: linear-gradient(145deg, #252320 0%, #1a1815 100%) !important;
    border: 2px solid var(--card-border) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

div:where(.swal2-container) div:where(.swal2-popup) {
    width: 26em !important;
}

div:where(.swal2-container) div:where(.swal2-html-container) {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0 !important;
    margin-top: 10px !important;
    margin-bottom: 16px !important;
    font-size: 14px !important;
}

div:where(.swal2-container) div:where(.swal2-actions) {
    margin: 0 !important;
}

/* SweetAlert2 Close Button */
.swal2-close {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 28px !important;
    transition: all 0.2s ease !important;
}

.swal2-close:hover {
    color: var(--gold-text) !important;
    transform: rotate(90deg) !important;
}

.swal2-close:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Wheel Spin Images - styles moved to superwheel.css */

/* SweetAlert2 Form Elements */
.swal2-popup .form-control,
.swal2-popup select.form-control,
.swal2-popup input.form-control {
    background: rgba(30, 28, 26, 0.95) !important;
    border: 2px solid rgba(251, 222, 178, 0.3) !important;
    border-radius: var(--radius-md) !important;
    color: #fff !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
}

.swal2-popup .form-control:focus,
.swal2-popup select.form-control:focus,
.swal2-popup input.form-control:focus {
    border-color: var(--gold-text) !important;
    box-shadow: 0 0 0 3px rgba(236, 202, 119, 0.15) !important;
    outline: none !important;
}

.swal2-popup select.form-control {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ECCA77' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 40px !important;
    cursor: pointer !important;
}

.swal2-popup select.form-control option {
    background: #1a1815 !important;
    color: #fff !important;
    padding: 12px !important;
}

.swal2-popup .form-label {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.swal2-popup .form-group {
    margin-bottom: 16px !important;
}

.swal2-popup .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* SweetAlert2 Icons */
.swal2-icon.swal2-success {
    border-color: #4CAF50 !important;
    color: #4CAF50 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(76, 175, 80, 0.3) !important;
}

.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #4CAF50 !important;
}

.swal2-icon.swal2-error {
    border-color: #f44336 !important;
    color: #f44336 !important;
}

.swal2-icon.swal2-error .swal2-x-mark-line-left,
.swal2-icon.swal2-error .swal2-x-mark-line-right {
    background-color: #f44336 !important;
}

.swal2-icon.swal2-warning {
    border-color: var(--gold-text) !important;
    color: var(--gold-text) !important;
}

.swal2-icon.swal2-info {
    border-color: var(--gold-text) !important;
    color: var(--gold-text) !important;
}

.swal2-icon.swal2-question {
    border-color: var(--gold-text) !important;
    color: var(--gold-text) !important;
}

/* SweetAlert2 Input */
.swal2-input,
.swal2-textarea,
.swal2-select {
    background: rgba(26, 24, 21, 0.95) !important;
    border: 2px solid var(--card-border) !important;
    border-radius: var(--radius-md) !important;
    color: #fff !important;
    padding: 12px 16px !important;
}

.swal2-input:focus,
.swal2-textarea:focus,
.swal2-select:focus {
    border-color: var(--gold-text) !important;
    box-shadow: 0 0 0 3px rgba(236, 202, 119, 0.2) !important;
    outline: none !important;
}

.swal2-input::placeholder,
.swal2-textarea::placeholder {
    color: rgba(0, 0, 0, 0.4) !important;
}

/* SweetAlert2 Validation Message */
.swal2-validation-message {
    background: rgba(244, 67, 54, 0.1) !important;
    color: #f44336 !important;
    border: none !important;
}

/* SweetAlert2 Footer */
.swal2-footer {
    border-top: 1px solid var(--glass-border) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.swal2-footer a {
    color: var(--gold-text) !important;
}

/* SweetAlert2 Timer Progress */
.swal2-timer-progress-bar {
    background: linear-gradient(90deg, #ECCA77 0%, #FCDD9A 100%) !important;
}

/* SweetAlert2 Backdrop */
.swal2-container {
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px) !important;
}

/* SweetAlert2 Deny Button */
.swal2-deny {
    padding: 12px 24px !important;
    border-radius: var(--radius-md) !important;
    background: linear-gradient(180deg, #E53935 0%, #C62828 45%, #B71C1C 50%, #7F1212 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.5) !important;
}

.ph-spin {
    animation: spin 1s linear infinite;
}


.menu-game {
    width: 100px !important;
    flex-shrink: 0 !important;
}

.menu-game .menu {
    background: linear-gradient(0deg, rgba(60, 60, 55, 0.85) -0.04%, rgba(15, 15, 14, 0.9) 0%, rgba(45, 45, 42, 0.85) 97.15%) !important;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 2px solid var(--card-border);
    width: 90px !important;
    height: 90px !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
    border-radius: var(--radius-lg) !important;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    cursor: pointer !important;
    transition: all var(--transition-fast);
}

.menu-game .menu:hover {
    background: linear-gradient(0deg, rgba(80, 80, 75, 0.9) -0.04%, rgba(30, 30, 28, 0.95) 0%, rgba(65, 65, 62, 0.9) 97.15%) !important;
    border-color: var(--gold-text);
}

.menu-game .menu.active {
    background: linear-gradient(270deg, rgb(139, 104, 50) 0%, rgb(252, 221, 154) 51.59%, rgb(150, 107, 42) 100%) !important;
    border-color: #ECCA77;
    color: #000 !important;
}

.menu-game .menu.active div {
    color: #000 !important;
}

.menu-game .menu .name {
    display: block !important;
    text-align: center !important;
}

.menu-game .menu .name div {
    margin-top: 6px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

.card-game {
    flex: 1 !important;
    width: 35rem !important;
}

.card-game .game {
    background: linear-gradient(0deg, rgba(60, 60, 55, 0.85) -0.04%, rgba(15, 15, 14, 0.9) 0%, rgba(45, 45, 42, 0.85) 97.15%) !important;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 2px solid var(--card-border);
    padding: 12px 8px !important;
    border-radius: var(--radius-lg);
    cursor: pointer !important;
    text-align: center !important;
    transition: all var(--transition-fast);
    position: relative;
}

.card-game .game .hot {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 5;
}

.card-game .game .hot img {
    width: 28px;
    height: auto;
}

.card-game .game:hover {
    background: linear-gradient(0deg, rgba(80, 80, 75, 0.9) -0.04%, rgba(30, 30, 28, 0.95) 0%, rgba(65, 65, 62, 0.9) 97.15%) !important;
    border-color: var(--gold-text);
    transform: translateY(-4px);
}

.card-game .game img {
    background: transparent !important;
    border-radius: var(--radius-md);
}

.game-name-text {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.3;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-game .game:hover .game-name-text {
    color: var(--text-primary);
}

.search-game-box {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(0deg, rgba(60, 60, 55, 0.85) -0.04%, rgba(15, 15, 14, 0.9) 0%, rgba(45, 45, 42, 0.85) 97.15%);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 0 14px;
    transition: all var(--transition-fast);
}

.search-game-box:focus-within {
    border-color: var(--gold-text);
    box-shadow: 0 0 0 3px rgba(236, 202, 119, 0.15);
}

.search-icon {
    color: var(--gold);
    font-size: 18px;
    margin-right: 12px;
}

.search-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    font-size: 14px;
    font-weight: 300;
    padding: 12px 0;
    outline: none !important;
    box-shadow: none !important;
    height: auto !important;
}

.search-input::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

.clear-icon {
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    padding: 6px;
    transition: all var(--transition-fast);
    border-radius: 50%;
}

.clear-icon:hover {
    color: var(--gold-text);
    background: rgba(236, 202, 119, 0.1);
}

.btn-play-game {
    height: 70px !important;
    margin-top: 14px !important;
    width: 100% !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: var(--radius-lg) !important;
    background: var(--primary) !important;
    color: #000 !important;
}

.card-deposit {
    background: linear-gradient(145deg, #1a1815 0%, #0d0d0d 100%);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.card-deposit:hover {
    background: linear-gradient(145deg, #252320 0%, #1a1815 100%);
    border-color: var(--gold-text);
}

.card-deposit.active {
    border-color: var(--gold-text);
    background: linear-gradient(145deg, #252320 0%, #1a1815 100%);
}

.card-deposit .logo {
    margin-right: 14px;
}

.card-deposit .logo img {
    border-radius: var(--radius-md) !important;
    width: 46px;
    height: 46px;
    object-fit: cover;
}

.card-deposit .details {
    flex: 1;
}

.card-deposit .details h6 {
    margin: 0 0 2px 0;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
}

.card-deposit .details small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.card-deposit .arrow i {
    color: var(--text-muted);
    font-size: 14px;
}

.bank-info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 16px;
}

.bank-header {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--glass-border);
}

.bank-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    overflow: hidden;
}

.bank-icon img {
    border-radius: var(--radius-md) !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bank-header h6 {
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
    font-size: 15px;
}

.bank-header small {
    color: var(--text-muted);
    font-size: 12px;
}

.account-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.account-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.account-row .label {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 13px;
}

.account-row .value {
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
    font-size: 13px;
}

.note {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 13px;
    color: var(--blue-light);
    display: flex;
    align-items: center;
}

.note i {
    margin-right: 8px;
}

.upload-area {
    border: 2px dashed var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--glass-bg);
}

.upload-area:hover {
    border-color: var(--gold-text);
    background: rgba(236, 202, 119, 0.05);
}

.upload-content i {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 10px;
}

.upload-content p {
    color: var(--text-primary);
    margin: 10px 0 4px 0;
    font-weight: 500;
    font-size: 14px;
}

.upload-content small {
    color: var(--text-muted);
    font-size: 12px;
}

.rank-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 14px !important;
}

.rank-title {
    color: var(--text-primary) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.current-rank {
    background: var(--primary) !important;
    color: #000 !important;
    padding: 6px 14px !important;
    border-radius: 16px !important;
    font-weight: 500 !important;
    font-size: 12px !important;
}

/* Current Rank Badge Colors */
.current-rank.rank-bronze {
    background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%) !important;
    color: #fff !important;
}

.current-rank.rank-silver {
    background: linear-gradient(135deg, #E8E8E8 0%, #A8A8A8 100%) !important;
    color: #000 !important;
}

.current-rank.rank-gold {
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%) !important;
    color: #000 !important;
}

.current-rank.rank-diamond {
    background: linear-gradient(135deg, #B9F2FF 0%, #87CEEB 100%) !important;
    color: #000 !important;
}

.current-rank.rank-platinum {
    background: linear-gradient(135deg, #E5B8FF 0%, #DDA0DD 100%) !important;
    color: #000 !important;
}

.current-rank.rank-black {
    background: linear-gradient(135deg, #4A4A4A 0%, #2A2A2A 100%) !important;
    color: #fff !important;
}

.rank-progress {
    background: linear-gradient(145deg, #1a1815 0%, #0d0d0d 100%) !important;
    border: 2px solid var(--card-border);
    border-radius: var(--radius-lg) !important;
    padding: 14px !important;
    margin-bottom: 16px !important;
}

.progress-text {
    color: var(--text-primary) !important;
    font-size: 13px !important;
    margin-bottom: 8px !important;
    font-weight: 400 !important;
}

.progress-bar-container {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    height: 8px !important;
    overflow: hidden !important;
}

.progress-bar {
    background: var(--primary) !important;
    height: 100% !important;
    border-radius: 8px !important;
}

.rank-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
}

.rank-item {
    text-align: center !important;
    padding: 14px 8px !important;
    border-radius: var(--radius-lg) !important;
    background: linear-gradient(145deg, #1a1815 0%, #0d0d0d 100%) !important;
    border: 2px solid var(--card-border) !important;
}

.rank-item.current {
    background: linear-gradient(145deg, #252320 0%, #1a1815 100%) !important;
    border: 2px solid var(--gold-text) !important;
}

/* Rank Colors - Current State */
.rank-item.current.rank-bronze {
    border-color: #CD7F32 !important;
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.4) !important;
}

.rank-item.current.rank-silver {
    border-color: #C0C0C0 !important;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.4) !important;
}

.rank-item.current.rank-gold {
    border-color: #FFD700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4) !important;
}

.rank-item.current.rank-diamond {
    border-color: #B9F2FF !important;
    box-shadow: 0 0 15px rgba(185, 242, 255, 0.4) !important;
}

.rank-item.current.rank-platinum {
    border-color: #E5B8FF !important;
    box-shadow: 0 0 15px rgba(229, 184, 255, 0.4) !important;
}

.rank-item.current.rank-black {
    border-color: #4A4A4A !important;
    box-shadow: 0 0 15px rgba(74, 74, 74, 0.4) !important;
}

.rank-icon {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto 10px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.rank-name {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    margin-bottom: 4px !important;
}

.rank-amount {
    color: var(--text-muted) !important;
    font-size: 11px !important;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(236, 202, 119, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(236, 202, 119, 0.5);
}

::selection {
    background: rgba(236, 202, 119, 0.3);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .text-slider {
        padding: 8px 12px !important;
    }

    .marquee-text {
        font-size: 13px !important;
    }

    .menu-grid-top {
        grid-template-columns: repeat(3, 1fr);
    }

    .menu-grid-featured {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .menu-grid-bottom {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }

    .menu-grid-2col {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .menu-grid-item {
        padding: 14px 6px;
    }

    .menu-grid-icon i {
        font-size: 24px;
    }

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

    .menu-grid-ufablaze {
        gap: 8px;
    }

    .menu-box {
        padding: 14px 6px;
    }

    .menu-box-icon i {
        font-size: 32px;
    }

    .menu-box-text .th {
        font-size: 13px;
    }

    .menu-box-text .en {
        font-size: 9px;
    }

    .balance-value {
        font-size: 22px;
    }

    .main-card .card-body {
        padding: 16px;
    }

    .main-play-btn {
        padding: 14px 20px;
    }

    .play-btn-content i {
        font-size: 24px;
    }

    .play-btn-content span {
        font-size: 16px;
    }

    .nav-item .icon i {
        font-size: 20px;
    }

    .nav-item .name {
        font-size: 10px;
    }

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

/* Floating Sidebar */
.floating-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.floating-sidebar.collapsed {
    transform: translateY(-50%) translateX(calc(100% - 24px));
}

.floating-toggle {
    width: 28px;
    height: 28px;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gold-text);
    transition: all var(--transition-fast);
    margin-right: -14px;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.floating-toggle:hover {
    background: #1a1815;
    border-color: var(--gold-text);
    transform: scale(1.1);
}

.floating-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.floating-sidebar.collapsed .floating-toggle i {
    transform: rotate(180deg);
}

.floating-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 10px 0 0 10px;
}

.floating-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background: linear-gradient(0deg, rgba(60, 60, 55, 0.85) -0.04%, rgba(15, 15, 14, 0.9) 0%, rgba(45, 45, 42, 0.85) 97.15%);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    text-decoration: none;
    transition: all var(--transition-fast);
    gap: 4px;
    min-width: 60px;
}

.floating-btn:hover {
    background: linear-gradient(0deg, rgba(80, 80, 75, 0.9) -0.04%, rgba(30, 30, 28, 0.95) 0%, rgba(65, 65, 62, 0.9) 97.15%);
    border-color: var(--gold-text);
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(236, 202, 119, 0.2);
}

.floating-btn.lucky {
    background: linear-gradient(0deg, rgba(60, 60, 55, 0.85) -0.04%, rgba(15, 15, 14, 0.9) 0%, rgba(45, 45, 42, 0.85) 97.15%);
    border: 1px solid var(--card-border);
}

.floating-btn.lucky:hover {
    background: linear-gradient(0deg, rgba(80, 80, 75, 0.9) -0.04%, rgba(30, 30, 28, 0.95) 0%, rgba(65, 65, 62, 0.9) 97.15%);
    border-color: var(--gold-text);
    box-shadow: 0 0 10px rgba(236, 202, 119, 0.2);
}

.floating-btn.contact {
    background: linear-gradient(135deg, rgba(0, 195, 0, 0.95) 0%, rgba(0, 160, 0, 0.95) 100%);
    border-color: rgba(51, 214, 51, 0.5);
}

.floating-btn.contact:hover {
    background: linear-gradient(135deg, rgba(0, 220, 0, 0.95) 0%, rgba(0, 180, 0, 0.95) 100%);
    border-color: #33D633;
}

.floating-btn .floating-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-btn .floating-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.floating-btn .floating-icon i {
    font-size: 22px;
    color: var(--gold-text);
}

.floating-btn.lucky .floating-icon i {
    color: var(--gold-text);
}

.floating-btn.contact .floating-icon {
    width: 24px;
    height: 24px;
    background: #00c853;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-btn.contact .floating-icon i {
    font-size: 16px;
    color: #fff;
}

.floating-btn .floating-text {
    font-size: 10px;
    font-weight: 600;
    color: var(--gold-text);
    white-space: nowrap;
}

.floating-btn.contact .floating-text {
    color: #fff;
}

.floating-btn.lucky .floating-text {
    color: var(--gold-text);
    font-weight: 600;
}

.floating-btn.lucky .floating-icon {
    animation: floatingPulse 2s ease-in-out infinite;
}

.floating-btn.contact .floating-icon i {
    animation: floatingPulse 2s ease-in-out infinite;
}

@keyframes floatingPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .floating-btn {
        padding: 6px 8px;
        min-width: 54px;
    }

    .floating-btn .floating-icon {
        width: 24px;
        height: 24px;
    }

    .floating-btn .floating-icon img {
        width: 24px;
        height: 24px;
    }

    .floating-btn .floating-icon i {
        font-size: 18px;
    }

    .floating-btn.contact .floating-icon {
        width: 22px;
        height: 22px;
    }

    .floating-btn.contact .floating-icon i {
        font-size: 14px;
    }

    .floating-btn .floating-text {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .menu-grid-2col {
        gap: 8px;
    }

    .menu-grid-item {
        padding: 12px 4px;
    }

    .menu-grid-icon {
        width: 38px;
        height: 38px;
    }

    .menu-grid-icon i {
        font-size: 22px;
    }

    .menu-grid-item span {
        font-size: 11px;
    }

    .menu-grid-ufablaze {
        gap: 6px;
    }

    .menu-box {
        padding: 12px 4px;
        gap: 4px;
    }

    .menu-box-icon i {
        font-size: 28px;
    }

    .menu-box-text .th {
        font-size: 12px;
    }

    .menu-box-text .en {
        font-size: 8px;
    }

    .balance-icon {
        width: 42px;
        height: 42px;
    }

    .balance-icon i {
        font-size: 20px;
    }

    .balance-value {
        font-size: 20px;
    }
}

/* Footer Info Section */
.footer-info {
    background: linear-gradient(180deg, #1a1815 0%, #0d0d0d 100%);
    padding: 24px 16px;
    padding-bottom: 100px;
    border-top: 1px solid var(--glass-border);
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.footer-subtitle {
    font-size: 11px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0.9;
}

.provider-grid {
    margin: 0 -4px;
}

.provider-logo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.provider-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.bank-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bank-logos img {
    height: 28px;
    width: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 16px 0;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.footer-col {
    flex: 1;
}

.contact-links {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.contact-icon img {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.contact-icon:hover img {
    transform: scale(1.1);
}

.cert-logo {
    height: 40px;
    margin-top: 8px;
}

.cert-logos {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.cert-logos img {
    height: 32px;
}

.security-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-top: 8px;
}

.security-logos img {
    height: 28px;
}

.footer-copyright {
    text-align: center;
    padding-top: 16px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
}
