* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: #fff;
}

.container {
    width: 100%;
    max-width: 600px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.header h1 {
    font-size: 32px;
    margin-bottom: 8px;
    background: linear-gradient(120deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    color: #b0b0b0;
    font-size: 14px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 12px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ecdc4, #ff6b6b);
    width: 10%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.question-counter {
    text-align: center;
    font-size: 12px;
    color: #b0b0b0;
    margin-bottom: 24px;
}

.question-container {
    margin-bottom: 24px;
}

#question-text {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.4;
    color: #fff;
}

.button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn {
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn .emoji {
    font-size: 20px;
}

.btn-yes {
    background: linear-gradient(135deg, #06d6a0, #04a86a);
    color: #fff;
}

.btn-yes:active {
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(6, 214, 160, 0.4);
}

.btn-no {
    background: linear-gradient(135deg, #ef476f, #c72c48);
    color: #fff;
}

.btn-no:active {
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(239, 71, 111, 0.4);
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: #fff;
    padding: 16px;
    font-size: 16px;
    margin-top: 12px;
}

.btn-primary:active {
    transform: scale(0.98);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.btn-secondary {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 16px;
    font-size: 16px;
    margin-top: 8px;
}

.btn-secondary:active {
    transform: scale(0.98);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.result-section {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(78, 205, 196, 0.3);
}

.score-number {
    font-size: 48px;
    font-weight: 700;
}

.score-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.result-emoji {
    font-size: 60px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

#result-title {
    font-size: 24px;
    margin-bottom: 8px;
}

.result-message {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

@media (max-width: 480px) {
    .card {
        padding: 24px 16px;
    }

    .header h1 {
        font-size: 28px;
    }

    #question-text {
        font-size: 16px;
    }

    .btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .btn .emoji {
        font-size: 18px;
    }

    .score-circle {
        width: 100px;
        height: 100px;
    }

    .score-number {
        font-size: 40px;
    }

    .result-emoji {
        font-size: 50px;
    }

    #result-title {
        font-size: 20px;
    }
}

@media (max-height: 600px) {
    .card {
        padding: 20px 16px;
    }

    .header {
        margin-bottom: 16px;
    }

    .question-counter {
        margin-bottom: 16px;
    }

    .btn {
        padding: 10px 14px;
    }
}
