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

:root {
    --gold: #ffd700;
    --gold-dark: #e6b800;
    --gold-glow: rgba(255,215,0,0.25);
    --bg-primary: #0a0e27;
    --bg-card: #111639;
    --bg-card-hover: #151d45;
    --bg-input: #0d1333;
    --border-color: #1a2248;
    --text-primary: #e0e0e0;
    --text-muted: #6b7299;
    --text-dim: #3a3f6a;
    --font-main: 'Inter', 'Segoe UI', sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
    --shadow-card: 0 8px 32px rgba(0,0,0,0.3);
    --shadow-gold: 0 4px 24px rgba(255,215,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
}

main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    background-image: radial-gradient(ellipse at 50% 0%, rgba(255,215,0,0.02) 0%, transparent 60%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
    padding-bottom: 70px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== PREMIUM COMPONENTS ===== */
.glass-card {
    background: rgba(17, 22, 57, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glow-gold {
    box-shadow: 0 0 20px var(--gold-glow);
}

.gradient-text {
    background: linear-gradient(135deg, var(--gold), #fff4a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-border {
    border: 1px solid rgba(255, 215, 0, 0.2);
}

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

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 8px var(--gold-glow); }
    50% { box-shadow: 0 0 24px var(--gold-glow); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Header */
.header {
    background: rgba(13, 19, 51, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 30px;
    font-weight: 900;
    color: #ffd700;
    letter-spacing: -0.5px;
    font-family: var(--font-display);
    transition: var(--transition);
    text-shadow: 0 0 8px rgba(255,215,0,0.8), 0 0 20px rgba(255,215,0,0.5), 0 0 40px rgba(255,215,0,0.3), 0 0 80px rgba(255,215,0,0.15);
    -webkit-text-stroke: 1px rgba(255,50,50,0.6);
    paint-order: stroke fill;
}

.logo:hover {
    color: #ffd700;
    opacity: 1;
}

.header-wallet {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    padding: 5px 14px;
    border-radius: 20px;
    transition: var(--transition);
}

.header-wallet:hover {
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 16px var(--gold-glow);
}

.header-wallet .wallet-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
}

.header-wallet .wallet-amount {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.btn-auth {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0e27 !important;
    font-weight: 700;
    padding: 7px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-auth:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--gold-glow);
    color: #0a0e27 !important;
}

.btn-auth:active {
    transform: translateY(0);
}



/* Banner Slider */
.banner-slider {
    position: relative;
    max-width: 1200px;
    margin: 16px auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.banner-slides {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide {
    min-width: 100%;
    position: relative;
}

.banner-slide img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.banner-slider:hover .banner-slide img {
    transform: scale(1.02);
}

.banner-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    background: linear-gradient(transparent, rgba(0,0,0,0.4));
    padding: 20px 0;
}

.banner-text h3 {
    font-size: 28px;
    margin-bottom: 5px;
    font-family: var(--font-display);
    font-weight: 800;
}

.banner-dots {
    text-align: center;
    padding: 10px 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px var(--gold-glow);
}

/* Auth Forms */
.auth-container {
    max-width: 420px;
    margin: 40px auto;
    padding: 32px 28px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--gold);
    font-size: 24px;
    font-family: var(--font-display);
    font-weight: 800;
}

.auth-container .form-group {
    margin-bottom: 18px;
}

.auth-container label {
    display: block;
    margin-bottom: 6px;
    color: #b0b8d4;
    font-weight: 600;
    font-size: 14px;
}

.auth-container input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    background: var(--bg-input);
    color: #fff;
    transition: var(--transition);
}

.auth-container input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.auth-container .btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0e27;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.auth-container .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-glow);
}

.auth-container .btn-submit:active {
    transform: translateY(0);
}

.auth-container .auth-link {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #b0b8d4;
}

.auth-container .auth-link a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-container .auth-link a:hover {
    text-decoration: underline;
}

.auth-container .alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.auth-container .alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.auth-container .alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #51cf66;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

/* Dashboard */
.dashboard {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 16px;
    flex: 1;
}

.dashboard-header {
    background: linear-gradient(135deg, rgba(17, 22, 57, 0.9), rgba(26, 34, 72, 0.9));
    backdrop-filter: blur(10px);
    color: var(--gold);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,215,0,0.04), transparent 60%);
    pointer-events: none;
}

.dashboard-header h2 {
    margin-bottom: 5px;
    font-size: 20px;
    font-family: var(--font-display);
}

.balance-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.balance-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.balance-card .amount {
    font-size: 36px;
    font-weight: 900;
    color: var(--gold);
    margin: 10px 0;
    font-family: var(--font-display);
    text-shadow: 0 0 30px var(--gold-glow);
}

.balance-card .label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.dashboard-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.dash-nav-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 18px 10px;
    text-align: center;
    text-decoration: none;
    color: #b0b8d4;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dash-nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,215,0,0.03));
    opacity: 0;
    transition: var(--transition);
}

.dash-nav-item:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.dash-nav-item:hover::before {
    opacity: 1;
}

.dash-nav-item .icon {
    font-size: 28px;
    margin-bottom: 6px;
    display: block;
}

.dash-nav-item .title {
    font-size: 13px;
    font-weight: 600;
    position: relative;
}

/* Wallet Forms */
.wallet-container {
    max-width: 600px;
    margin: 24px auto;
    padding: 24px;
    background: #111639;
    border-radius: 16px;
    border: 1px solid #1a2248;
}

.wallet-container h2 {
    margin-bottom: 20px;
    color: #ffd700;
    font-size: 20px;
}

.wallet-container .form-group {
    margin-bottom: 18px;
}

.wallet-container label {
    display: block;
    margin-bottom: 6px;
    color: #b0b8d4;
    font-weight: 500;
    font-size: 14px;
}

.wallet-container input, .wallet-container select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #1a2248;
    border-radius: 12px;
    font-size: 15px;
    background: #0d1333;
    color: #fff;
}

.wallet-container input:focus, .wallet-container select:focus {
    outline: none;
    border-color: #ffd700;
}

.wallet-container .btn-submit {
    width: 100%;
    padding: 13px;
    background: #ffd700;
    color: #0a0e27;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
}

.wallet-container .btn-submit:hover {
    transform: scale(1.02);
}

/* Transaction Table */
.table-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border-color);
    overflow-x: auto;
    box-shadow: var(--shadow-card);
}

.table-container h3 {
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 16px;
    font-family: var(--font-display);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}

table th {
    background: var(--bg-input);
    font-weight: 700;
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table td {
    color: #b0b8d4;
}

table tr {
    transition: var(--transition);
}

table tr:hover {
    background: rgba(255, 215, 0, 0.03);
}

table tr:last-child td {
    border-bottom: none;
}

.status-completed {
    color: #51cf66;
    font-weight: 600;
}

.status-pending {
    color: #ffd700;
    font-weight: 600;
}

.status-cancelled {
    color: #ff6b6b;
    font-weight: 600;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 19, 51, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 10px;
    z-index: 1000;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #5a6288;
    padding: 4px 20px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
}

.bottom-nav-item:hover {
    color: var(--gold);
    text-decoration: none;
}

.bottom-nav-item.active {
    color: var(--gold);
}

.bottom-nav-item.active .bottom-nav-icon {
    transform: translateY(-2px) scale(1.1);
    filter: drop-shadow(0 0 6px var(--gold-glow));
}

.bottom-nav-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.bottom-nav-label {
    font-size: 11px;
    font-weight: 600;
    margin-top: 3px;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.bottom-nav-item.active .bottom-nav-label {
    color: var(--gold);
}

/* Footer */
.footer {
    background: rgba(13, 19, 51, 0.8);
    backdrop-filter: blur(10px);
    color: var(--text-muted);
    text-align: center;
    padding: 16px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    padding-bottom: 15px;
}

.footer a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.game-card {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.game-img {
    width: 333px;
    height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    margin: 0 auto;
}

.game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-md);
}

.game-card:hover .game-img img {
    transform: scale(1.08);
}

.game-name {
    text-align: center;
    padding: 8px 4px 6px;
    font-size: 12px;
    font-weight: 600;
    color: #b0b8d4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

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

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

.section-header h2 {
    font-size: 20px;
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 800;
}

.section-header .view-all {
    font-size: 13px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    padding: 6px 18px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    transition: var(--transition);
}

.section-header .view-all:hover {
    background: var(--gold);
    color: #0a0e27;
    border-color: var(--gold);
    box-shadow: 0 4px 16px var(--gold-glow);
}

/* Popular Section */
.popular-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.popular-card {
    display: block;
    overflow: hidden;
    transition: var(--transition);
    border-radius: var(--radius-md);
}

.popular-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.popular-card-inner {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.popular-card img {
    width: 333px;
    height: 450px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popular-card:hover img {
    transform: scale(1.05);
}

.popular-card-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 12px 12px;
    background: linear-gradient(transparent, rgba(10, 14, 39, 0.95));
    color: var(--gold);
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    font-family: var(--font-display);
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    padding: 32px 16px;
}

.welcome-section h2 {
    font-size: 22px;
    color: #ffd700;
    margin-bottom: 10px;
}

.welcome-section p {
    color: #6b7299;
    font-size: 15px;
    margin: 10px 0;
}

.welcome-section .btn-start {
    display: inline-block;
    padding: 12px 32px;
    background: #ffd700;
    color: #0a0e27;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.3s;
    margin-top: 8px;
}

.welcome-section .btn-start:hover {
    transform: scale(1.05);
}

/* Lottery Section */
.lottery-section {
    margin-bottom: 20px;
}

.lottery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.lottery-card {
    display: block;
}

.lottery-card:hover {
    opacity: 0.85;
}

.lottery-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Mobile First */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .header-wallet {
        padding: 4px 10px;
    }

    .header-wallet .wallet-label {
        font-size: 13px;
    }

    .header-wallet .wallet-amount {
        font-size: 12px;
    }

    .btn-auth {
        font-size: 12px;
        padding: 5px 14px;
    }

    .bottom-nav {
        padding: 6px 0 8px;
    }

    .bottom-nav-item {
        padding: 3px 14px;
    }

    .bottom-nav-icon {
        width: 22px;
        height: 22px;
    }

    .bottom-nav-label {
        font-size: 10px;
        margin-top: 2px;
    }

    .banner-slider {
        margin: 12px 12px;
        border-radius: 8px;
    }

    .banner-slide img {
        max-height: 160px;
    }

    .banner-text {
        bottom: 12px;
        left: 12px;
        right: 12px;
    }

    .banner-text h3 {
        font-size: 16px;
    }

    .auth-container {
        margin: 24px 16px;
        padding: 20px;
    }

    .dashboard {
        padding: 0 12px;
        margin: 12px auto;
    }

    .dashboard-header {
        padding: 16px;
    }

    .dashboard-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .wallet-container {
        margin: 16px;
        padding: 20px;
    }

    .game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .game-img {
        height: 120px;
    }

    .popular-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 333 / 450;
    }

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

    .lottery-card img {
        height: 130px;
    }

    .game-img {
        width: 100%;
        height: auto;
        aspect-ratio: 333 / 450;
    }

    .section-header h2 {
        font-size: 17px;
    }

    .welcome-section {
        padding: 24px 12px;
    }

    .welcome-section h2 {
        font-size: 19px;
    }

}

/* Color Prediction Game - Professional */
.cp-game {
    max-width: 480px;
    margin: 0 auto;
    padding: 12px;
}

.cp-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.cp-period, .cp-timer {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    background: #111639;
    border: 1px solid #1a2248;
}

.cp-period-label, .cp-timer-label {
    display: block;
    font-size: 11px;
    color: #6b7299;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.cp-period-number {
    font-size: 16px;
    font-weight: 800;
    color: #ffd700;
    letter-spacing: 1px;
}

.cp-timer-value {
    font-size: 28px;
    font-weight: 800;
    color: #ffd700;
    transition: color 0.3s;
}

.cp-timer-unit {
    font-size: 14px;
    color: #6b7299;
    margin-left: 2px;
    font-weight: 600;
}

.cp-result-strip {
    background: #111639;
    border: 1px solid #1a2248;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.cp-result-strip-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0;
    scrollbar-width: none;
}

.cp-result-strip-inner::-webkit-scrollbar {
    display: none;
}

.cp-history-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #0d1333;
    padding: 4px 8px;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid #1a2248;
}

.cp-history-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.cp-balance-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.cp-balance-item {
    background: #111639;
    border: 1px solid #1a2248;
    border-radius: 10px;
    padding: 10px 6px;
    text-align: center;
}

.cp-balance-icon {
    width: 20px;
    height: 20px;
    display: block;
    margin: 0 auto 4px;
}

.cp-balance-label {
    display: block;
    font-size: 10px;
    color: #6b7299;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.cp-balance-value {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #e0e0e0;
}

.cp-bet-area {
    background: #111639;
    border: 1px solid #1a2248;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.cp-bet-tabs {
    display: flex;
    border-bottom: 1px solid #1a2248;
}

.cp-bet-tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    color: #6b7299;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cp-bet-tab.active {
    color: #ffd700;
    background: rgba(255,215,0,0.05);
    position: relative;
}

.cp-bet-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #ffd700;
    border-radius: 3px 3px 0 0;
}

.cp-bet-tab-icon {
    font-size: 16px;
    font-weight: 800;
}

.cp-bet-content {
    display: none;
    padding: 14px;
}

.cp-bet-content.active {
    display: block;
}

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

.cp-color-btn {
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 16px 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    position: relative;
}

.cp-color-btn:hover {
    transform: translateY(-2px);
}

.cp-color-btn.selected {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255,215,0,0.2);
}

.cp-color-red {
    background: linear-gradient(135deg, rgba(220,53,69,0.25), rgba(220,53,69,0.1));
    border-color: rgba(220,53,69,0.3);
}

.cp-color-red.selected {
    border-color: #dc3545;
    box-shadow: 0 0 20px rgba(220,53,69,0.3);
}

.cp-color-green {
    background: linear-gradient(135deg, rgba(40,167,69,0.25), rgba(40,167,69,0.1));
    border-color: rgba(40,167,69,0.3);
}

.cp-color-green.selected {
    border-color: #28a745;
    box-shadow: 0 0 20px rgba(40,167,69,0.3);
}

.cp-color-violet {
    background: linear-gradient(135deg, rgba(111,66,193,0.25), rgba(111,66,193,0.1));
    border-color: rgba(111,66,193,0.3);
}

.cp-color-violet.selected {
    border-color: #6f42c1;
    box-shadow: 0 0 20px rgba(111,66,193,0.3);
}

.cp-color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}

.cp-color-name {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #e0e0e0;
    margin: 6px 0 4px;
}

.cp-color-mult {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 10px;
    background: rgba(0,0,0,0.3);
    color: #a0a8c8;
}

.cp-number-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.cp-number-btn {
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 10px 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    background: #0d1333;
    border-color: #1a2248;
}

.cp-number-btn:hover {
    border-color: #ffd700;
    transform: translateY(-2px);
}

.cp-number-btn.selected {
    border-color: #ffd700;
    background: rgba(255,215,0,0.08);
    box-shadow: 0 0 15px rgba(255,215,0,0.15);
}

.cp-number-btn img {
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto 4px;
}

.cp-number-mult {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #6b7299;
}

.cp-number-btn.selected .cp-number-mult {
    color: #ffd700;
}

.cp-amount-area {
    background: #111639;
    border: 1px solid #1a2248;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.cp-amount-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.cp-amount-label {
    font-size: 13px;
    font-weight: 600;
    color: #b0b8d4;
    flex-shrink: 0;
}

.cp-amount-currency {
    font-size: 18px;
    font-weight: 700;
    color: #6b7299;
    flex-shrink: 0;
}

.cp-amount-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #1a2248;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 800;
    background: #0d1333;
    color: #ffd700;
    text-align: right;
}

.cp-amount-input:focus {
    outline: none;
    border-color: #ffd700;
}

.cp-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.cp-amount-btn {
    padding: 10px;
    border: 1px solid #1a2248;
    border-radius: 10px;
    background: #0d1333;
    color: #b0b8d4;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.cp-amount-btn:hover {
    background: #1a2248;
    color: #ffd700;
    border-color: #ffd700;
}

.cp-amount-half {
    color: #ffc107 !important;
    border-color: rgba(255,193,7,0.3) !important;
}

.cp-amount-double {
    color: #dc3545 !important;
    border-color: rgba(220,53,69,0.3) !important;
}

.cp-place-bet {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffd700, #f0c000);
    color: #0a0e27;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.cp-place-bet:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,215,0,0.3);
}

.cp-place-bet:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cp-place-bet-text {
    font-size: 16px;
}

.cp-place-bet-amount {
    font-size: 18px;
    opacity: 0.8;
}

.cp-result-msg {
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cp-result-success {
    background: rgba(40,167,69,0.15);
    color: #51cf66;
    border: 1px solid rgba(40,167,69,0.3);
}

.cp-result-error {
    background: rgba(220,53,69,0.15);
    color: #ff6b6b;
    border: 1px solid rgba(220,53,69,0.3);
}

.cp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
}

.cp-modal-overlay.show {
    opacity: 1;
}

.cp-modal {
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 0;
    text-align: center;
    max-width: 340px;
    width: 90%;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.cp-modal.show {
    transform: scale(1);
}

.cp-modal-bg {
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 24px 24px;
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cp-modal-bg.win-bg {
    background-image: url('../assets/png/win.png');

    background-image: url('../assets/png/loss.png');
}

.cp-modal-bg.no-bet-bg {
    background: #111639;
}

.cp-modal-period {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.cp-modal-title {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.cp-modal-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 8px 0;
}

.cp-modal-color {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.cp-modal-number {
    font-size: 14px;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.cp-modal-amount {
    font-size: 30px;
    font-weight: 900;
    color: #ffffff;
    margin: 6px 0 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.cp-modal-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffd700, #f0c000);
    color: #0a0e27;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.cp-modal-btn:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .cp-game {
        padding: 10px;
    }

    .cp-period-number {
        font-size: 14px;
    }

    .cp-timer-value {
        font-size: 24px;
    }

    .cp-color-btn {
        padding: 12px 8px;
    }

    .cp-color-name {
        font-size: 14px;
    }

    .cp-number-btn img {
        width: 28px;
        height: 28px;
    }

    .cp-balance-value {
        font-size: 12px;
    }

    .cp-place-bet {
        padding: 14px;
        font-size: 15px;
    }
}

/* ===== PROFESSIONAL DEPOSIT & WITHDRAWAL PAGES ===== */
.deposit-page, .withdrawal-page {
    min-height: 100vh;
}

.btn-back {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111639;
    color: #b0b8d4;
    border: 1px solid #1a2248;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s;
    flex-shrink: 0;
}

.btn-back:hover {
    border-color: #ffd700;
    color: #ffd700;
}

.page-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffd700;
    margin: 0;
}

.page-subtitle {
    font-size: 13px;
    color: #6b7299;
    margin: 2px 0 0;
}

.balance-bar {
    background: linear-gradient(135deg, #111639, #1a2248);
    border: 1px solid #1a2248;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.balance-bar.danger {
    background: linear-gradient(135deg, #1a1139, #22152a);
    border-color: rgba(220,53,69,0.2);
}

.balance-label {
    font-size: 13px;
    color: #6b7299;
    font-weight: 600;
}

.balance-value {
    font-size: 22px;
    font-weight: 800;
    color: #ffd700;
}

.balance-bar.danger .balance-value {
    color: #ff6b6b;
}

.alert-success-custom {
    background: rgba(40,167,69,0.1);
    border: 1px solid rgba(40,167,69,0.2);
    border-radius: 12px;
    padding: 14px 16px;
    color: #51cf66;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.alert-error-custom {
    background: rgba(220,53,69,0.1);
    border: 1px solid rgba(220,53,69,0.2);
    border-radius: 12px;
    padding: 14px 16px;
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.form-section {
    margin-bottom: 24px;
}

.form-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #b0b8d4;
    margin-bottom: 12px;
}

.preset-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.preset-btn {
    padding: 12px 6px;
    background: #0d1333;
    border: 1px solid #1a2248;
    border-radius: 12px;
    color: #b0b8d4;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.preset-btn:hover {
    border-color: #ffd700;
    color: #ffd700;
}

.preset-btn.active {
    background: rgba(255,215,0,0.1);
    border-color: #ffd700;
    color: #ffd700;
}

.custom-amount-wrap {
    margin-bottom: 4px;
}

.form-label-custom {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #6b7299;
    margin-bottom: 8px;
}

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

.currency-symbol {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 800;
    color: #6b7299;
    z-index: 2;
}

.amount-input-group input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: #0d1333;
    border: 1px solid #1a2248;
    border-radius: 14px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    transition: all 0.3s;
    outline: none;
}

.amount-input-group input:focus {
    border-color: #ffd700;
}

.amount-input-group input::placeholder {
    color: #2a2f5a;
}

.amount-hint {
    font-size: 12px;
    color: #6b7299;
    margin-top: 6px;
}

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

.payment-option {
    background: #0d1333;
    border: 1px solid #1a2248;
    border-radius: 14px;
    padding: 16px 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-option:hover {
    border-color: rgba(255,215,0,0.3);
}

.payment-option.selected {
    border-color: #ffd700;
    background: rgba(255,215,0,0.05);
}

.payment-option input[type="radio"] {
    display: none;
}

.po-icon {
    font-size: 24px;
}

.po-name {
    font-size: 14px;
    font-weight: 700;
    color: #e0e0e0;
}

.po-desc {
    font-size: 11px;
    color: #6b7299;
}

.btn-deposit-submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffd700, #f0c000);
    color: #0a0e27;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 24px;
}

.btn-deposit-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,215,0,0.25);
}

.btn-withdraw-submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #dc3545, #a71d2a);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 24px;
}

.btn-withdraw-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220,53,69,0.25);
}

.btn-withdraw-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Payment Info Card */
.payment-info-card {
    background: #111639;
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.payment-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.pi-icon {
    font-size: 28px;
}

.pi-title {
    font-size: 16px;
    font-weight: 800;
    color: #e0e0e0;
}

.pi-subtitle {
    font-size: 13px;
    color: #ffd700;
    font-weight: 600;
}

.pi-divider {
    height: 1px;
    background: #1a2248;
    margin: 16px 0;
}

.pi-section {
    margin-bottom: 16px;
}

.pi-label {
    font-size: 12px;
    color: #6b7299;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.pi-value-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0d1333;
    border: 1px solid #1a2248;
    border-radius: 10px;
    padding: 12px 14px;
}

.pi-value {
    font-size: 15px;
    font-weight: 700;
    color: #ffd700;
    font-family: monospace;
}

.txn-id {
    font-size: 12px;
}

.pi-copy-btn {
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.2);
    color: #ffd700;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.pi-copy-btn:hover {
    background: rgba(255,215,0,0.2);
}

.qr-placeholder {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    width: 160px;
    margin: 0 auto;
}

.qr-icon {
    font-size: 48px;
    margin-bottom: 8px;
}

.qr-text {
    font-size: 12px;
    color: #333;
    font-weight: 600;
    word-break: break-all;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: #0d1333;
    border-bottom: 1px solid #1a2248;
}

.bank-detail-row:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.bank-detail-row:first-child {
    border-radius: 10px 10px 0 0;
}

.bd-label {
    font-size: 13px;
    color: #6b7299;
}

.bd-value {
    font-size: 13px;
    font-weight: 700;
    color: #e0e0e0;
}

.pi-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(255,215,0,0.05);
    border: 1px solid rgba(255,215,0,0.1);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 12px;
    color: #b0b8d4;
    margin-bottom: 16px;
}

.pi-done-btn {
    display: block;
    text-align: center;
    padding: 14px;
    background: #0d1333;
    border: 1px solid #1a2248;
    border-radius: 12px;
    color: #ffd700;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.pi-done-btn:hover {
    border-color: #ffd700;
    color: #ffd700;
}

/* Recent Deposits */
.recent-section {
    margin-bottom: 20px;
}

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

.recent-title {
    font-size: 15px;
    font-weight: 700;
    color: #b0b8d4;
}

.recent-view-all {
    font-size: 13px;
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111639;
    border: 1px solid #1a2248;
    border-radius: 12px;
    padding: 14px 16px;
}

.ri-left, .ri-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ri-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.ri-icon.green {
    background: rgba(40,167,69,0.15);
    color: #51cf66;
}

.ri-icon.red {
    background: rgba(220,53,69,0.15);
    color: #ff6b6b;
}

.pending-icon {
    background: rgba(255,215,0,0.15);
    color: #ffd700;
}

.ri-amount {
    font-size: 15px;
    font-weight: 700;
    color: #e0e0e0;
}

.ri-method, .ri-date {
    font-size: 12px;
    color: #6b7299;
}

.ri-txn {
    font-size: 11px;
    color: #4a5278;
    font-family: monospace;
}

.badge-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.badge-status.completed {
    background: rgba(40,167,69,0.15);
    color: #51cf66;
}

.badge-status.pending {
    background: rgba(255,215,0,0.15);
    color: #ffd700;
}

.badge-status.cancelled {
    background: rgba(220,53,69,0.15);
    color: #ff6b6b;
}

/* Withdrawal Tabs */
.wtabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: #111639;
    border: 1px solid #1a2248;
    border-radius: 14px;
    padding: 4px;
}

.wtab {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    border-radius: 10px;
    color: #6b7299;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.wtab:hover {
    color: #b0b8d4;
}

.wtab.active {
    background: #0d1333;
    color: #ffd700;
}

/* Selected Bank Card */
.selected-bank-card {
    background: rgba(40,167,69,0.05);
    border: 1px solid rgba(40,167,69,0.2);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.sb-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sb-icon {
    font-size: 24px;
}

.sb-name {
    font-size: 14px;
    font-weight: 700;
    color: #e0e0e0;
}

.sb-account {
    font-size: 12px;
    color: #6b7299;
}

.sb-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    background: rgba(40,167,69,0.15);
    color: #51cf66;
}

.no-bank-card {
    background: rgba(255,215,0,0.05);
    border: 1px solid rgba(255,215,0,0.1);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    text-align: center;
    font-size: 14px;
    color: #b0b8d4;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255,215,0,0.04);
    border: 1px solid rgba(255,215,0,0.08);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.info-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.info-text {
    font-size: 13px;
    color: #6b7299;
    line-height: 1.5;
}

/* Bank Management */
.bank-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bank-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111639;
    border: 1px solid #1a2248;
    border-radius: 14px;
    padding: 16px;
    transition: all 0.3s;
}

.bank-card.primary {
    border-color: rgba(40,167,69,0.3);
    background: linear-gradient(135deg, #111639, rgba(40,167,69,0.05));
}

.bank-card-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bank-icon {
    font-size: 28px;
}

.bank-name {
    font-size: 15px;
    font-weight: 700;
    color: #e0e0e0;
}

.bank-holder {
    font-size: 13px;
    color: #b0b8d4;
}

.bank-number {
    font-size: 13px;
    color: #6b7299;
    font-family: monospace;
}

.bank-upi {
    font-size: 12px;
    color: #6b7299;
    margin-top: 2px;
}

.bank-card-right {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.btn-set-primary {
    background: rgba(40,167,69,0.1);
    border: 1px solid rgba(40,167,69,0.2);
    color: #51cf66;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-set-primary:hover {
    background: rgba(40,167,69,0.2);
}

.btn-delete-bank {
    background: rgba(220,53,69,0.1);
    border: 1px solid rgba(220,53,69,0.2);
    color: #ff6b6b;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-delete-bank:hover {
    background: rgba(220,53,69,0.2);
}

.primary-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 10px;
    background: rgba(40,167,69,0.15);
    color: #51cf66;
}

.empty-state {
    text-align: center;
    padding: 32px 16px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.empty-text {
    font-size: 15px;
    color: #6b7299;
}

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

.form-group-custom label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #6b7299;
    margin-bottom: 6px;
}

.form-group-custom .required {
    color: #ff6b6b;
}

.form-group-custom input {
    width: 100%;
    padding: 14px 16px;
    background: #0d1333;
    border: 1px solid #1a2248;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.form-group-custom input:focus {
    border-color: #ffd700;
}

.form-group-custom input::placeholder {
    color: #2a2f5a;
}

.btn-add-bank {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffd700, #f0c000);
    color: #0a0e27;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-bank:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,215,0,0.2);
}

/* Pending Withdrawals */
.pending-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pending-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111639;
    border: 1px solid #1a2248;
    border-radius: 12px;
    padding: 14px 16px;
}

.pi-txn {
    font-size: 11px;
    color: #4a5278;
    font-family: monospace;
    margin-top: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .preset-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }

    .preset-btn {
        padding: 10px 4px;
        font-size: 12px;
    }

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

    .payment-option {
        padding: 14px 12px;
    }

    .bank-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .bank-card-right {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: flex-end;
    }
}

/* Hamburger Menu Button */
.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    width: 24px;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #b0b8d4;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger-btn:hover span {
    background: #ffd700;
}

/* Sidebar */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
}

.sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #0d1333;
    border-right: 1px solid rgba(255,255,255,0.05);
    z-index: 2001;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s, visibility 0.3s;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
}

.sidebar.open {
    left: 0;
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sidebar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #ffd700;
}

.sidebar-close {
    background: none;
    border: none;
    color: #6b7299;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.sidebar-close:hover {
    color: #ffd700;
}

.sidebar-body {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    color: #b0b8d4;
}

.sidebar-item:hover {
    background: rgba(255,215,0,0.06);
    color: #ffd700;
    text-decoration: none;
}

.sidebar-icon {
    font-size: 20px;
    width: 28px;
    text-align: center;
}

.sidebar-text {
    font-size: 14px;
    font-weight: 600;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

.modal-content {
    background: #111639;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #ffd700;
}

.modal-close {
    background: none;
    border: none;
    color: #6b7299;
    font-size: 22px;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #ffd700;
}

.modal-body {
    padding: 20px;
}

.modal-body h4 {
    color: #ffd700;
    font-size: 14px;
    font-weight: 700;
    margin: 16px 0 6px;
    font-family: 'Outfit', sans-serif;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    color: #b0b8d4;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 8px;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #0d1333;
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.support-option:hover {
    border-color: rgba(255,215,0,0.15);
}

.btn-download-apk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #ffd700, #e6b800);
    color: #0a0e27;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-download-apk:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.2);
    color: #0a0e27;
    text-decoration: none;
}

.plan-toggle {
    position: fixed;
    bottom: 146px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg,#ffd700,#e6b800);
    color: #0a0e27;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255,215,0,0.4);
    z-index: 999;
    transition: all 0.3s;
    text-decoration: none;
}
.plan-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255,215,0,0.6);
    color: #0a0e27;
}
.whatsapp-toggle {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all 0.3s;
    cursor: pointer;
}
.whatsapp-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.6);
    background: #20bd5a;
}
