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

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 500px;
}

h2 {
    color: #2D3436;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    line-height: 1.3;
}

.form-group {
    margin-bottom: 3.5rem;
    position: relative;
}

input {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

input:focus {
    outline: none;
    border-color: #4ECDC4;
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.1);
}

button {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(45deg, #4ECDC4, #2AB7CA);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.error {
    color: #FF6B6B;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 107, 107, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
}

.error.show {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .container {
        padding: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .container {
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    input, button {
        padding: 1rem;
        font-size: 1rem;
    }
}

.hidden {
    display: none !important;
}

.question {
    margin-bottom: 20px;
}

.options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.option-btn {
    padding: 12px;
    border: 2px solid #4ECDC4;
    background: white;
    color: #2D3436;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-btn:hover {
    background: #4ECDC4;
    color: white;
}

.option-btn.selected {
    background: #4ECDC4;
    color: white;
}

.loader-container {
    text-align: center;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4ECDC4;
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
}

.checking-list {
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.check-item {
    padding: 10px;
    margin: 5px 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.check-item.active {
    opacity: 1;
    color: #4ECDC4;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.result-text {
    text-align: center;
    margin: 20px 0;
    line-height: 1.6;
}

.claim-button {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    font-size: 1.2rem;
    padding: 15px 30px;
    margin-top: 20px;
}

.description {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.questions-container {
    position: relative;
    min-height: 300px;
}

.question {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    visibility: hidden;
}

.question.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

.question-text {
    font-size: 1.4rem;
    color: #2D3436;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 500;
}

.options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.option-btn {
    padding: 15px;
    font-size: 1.1rem;
    border: 2px solid #4ECDC4;
    background: white;
    color: #2D3436;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-btn:hover {
    background: #4ECDC4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.2);
}

.option-btn.selected {
    background: #4ECDC4;
    color: white;
}

@keyframes slideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50px);
        opacity: 0;
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
