/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Lato:wght@400;700&display=swap');

/* --- Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- Global Style --- */
body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, #1e272e, #2c3e50);
    color: #ecf0f1;
    line-height: 1.6;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

/* --- Hero Section: Unity Game --- */
#unity-container {
    width: 1366px;
    height: 768px;
    max-width: 95vw;
    max-height: 70vh;
    margin: 50px auto 30px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#unity-canvas {
    width: 100%;
    height: 100%;
    display: block;
    background: #231F20;
    border: none;
}

/* --- Loading Bar --- */
#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

/* --- Unity Footer Simplifié --- */
#unity-footer {
    display: none; /* on masque le footer Unity */
}

/* --- Game Info Section --- */
#game-info {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
}

/* --- Typography --- */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0,0,0,0.4);
}

h3 {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #3498db;
    font-weight: bold;
}

p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #d6d6d6;
}

strong, b {
    color: #3498db;
}

/* --- Feature List --- */
#game-info ul {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    display: inline-block;
    text-align: left;
}

#game-info li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    font-size: 1.05em;
}

#game-info li::before {
    content: '✔';
    color: #2ecc71;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- Links --- */
a {
    color: #3498db;
    text-decoration: none;
    transition: 0.3s ease;
}

a:hover {
    color: #5dade2;
    text-decoration: underline;
}

/* --- Language Switcher --- */
.language-switcher {
    margin-top: 30px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* --- Remove Call-to-Action --- */
.call-to-action {
    display: none !important;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    #unity-container {
        max-width: 100%;
        max-height: 60vh;
    }
    h1 {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    #unity-container {
        max-height: 50vh;
        margin: 30px auto 20px auto;
    }
    #game-info {
        padding: 20px;
    }
    h1 {
        font-size: 1.8em;
    }
    h3 {
        font-size: 1.3em;
    }
}
