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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #5c6bc0 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
    padding-top: 60px;
}

.banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

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

.section {
    display: none;
}

.section.active {
    display: block;
}

.content {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

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

.timer-container {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.timer-label {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.timer-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.timer-label-small {
    font-size: 0.9rem;
    opacity: 0.9;
}

.title {
    font-size: 3rem;
    color: #1a237e;
    margin-bottom: 20px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 20px;
}

.subtitle:last-of-type {
    margin-bottom: 40px;
    font-weight: 600;
    color: #1a237e;
}

.button-container {
    position: relative;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 20px 50px;
    font-size: 1.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-yes {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
}

.btn-yes:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-no {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    position: absolute;
    transition: all 0.2s ease;
}

.btn-no:hover {
    transform: scale(1.1);
}

.btn-no.moving {
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-30px, -30px) rotate(-5deg); }
    50% { transform: translate(30px, 30px) rotate(5deg); }
    75% { transform: translate(-20px, 20px) rotate(-3deg); }
}

.anger-message {
    margin-top: 30px;
    padding: 20px;
    background: #ffe6e6;
    border-radius: 10px;
    color: #d32f2f;
    font-size: 1.2rem;
    font-weight: 600;
    animation: pulse 0.5s infinite;
}

.anger-message.hidden {
    display: none;
}

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

/* Quiz Styles */
.quiz-container {
    text-align: left;
}

.quiz-header {
    margin-bottom: 40px;
}

.quiz-title {
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 20px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a237e 0%, #283593 100%);
    width: 0%;
    transition: width 0.3s ease;
}

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

.question {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.answer-btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    border: 2px solid #1a237e;
    background: white;
    color: #1a237e;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.answer-btn:hover {
    background: #1a237e;
    color: white;
    transform: translateX(10px);
}

.result-container {
    text-align: center;
    padding: 40px;
}

.result-title {
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 20px;
}

.result-message {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.result-image {
    font-size: 5rem;
    margin: 20px 0;
}

.hidden {
    display: none;
}

@media (max-width: 600px) {
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 15px 35px;
        font-size: 1.2rem;
    }
    
    .quiz-title {
        font-size: 1.8rem;
    }
    
    .question {
        font-size: 1.2rem;
    }
    
    .timer {
        gap: 10px;
    }
    
    .timer-item {
        min-width: 50px;
    }
    
    .timer-number {
        font-size: 1.5rem;
    }
    
    .timer-label-small {
        font-size: 0.75rem;
    }
    
    .timer-label {
        font-size: 1rem;
    }
}
