/* ================================
   TINY TOWN IN WINTER
   ================================ */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;

    color: #243447;

    background: transparent;
}


/* ================================
   FOND VIDÉO
   ================================ */

.background-video {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -1;
}


/* ================================
   EN-TÊTE
   ================================ */

header {
    text-align: center;
    padding: 70px 20px 60px;

    background:
        linear-gradient(
            rgba(40, 70, 95, 0.65),
            rgba(70, 100, 125, 0.55)
        );

    color: white;

    position: relative;
    z-index: 1;
}

header h1 {
    margin: 0;
    font-size: 48px;

    text-shadow:
        0 3px 10px rgba(0, 0, 0, 0.4);
}

.subtitle {
    margin-top: 15px;
    font-size: 20px;
}


/* ================================
   LOGO
   ================================ */

.logo {
    font-size: 70px;
    margin-bottom: 10px;

    text-shadow:
        0 3px 10px rgba(0, 0, 0, 0.3);
}


/* ================================
   CONTENU PRINCIPAL
   ================================ */

main {
    max-width: 1000px;
    margin: auto;
    padding: 50px 20px;

    position: relative;
    z-index: 1;
}

section {
    background: rgba(255, 255, 255, 0.9);

    padding: 35px;

    margin-bottom: 30px;

    border-radius: 20px;

    box-shadow: 0 5px 20px rgba(60, 80, 100, 0.15);
}

section h2 {
    text-align: center;
    margin-top: 0;
}


/* ================================
   PRÉSENTATION
   ================================ */

.presentation {
    text-align: center;
}

.presentation p {
    font-size: 18px;
    line-height: 1.7;
}


/* ================================
   IMAGE DU JEU
   ================================ */

.game-image {
    display: block;

    width: 100%;
    max-width: 700px;

    margin: 25px auto;

    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(40, 60, 80, 0.25);
}


/* ================================
   TÉLÉCHARGEMENT
   ================================ */

.download {
    text-align: center;
}
.download-buttons {
    display: flex;

    justify-content: center;
    gap: 20px;

    flex-wrap: wrap;

    margin-top: 20px;
}
.download-button {
    display: inline-block;

    padding: 18px 40px;

    background: rgba(79, 120, 149, 0.95);

    color: white;

    text-decoration: none;

    font-size: 21px;
    font-weight: bold;

    border-radius: 15px;

    box-shadow: 0 5px 15px rgba(40, 60, 80, 0.3);

    transition: 0.25s;
}

.download-button:hover {
    background: rgba(54, 90, 115, 0.98);

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(40, 60, 80, 0.35);
}

.version {
    margin-top: 15px;

    font-size: 14px;

    color: #718096;
}


/* ================================
   FONCTIONNALITÉS
   ================================ */

.feature-list {
    display: flex;

    gap: 20px;

    justify-content: center;
}

.feature {
    flex: 1;

    padding: 20px;

    background: #eef5f9;

    border-radius: 15px;

    text-align: center;
}

.feature h3 {
    margin-top: 0;
}

.feature p {
    line-height: 1.5;
}


/* ================================
   PIED DE PAGE
   ================================ */

footer {
    text-align: center;

    padding: 30px;

    background: #304b5f;

    color: white;

    position: relative;
    z-index: 1;
}


/* ================================
   VERSION TÉLÉPHONE
   ================================ */

@media (max-width: 700px) {

    header h1 {
        font-size: 34px;
    }

    .subtitle {
        font-size: 17px;
    }

    .feature-list {
        flex-direction: column;
    }

    section {
        padding: 25px 20px;
    }

    .logo {
        font-size: 60px;
    }
}
