/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --lions-blue: #003366;
    --lions-gold: #FFB81C;
    --lions-light-blue: #0066b3;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --medium-gray: #e0e4e8;
    --dark-gray: #333333;
    --text-color: #2c3e50;
    --success-green: #27ae60;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* Base */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--lions-blue) 0%, #001a33 100%);
    min-height: 100vh;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px;
    color: var(--white);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.lions-logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    border-radius: 50%;
}

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

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--lions-gold);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* Main content */
main {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    overflow: hidden;
}

.intro {
    background: linear-gradient(135deg, var(--lions-gold) 0%, #e6a619 100%);
    padding: 30px;
    text-align: center;
}

.intro h2 {
    color: var(--lions-blue);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.intro p {
    color: var(--lions-blue);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Form sections */
.form-section {
    padding: 30px;
    border-bottom: 2px solid var(--light-gray);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--lions-blue);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--lions-blue);
    color: var(--white);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: bold;
}

.section-hint {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 15px;
}

.subsection {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed var(--medium-gray);
}

.subsection:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.subsection h4 {
    color: var(--lions-light-blue);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Form groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

/* Select */
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-color);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23003366' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

select:focus {
    outline: none;
    border-color: var(--lions-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

select:hover {
    border-color: var(--lions-light-blue);
}

/* Textarea */
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-color);
    resize: vertical;
    min-height: 100px;
    transition: var(--transition);
}

textarea:focus {
    outline: none;
    border-color: var(--lions-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

textarea::placeholder {
    color: #aaa;
}

/* Button group (radio buttons as buttons) */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.button-option {
    flex: 1;
    min-width: 100px;
}

.button-option input[type="radio"] {
    display: none;
}

.button-option span {
    display: block;
    padding: 12px 16px;
    background: var(--light-gray);
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--dark-gray);
}

.button-option span:hover {
    background: var(--medium-gray);
    border-color: var(--lions-light-blue);
}

.button-option input[type="radio"]:checked + span {
    background: var(--lions-blue);
    border-color: var(--lions-blue);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.3);
}

/* Checkbox group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--light-gray);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.checkbox-label:hover {
    background: var(--medium-gray);
    transform: translateX(5px);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--lions-blue);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--lions-blue);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Rating group */
.rating-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rating-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--light-gray);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 10px;
}

.rating-label {
    font-weight: 500;
    color: var(--dark-gray);
    flex: 1;
    min-width: 200px;
}

.rating-stars {
    display: flex;
    gap: 5px;
}

.rating-stars input[type="radio"] {
    display: none;
}

.rating-stars label {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--medium-gray);
    border-radius: 50%;
    cursor: pointer;
    font-weight: 600;
    color: var(--lions-blue);
    transition: var(--transition);
}

.rating-stars label:hover {
    background: var(--lions-gold);
    border-color: var(--lions-gold);
    transform: scale(1.1);
}

.rating-stars input[type="radio"]:checked + label {
    background: var(--lions-blue);
    border-color: var(--lions-blue);
    color: var(--white);
}

/* Form actions */
.form-actions {
    padding: 30px;
    text-align: center;
    background: var(--light-gray);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--lions-blue) 0%, var(--lions-light-blue) 100%);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--lions-light-blue) 0%, var(--lions-blue) 100%);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit svg {
    transition: var(--transition);
}

.btn-submit:hover svg {
    transform: translateX(5px);
}

/* Success message */
.success-message {
    padding: 60px 30px;
    text-align: center;
}

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

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-message h3 {
    color: var(--success-green);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.success-message p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    color: var(--white);
}

footer p {
    margin-bottom: 5px;
}

footer .confidential {
    font-size: 0.9rem;
    opacity: 0.7;
}

footer .copyright {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer .stats-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: var(--lions-gold);
    color: var(--lions-blue);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

footer .stats-link:hover {
    background: var(--white);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    header {
        padding: 30px 15px;
    }

    header h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .lion-icon {
        font-size: 2.5rem;
    }

    .form-section {
        padding: 20px 15px;
    }

    .form-section h3 {
        font-size: 1.2rem;
    }

    .rating-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .rating-stars {
        width: 100%;
        justify-content: space-between;
    }

    .rating-stars label {
        width: 40px;
        height: 40px;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }

    .intro h2 {
        font-size: 1.4rem;
    }

    .intro p {
        font-size: 1rem;
    }
}

/* Animations */
.form-section {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.form-section:nth-child(1) { animation-delay: 0.1s; }
.form-section:nth-child(2) { animation-delay: 0.2s; }
.form-section:nth-child(3) { animation-delay: 0.3s; }
.form-section:nth-child(4) { animation-delay: 0.4s; }
.form-section:nth-child(5) { animation-delay: 0.5s; }

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

/* Focus styles for accessibility */
.checkbox-label:focus-within {
    outline: 2px solid var(--lions-gold);
    outline-offset: 2px;
}

button:focus {
    outline: 2px solid var(--lions-gold);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background: white;
    }

    .container {
        max-width: 100%;
    }

    header {
        color: var(--lions-blue);
    }

    .btn-submit {
        display: none;
    }
}
