* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* ==================== CRYPTO/FINANCE DARK THEME ==================== */
@keyframes float {
    0% { transform: translateY(0px) scale(1); opacity: 1; }
    50% { transform: translateY(-40px) scale(1.2); opacity: 0.8; }
    100% { transform: translateY(-80px) scale(1.5); opacity: 0; }
}

@keyframes flyCoin {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.9; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0.3); opacity: 0; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes shine {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ==================== NEON CYBER 3D GAME BOXES ==================== */
@keyframes neonGlow {
    0% { box-shadow: 0 0 5px rgba(0, 255, 255, 0.5), inset 0 0 5px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.8), inset 0 0 10px rgba(0, 255, 255, 0.5); }
    100% { box-shadow: 0 0 5px rgba(0, 255, 255, 0.5), inset 0 0 5px rgba(0, 255, 255, 0.3); }
}

@keyframes flipIn {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(180deg); }
}

@keyframes winnerGlow {
    0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(251, 191, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

@keyframes coinBubble {
    0% { transform: scale(0.5) translateY(0); opacity: 1; }
    50% { transform: scale(1.2) translateY(-20px); opacity: 0.8; }
    100% { transform: scale(0) translateY(-50px); opacity: 0; }
}

/* Dark Velvet Background */
body {
    font-family: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
    background: linear-gradient(145deg, #1a0a1a 0%, #0d0d1a 50%, #0a0a0f 100%);
    min-height: 100vh;
    padding: 16px;
    padding-bottom: 100px;
    color: #e2e8f0;
    position: relative;
}

/* Velvet texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255,215,0,0.05), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.header h1 {
    font-size: 28px;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF6347);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.header p {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 5px;
}

/* ==================== GEMSTONE COLLECTION BALANCE CARDS ==================== */
.balance-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.balance-card {
    border-radius: 24px;
    padding: 18px 10px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.balance-card:active {
    transform: scale(0.96);
}

/* ===== RUBY GEMSTONE (Balance Card - Left) ===== */
.balance-card.primary {
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 35%, #ff6b6b 70%, #8b0000 100%);
    background-size: 200% 200%;
    border: 1px solid rgba(255, 107, 107, 0.3);
    animation: rubyShine 4s ease infinite;
}

.balance-card.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.1) 20px, rgba(255,255,255,0.1) 40px);
    pointer-events: none;
    border-radius: 24px;
}

.balance-card.primary::after {
    content: '💎';
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 18px;
    opacity: 0.6;
    animation: sparkleGem 2s ease-in-out infinite;
}

@keyframes rubyShine {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

/* ===== EMERALD GEMSTONE (Bonus Card - Middle) ===== */
.balance-card.bonus {
    background: linear-gradient(135deg, #004d00 0%, #008000 35%, #00d68f 70%, #004d00 100%);
    background-size: 200% 200%;
    border: 1px solid rgba(0, 214, 143, 0.3);
    animation: emeraldShine 4s ease infinite 0.5s;
}

.balance-card.bonus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,255,255,0.1) 20px, rgba(255,255,255,0.1) 40px);
    pointer-events: none;
    border-radius: 24px;
}

.balance-card.bonus::after {
    content: '✨';
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 18px;
    opacity: 0.6;
    animation: sparkleGem 2s ease-in-out infinite 0.5s;
}

@keyframes emeraldShine {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

/* ===== GOLDEN TOPAZ (Coins Card - Right) ===== */
.balance-card.coins {
    background: linear-gradient(135deg, #b8860b 0%, #daa520 35%, #ffd700 70%, #b8860b 100%);
    background-size: 200% 200%;
    border: 1px solid rgba(255, 215, 0, 0.3);
    animation: topazShine 4s ease infinite 1s;
}

.balance-card.coins::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(255,255,255,0.15) 20px, rgba(255,255,255,0.15) 40px);
    pointer-events: none;
    border-radius: 24px;
}

.balance-card.coins::after {
    content: '⭐';
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 18px;
    opacity: 0.6;
    animation: sparkleGem 2s ease-in-out infinite 1s;
}

@keyframes topazShine {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

@keyframes sparkleGem {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.3); }
}

/* ===== BOLD TEXT STYLES ===== */
.balance-emoji {
    font-size: 34px;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    position: relative;
    z-index: 2;
}

.balance-value {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
    word-break: break-word;
    background: linear-gradient(135deg, #FFD700, #FFF8DC, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.balance-label {
    font-size: 10px;
    font-weight: 800;
    opacity: 0.95;
    margin-top: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* Shine effect on card press */
.balance-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.balance-card:active::after {
    left: 100%;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.tab {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 10px 18px;
    border-radius: 30px;
    color: white;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.tab.active {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    border-color: transparent;
}

/* Cards */
.card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 16px;
    border: 1px solid rgba(56, 189, 248, 0.1);
    transition: all 0.3s;
    animation: fadeIn 0.3s ease-out;
    position: relative;
    z-index: 1;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 4px solid #fbbf24;
    padding-left: 12px;
    color: #fbbf24;
}

/* Buttons */
.btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    padding: 14px 20px;
    border-radius: 30px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    transition: all 0.2s;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.98);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.btn-warning {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #1a1a2e;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.btn-info {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.btn-sm {
    padding: 10px 16px;
    font-size: 12px;
    width: auto;
    display: inline-block;
    margin: 3px;
}

/* Contact Tab Styles */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 15px 0;
}

.contact-method {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 20px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.contact-method:active {
    transform: scale(0.98);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.contact-name {
    font-size: 18px;
    font-weight: bold;
    color: #fbbf24;
    margin-bottom: 5px;
}

.contact-detail {
    font-size: 14px;
    opacity: 0.8;
    font-family: monospace;
}

.user-id-section {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    text-align: center;
}

/* Flying Coin Animation */
.flying-coin {
    position: fixed;
    font-size: 28px;
    font-weight: bold;
    pointer-events: none;
    z-index: 2000;
    transition: all 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    white-space: nowrap;
    text-shadow: 0 0 5px #000;
}

/* Coin Bubble Animation */
.coin-bubble {
    position: fixed;
    font-size: 24px;
    font-weight: bold;
    pointer-events: none;
    z-index: 2000;
    animation: coinBubble 0.8s ease-out forwards;
    text-shadow: 0 0 5px #000;
    color: #fbbf24;
}

/* Quad-Lock Items */
.quad-item {
    background: rgba(0, 0, 0, 0.35);
    padding: 14px;
    border-radius: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
}

.quad-item.locked {
    border-left: 4px solid #ef4444;
}

.quad-item.unlocked {
    border-left: 4px solid #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.quad-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quad-status {
    font-size: 24px;
}

.quad-text {
    font-weight: bold;
    font-size: 14px;
}

.quad-count {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 3px;
}

.quad-amount {
    font-size: 14px;
    font-weight: bold;
}

.progress-container {
    margin-top: 15px;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    height: 12px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #10b981, #06b6d4);
    height: 100%;
    border-radius: 20px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    margin-top: 8px;
    font-size: 11px;
    opacity: 0.8;
}

/* ==================== NEON CYBER 3D GAME BOX STYLES ==================== */
.game-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    padding: 16px;
    margin: 16px 0;
}

.game-header {
    text-align: center;
    margin-bottom: 20px;
}

.game-header h4 {
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(135deg, #00ffff, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    perspective: 1000px;
}

.game-card {
    aspect-ratio: 1 / 1;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
    font-size: 36px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* 3D Flip Effect */
.game-card.flipped {
    animation: flipIn 0.6s ease forwards;
}

/* Shine effect */
.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.game-card:hover::before {
    left: 100%;
}

/* Press effect */
.game-card:active {
    transform: scale(0.94);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Revealed card - different colors based on prize */
.game-card.revealed {
    animation: neonGlow 0.5s ease;
}

.game-card.revealed[data-prize="100"],
.game-card.revealed[data-prize="75"] {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border-color: #ffd700;
}
.game-card.revealed[data-prize="50"] {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-color: #3b82f6;
}
.game-card.revealed[data-prize="25"],
.game-card.revealed[data-prize="10"] {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
}
.game-card.revealed[data-prize="0"] {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    border-color: #6b7280;
}

.game-card.revealed.winner {
    animation: winnerGlow 0.8s ease-in-out infinite;
}

.game-cost {
    text-align: center;
    margin-top: 16px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    font-size: 14px;
    color: #94a3b8;
}

.game-cost span {
    color: #fbbf24;
    font-weight: bold;
    font-size: 18px;
}

/* Market Grid - Enhanced */
.market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.market-item {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 16px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(56, 189, 248, 0.2);
    position: relative;
    overflow: hidden;
}

.market-item:active {
    transform: scale(0.95);
    border-color: #fbbf24;
}

.market-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.5s;
}

.market-item:active::after {
    transform: rotate(45deg) translateX(100%);
}

.market-item.owned {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(0.3);
}

.market-emoji {
    font-size: 36px;
}

.market-name {
    font-size: 10px;
    margin-top: 6px;
    word-break: break-word;
}

.market-price {
    font-size: 12px;
    font-weight: bold;
    color: #fbbf24;
    margin-top: 5px;
}

.market-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #10b981;
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 10px;
}

/* Investment List */
.investment-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sell-btn {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    color: #1a1a2e;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
    transition: transform 0.2s;
}

.sell-btn:active {
    transform: scale(0.95);
}

/* Game Result */
.game-result {
    text-align: center;
    padding: 14px;
    border-radius: 14px;
    margin-top: 10px;
    font-weight: bold;
}

.game-result.win {
    background: rgba(16, 185, 129, 0.25);
    color: #10b981;
    border: 1px solid #10b981;
    animation: pulse 0.5s ease-in-out;
}

.game-result.lose {
    background: rgba(239, 68, 68, 0.25);
    color: #ef4444;
    border: 1px solid #ef4444;
    animation: shake 0.3s ease-in-out;
}

/* Lottery */
.lottery-pool {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lottery-numbers {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.lottery-number {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    padding: 12px;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    transition: all 0.2s;
}

.lottery-number:active {
    transform: scale(0.95);
}

.lottery-number.taken {
    background: #ef4444;
    opacity: 0.6;
    cursor: not-allowed;
}

/* Ticket Item */
.ticket-item {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(217, 119, 6, 0.08));
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.ticket-serial {
    font-family: monospace;
    font-size: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 8px;
    letter-spacing: 1px;
}

/* Consultation Items */
.consultation-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
}

/* Full Screen Textarea */
.fullscreen-textarea {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #fbbf24;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 16px;
    min-height: 150px;
    resize: vertical;
}

/* Profile Items */
.profile-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Transaction Items */
.transaction-item {
    background: rgba(0, 0, 0, 0.25);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 6px;
    font-size: 12px;
}

.transaction-pending {
    border-left: 3px solid #fbbf24;
}

.transaction-approved {
    border-left: 3px solid #10b981;
}

.transaction-denied {
    border-left: 3px solid #ef4444;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 24px;
    padding: 25px;
    width: 90%;
    max-width: 380px;
    max-height: 85vh;
    overflow-y: auto;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.modal-content h3 {
    margin-bottom: 18px;
    text-align: center;
    color: #fbbf24;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 100%;
    padding: 14px;
    margin: 8px 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 14px;
}

.modal-content input::placeholder,
.modal-content textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.close {
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: #ef4444;
    transition: all 0.2s;
}

.close:hover {
    transform: scale(1.1);
}

.telebirr-info, .bank-info {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 15px;
    border-radius: 16px;
    margin: 10px 0;
    text-align: center;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.bank-info {
    border-color: rgba(56, 189, 248, 0.3);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.payment-method {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-method.selected {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #1a1a2e;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: #1a1a2e;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: bold;
    display: none;
    z-index: 1001;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.toast.show {
    display: block;
}

.toast.error {
    background: #ef4444;
    color: white;
}

.toast.info {
    background: #06b6d4;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Loading */
.loading {
    text-align: center;
    padding: 30px;
    opacity: 0.7;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #fbbf24;
    border-radius: 10px;
}

/* Row layout */
.row {
    display: flex;
    gap: 10px;
}

.row .btn {
    flex: 1;
    margin-bottom: 0;
}

/* Badge */
.badge {
    background: #fbbf24;
    color: #1a1a2e;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
}

.pending-badge {
    background: #fbbf24;
    color: #1a1a2e;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
}

/* Sub Tabs */
.sub-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 8px;
}

.sub-tab {
    background: transparent;
    border: none;
    padding: 8px 16px;
    color: white;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.2s;
}

.sub-tab.active {
    background: #fbbf24;
    color: #1a1a2e;
}

/* Sound Toggle */
.sound-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
    background: #4b5563;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-switch.active {
    background: #10b981;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 3px;
    transition: 0.3s;
}

.toggle-switch.active::after {
    left: 27px;
}

/* Offline Indicator */
.offline-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ef4444;
    color: white;
    text-align: center;
    padding: 5px;
    font-size: 12px;
    z-index: 1002;
    transform: translateY(-100%);
    transition: transform 0.3s;
}

.offline-indicator.show {
    transform: translateY(0);
}

/* Pull to Refresh */
.pull-to-refresh {
    text-align: center;
    padding: 10px;
    color: #fbbf24;
    font-size: 12px;
    transition: all 0.3s;
}

/* Network Status */
.network-status {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    z-index: 1000;
}

.network-status.offline {
    background: #ef4444;
}

/* Number Selector Grid for Lottery */
.number-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 15px 0;
}

.num-btn {
    padding: 12px;
    border-radius: 8px;
    background: #4caf50;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.num-btn:active {
    transform: scale(0.95);
}

.num-btn.taken {
    background: #ef4444;
    cursor: not-allowed;
    opacity: 0.6;
}

.cancel-btn {
    width: 100%;
    padding: 10px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}