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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 600px;
    width: 100%;
    animation: fadeIn 0.8s ease-in;
}

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

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

.question {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 40px;
    font-weight: 500;
}

.button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    min-height: 80px;
}

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

.yes-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.yes-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.no-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.no-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.message {
    font-size: 1.2rem;
    color: #e53e3e;
    font-weight: 600;
    min-height: 30px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.success-message {
    font-size: 2rem;
    color: #38a169;
    font-weight: 700;
    animation: bounceIn 0.6s ease-in-out;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive design for mobile devices */
@media screen and (max-width: 768px) {
    .container {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .question {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }
    
    .btn {
        font-size: 1.1rem;
        padding: 12px 25px;
    }
    
    .message {
        font-size: 1rem;
    }
    
    .success-message {
        font-size: 1.5rem;
    }
}

/* Responsive design for smaller mobile devices */
@media screen and (max-width: 480px) {
    .container {
        padding: 25px 15px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .question {
        font-size: 1.2rem;
    }
    
    .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .button-container {
        gap: 15px;
    }
}

/* iPad specific adjustments */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 50px;
        max-width: 700px;
    }
    
    .title {
        font-size: 3.5rem;
    }
    
    .question {
        font-size: 2rem;
    }
}
