body {
    margin: 0;
    min-height: 100vh;
    position: relative;

    background-color: #090908;

    background-image:
        linear-gradient(rgba(214, 208, 196, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(214, 208, 196, 0.035) 1px, transparent 1px);

    background-size: 40px 40px;

    color: #d6d0c4;
    font-family: Arial, sans-serif;
}

#mazeCanvas {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    opacity: 0.12;
}

main {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    padding-top: 60px;
    text-align: center;

    position: relative;
    z-index: 1;
}

h1 {
    font-family: Georgia, serif;
    font-size: 2rem;
    letter-spacing: 0.15rem;
    margin-bottom: 20px;

    text-shadow: 0 0 8px rgba(214, 208, 196, 0.15);
}

main p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.75;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.links a {
    display: block;
    padding: 16px;

    color: #d6d0c4;
    background-color: #141311;

    text-decoration: none;

    border: 2px solid #5f5a50;

    font-size: 1rem;
    letter-spacing: 0.05rem;

    box-shadow:
        inset 0 0 12px rgba(0, 0, 0, 0.8),
        0 0 4px rgba(214, 208, 196, 0.15);

    position: relative;

    transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.links a:active {
    transform: scale(0.98);

    background-color: #1c1a17;
    border-color: #b3aa98;

    box-shadow:
        inset 0 0 18px rgba(0, 0, 0, 0.95),
        0 0 8px rgba(214, 208, 196, 0.25);
}

.links a:hover {
    background-color: #191815;
    border-color: #8a8376;

    box-shadow:
        inset 0 0 12px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(214, 208, 196, 0.2);
}

.links a:hover::before,
.links a:hover::after {
    border-color: #e0d8c8;
}


.links a::before,
.links a::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    transition: border-color 0.15s ease;
}

.links a::before {
    top: -2px;
    left: -2px;

    border-top: 2px solid #b3aa98;
    border-left: 2px solid #b3aa98;
}

.links a::after {
    bottom: -2px;
    right: -2px;

    border-bottom: 2px solid #b3aa98;
    border-right: 2px solid #b3aa98;
}


.logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #5f5a50;

    font-family: Georgia, serif;
    font-size: 2.5rem;
    font-weight: bold;
}

footer {
    margin-top: 40px;
    padding: 20px 10px 30px;

    text-align: center;

    font-size: 0.8rem;
    letter-spacing: 0.08rem;

    color: #8a8376;
    opacity: 0.7;
}