/* 주사위 게임 스타일 */

.dice-section {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 15px;
}

.dice-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.dice {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #fff, #e0e0e0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dice.rolling {
    animation: rollDice 0.1s linear infinite;
}

@keyframes rollDice {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(10deg) scale(1.05); }
    50% { transform: rotate(0deg) scale(1); }
    75% { transform: rotate(-10deg) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
}

.dice-sum {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    min-height: 30px;
}

/* 결과 텍스트 */
.result-text {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    min-height: 25px;
    margin-bottom: 15px;
}

.result-text.win { color: var(--accent-gold); }
.result-text.lose { color: var(--accent-red); }

/* 배팅 타입 선택 */
.bet-type-section {
    padding: 0;
    margin-bottom: 15px;
}

.bet-type-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.bet-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.bet-type-btn {
    padding: 12px 10px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    font-family: inherit;
    color: #fff;
    transition: all 0.2s;
}

.bet-type-btn.special {
    border-color: var(--accent-gold);
}

.bet-type-btn.selected {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.bet-type-btn.special.selected {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000;
}

.bet-type-btn:disabled {
    opacity: 0.5;
}

.type-label {
    font-size: 1.1rem;
    font-weight: 700;
}

.type-desc {
    font-size: 0.75rem;
    opacity: 0.7;
}

.type-odds {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.bet-type-btn.selected .type-odds {
    color: inherit;
}
