/* resources/css/app.css */

/* --- CONFIGURATION GLOBALE --- */
:root {
    --primary: #5865F2;
    --secondary: #7289DA;
    --success: #57F287;
    --danger: #EF4444;
    --warning: #FCD34D;
    --bg-primary: #0F0F23;
    --bg-secondary: rgba(255,255,255,0.05);
    --bg-tertiary: rgba(255,255,255,0.1);
    --text-primary: #F8F9FF;
    --text-secondary: #B0B3C1;
    --white: #FFFFFF;
    --dark-blue: #36393F;
    --accent: #5865F2;
    --nations-glory: #00D4AA;
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* { box-sizing: border-box; }

body {
    font-family: 'Figtree', -apple-system, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #1a1b2e 100%);
    color: var(--text-primary);
    margin: 0;
    overflow-x: hidden;
}

.container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

@media (min-width: 1200px) { .container { max-width: 1320px; } }

.glass {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
}

/* --- MODALE DE CONNEXION --- */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center; align-items: center;
}

.modal-content {
    background: var(--bg-secondary);
    padding: 2rem; border-radius: 12px;
    width: 90%; max-width: 400px;
    position: relative;
}

.modal-tabs { display: flex; margin-bottom: 1rem; }
.tab-button {
    flex: 1; padding: 0.5rem; background: var(--bg-tertiary);
    border: none; color: white; cursor: pointer; border-radius: 6px;
}
.tab-button.active { background: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.social-login { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.social-button {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem; border-radius: 6px; text-decoration: none; font-weight: 600;
}
.social-button.discord { background-color: #5865F2; color: white; }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; }
.form-group input {
    width: 100%; padding: 0.75rem; border-radius: 6px;
    background: var(--bg-primary); border: 1px solid var(--bg-tertiary); color: white;
}
.form-button {
    width: 100%; padding: 0.75rem; background: var(--primary);
    color: white; border: none; border-radius: 6px; cursor: pointer;
}
