﻿/* Limbo Specific Styles */

.game-container {
    max-width: 600px;
    margin: 0 auto 40px auto;
    background-color: var(--bg-alt);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    padding: 20px;
}

/* Limbo Main Area */
.limbo-main-area {
    background: radial-gradient(circle at bottom, #004b72 0%, #081118 80%);
    border-radius: 8px;
    height: 350px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Stars background */
.limbo-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.5;
    animation: starsMove 20s linear infinite;
}

@keyframes starsMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(200px); }
}

.limbo-multiplier {
    font-size: 5rem;
    font-weight: 800;
    color: white;
    z-index: 10;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
    position: absolute;
    top: 25%;
    transition: color 0.3s;
}

.limbo-multiplier.win {
    color: #34c759;
    text-shadow: 0 0 20px rgba(52, 199, 89, 0.5);
}
.limbo-multiplier.loss {
    color: #ff3b30;
    text-shadow: 0 0 20px rgba(255, 59, 48, 0.5);
}

.limbo-rocket {
    font-size: 4rem;
    position: absolute;
    bottom: 20px;
    z-index: 10;
    transition: transform 0.1s;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5));
}

.limbo-rocket.flying {
    animation: rocketShake 0.1s infinite alternate;
}

@keyframes rocketShake {
    0% { transform: translate(0, 0); }
    100% { transform: translate(2px, -2px); }
}

.limbo-rocket.exploded {
    animation: none;
    transform: scale(1.5);
    opacity: 0;
    transition: all 0.2s ease-out;
}

/* Controls matching image */
.limbo-bottom-inputs {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.limbo-bottom-inputs .control-box-slots {
    background-color: #1a2a36;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 10px;
}
.limbo-bottom-inputs label {
    display: block;
    color: #8bc34a;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.limbo-bottom-inputs .input-with-icon {
    background-color: #0b151c !important;
    border-color: rgba(255,255,255,0.1) !important;
    border-radius: 4px;
    overflow: hidden;
}
.limbo-bottom-inputs .input-with-icon input {
    background: transparent !important;
    color: white !important;
}

.bet-controls {
    background-color: #15222c;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
}

.btn-roll {
    background-color: #35b5ef;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
}
.btn-roll:hover {
    background-color: #29a0d6;
}
.btn-roll:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Auto Settings */
.game-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 15px;
}
.tab-btn {
    background: transparent;
    border: none;
    color: #888;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.tab-btn.active {
    color: white;
    border-bottom-color: #35b5ef;
}
.auto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.auto-box {
    background-color: #0b151c;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.05);
}
.auto-box label {
    display: block;
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 8px;
}
.auto-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ddd !important;
    font-size: 0.85rem !important;
    margin: 0 !important;
    cursor: pointer;
}
.small-input {
    width: 70px;
    display: flex;
    background: #15222c;
    border-radius: 4px;
    overflow: hidden;
}
.small-input input {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    padding: 5px;
    text-align: right;
    outline: none;
}
.padding-left-input {
    padding: 8px;
    background: #15222c;
    border: none;
    color: white;
    width: 100%;
    outline: none;
}

.bet-actions button {
    background-color: #35b5ef;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.bet-actions button:hover {
    background-color: #29a0d6;
}
.bet-actions button:active {
    transform: scale(0.95);
}

.bet-input-left {
    background-color: #0b151c !important;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    flex: 1;
}
#input-bet-amount {
    background: transparent !important;
    border: none !important;
    color: white !important;
    padding: 10px;
    font-weight: 700;
    width: 100%;
    outline: none;
}
.bet-input-wrapper {
    display: flex;
    gap: 10px;
}

/* Limbo desktop layout uses shared game-layout-desktop from style_auth.css */
@media (min-width: 900px) {
    .game-right-panel .limbo-main-area {
        flex: 1;
        min-height: 250px;
    }
    .limbo-bottom-inputs {
        display: flex;
        gap: 15px;
        padding: 15px 0 0 0;
    }
}
