/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background: #0b1120;
    color: #ffffff;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #0f1425;
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
    border-bottom: 1px solid #2a3050;
}
.navbar .logo {
    font-size: 22px;
    font-weight: 800;
    color: #ffd700;
}
.navbar .logo i {
    color: #ffd700;
    margin-right: 8px;
}
.hamburger {
    font-size: 26px;
    cursor: pointer;
    color: #ffffff;
    background: none;
    border: none;
    padding: 5px 10px;
}
.hamburger:hover {
    color: #ffd700;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.nav-right .balance {
    color: #00e6b2;
    font-weight: 700;
    font-size: 16px;
}
.nav-right .user-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #0f1425;
    z-index: 999;
    transition: left 0.3s ease;
    padding: 20px 0;
    border-right: 1px solid #2a3050;
    overflow-y: auto;
}
.sidebar.open {
    left: 0;
}
.sidebar .close-btn {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 22px;
    color: #8892b0;
    cursor: pointer;
    background: none;
    border: none;
}
.sidebar .close-btn:hover {
    color: #fff;
}
.sidebar .profile-card {
    padding: 30px 20px 20px;
    text-align: center;
    border-bottom: 1px solid #2a3050;
    margin-bottom: 15px;
}
.sidebar .profile-card .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 10px;
    color: #0b1120;
}
.sidebar .profile-card h4 {
    color: #fff;
    font-size: 18px;
}
.sidebar .profile-card p {
    color: #8892b0;
    font-size: 14px;
}
.sidebar .menu-label {
    padding: 10px 25px;
    font-size: 11px;
    color: #4a5568;
    letter-spacing: 1px;
    font-weight: 600;
}
.sidebar a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    color: #ccd6f6;
    text-decoration: none;
    font-size: 15px;
    border-left: 3px solid transparent;
}
.sidebar a:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #ffd700;
    color: #fff;
}
.sidebar a i {
    width: 22px;
    color: #8892b0;
}
.sidebar a.active {
    background: rgba(255, 215, 0, 0.06);
    border-left-color: #ffd700;
    color: #ffd700;
}
.sidebar a.active i {
    color: #ffd700;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: 75px;
    padding: 20px 25px;
    min-height: calc(100vh - 75px);
}
.page-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ===== DASHBOARD CARDS ===== */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.dash-card {
    background: #141b2e;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #2a3050;
}
.dash-card h4 {
    color: #8892b0;
    font-size: 14px;
    margin-bottom: 5px;
}
.dash-card .value {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}
.dash-card .value.green {
    color: #00e6b2;
}
.dash-card .value.gold {
    color: #ffd700;
}
.dash-card .value.red {
    color: #ff2244;
}

/* ===== TABLES ===== */
.table-wrap {
    overflow-x: auto;
    background: #141b2e;
    border-radius: 20px;
    padding: 15px;
}
table {
    width: 100%;
    border-collapse: collapse;
    color: #ccd6f6;
    font-size: 14px;
}
table th {
    text-align: left;
    padding: 12px 10px;
    color: #8892b0;
    font-weight: 600;
    border-bottom: 1px solid #2a3050;
}
table td {
    padding: 10px;
    border-bottom: 1px solid #2a3050;
}
table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    color: #8892b0;
    margin-bottom: 5px;
    font-size: 13px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #0a0f1e;
    border: 1px solid #2a3050;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    outline: none;
}
.form-group input:focus {
    border-color: #00d4ff;
}
.btn-submit {
    background: #ffd700;
    color: #000;
    padding: 14px 30px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}
.btn-submit:hover {
    background: #f0c000;
}
.btn-success {
    background: #00b894;
    color: #000;
}
.btn-danger {
    background: #ff2244;
    color: #fff;
}
.btn-small {
    padding: 6px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
}

/* ===== GAME ===== */
.game-wrapper {
    background: #0a0f1e;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #2a3050;
    position: relative;
}
#gameCanvas {
    width: 100%;
    height: 500px;
    display: block;
    background: #0a0f1e;
}
.multiplier-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', monospace;
    font-size: 70px;
    font-weight: 900;
    z-index: 10;
    color: #00d4ff;
    opacity: 0.9;
    text-shadow: 0 0 50px rgba(0, 200, 255, 0.3);
}
.multiplier-center.crashed {
    color: #ff2244;
    text-shadow: 0 0 50px rgba(255, 0, 50, 0.3);
}

/* ===== VERIFY OVERLAY ===== */
.verify-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}
.verify-box {
    background: #141b2e;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 500px;
    border: 1px solid #2a3050;
}
.verify-box .lock-icon {
    font-size: 60px;
    color: #ff2244;
    margin-bottom: 15px;
}
.verify-box h2 {
    color: #ff2244;
    margin-bottom: 10px;
}
.verify-box p {
    color: #8892b0;
    margin-bottom: 20px;
}
.verify-box .btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.verify-box .btn-gold {
    background: #ffd700;
    color: #000;
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}
.verify-box .btn-blue {
    background: #667eea;
    color: #fff;
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

/* ===== PAYMENT METHODS ===== */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 15px 0;
}
.payment-method {
    background: #0a0f1e;
    padding: 15px;
    border-radius: 16px;
    border: 1px solid #2a3050;
    text-align: center;
}
.payment-method .icon {
    font-size: 30px;
    margin-bottom: 5px;
}
.payment-method .label {
    font-weight: 600;
    color: #fff;
}
.payment-method .detail {
    color: #8892b0;
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .sidebar {
        width: 260px;
        left: -260px;
    }
    .multiplier-center {
        font-size: 40px;
    }
    #gameCanvas {
        height: 350px;
    }
    .dash-grid {
        grid-template-columns: 1fr 1fr;
    }
    .main-content {
        padding: 15px;
    }
    .navbar .logo {
        font-size: 18px;
    }
}