* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.logo-section {
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 60px;
    margin-bottom: 15px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 16px;
    color: #718096;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

/* Section Styles */
.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-desc {
    font-size: 14px;
    color: #718096;
    margin-bottom: 25px;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Question Card Styles */
.question-card {
    background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
}

.question-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.question-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.question-content {
    flex: 1;
}

.question-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Radio Group Styles */
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.radio-label {
    position: relative;
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.radio-label:hover {
    border-color: #667eea;
    background: #f7fafc;
    transform: scale(1.02);
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-label input[type="radio"]:checked ~ span {
    color: #667eea;
}

.radio-label input[type="radio"]:checked {
    & + span::before {
        content: '✓';
        position: absolute;
        left: -25px;
        color: #667eea;
        font-weight: bold;
    }
}

.radio-label span {
    position: relative;
    padding-left: 10px;
}

.radio-label:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: scale(1.05);
}

.radio-label:has(input[type="radio"]:checked) span {
    color: white;
}

/* Submit Section */
.submit-section {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    font-family: 'Poppins', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Success Message */
.success-message {
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: checkmark 0.6s ease-out;
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.success-message h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 16px;
    color: #718096;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-reload {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-reload:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.hidden {
    display: none !important;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    color: white;
    font-size: 14px;
}

.footer p {
    margin-bottom: 10px;
}

.admin-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 20px;
    border: 2px solid white;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.admin-link:hover {
    background: white;
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .header {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .header h1 {
        font-size: 24px;
    }

    .logo {
        font-size: 50px;
    }

    .subtitle {
        font-size: 14px;
    }

    .form-container {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .question-card {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .question-icon {
        font-size: 32px;
    }

    .question-content h3 {
        font-size: 15px;
    }

    .radio-group {
        grid-template-columns: 1fr;
    }

    .radio-label {
        padding: 12px 15px;
        font-size: 13px;
    }

    .submit-btn {
        width: 100%;
        padding: 16px 30px;
        font-size: 16px;
    }

    .success-message {
        padding: 40px 25px;
        border-radius: 20px;
    }

    .success-icon {
        font-size: 60px;
    }

    .success-message h2 {
        font-size: 24px;
    }

    .success-message p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .question-content h3 {
        font-size: 14px;
    }

    .radio-label {
        font-size: 12px;
    }
}
