/* style.css */

/* --- Initialisation et Variables --- */
:root {
    --main-bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --primary-color: #a4c2a8; /* Un vert vieilli, rappelant les lueurs du radium */
    --font-title: 'Lora', serif;
    --font-text: 'Roboto', sans-serif;
    --container-bg: #2b2b2b;
}

/* --- Style Général --- */
body {
    margin: 0;
    font-family: var(--font-text);
    background-color: var(--main-bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

/* --- Conteneur Principal --- */
.container {
    background-color: var(--container-bg);
    border: 1px solid #444;
    border-radius: 10px;
    padding: 2rem 3rem;
    max-width: 800px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
}

/* --- Typographie --- */
h1, h2 {
    font-family: var(--font-title);
    color: white;
    margin: 0;
    text-shadow: 0 0 10px var(--primary-color);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 400;
}

p {
    line-height: 1.6;
    font-weight: 300;
    font-size: 1.1rem;
}

/* --- Section Intrigue --- */
.intrigue img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    border: 2px solid #555;
    margin-bottom: 1.5rem;
    filter: sepia(60%) contrast(1.1) brightness(0.9);
}

.scenario {
    font-style: italic;
    margin-bottom: 1rem;
}

.mission {
    font-weight: bold;
    color: white;
}

/* --- Bouton --- */
#startButton {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    font-size: 1.2rem;
    font-family: var(--font-title);
    cursor: pointer;
    border-radius: 5px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#startButton:hover {
    background-color: var(--primary-color);
    color: var(--main-bg-color);
    box-shadow: 0 0 20px var(--primary-color);
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive & Petits Écrans --- */
@media (max-height: 780px) {
    .container {
        padding: 1.5rem 2rem;
    }
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    .intrigue img {
        max-height: 200px;
        width: auto;
        object-fit: contain;
        margin-bottom: 1rem;
    }
    #startButton {
        margin-top: 1.2rem;
        padding: 12px 25px;
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    body { padding: 10px; }
    .container {
        padding: 1.2rem 1rem;
        width: 98%;
    }
    h1 {
        font-size: 1.9rem;
    }
    h2 {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }
    p {
        font-size: 1rem;
    }
    #startButton {
        width: 100%;
        padding: 12px 15px;
        font-size: 1rem;
    }
}