/* 기본 배경 및 폰트 */
body { 
    font-family: 'Apple SD Gothic Neo', sans-serif; 
    background-color: #fdfbfb; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    min-height: 100vh; 
    margin: 0; 
}

.container { 
    background: white; 
    padding: 40px; 
    border-radius: 30px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    text-align: center; 
    width: 90%; 
    max-width: 400px; 
}

h1 { color: #555; font-size: 22px; margin-bottom: 10px; }
p { color: #888; font-size: 14px; }

/* 타이머 박스 */
.timer-box { 
    background: #fff5f5; 
    padding: 12px; 
    border-radius: 12px; 
    margin: 15px 0; 
    font-weight: bold; 
    color: #ff6b6b; 
    border: 1px solid #ffe3e3; 
}

/* 투표 섹션 */
.vote-section { 
    margin: 30px 0; 
    display: flex; 
    gap: 10px; 
    justify-content: center; 
}

.btn { 
    border: none; 
    padding: 15px 25px; 
    font-size: 16px; 
    border-radius: 15px; 
    cursor: pointer; 
    color: white; 
    transition: 0.3s; 
    font-weight: bold; 
}

.blue { background-color: #a2d2ff; }
.pink { background-color: #ffafcc; }
.btn:hover { transform: translateY(-2px); opacity: 0.9; }

/* 결과 확인 버튼 (애니메이션 포함) */
.reveal-btn { 
    background-color: #4CAF50; 
    color: white; 
    padding: 15px 30px; 
    font-size: 18px; 
    border-radius: 50px; 
    border: none; 
    cursor: pointer; 
    margin-top: 20px; 
    animation: pulse 2s infinite; 
    font-weight: bold; 
}

@keyframes pulse { 
    0% { transform: scale(1); } 
    50% { transform: scale(1.05); } 
    100% { transform: scale(1); } 
}

/* 프로그레스 바 */
.progress-container { 
    display: flex; 
    height: 35px; 
    border-radius: 20px; 
    overflow: hidden; 
    background: #eee; 
    margin-top: 20px; 
}

.bar { 
    transition: width 0.6s ease; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 13px; 
    font-weight: bold; 
}

.blue-bar { background-color: #a2d2ff; }
.pink-bar { background-color: #ffafcc; }

.status-text { margin-top: 15px; font-size: 14px; color: #666; }

/* 결과창 스타일 */
.gender-box { 
    font-size: 22px; 
    font-weight: bold; 
    padding: 20px; 
    border-radius: 15px; 
    margin: 20px auto; 
    color: white; 
    width: fit-content; 
}

.gender-image { 
    max-width: 100%; 
    border-radius: 15px; 
    margin-top: 20px; 
    display: none; 
}

.final-message { 
    font-weight: bold; 
    margin-top: 20px; 
    color: #333;
}

/* 유틸리티 */
.hidden { display: none !important; }