﻿body {
    font-family: PlusJakartaSans-Regular;
    color: #fff;
    background-color: #1e1f22;
}

.portada_wf01 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'GreatVibes-Regular', cursive;
    width: 100%;
    padding: 2rem 0;
    background-color: #111;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
    -webkit-tap-highlight-color: transparent;
    color: #e0e0e0;
}

    .portada_wf01 span {
        font-size: 2.5rem;
        color: inherit;
        transition: color 0.3s;
    }

    .portada_wf01:hover {
        background-color: #0fa;
        transform: translateY(5px);
        color: #ff5300;
        -webkit-text-stroke: 2px #ff5300;
    }

    .portada_wf01:active {
        background-color: #555;
        transform: translateY(2px);
    }

    .portada_wf01:focus {
        outline: none;
    }

/* ----- Bases ----- */
.dvbase_wf01 {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.dvbase_wf02 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

/* ----- Columna Central ----- */
.columna_base {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #2a2b30;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    gap: 1.5rem; /* ----- Separación entre hijos ----- */
}

/* ----- Título dentro ----- */
.span_wf01 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #f5f5f5;
    display: block;
}

/* ----- Links ----- */
.dv_wf1 {
    width: 100%;
}

    .dv_wf1 a {
        display: block;
        width: 100%;
        padding: 1rem;
        background: #3a3b40;
        border: 1px solid #4a4b50;
        border-radius: 8px;
        color: #ffffff;
        text-decoration: none;
        font-size: 1.2rem;
        text-align: center;
        transition: background 0.3s, transform 0.2s;
    }

        .dv_wf1 a:hover {
            background: #00faff;
            color: #000;
            font-weight: 600;
            transform: translateY(-3px);
        }

/* ----- Responsive ----- */
@media (max-width: 640px) {
    .portada_wf01 h3 {
        font-size: 2rem;
    }

    .columna_base {
        padding: 1.5rem;
        gap: 1rem;
    }

    .span_wf01 {
        font-size: 1.5rem;
    }

    .dv_wf1 a {
        font-size: 1rem;
        padding: 0.8rem;
    }
}

/* ----- BUSCADOR ----- */

.search-box {
    position: relative;
}

.search-input {
    width: 250px;
    padding: 0.6rem;
    border: none;
    border-radius: 0.5rem;
    background: #fff;
    color: #000;
    font-size: 1rem;
    outline: none;
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #2a2b2e;
    border-radius: 0 0 0.5rem 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

    .suggestions div {
        padding: 0.6rem;
        cursor: pointer;
    }

        .suggestions div:hover {
            background-color: #3c3d41;
        }

.hidden {
    display: none;
}

/* ----- BUSCADOR ----- */

.dv_buscador_wiki {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 2rem;
    font-family: PlusJakartaSans-ExtraLightItalic;
}

.arropa_nv01 {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: sticky;
    top: 4.375rem;
}

.clic_logo_wiki {
    font-family: Neonderthaw-Regular;
    color: #fff;
    text-decoration: none;
    font-size: 2.5rem;
    transition: transform 0.4s ease, text-shadow 0.4s ease;
    will-change: transform;
}

    .clic_logo_wiki:hover {
        transform: translateY(-10px) perspective(600px) rotateX(4deg) scale(1.05);
        text-shadow: 0 0 5px #fff, 0 0 10px #ff0, 0 0 20px #ff0, 0 0 40px #ff0;
        color: #ff0;
    }

/* ----- BUSCADOR ----- */