/* 가위바위보 게임 스타일 */
.game-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    min-height: 100vh;
    padding-bottom: calc(50px + 20px); /* 스크롤버튼 + 띠배너1번 + 띠배너여백 + 고정배너 + 여백 */
}

.game-header {
    text-align: center;
    margin-bottom: 40px;
}

.game-title {
    font-size: 42px;
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 182, 193, 0.5);
}

.game-subtitle {
    font-size: 18px;
    color: #5A5A5A;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.game-area {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    box-shadow: var(--shadow-lg);
}

/* 선택 영역 */
.selection-area {
    margin-bottom: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 24px;
}

.choices {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.choice-btn {
    background: white;
    border: 3px solid #f0f0f0;
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 120px;
    box-shadow: var(--shadow-sm);
}

.choice-btn:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: var(--primary-pink);
    box-shadow: var(--shadow-md);
}

.choice-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.choice-emoji {
    font-size: 48px;
    display: block;
}

.choice-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

/* 결과 영역 */
.result-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius-lg);
}

.player-choice,
.computer-choice {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.choice-display {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.choice-display.selected {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-2);
}

.choice-emoji-large {
    font-size: 64px;
}

.choice-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-medium);
}

.vs-divider {
    padding: 0 20px;
}

.vs-divider span {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    background: white;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* 결과 메시지 */
.result-message {
    text-align: center;
    margin: 30px 0;
    padding: 24px;
    background: var(--gradient-2);
    border-radius: var(--radius-lg);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-message p {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
}

.result-message.win p {
    color: #4CAF50;
}

.result-message.lose p {
    color: #F44336;
}

.result-message.draw p {
    color: #FF9800;
}

/* 점수판 */
.score-board {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    padding: 24px;
    background: #f8f9fa;
    border-radius: var(--radius-lg);
}

.score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.score-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.score-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}

/* 다시하기 버튼 */
.reset-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--gradient-1);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    margin-top: 20px;
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.reset-btn:active {
    transform: translateY(0);
}

/* 애니메이션 */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.choice-display.shake {
    animation: shake 0.5s ease;
}

/* 반응형 */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 80px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .game-container {
        padding: 20px 16px 70px;
    }
    
    .game-title {
        font-size: 32px;
    }
    
    .game-area {
        padding: 30px 20px;
    }
    
    .choices {
        gap: 12px;
    }
    
    .choice-btn {
        min-width: 100px;
        padding: 20px 24px;
    }
    
    .choice-emoji {
        font-size: 40px;
    }
    
    .result-area {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .vs-divider {
        padding: 10px 0;
    }
    
    .choice-display {
        width: 100px;
        height: 100px;
    }
    
    .choice-emoji-large {
        font-size: 52px;
    }
    
    .score-board {
        gap: 20px;
    }
}
