@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;900&display=swap');

:root {
    --bg-dark: #09090b;
    --bg-panel: rgba(20, 15, 35, 0.6); /* Un panneau légèrement teinté violet */
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #f4f4f5;
    --text-muted: #d4d4d8;
    
    /* Les couleurs de la capture d'écran */
    --space-purple-dark: #220b4e;
    --space-purple-light: #7b38d8;
    --btn-orange-top: #ffbe0b;
    --btn-orange-bottom: #f57c00;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
    /* On simule la nébuleuse violette de ta capture en CSS */
    background-color: var(--space-purple-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, var(--space-purple-light) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, #391175 0%, transparent 50%),
        linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8) 100%);
    background-attachment: fixed;
}

/* --- NAVIGATION --- */
header {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* On enlève le fond noir du header pour laisser respirer l'espace */
    background: transparent;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: white;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--btn-orange-top);
}

/* --- CONTENU PRINCIPAL --- */
main {
    flex: 1;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center; /* On centre tout comme sur la capture */
}

/* Le gros titre qui imite le logo central */
.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin: 4rem 0 1rem 0;
    text-align: center;
    color: white;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    letter-spacing: -2px;
}

/* Le bouton jaune/orange type "Steam" */
.btn-steam {
    display: inline-block;
    background: linear-gradient(to bottom, var(--btn-orange-top), var(--btn-orange-bottom));
    color: white;
    font-weight: 900;
    font-size: 1.5rem;
    padding: 1rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-shadow: 0 2px 2px rgba(0,0,0,0.3);
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.4);
    transition: transform 0.2s, filter 0.2s;
    margin-bottom: 4rem;
}

.btn-steam:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* Les cartes d'outils en bas */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(8px); /* Effet verre pour laisser voir le violet */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card h3 { margin-top: 0; color: white; }

/* --- FOOTER --- */
footer {
    padding: 2rem 5%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    background: rgba(0,0,0,0.8);
}