:root {
    --bg-dark: #0f0f0f;
    --card-bg: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent-blindtest: #D4AF37; /* Or */
    --accent-qrcode: #3498db;    /* Bleu */
    --accent-admin: #e74c3c;     /* Rouge */
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
}

/* HEADER */
.dashboard-header {
    text-align: center;
    margin-bottom: 50px;
}

.avatar {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    font-weight: 900;
    background: linear-gradient(to right, #fff, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0;
}

/* GRILLE */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* CARTES */
.app-card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 25px;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Effet de couleur au survol */
.card-blindtest:hover { border-color: var(--accent-blindtest); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15); }
.card-qrcode:hover { border-color: var(--accent-qrcode); box-shadow: 0 10px 30px rgba(52, 152, 219, 0.15); }
.card-admin:hover { border-color: var(--accent-admin); box-shadow: 0 10px 30px rgba(231, 76, 60, 0.15); }

.app-card:hover {
    transform: translateY(-5px);
    background: #222;
}

.card-icon {
    font-size: 2.5rem;
    background: rgba(255,255,255,0.05);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
}

.card-content { flex: 1; }

.card-content h2 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.card-content p {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* BADGES */
.badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    background: #333;
    color: #aaa;
}
.badge.admin { background: rgba(231, 76, 60, 0.2); color: var(--accent-admin); }

.card-arrow {
    font-size: 1.5rem;
    color: #444;
    transition: 0.3s;
}

.app-card:hover .card-arrow {
    color: white;
    transform: translateX(5px);
}

/* FOOTER */
footer {
    text-align: center;
    margin-top: 50px;
    color: #444;
    font-size: 0.8rem;
}

/* Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
/* --- SPICY QUIZ (NOUVEAU) --- */
:root {
    /* ... tes autres variables ... */
    --accent-spicy: #c0392b; /* Rouge Piment */
}

.card-spicy:hover { 
    border-color: var(--accent-spicy); 
    box-shadow: 0 10px 30px rgba(192, 57, 43, 0.2); 
}

.badge.spicy { 
    background: rgba(192, 57, 43, 0.2); 
    color: var(--accent-spicy); 
}

/* --- SING TONIGHT (NOUVEAU) --- */
:root {
    /* ... tes autres variables ... */
    --accent-sing: #7b2cbf; /* Violet */
}

.card-singtonight:hover { 
    border-color: var(--accent-sing); 
    box-shadow: 0 10px 30px rgba(123, 44, 191, 0.2); 
}

.badge.sing { 
    background: rgba(123, 44, 191, 0.2); 
    color: var(--accent-sing); 
}

/* --- FAMILY TREE (NOUVEAU) --- */
:root {
    /* ... tes autres variables ... */
    --accent-family: #2ecc71; /* Vert Émeraude */
}

.card-family:hover { 
    border-color: var(--accent-family); 
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.2); 
}

.badge.family { 
    background: rgba(46, 204, 113, 0.2); 
    color: var(--accent-family); 
}

