body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    color: #e2e8f0;
    margin: 0;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../images/bg.png'), 
                      linear-gradient(160deg, #12516e 0%, #2592eb 50%, #5bc6f4 100%);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
}

.card {
    background-color: #2d3748;
    border: 1px solid #4a5568;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.column-card {
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1), inset 0 1px 2px 0 rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.column-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3), inset 0 1px 2px 0 rgba(255, 255, 255, 0.05);
}

.auth-card {
     background-image: linear-gradient(160deg, #1e648a 0%, #2592eb 50%, #3bc7f6 100%);
}

.rules-card{
    background-color: white;
    color : #124a69;
}

.btn-primary {
    transition: all 0.2s;
    background-color: #f97316;
    color: white;
    font-weight: bold;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.5);
    background-color: #ea580c;
}

.btn-secondary {
    background-color: #3b82f6;
    color: white;
}

.btn-secondary:hover {
    background-color: #2563eb;
}

.input-style {
    background-color: #1f2937; /* Fond plus sombre */
    border: 1px solid #4b5563; /* Bordure grise */
    color: #ffffff;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    text-align: center;
}

.input-style::placeholder {
    color: #9ca3af;
    font-weight: normal;
}

.nav-bar-style {
    background-color: rgba(26, 44, 85, 0.7); 
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.loader {
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-left-color: #f97316; /* Orange */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Styles pour le Carousel */
.slider-container { width: 100%; }
.slider-track { height: 100%; }
.slider-slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
}
.slider-arrow {
    background-color: rgba(0,0,0,0.2);
    border-radius: 50%;
    width: 32px; height: 32px;
    font-size: 20px; line-height: 32px;
    font-weight: bold; color: white;
    transition: background-color 0.2s;
    border: none; cursor: pointer;
}
.slider-arrow:hover { background-color: rgba(0,0,0,0.4); }
.slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background-color: #124a69;
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
}
.slider-dot.active {
    background-color: #f97316;
    transform: scale(1.2);
}

/* STYLES POUR LE MODAL DE SÉLECTION D'AVATAR */
.avatar-choice-btn {
    aspect-ratio: 1 / 1;
    border: 2px solid transparent;
    border-radius: 9999px; /* Force le cercle parfait */
    overflow: hidden;
    transition: border-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.avatar-choice-btn:hover {
    border-color: #f97316; /* Orange */
    transform: scale(1.05);
}
.avatar-choice-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image remplit le cercle */
}

/* STYLES POUR LE MODAL D'AUTHENTIFICATION */
.auth-modal-tab {
    flex-grow: 1;
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    color: #9ca3af;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}
.auth-modal-tab:hover {
    color: #e5e7eb;
}
.auth-modal-tab.active {
    color: #f97316; /* Orange */
    border-bottom-color: #f97316;
}

/* ... (autres styles) */

/* STYLES POUR LE MODAL DE SÉLECTION D'AVATAR */
.avatar-choice-btn {
/* ... (styles existants) */
}
.avatar-choice-btn:hover {
/* ... (styles existants) */
}
.avatar-choice-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image remplit le cercle */
}

/* AJOUTÉ ICI */
.avatar-display-small {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgb(255, 255, 255);
    flex-shrink: 0; 
}
/* FIN AJOUT */

.avatar-display-large-clickable {
    border: 4px solid transparent;
    border-radius: 9999px;
    transition: all 0.2s ease-in-out;
}
.avatar-display-large-clickable:hover {
    border-color: #f97316; /* Orange */
    transform: scale(1.05);
}
/* STYLES POUR LE MODAL D'AUTHENTIFICATION */
/* ... (autres styles) */
