/* ============================================
   BITCOIN PREDICTION GAME - STYLES
   Session 1 - Authentification
   ============================================ */

/* ----------------
   VARIABLES CSS
   ---------------- */
:root {
    /* Couleurs principales - CryptoGhost Theme */
    --primary-color: #00d4ff;
    --primary-dark: #00a8cc;
    --secondary-color: #f7931a;
    
    /* Couleurs d'état */
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #00d4ff;
    
    /* Couleurs neutres - Dark Mode */
    --background: #0a0e17;
    --background-card: #111827;
    --background-card-hover: #1f2937;
    --white: #ffffff;
    --gray-light: #374151;
    --gray-medium: #9ca3af;
    --gray-dark: #e5e7eb;
    --text-color: #ffffff;
    --text-secondary: #9ca3af;
    
    /* Couleurs de rareté des badges */
    --rarity-common: #6b7280;
    --rarity-rare: #00d4ff;
    --rarity-epic: #8b5cf6;
    --rarity-legendary: #f7931a;
    
    /* Effets néon/glow */
    --glow-primary: 0 0 20px rgba(0, 212, 255, 0.4);
    --glow-secondary: 0 0 20px rgba(247, 147, 26, 0.4);
    --glow-success: 0 0 20px rgba(16, 185, 129, 0.4);
    --glow-error: 0 0 20px rgba(239, 68, 68, 0.4);
    
    /* Espacements */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ----------------
   LOGO
   ---------------- */
.logo-container {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.logo {
    max-width: 200px;
    height: auto;
}

/* ----------------
   RESET & BASE
   ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: var(--spacing-md);
    color: var(--text-color);
    line-height: 1.6;
}

/* ----------------
   CONTAINER PRINCIPAL
   ---------------- */
.container {
    background: var(--background-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
}

/* ----------------
   MESSAGES & LOADING
   ---------------- */
.loading {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--info-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: none;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

/* Note: Les anciens styles .message ont été supprimés
   Le nouveau système de toast est dans toast.css */

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

/* ----------------
   TITRES
   ---------------- */
h1 {
    text-align: center;
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    font-size: 28px;
}

h2 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-size: 24px;
}

h3 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-size: 18px;
}

.subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 14px;
}

/* ============================================
   FOOTER PARAMÈTRES
   ============================================ */

.settings-footer {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    margin-top: var(--spacing-md);
    border-top: 1px solid var(--gray-light);
}

.settings-footer p {
    color: var(--text-secondary);
    font-size: 12px;
    margin: 4px 0;
}

