:root {
    --bg-dark: #0b0e11;
    --card-dark: #181a20;
    --primary-gold: #f0b90b;
    --neon-green: #2ebd85;
    --neon-red: #f6465d;
    --text-gray: #848e9c;
}

body {
    background-color: var(--bg-dark);
    color: white;
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
}

.app-container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

/* 3x3 Grid */
.number-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.number-btn {
    background: var(--card-dark);
    border: 1px solid #2b2f36;
    color: white;
    padding: 20px;
    font-size: 1.5rem;
    border-radius: 12px;
    transition: 0.2s;
    cursor: pointer;
}

.number-btn.active {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    background: rgba(240, 185, 11, 0.1);
}

.timer-circle {
    width: 120px;
    height: 120px;
    border: 4px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    font-weight: bold;
}

.timer-red {
    border-color: var(--neon-red);
    color: var(--neon-red);
    animation: pulse 0.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.main-cta {
    width: 100%;
    background: var(--primary-gold);
    color: black;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
}

.main-cta:hover {
    opacity: 0.9;
}

.main-cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.stake-selector {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.stake-selector button {
    background: var(--card-dark);
    border: 1px solid #2b2f36;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.stake-selector button.active {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    background: rgba(240, 185, 11, 0.1);
}

.add-money-btn {
    background: var(--primary-gold);
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.game-section {
    text-align: center;
    margin-top: 40px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
