/* ==========================
   RESET + BASE
========================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: radial-gradient(circle at top, #0f172a, #020617);
    color: white;
    font-family: 'Orbitron', Arial, sans-serif;
    text-align: center;
}

/* ==========================
   CONTAINER
========================== */
.container {
    padding: 15px;
    max-width: 520px;
    margin: auto;
}

/* ==========================
   HEADER
========================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

h1 {
    font-size: 20px;
    letter-spacing: 1px;
}

.balance {
    background: rgba(0,255,150,0.1);
    border: 1px solid #00ff99;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 0 10px #00ff99;
}

/* ==========================
   CONTROLS
========================== */
.controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.control-box {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    gap: 3px;
}

select, input {
    padding: 7px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    background: #020617;
    color: white;
    border: 1px solid #1e293b;
}

select:focus, input:focus {
    outline: none;
    border-color: #00ff99;
    box-shadow: 0 0 5px #00ff99;
}

/* ==========================
   BUTTON
========================== */
.drop-btn {
    padding: 10px 15px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #00ff99, #00ccff);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 0 10px #00ff99;
}

.drop-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00ffcc;
}

.drop-btn:active {
    transform: scale(0.95);
}

/* ==========================
   GAME WRAPPER
========================== */
.game-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0,255,200,0.2);
}

/* ==========================
   CANVAS
========================== */
canvas {
    width: 100%;
    background: transparent;
    border-radius: 15px;
}

/* ==========================
   RESULT TEXT
========================== */
.result {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22px;
    font-weight: bold;
    color: #00ff99;
    opacity: 0.5;
    pointer-events: none;
    text-shadow: 0 0 10px #00ff99;
    transition: 0.3s;
}

/* ==========================
   MULTIPLIERS
========================== */
.multipliers {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

.multi {
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 12px;
    box-shadow: 0 0 8px rgba(150,0,255,0.6);
}

/* ==========================
   MOBILE
========================== */
@media (max-width: 500px) {
    h1 {
        font-size: 18px;
    }

    .drop-btn {
        width: 100%;
    }

    .controls {
        gap: 6px;
    }
}