﻿/* ========== PAGE INDEX (ACCUEIL) ========== */
html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.welcome-box {
    background: white;
    border-radius: 20px;
    padding: 50px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    margin-bottom: 40px;
    font-size: 18px;
}

.lang-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.lang-btn {
    padding: 15px 40px;
    font-size: 24px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.lang-btn.fr {
    background: #0055a4;
    color: white;
}

.lang-btn.nl {
    background: #ff6600;
    color: white;
}

.lang-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.lang-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.feature {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.feature span {
    font-size: 30px;
    display: block;
    margin-bottom: 8px;
}

/* Ajouter un espace entre les icônes et le texte */
.welcome-box i,
.lang-btn i,
.feature i,
.age-warning i,
.age-selector-small i {
    margin-right: 8px;
}

.age-warning {
    margin-top: 30px;
    padding: 10px;
    background: #fff3cd;
    border-radius: 10px;
    font-size: 12px;
    color: #856404;
}

.age-verification-bottom {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.age-selector-small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.age-selector-small label {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

.age-selector-small select {
    padding: 6px 10px;
    font-size: 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    font-family: inherit;
    color: #333;
    width: auto;
    min-width: 140px;
}

.age-selector-small select:focus {
    outline: none;
    border-color: #667eea;
}

.age-error-small {
    background: #f8d7da;
    color: #721c24;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    display: none;
    margin-top: 8px;
    text-align: center;
}

.age-error-small.show {
    display: inline-block;
}

@media (max-width: 600px) {
    .welcome-box {
        padding: 30px;
    }

    h1 {
        font-size: 32px;
    }

    .lang-btn {
        padding: 10px 25px;
        font-size: 18px;
    }

    .age-selector-small {
        flex-direction: column;
        gap: 8px;
    }
}