* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

footer {
    margin-top: auto;
    text-align: center;
    padding: 10px;
    background: rgba(10, 15, 30, 0.82);
    color: #aaa;
    font-size: 0.75rem;
}

.hero {
    text-align: center;
    padding-top: 60px;
}

.hero h1 {
    font-size: 64px;
    color: #e2b96f;

    text-shadow: 0 0 20px rgba(226,185,111,0.3);
}

.hero p {
    margin-top: 12px;
    color: #bdbdbd;
    font-size: 18px;
}

.hero-line {
    width: 140px;
    height: 4px;

    background: #e2b96f;

    margin: 22px auto 0;

    border-radius: 30px;
}

.modes-container {
    width: 100%;
    flex: 1;
    display: flex;
    margin-top: 50px;
}

.mode-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 60px;
    transition: 0.3s;

    position: relative;
    overflow: hidden;
}

.mode-card.story {

    background:
    linear-gradient(rgba(10,10,20,0.7), rgba(10,10,20,0.7)),
    url("../media/background_histoire.png");

    background-size: cover;
    background-position: center;
}

.mode-card.random {

    background:
    linear-gradient(rgba(10,10,20,0.7), rgba(10,10,20,0.7)),
    url("../media/background_aleatoire.png");

    background-size: cover;
    background-position: center;
}

.mode-card.create {

    background:
    linear-gradient(rgba(10,10,20,0.7), rgba(10,10,20,0.7)),
    url("../media/background_editor.png");

    background-size: cover;
    background-position: center;
}

.mode-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.05);
    transition: 0.5s;
}
.mode-card {
    background-size: cover;
    background-position: center;
}
.mode-card:hover::before {
    left: 100%;
}

.mode-card:hover {
    transition: 0.2s;
    transform: scale(1.01);

    box-shadow: 0 0 25px rgba(226,185,111,0.25);
}

.mode-icon {
    font-size: 60px;
    margin-bottom: 25px;
}

.mode-card h2 {
    color: #e2b96f;
    font-size: 48px;

    text-align: center;
    margin-bottom: 20px;
}

.mode-card p {
    text-align: center;
    color: #f0f0f0;
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: 40px;
    font-size: 20px;
}


.btn {
    background: #e2b96f;
    color: #111;
    text-decoration: none;
    padding: 16px 42px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    transition: 0.2s;
}

.btn:hover {
    background: #f0c878;
    transform: scale(1.05);
}

