* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: #080808;
    color: #e8e3d9;
    font-family: Georgia, "Times New Roman", serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("arkhe.png");
    background-position: center;
    background-size: 600px;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(35, 31, 25, 0.25),
        rgba(8, 8, 8, 0.98) 75%
    );
    z-index: -1;
    pointer-events: none;
}

nav {
    width: 100%;
    min-height: 75px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(9, 9, 9, 0.96);
    border-bottom: 1px solid #292722;
    position: relative;
    z-index: 10;
}

.logo {
    color: #d6b56e;
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 5px;
}

.menu {
    display: flex;
    gap: 35px;
}

.menu a {
    color: #aaa59c;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.menu a:hover {
    color: #d6b56e;
}

.encabezado {
    width: 100%;
    min-height: 420px;
    padding: 110px 20px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(
            ellipse at center,
            #30291f 0%,
            #151310 35%,
            #080808 78%
        );
    border-bottom: 1px solid #292722;
}

.pre-titulo {
    width: 100%;
    margin-bottom: 20px;
    color: #8f7950;
    font-family: Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 6px;
    text-align: center;
}

.encabezado h1 {
    width: 100%;
    margin: 0;
    color: #d6b56e;
    font-size: clamp(60px, 10vw, 120px);
    font-weight: normal;
    line-height: 1;
    letter-spacing: 15px;
    text-align: center;
}

.descripcion {
    width: 100%;
    max-width: 650px;
    margin: 30px auto 0;
    color: #aaa59c;
    font-size: 17px;
    line-height: 1.8;
    text-align: center;
}

main {
    width: 100%;
    padding: 80px 0 110px;
}

.galeria {
    width: 90%;
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.fanart {
    position: relative;
    overflow: hidden;
    background: #10100f;
    border: 1px solid #292722;
    transition:
        transform 0.4s,
        border-color 0.4s,
        box-shadow 0.4s;
}

.fanart:hover {
    transform: translateY(-8px);
    border-color: #8f7950;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.imagen {
    position: relative;
    width: 100%;
    height: 390px;
    overflow: hidden;
    background: #11100e;
}

.imagen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.7s,
        filter 0.7s;
}

.fanart:hover .imagen img {
    transform: scale(1.06);
    filter: brightness(0.7);
}

.imagen::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            transparent 45%,
            rgba(8, 8, 8, 0.15) 60%,
            rgba(8, 8, 8, 0.85) 100%
        );
    pointer-events: none;
}

.informacion {
    position: relative;
    padding: 22px 25px 25px;
    background: #10100f;
    border-top: 1px solid #292722;
}

.informacion h2 {
    color: #e8e3d9;
    font-size: 19px;
    font-weight: normal;
    letter-spacing: 1px;
    transition: 0.3s;
}

.fanart:hover .informacion h2 {
    color: #d6b56e;
}

.informacion p {
    margin-top: 8px;
    color: #77736c;
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
}

.informacion::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25px;
    width: 35px;
    height: 1px;
    background: #8f7950;
    transition: 0.3s;
}

.fanart:hover .informacion::before {
    width: 70px;
}

@media (max-width: 1000px) {
    .galeria {
        grid-template-columns: repeat(2, 1fr);
    }

    .imagen {
        height: 380px;
    }
}

@media (max-width: 650px) {
    nav {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .encabezado {
        min-height: 360px;
        padding: 80px 20px 65px;
    }

    .encabezado h1 {
        font-size: 55px;
        letter-spacing: 8px;
    }

    .descripcion {
        font-size: 15px;
    }

    main {
        padding: 55px 0 80px;
    }

    .galeria {
        width: 88%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .imagen {
        height: 430px;
    }
}