:root {
    --bg-color: #fafafa;
    --card-bg: #ffffff;
    --accent: #007aff;
    /* iOS Blue */
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --border: #e5e5e7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    height: 100dvh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 440px;
    text-align: center;
    background: var(--card-bg);
    padding: 60px 24px;
    border-radius: 36px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: #f5f5f7;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.question {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 56px;
}

.action-section {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.btn-wrap {
    flex: 1;
    height: 60px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s cubic-bezier(0.19, 1, 0.22, 1);
    font-family: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-yes {
    background-color: var(--accent);
    color: white;
}

.btn-yes:active {
    transform: scale(0.97);
}

.btn-no {
    background-color: #f5f5f7;
    color: var(--text-primary);
    position: absolute;
    inset: 0;
    touch-action: none;
    user-select: none;
}

/* 닌자 변주 */
.btn-no.ninja {
    position: fixed;
    width: 140px;
    height: 60px;
    z-index: 1000;
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* 뽀용 애니메이션 - 극도로 절제된 느낌 */
.ninja-jump {
    animation: jump 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes jump {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.98);
        opacity: 0.95;
    }

    100% {
        transform: scale(1);
    }
}

/* 결과 */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.overlay.visible {
    opacity: 1;
    visibility: visible;
}

.result-content {
    text-align: center;
    animation: resultPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes resultPop {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.result-text {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.04em;
}

.btn-retry {
    background: var(--text-primary);
    color: white;
    padding: 16px 40px;
    width: fit-content;
    margin: 0 auto;
}

.hidden {
    display: none;
}