/* ===========================================
   INDEX.CSS - Page d'accueil Wheel of Fight
   UTILISE LES COULEURS DE GLOBAL.CSS
   =========================================== */

/* Corps de page - dégradé sombre */
body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    min-height: 100vh;
    color: #fff;
}

/* Header spécifique à l'index */
.component_div-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid var(--gold, #FFD700);
}

#headerContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold, #FFD700);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Section Hero */
.component_div-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
}

#heroContent {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

/* Texte principal à gauche */
.component_div-heroText {
    animation: fadeInUp 1s ease-out;
}

#mainTitle {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gold, #FFD700);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

#description {
    font-size: 1.3rem;
    color: var(--lightBlue, #B3C5D7);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
}

#ultimateBattle {
    font-size: 1.8rem;
    color: var(--gold, #FFD700);
    margin-bottom: 2rem;
    text-align: center;
    padding: 20px;
    border: 2px solid var(--gold, #FFD700);
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

/* Container d'authentification à droite */
.component_div-authContainer {
    background: var(--darkBlue, #1A237E);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid var(--gold, #FFD700);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInRight 1s ease-out 0.3s both;
}

/* Onglets de navigation */
.component_div-authTabs {
    display: flex;
    margin-bottom: 30px;
    gap: 10px;
}

/* Styles des boutons d'onglets - UTILISE VOS CLASSES GLOBALES */
.component_div-authTabs .component_btn-Confirm--M {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    /* Utilise les couleurs de vos boutons Confirm du global.css */
}

.component_div-authTabs .component_btn-Neutral--M {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    /* Utilise les couleurs de vos boutons Neutral du global.css */
}

/* Container des formulaires */
.component_div-formsContainer {
    position: relative;
}

/* Formulaires */
.component_div-formContainer {
    animation: fadeIn 0.5s ease;
}

/* Titres des formulaires */
#loginTitle,
#registerTitle {
    color: var(--gold, #FFD700);
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

/* Groupes de champs */
.component_div-formGroup {
    margin-bottom: 20px;
}

/* Labels des champs */
#loginEmailLabel,
#loginPasswordLabel,
#registerUsernameLabel,
#registerEmailLabel,
#registerPasswordLabel,
#registerConfirmLabel {
    display: block;
    margin-bottom: 8px;
    color: var(--gold, #FFD700);
    font-weight: 600;
    font-size: 1rem;
}

/* Inputs - UTILISE VOS COULEURS GLOBALES */
.input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gold, #FFD700);
    border-radius: 10px;
    background: var(--darkBlue, #1A237E);
    color: var(--lightBlue, #B3C5D7);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input:focus {
    outline: none;
    border-color: var(--gold, #FFD700);
    background: var(--blue, #3949AB);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    color: #fff;
}

.input::placeholder {
    color: rgba(179, 197, 215, 0.5);
}

/* Boutons de soumission des formulaires - UTILISE VOS CLASSES GLOBALES */
#loginSubmit,
#registerSubmit {
    width: 100%;
    margin-top: 10px;
    /* Le style vient déjà de component_btn-Confirm--L dans global.css */
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Responsive */
@media (max-width: 768px) {
    #heroContent {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    #mainTitle {
        font-size: 2.5rem;
    }

    .component_div-authContainer {
        padding: 30px 20px;
    }

    .component_div-authTabs {
        flex-direction: column;
        gap: 5px;
    }
}