/*
Theme Name: Zonaferoz
Theme URI: https://zonaferoz.site/
Author: Zonaferoz
Author URI: https://zonaferoz.site/
Description: Tema oficial de Zonaferoz, diseñado para juegos, mangas, animaciones y emuladores.
Version: 1.0.1
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: zonaferoz
*/

/* ==========================================================
   ZONAFEROZ
   VARIABLES GENERALES
========================================================== */

:root {

    /* Colores principales */

    --zf-bg: #18181c;
    --zf-bg-dark: #111114;
    --zf-bg-soft: #202026;
    --zf-bg-card: #222229;

    --zf-purple: #8b5cf6;
    --zf-purple-light: #a78bfa;
    --zf-purple-dark: #6d28d9;

    --zf-orange: #f97316;
    --zf-red: #ef4444;

    --zf-text: #f5f5f5;
    --zf-text-soft: #b8b8c2;
    --zf-text-muted: #858591;

    --zf-border: rgba(255, 255, 255, 0.09);
    --zf-border-soft: rgba(255, 255, 255, 0.05);

    --zf-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);

    --zf-radius: 8px;
    --zf-radius-small: 5px;

    --zf-container: 1280px;

    /* Espaciado */

    --zf-section-space: 38px;

    /* Transiciones */

    --zf-transition: 0.22s ease;
}


/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--zf-bg);
    color: var(--zf-text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 15px;
    line-height: 1.6;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* ==========================================================
   CONTENEDOR PRINCIPAL
========================================================== */

.zf-container {
    width: min(
        calc(100% - 40px),
        var(--zf-container)
    );

    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   HEADER
========================================================== */

.zf-header {
    position: relative;
    z-index: 99999;
    width: 100%;
    background: var(--zf-bg-dark);
    border-bottom: 1px solid var(--zf-border);
}

/* ==========================================================
   HEADER SUPERIOR
========================================================== */

.zf-header-inner {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* ==========================================================
   LOGO
========================================================== */

.zf-logo {
    flex-shrink: 0;
}

.zf-logo a {
    display: inline-flex;
    flex-direction: column;

    color: var(--zf-text);

    font-size: 22px;
    font-weight: 800;

    letter-spacing: 0.5px;

    transition: color var(--zf-transition);
}

.zf-logo a:hover {
    color: var(--zf-purple-light);
}

.zf-logo-description {
    display: block;

    margin-top: -4px;

    color: var(--zf-text-muted);

    font-size: 9px;
    font-weight: 500;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}

.zf-logo img {
    display: block;
    max-height: 58px;
    width: auto;
}


/* ==========================================================
   NAVEGACIÓN
========================================================== */

.zf-main-navigation {
    display: flex;
    align-items: center;

    margin-left: auto;
}

.zf-menu {
    display: flex;
    align-items: center;

    gap: 4px;
}

.zf-menu > li {
    position: relative;
}

.zf-menu > li > a {
    display: flex;
    align-items: center;

    gap: 5px;

    min-height: 42px;

    padding: 8px 11px;

    color: var(--zf-text);

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    border-radius: var(--zf-radius-small);

    transition:
        background var(--zf-transition),
        color var(--zf-transition);
}

.zf-menu > li > a:hover,
.zf-menu > li.current-menu-item > a,
.zf-menu > li.current-menu-ancestor > a {
    color: var(--zf-purple-light);

    background: rgba(139, 92, 246, 0.10);
}


/* ==========================================================
   FLECHA DEL SUBMENÚ
========================================================== */

.zf-menu-arrow {
    display: inline-block;

    margin-left: 2px;

    font-size: 10px;

    transition: transform var(--zf-transition);
}

.zf-menu > li:hover > a .zf-menu-arrow {
    transform: rotate(180deg);
}


/* ==========================================================
   DROPDOWN
========================================================== */

.zf-menu li {
    position: relative;
}

.zf-menu li ul {
    position: absolute;

    top: calc(100% + 8px);
    left: 0;

    min-width: 210px;

    padding: 8px;

    background: var(--zf-bg-soft);

    border: 1px solid var(--zf-border);
    border-radius: var(--zf-radius);

    box-shadow: var(--zf-shadow);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-5px);

    transition:
        opacity var(--zf-transition),
        visibility var(--zf-transition),
        transform var(--zf-transition);

    z-index: 1100;
}

.zf-menu li:hover > ul {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.zf-menu li ul li {
    width: 100%;
}

.zf-menu li ul a {
    display: flex;
    align-items: center;

    width: 100%;

    padding: 9px 11px;

    color: var(--zf-text-soft);

    font-size: 13px;

    border-radius: 5px;

    transition:
        background var(--zf-transition),
        color var(--zf-transition);
}

.zf-menu li ul a:hover {
    color: var(--zf-text);

    background: rgba(139, 92, 246, 0.14);
}


/* ==========================================================
   BUSCADOR
========================================================== */

.zf-header-search {
    flex-shrink: 0;
    width: 190px;
}

.zf-search-form {
    display: flex;
    align-items: center;

    width: 100%;
}

.zf-search-form input[type="search"] {
    width: 100%;
    height: 38px;

    padding: 0 12px;

    color: var(--zf-text);

    background: var(--zf-bg-soft);

    border: 1px solid var(--zf-border);
    border-radius: 6px;

    outline: none;

    transition:
        border-color var(--zf-transition),
        box-shadow var(--zf-transition);
}

.zf-search-form input[type="search"]::placeholder {
    color: var(--zf-text-muted);
}

.zf-search-form input[type="search"]:focus {
    border-color: var(--zf-purple);

    box-shadow:
        0 0 0 3px rgba(139, 92, 246, 0.12);
}

.zf-search-submit {
    display: none;
}


/* ==========================================================
   BOTÓN MENÚ MÓVIL
========================================================== */

.zf-mobile-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 0;

    color: var(--zf-text);

    background: var(--zf-bg-soft);

    border: 1px solid var(--zf-border);
    border-radius: 7px;

    font-size: 22px;

    transition:
        background var(--zf-transition),
        border-color var(--zf-transition);
}

.zf-mobile-toggle:hover {
    background: rgba(139, 92, 246, 0.14);
    border-color: rgba(167, 139, 250, 0.35);
}


/* ==========================================================
   MENÚ MÓVIL
========================================================== */

.zf-mobile-menu {
    width: 100%;

    max-height: 0;
    overflow: hidden;

    opacity: 0;
    visibility: hidden;

    padding: 0;

    background: var(--zf-bg-dark);

    border-top: 1px solid transparent;

    transition:
        max-height 0.28s ease,
        opacity 0.20s ease,
        padding 0.28s ease,
        border-color 0.20s ease;
}

.zf-mobile-menu.is-open {
    max-height: 700px;

    opacity: 1;
    visibility: visible;

    padding: 15px 0 20px;

    border-top-color: var(--zf-border);
}

.zf-mobile-menu-inner {
    width: 100%;
}

.zf-mobile-menu ul {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.zf-mobile-menu li {
    width: 100%;
}

.zf-mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 12px 14px;

    color: var(--zf-text);

    border-radius: 6px;

    transition:
        background var(--zf-transition),
        color var(--zf-transition);
}

.zf-mobile-menu a:hover {
    color: var(--zf-purple-light);

    background: rgba(139, 92, 246, 0.12);
}

/* Submenú móvil */

.zf-mobile-menu .sub-menu {
    display: none;

    margin: 2px 0 5px 12px;
    padding-left: 8px;

    border-left: 1px solid var(--zf-border);
}

.zf-mobile-menu .sub-menu.zf-submenu-open {
    display: flex;
}

.zf-mobile-menu .sub-menu a {
    padding: 9px 12px;

    color: var(--zf-text-soft);

    font-size: 13px;
}

.zf-mobile-menu .menu-item-has-children > a {
    cursor: pointer;
}

/* ==========================================================
   MAIN
========================================================== */

.zf-main {
    min-height: 60vh;

    padding: 30px 0 50px;
}


/* ==========================================================
   SECCIONES
========================================================== */

.zf-section {
    margin-bottom: var(--zf-section-space);
}

.zf-section:last-child {
    margin-bottom: 0;
}

.zf-section-description {
    margin: -5px 0 18px;

    color: var(--zf-text-muted);

    font-size: 13px;
    line-height: 1.7;
}


/* ==========================================================
   TÍTULO DE SECCIÓN
========================================================== */

.zf-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 17px;
    padding-bottom: 8px;

    border-bottom: 1px solid var(--zf-border);
}

.zf-section-title {
    position: relative;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin: 0;
    padding: 5px 13px;

    color: #fff;

    background: var(--zf-purple);

    border-radius: 4px;

    font-size: 17px;
    font-weight: 800;

    line-height: 1.3;
}

.zf-section-title-icon {
    font-size: 17px;
}

.zf-section-link {
    color: var(--zf-text-muted);

    font-size: 12px;
    font-weight: 700;

    transition: color var(--zf-transition);
}

.zf-section-link:hover {
    color: var(--zf-purple-light);
}


/* ==========================================================
   GRID GENERAL
========================================================== */

.zf-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px 20px;
}


/* ==========================================================
   TARJETAS
========================================================== */

.zf-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    background: transparent;

    border-radius: var(--zf-radius);

    transition:
        transform var(--zf-transition),
        box-shadow var(--zf-transition);
}

.zf-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.28);
}


/* ==========================================================
   IMAGEN DE TARJETA
========================================================== */

.zf-card-image {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: var(--zf-bg-soft);

    border-radius: 6px;
}

.zf-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.zf-card:hover .zf-card-image img {
    transform: scale(1.035);

    filter: brightness(1.06);
}

/* ==========================================================
   BADGE
========================================================== */

.zf-card-badge {
    position: absolute;

    left: 8px;
    bottom: 8px;

    z-index: 5;

    padding: 3px 7px;

    color: #fff;

    background: var(--zf-purple);

    border-radius: 3px;

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
}


/* ==========================================================
   INFORMACIÓN DE TARJETA
========================================================== */

.zf-card-content {
    padding: 9px 0 0;
}

.zf-card-title {
    margin: 0 0 5px;

    color: var(--zf-text);

    font-size: 14px;
    font-weight: 700;

    line-height: 1.4;

    display: -webkit-box;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;

    transition: color var(--zf-transition);
}

.zf-card:hover .zf-card-title {
    color: var(--zf-purple-light);
}

.zf-card-meta {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 7px;

    color: var(--zf-text-muted);

    font-size: 11px;
}

.zf-card-meta-separator {
    color: #555560;
}

.zf-card-meta strong {
    color: var(--zf-text-soft);
}


/* ==========================================================
   ESTRELLAS
========================================================== */

.zf-stars {
    display: inline-flex;
    align-items: center;

    color: #fbbf24;

    letter-spacing: 1px;
}

.zf-rating-value {
    color: var(--zf-text-soft);

    letter-spacing: 0;
}


/* ==========================================================
   VISTAS
========================================================== */

.zf-views {
    display: inline-flex;
    align-items: center;

    gap: 3px;
}


/* ==========================================================
   BLOQUE SUPERIOR
   JUEGOS RECIENTES + TOP 5
========================================================== */

.zf-feature-area {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        320px;

    gap: 25px;

    margin-bottom: var(--zf-section-space);
}


/* ==========================================================
   PANEL
========================================================== */

.zf-panel {
    min-width: 0;

    padding: 17px;

    background: var(--zf-bg-soft);

    border: 1px solid var(--zf-border);
    border-radius: var(--zf-radius);

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.15);
}

.zf-panel-title {
    display: flex;
    align-items: center;

    gap: 8px;

    margin: 0 0 14px;

    color: var(--zf-text);

    font-size: 16px;
    font-weight: 800;
}


/* ==========================================================
   JUEGO DESTACADO — CARRUSEL V2
========================================================== */

.zf-featured-section {
    position: relative;
}

.zf-featured-slider {
    position: relative;
    overflow: hidden;
    border-radius: 7px;
    background: var(--zf-bg-dark);
}

.zf-featured-track {
    position: relative;
    width: 100%;
}

.zf-featured-slide {
    display: none;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, .85fr);
    min-height: 280px;
    background: var(--zf-bg-dark);
}

.zf-featured-slide.is-active {
    display: grid;
}

.zf-featured-game-image {
    position: relative;
    display: block;
    min-width: 0;
    height: 280px;
    overflow: hidden;
    background: var(--zf-bg-dark);
}

.zf-featured-game-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zf-featured-game-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 24px;
    background: var(--zf-bg-dark);
}

.zf-featured-game-content .zf-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--zf-text-muted);
    font-size: 11px;
}

.zf-featured-game-content .zf-card-views,
.zf-featured-game-content .zf-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.zf-featured-game-content .zf-card-rating {
    color: #fbbf24;
}

.zf-featured-game-content .zf-card-rating > span {
    color: var(--zf-text-muted);
}

.zf-featured-game-title {
    margin: 0 0 9px;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
}

.zf-featured-game-title a {
    color: var(--zf-text);
    text-decoration: none;
}

.zf-featured-game-title a:hover {
    color: var(--zf-purple-light);
}

.zf-featured-game-excerpt {
    margin-bottom: 18px;
    color: var(--zf-text-muted);
    font-size: 12px;
    line-height: 1.55;
}

.zf-featured-game-excerpt p {
    margin: 0;
}

.zf-featured-game-content .zf-button {
    align-self: flex-start;
}

.zf-featured-controls {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
}

.zf-featured-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition:
        transform var(--zf-transition),
        background var(--zf-transition);
}

.zf-featured-dot:hover {
    transform: scale(1.2);
}

.zf-featured-dot.is-active {
    background: var(--zf-purple);
    transform: scale(1.25);
}

.zf-featured-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%);
    transition:
        opacity var(--zf-transition),
        background var(--zf-transition);
}

.zf-featured-slider:hover .zf-featured-arrow {
    opacity: 1;
}

.zf-featured-arrow:hover {
    background: var(--zf-purple);
}

.zf-featured-arrow-prev {
    left: 10px;
}

.zf-featured-arrow-next {
    right: 10px;
}


/* ==========================================================
   JUEGO DESTACADO — MÓVIL
========================================================== */

@media (max-width: 768px) {

    .zf-featured-slide {
        grid-template-columns: 1fr;
    }

    .zf-featured-game-image {
        height: 220px;
    }

    .zf-featured-game-content {
        padding: 18px;
    }

    .zf-featured-game-title {
        font-size: 19px;
    }

    .zf-featured-game-excerpt {
        font-size: 11px;
    }

    .zf-featured-arrow {
        opacity: 1;
    }

    .zf-featured-controls {
        right: 12px;
        bottom: 12px;
    }
}
/* ==========================================================
   TOP 5
========================================================== */

.zf-top-games {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.zf-top-game {
    display: grid;

    grid-template-columns:
        32px
        58px
        minmax(0, 1fr);

    align-items: center;

    gap: 9px;

    padding: 7px;

    border-radius: 5px;

    transition:
        background var(--zf-transition);
}

.zf-top-game:hover {
    background: rgba(139, 92, 246, 0.10);
}

.zf-top-number {
    color: var(--zf-purple-light);

    font-size: 15px;
    font-weight: 800;

    text-align: center;
}

.zf-top-image {
    width: 58px;
    height: 42px;

    overflow: hidden;

    border-radius: 4px;

    background: var(--zf-bg-dark);
}

.zf-top-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.zf-top-title {
    min-width: 0;

    color: var(--zf-text);

    font-size: 12px;
    font-weight: 700;

    line-height: 1.35;

    display: -webkit-box;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}

.zf-top-meta {
    margin-top: 2px;

    color: var(--zf-text-muted);

    font-size: 10px;
}


/* ==========================================================
   PÁGINA INDIVIDUAL
========================================================== */

.zf-single {
    max-width: 1000px;

    margin: 0 auto;
}

.zf-single-header {
    margin-bottom: 25px;
}

.zf-single-title {
    margin: 0 0 8px;

    color: #fff;

    font-size: clamp(24px, 4vw, 38px);

    line-height: 1.2;
}

.zf-single-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 15px;

    color: var(--zf-text-muted);

    font-size: 12px;
}

.zf-single-featured {
    margin-bottom: 25px;
}

.zf-single-featured img {
    display: block;

    width: 100%;

    max-height: 600px;

    object-fit: cover;

    border-radius: var(--zf-radius);
}

.zf-single-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin: 25px 0;
}


/* ==========================================================
   CONTENIDO
========================================================== */

.zf-content {
    color: #d5d5dd;

    font-size: 15px;

    line-height: 1.8;
}

.zf-content h1,
.zf-content h2,
.zf-content h3,
.zf-content h4,
.zf-content h5,
.zf-content h6 {
    color: #fff;

    margin-top: 30px;
    margin-bottom: 15px;
}

.zf-content p {
    margin: 0 0 18px;
}

.zf-content ul,
.zf-content ol {
    margin: 0 0 20px;

    padding-left: 25px;

    list-style: revert;
}

.zf-content blockquote {
    margin: 20px 0;

    padding: 15px 20px;

    color: var(--zf-text-soft);

    background: var(--zf-bg-soft);

    border-left: 3px solid var(--zf-purple);

    border-radius: 5px;
}

.zf-content a {
    color: var(--zf-purple-light);
}

.zf-content a:hover {
    color: #c4b5fd;
}

.zf-content img {
    border-radius: 7px;
}

.zf-content table {
    width: 100%;

    margin: 20px 0;

    border-collapse: collapse;

    overflow: hidden;
}

.zf-content th,
.zf-content td {
    padding: 10px;

    border: 1px solid var(--zf-border);
}

.zf-content th {
    color: #fff;

    background: var(--zf-bg-soft);
}

.zf-content pre {
    max-width: 100%;

    overflow-x: auto;

    padding: 15px;

    background: #101014;

    border: 1px solid var(--zf-border);

    border-radius: 6px;
}

.zf-content code {
    color: #ddd6fe;
}


/* ==========================================================
   BOTONES
========================================================== */

.zf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 8px 15px;

    color: #fff;

    background: var(--zf-purple);

    border: 1px solid transparent;
    border-radius: 6px;

    font-size: 13px;
    font-weight: 700;

    transition:
        background var(--zf-transition),
        transform var(--zf-transition),
        box-shadow var(--zf-transition);
}

.zf-button:hover {
    color: #fff;

    background: var(--zf-purple-dark);

    transform: translateY(-1px);

    box-shadow:
        0 5px 15px rgba(109, 40, 217, 0.25);
}

.zf-button-secondary {
    background: var(--zf-bg-soft);

    border-color: var(--zf-border);
}

.zf-button-secondary:hover {
    background: #2a2a32;
}


/* ==========================================================
   PAGINACIÓN
========================================================== */

.zf-pagination {
    display: flex;
    justify-content: center;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 35px;
}

.zf-pagination a,
.zf-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;

    padding: 0 10px;

    color: var(--zf-text-soft);

    background: var(--zf-bg-soft);

    border: 1px solid var(--zf-border);
    border-radius: 5px;

    font-size: 13px;
    font-weight: 700;
}

.zf-pagination a:hover,
.zf-pagination .current {
    color: #fff;

    background: var(--zf-purple);

    border-color: var(--zf-purple);
}


/* ==========================================================
   SIDEBAR
========================================================== */

.zf-sidebar {
    width: 100%;
}

.zf-sidebar-widget,
.zf-widget {
    margin-bottom: 22px;

    padding: 17px;

    background: var(--zf-bg-soft);

    border: 1px solid var(--zf-border);

    border-radius: var(--zf-radius);
}

.zf-sidebar-widget:last-child,
.zf-widget:last-child {
    margin-bottom: 0;
}

.zf-widget-title,
.zf-sidebar-widget-title {
    margin: 0 0 12px;

    color: #fff;

    font-size: 15px;
    font-weight: 800;
}

.zf-sidebar-widget p,
.zf-widget p {
    color: var(--zf-text-soft);

    font-size: 13px;
}

.zf-sidebar-widget ul,
.zf-widget ul {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.zf-sidebar-widget li,
.zf-widget li {
    color: var(--zf-text-soft);

    font-size: 13px;
}

.zf-sidebar-widget a,
.zf-widget a {
    color: var(--zf-text-soft);

    transition: color var(--zf-transition);
}

.zf-sidebar-widget a:hover,
.zf-widget a:hover {
    color: var(--zf-purple-light);
}


/* ==========================================================
   AUTOR
========================================================== */

.zf-author-header {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-bottom: 30px;
    padding: 20px;

    background: var(--zf-bg-soft);

    border: 1px solid var(--zf-border);

    border-radius: var(--zf-radius);
}

.zf-author-avatar {
    flex-shrink: 0;
}

.zf-author-avatar img {
    display: block;

    width: 80px;
    height: 80px;

    border-radius: 50%;

    object-fit: cover;
}

.zf-author-info {
    min-width: 0;
}

.zf-author-name {
    margin: 0 0 5px;

    color: #fff;

    font-size: 22px;
    font-weight: 800;
}

.zf-author-description {
    margin: 0;

    color: var(--zf-text-muted);

    font-size: 13px;
}

.zf-author-count {
    margin-top: 7px;

    color: var(--zf-text-soft);

    font-size: 12px;
}


/* ==========================================================
   BÚSQUEDA
========================================================== */

.zf-search-header {
    margin-bottom: 25px;
}

.zf-search-title {
    margin: 0 0 8px;

    color: #fff;

    font-size: clamp(22px, 4vw, 32px);
}

.zf-search-info {
    margin: 0;

    color: var(--zf-text-muted);

    font-size: 13px;
}

.zf-search-page {
    max-width: 800px;

    margin: 0 auto;
}

.zf-search-page .zf-search-form {
    margin-bottom: 25px;
}

.zf-search-page .zf-search-form input[type="search"] {
    height: 46px;

    font-size: 14px;
}

.zf-search-page .zf-search-submit {
    display: inline-flex;

    flex-shrink: 0;

    height: 46px;

    margin-left: 8px;

    padding: 0 17px;

    color: #fff;

    background: var(--zf-purple);

    border: 0;

    border-radius: 6px;

    font-weight: 700;
}

.zf-search-page .zf-search-submit:hover {
    background: var(--zf-purple-dark);
}


/* ==========================================================
   ESTADO VACÍO
========================================================== */

.zf-empty-state,
.zf-no-results {
    padding: 45px 20px;

    color: var(--zf-text-muted);

    background: var(--zf-bg-soft);

    border: 1px solid var(--zf-border);

    border-radius: 7px;

    text-align: center;
}

.zf-empty-state h2,
.zf-empty-state h3 {
    margin: 0 0 10px;

    color: #fff;
}

.zf-empty-state p {
    max-width: 600px;

    margin: 0 auto 20px;

    color: var(--zf-text-muted);
}


/* ==========================================================
   COMENTARIOS
========================================================== */

.zf-comments {
    margin-top: 45px;
    padding-top: 30px;

    border-top: 1px solid var(--zf-border);
}

.zf-comments-title {
    margin: 0 0 20px;

    color: #fff;

    font-size: 22px;
}

.zf-comment-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.zf-comment {
    margin-bottom: 20px;
    padding: 17px;

    background: var(--zf-bg-soft);

    border: 1px solid var(--zf-border);

    border-radius: var(--zf-radius);
}

.zf-comment-body {
    display: flex;
    gap: 15px;
}

.zf-comment-avatar {
    flex-shrink: 0;
}

.zf-comment-avatar img {
    display: block;

    width: 48px;
    height: 48px;

    border-radius: 50%;
}

.zf-comment-content {
    min-width: 0;
    flex: 1;
}

.zf-comment-author {
    margin: 0 0 2px;

    color: #fff;

    font-size: 14px;
    font-weight: 800;
}

.zf-comment-meta {
    margin-bottom: 10px;

    color: var(--zf-text-muted);

    font-size: 11px;
}

.zf-comment-text {
    color: var(--zf-text-soft);

    font-size: 13px;
    line-height: 1.7;
}

.zf-comment-text p:last-child {
    margin-bottom: 0;
}

.zf-comment-reply {
    margin-top: 10px;
}

.zf-comment-reply a {
    color: var(--zf-purple-light);

    font-size: 11px;
    font-weight: 700;
}

.zf-comment-awaiting {
    margin-bottom: 8px;

    color: var(--zf-orange);

    font-size: 11px;
    font-weight: 700;
}


/* ==========================================================
   FORMULARIO DE COMENTARIOS
========================================================== */

.zf-comments .comment-respond {
    margin-top: 30px;
}

.zf-comments .comment-reply-title {
    margin: 0 0 15px;

    color: #fff;

    font-size: 18px;
}

.zf-comments label {
    display: block;

    margin-bottom: 6px;

    color: var(--zf-text-soft);

    font-size: 12px;
    font-weight: 700;
}

.zf-comments input[type="text"],
.zf-comments input[type="email"],
.zf-comments input[type="url"],
.zf-comments textarea {
    width: 100%;

    padding: 10px 12px;

    color: var(--zf-text);

    background: var(--zf-bg-soft);

    border: 1px solid var(--zf-border);

    border-radius: 6px;

    outline: none;

    transition:
        border-color var(--zf-transition),
        box-shadow var(--zf-transition);
}

.zf-comments input:focus,
.zf-comments textarea:focus {
    border-color: var(--zf-purple);

    box-shadow:
        0 0 0 3px rgba(139, 92, 246, 0.10);
}

.zf-comments textarea {
    min-height: 150px;

    resize: vertical;
}

.zf-comments .form-submit {
    margin-top: 15px;
}

.zf-comments .submit {
    min-height: 40px;

    padding: 8px 15px;

    color: #fff;

    background: var(--zf-purple);

    border: 0;

    border-radius: 6px;

    font-weight: 700;

    cursor: pointer;
}

.zf-comments .submit:hover {
    background: var(--zf-purple-dark);
}


/* ==========================================================
   ADJUNTOS
========================================================== */

.zf-attachment {
    max-width: 1000px;

    margin: 0 auto;
}

.zf-attachment-title {
    margin: 0 0 20px;

    color: #fff;

    font-size: clamp(24px, 4vw, 36px);
}

.zf-attachment-image {
    margin-bottom: 20px;

    text-align: center;
}

.zf-attachment-image img {
    display: inline-block;

    max-height: 80vh;

    border-radius: var(--zf-radius);
}

.zf-attachment-caption {
    margin: 10px 0 0;

    color: var(--zf-text-muted);

    font-size: 12px;

    text-align: center;
}

.zf-attachment-navigation {
    display: flex;
    justify-content: space-between;

    gap: 15px;

    margin-top: 25px;
}


/* ==========================================================
   ALERTAS
========================================================== */

.zf-notice {
    padding: 14px 16px;

    margin-bottom: 20px;

    color: var(--zf-text-soft);

    background: var(--zf-bg-soft);

    border: 1px solid var(--zf-border);

    border-left: 3px solid var(--zf-purple);

    border-radius: 5px;

    font-size: 13px;
}


/* ==========================================================
   ARCHIVOS / TAXONOMÍAS
========================================================== */

.zf-archive-header {
    margin-bottom: 25px;
}

.zf-archive-title {
    margin: 0 0 7px;

    color: #fff;

    font-size: clamp(24px, 4vw, 34px);
}

.zf-archive-description {
    color: var(--zf-text-muted);

    font-size: 13px;
}

.zf-archive-description p {
    margin: 0;
}


/* ==========================================================
   FOOTER
========================================================== */

.zf-footer {
    margin-top: 40px;

    padding: 35px 0;

    background: var(--zf-bg-dark);

    border-top: 1px solid var(--zf-border);
}

.zf-footer-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 30px;
}

.zf-footer-column {
    min-width: 0;
}

.zf-footer-title {
    margin: 0 0 10px;

    color: #fff;

    font-size: 15px;
    font-weight: 800;
}

.zf-footer-text {
    margin: 0;

    color: var(--zf-text-muted);

    font-size: 12px;
}

.zf-footer-links {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.zf-footer-links a {
    color: var(--zf-text-muted);

    font-size: 12px;

    transition: color var(--zf-transition);
}

.zf-footer-links a:hover {
    color: var(--zf-purple-light);
}

.zf-footer-widget {
    min-width: 0;
}

.zf-footer-widget .widget {
    margin-bottom: 20px;
}

.zf-footer-widget .widget:last-child {
    margin-bottom: 0;
}

.zf-footer-widget .widget-title {
    margin: 0 0 10px;

    color: #fff;

    font-size: 15px;
}

.zf-footer-bottom {
    margin-top: 30px;

    padding-top: 20px;

    color: var(--zf-text-muted);

    border-top: 1px solid var(--zf-border-soft);

    font-size: 11px;

    text-align: center;
}

/* ==========================================================
   WORDPRESS WIDGETS
========================================================== */

.widget {
    margin-bottom: 25px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    color: #fff;
}


/* ==========================================================
   WORDPRESS
========================================================== */

.aligncenter {
    display: block;

    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;

    margin-right: 20px;
    margin-bottom: 15px;
}

.alignright {
    float: right;

    margin-left: 20px;
    margin-bottom: 15px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    color: var(--zf-text-muted);

    font-size: 11px;

    text-align: center;
}

.gallery {
    margin-bottom: 20px;
}

.gallery-item {
    margin-bottom: 15px;
}


/* ==========================================================
   WORDPRESS PAGINACIÓN DE CONTENIDO
========================================================== */

.page-links {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 25px;
}

.page-links > span,
.page-links > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 34px;
    min-height: 34px;

    padding: 5px 9px;

    color: var(--zf-text-soft);

    background: var(--zf-bg-soft);

    border: 1px solid var(--zf-border);

    border-radius: 5px;

    font-size: 12px;
}

.page-links > a:hover,
.page-links > span {
    color: #fff;

    background: var(--zf-purple);

    border-color: var(--zf-purple);
}


/* ==========================================================
   ACCESIBILIDAD
========================================================== */

.screen-reader-text {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* ==========================================================
   FOCUS ACCESIBLE
========================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--zf-purple-light);

    outline-offset: 2px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1050px) {

    .zf-container {
        width: min(
            calc(100% - 30px),
            var(--zf-container)
        );
    }

    .zf-grid {
        gap: 20px 15px;
    }

    .zf-header-inner {
        gap: 15px;
    }

    .zf-menu > li > a {
        padding-left: 8px;
        padding-right: 8px;

        font-size: 12px;
    }

    .zf-header-search {
        width: 160px;
    }
}


/* ==========================================================
   TABLET PEQUEÑA
========================================================== */

@media (max-width: 850px) {

    .zf-main-navigation {
        display: none;
    }

    .zf-mobile-toggle {
        display: inline-flex;

        align-items: center;
        justify-content: center;
    }

    .zf-header-inner {
        min-height: 68px;
    }

    .zf-header-search {
        width: 180px;
    }

    .zf-feature-area {
        grid-template-columns: 1fr;
    }

    .zf-featured-game {
        min-height: 300px;
    }

    .zf-featured-game img {
        min-height: 300px;
    }

    .zf-footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .zf-author-header {
        padding: 16px;
    }
}


/* ==========================================================
   MÓVIL
========================================================== */

@media (max-width: 600px) {

    :root {
        --zf-section-space: 30px;
    }

    .zf-container {
        width: calc(100% - 24px);
    }

    .zf-main {
        padding-top: 20px;
        padding-bottom: 35px;
    }

    .zf-header-inner {
        min-height: 62px;

        gap: 10px;
    }

    .zf-logo a {
        font-size: 19px;
    }

    .zf-logo-description {
        font-size: 7px;

        letter-spacing: 1.3px;
    }

    .zf-logo img {
        max-height: 48px;
    }

    .zf-header-search {
        flex: 1;

        width: auto;

        max-width: 180px;
    }

    .zf-search-form input[type="search"] {
        height: 36px;

        font-size: 12px;
    }

    .zf-mobile-toggle {
        width: 38px;
        height: 38px;

        flex-shrink: 0;
    }


    /* ======================================================
       GRID 2 COLUMNAS
    ====================================================== */

    .zf-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px 10px;
    }


    /* ======================================================
       TARJETAS
    ====================================================== */

    .zf-card-image {
        aspect-ratio: 16 / 10;
    }

    .zf-card-content {
        padding-top: 7px;
    }

    .zf-card-title {
        font-size: 12px;

        line-height: 1.35;
    }

    .zf-card-meta {
        gap: 4px;

        font-size: 9px;
    }

    .zf-language-flags {
        top: 5px;
        left: 5px;

        padding: 3px 5px;

        gap: 2px;

        font-size: 14px;
    }

    .zf-card-badge {
        left: 5px;
        bottom: 5px;

        padding: 2px 5px;

        font-size: 7px;
    }


    /* ======================================================
       SECCIONES
    ====================================================== */

    .zf-section-header {
        margin-bottom: 12px;
    }

    .zf-section-title {
        padding: 5px 9px;

        font-size: 14px;
    }

    .zf-section-title-icon {
        font-size: 14px;
    }

    .zf-section-link {
        font-size: 10px;
    }


    /* ======================================================
       DESTACADO
    ====================================================== */

    .zf-featured-game {
        min-height: 210px;
    }

    .zf-featured-game img {
        min-height: 210px;
    }

    .zf-featured-game-overlay {
        padding: 15px;
    }

    .zf-featured-game-title {
        font-size: 19px;
    }

    .zf-featured-game-description {
        font-size: 11px;
    }


    /* ======================================================
       TOP 5
    ====================================================== */

    .zf-panel {
        padding: 12px;
    }

    .zf-panel-title {
        font-size: 14px;
    }

    .zf-top-game {
        grid-template-columns:
            26px
            55px
            minmax(0, 1fr);

        gap: 7px;
    }

    .zf-top-number {
        font-size: 13px;
    }

    .zf-top-image {
        width: 55px;
        height: 40px;
    }

    .zf-top-title {
        font-size: 11px;
    }


    /* ======================================================
       AUTOR
    ====================================================== */

    .zf-author-header {
        align-items: flex-start;

        gap: 12px;

        padding: 14px;
    }

    .zf-author-avatar img {
        width: 60px;
        height: 60px;
    }

    .zf-author-name {
        font-size: 18px;
    }

    .zf-author-description {
        font-size: 11px;
    }


    /* ======================================================
       SINGLE
    ====================================================== */

    .zf-single-title {
        font-size: 24px;
    }

    .zf-single-meta {
        font-size: 10px;

        gap: 6px 10px;
    }

    .zf-single-actions {
        flex-direction: column;
    }

    .zf-single-actions .zf-button {
        width: 100%;
    }


    /* ======================================================
       COMENTARIOS
    ====================================================== */

    .zf-comment {
        padding: 12px;
    }

    .zf-comment-body {
        gap: 10px;
    }

    .zf-comment-avatar img {
        width: 38px;
        height: 38px;
    }


    /* ======================================================
       BÚSQUEDA
    ====================================================== */

    .zf-search-page .zf-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .zf-search-page .zf-search-submit {
        width: 100%;

        margin: 8px 0 0;
    }


    /* ======================================================
       ADJUNTOS
    ====================================================== */

    .zf-attachment-navigation {
        flex-direction: column;
    }

    .zf-attachment-navigation .zf-button {
        width: 100%;
    }


    /* ======================================================
       FOOTER
    ====================================================== */

    .zf-footer {
        padding: 28px 0;
    }

    .zf-footer-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }
}


/* ==========================================================
   MÓVILES MUY PEQUEÑOS
========================================================== */

@media (max-width: 380px) {

    .zf-container {
        width: calc(100% - 18px);
    }

    .zf-grid {
        gap: 18px 8px;
    }

    .zf-card-title {
        font-size: 11px;
    }

    .zf-card-meta {
        font-size: 8px;
    }

    .zf-language-flags {
        font-size: 12px;
    }

    .zf-header-search {
        max-width: 145px;
    }

    .zf-logo-description {
        display: none;
    }
}


/* ==========================================================
   PANTALLAS GRANDES
========================================================== */

@media (min-width: 1500px) {

    :root {
        --zf-container: 1380px;
    }

    .zf-grid {
        gap: 25px;
    }
}


/* ==========================================================
   REDUCIR MOVIMIENTO
========================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ==========================================================
 * ZONAFEROZ - TARJETAS DE JUEGOS RECIENTES
 * ========================================================== */

.zf-game-card {
    overflow: hidden;
}

.zf-game-card-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111114;
    border-radius: 12px;
}

.zf-game-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zf-game-card:hover .zf-game-card-image img {
    transform: scale(1.04);
}

/* ==========================================================
 * BANDERAS
 * ========================================================== */

.zf-game-languages {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;

    display: flex;
    align-items: center;
    gap: 4px;

    padding: 5px 8px;

    background: rgba(17, 17, 20, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;

    font-size: 18px;
    line-height: 1;

    backdrop-filter: blur(6px);
}

/* ==========================================================
 * MOTOR DEL JUEGO
 * ========================================================== */

.zf-game-engine {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 3;

    display: inline-flex;
    align-items: center;

    max-width: calc(100% - 20px);

    padding: 5px 9px;

    background: rgba(139, 92, 246, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 7px;

    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    backdrop-filter: blur(5px);
}

/* ==========================================================
 * CONTENIDO DE LA TARJETA
 * ========================================================== */

.zf-game-card .zf-card-content {
    padding: 10px 2px 4px;
}

.zf-game-card .zf-card-title {
    margin: 0 0 7px;
    font-size: 16px;
    line-height: 1.35;
}

.zf-game-card .zf-card-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;

    text-decoration: none;
}

/* ==========================================================
 * METADATOS
 * ========================================================== */

.zf-game-card .zf-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    margin: 0;

    color: #a9a9b3;
    font-size: 12px;
    line-height: 1.4;
}

.zf-game-card .zf-card-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Tiempo */

.zf-game-card .zf-card-time {
    color: #a9a9b3;
}

/* Valoración */

.zf-game-card .zf-card-rating {
    color: #f6c453;
}

/* Visitas */

.zf-game-card .zf-card-views {
    color: #a9a9b3;
}

/* ==========================================================
 * MÓVIL
 * ========================================================== */

@media (max-width: 850px) {

    .zf-game-card-image {
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }

    .zf-game-languages {
        top: 7px;
        right: 7px;
        padding: 4px 6px;
        font-size: 16px;
    }

    .zf-game-engine {
        left: 7px;
        bottom: 7px;
        padding: 4px 7px;
        font-size: 11px;
    }

    .zf-game-card .zf-card-content {
        padding-top: 8px;
    }

    .zf-game-card .zf-card-title {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .zf-game-card .zf-card-meta {
        gap: 5px;
        font-size: 11px;
    }
}

/* ==========================================================
 * ZONAFEROZ - GRID DE JUEGOS
 * 3 COLUMNAS / 6 FILAS
 * ========================================================== */

.zf-grid-games {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* MÓVIL */
@media (max-width: 850px) {

    .zf-grid-games {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* MÓVIL PEQUEÑO */
@media (max-width: 560px) {

    .zf-grid-games {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================
 * ZONAFEROZ - FORZAR 3 COLUMNAS EN JUEGOS RECIENTES
 * ========================================================== */

.zf-grid.zf-grid-games {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Tablet / móvil */
@media (max-width: 850px) {

    .zf-grid.zf-grid-games {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}

/* Móvil pequeño */
@media (max-width: 560px) {

    .zf-grid.zf-grid-games {
        grid-template-columns: 1fr !important;
    }

}

/* ==========================================================
 * ZONAFEROZ - AJUSTES VISUALES FRONT-PAGE
 * ========================================================== */

/* ----------------------------------------------------------
 * CONTENEDOR GENERAL
 * ---------------------------------------------------------- */

.zf-section {
    width: 100%;
    padding: 32px 0;
}

.zf-container {
    width: min(1400px, calc(100% - 32px));
    margin: 0 auto;
}

.zf-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.zf-section-title {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}

.zf-section-description {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: .75;
}

.zf-section-link {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


/* ----------------------------------------------------------
 * JUEGO DESTACADO
 * ---------------------------------------------------------- */

.zf-featured-section {
    padding-top: 28px;
}

.zf-featured-game {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, .9fr);
    min-height: 360px;
    overflow: hidden;
    border-radius: 10px;
    background: #111114;
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.zf-featured-game-image {
    position: relative;
    display: block;
    min-height: 360px;
    overflow: hidden;
    text-decoration: none;
}

.zf-featured-game-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.zf-featured-game-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    min-width: 0;
}

.zf-featured-game-title {
    margin: 12px 0 10px;
    font-size: 28px;
    line-height: 1.2;
}

.zf-featured-game-title a {
    text-decoration: none;
}

.zf-featured-game-excerpt {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.7;
    opacity: .82;
}

.zf-featured-game-content .zf-button {
    align-self: flex-start;
}


/* ----------------------------------------------------------
 * METADATOS
 * ---------------------------------------------------------- */

.zf-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.zf-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.zf-card-views,
.zf-card-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ----------------------------------------------------------
 * TOP 5
 * ---------------------------------------------------------- */

.zf-top-games-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.zf-top-game-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #111114;
    border: 1px solid rgba(255,255,255,.06);
}

.zf-top-game-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.zf-top-game-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zf-top-game-content {
    padding: 14px;
}

.zf-top-game-title {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.35;
}

.zf-top-game-title a {
    text-decoration: none;
}

.zf-top-position {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 4;

    padding: 5px 8px;
    border-radius: 5px;

    background: rgba(0,0,0,.8);

    font-size: 13px;
    font-weight: 700;
}


/* ----------------------------------------------------------
 * GRIDS DE JUEGOS Y MANGAS
 * ---------------------------------------------------------- */

.zf-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.zf-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #111114;
    border: 1px solid rgba(255,255,255,.06);
}

.zf-card-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    text-decoration: none;
}

.zf-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zf-card-content {
    padding: 16px;
}

.zf-card-title {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.35;
}

.zf-card-title a {
    text-decoration: none;
}

.zf-card-excerpt {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.6;
    opacity: .75;
}


/* ----------------------------------------------------------
 * BOTONES
 * ---------------------------------------------------------- */

.zf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 8px 14px;

    border-radius: 6px;

    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;

    transition:
        transform .2s ease,
        opacity .2s ease,
        background .2s ease;
}

.zf-button:hover {
    transform: translateY(-1px);
    opacity: .9;
}


/* ----------------------------------------------------------
 * EMPTY STATES
 * ---------------------------------------------------------- */

.zf-empty-state {
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    background: #111114;
    border: 1px solid rgba(255,255,255,.06);
}

.zf-empty-icon {
    margin-bottom: 10px;
    font-size: 42px;
}

.zf-empty-state h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.zf-empty-state p {
    margin: 0;
    font-size: 14px;
    opacity: .7;
}


/* ----------------------------------------------------------
 * MÓVILES
 * ---------------------------------------------------------- */

@media (max-width: 1100px) {

    .zf-featured-game {
        grid-template-columns: 1fr;
    }

    .zf-featured-game-image {
        min-height: 300px;
    }

    .zf-featured-game-image img {
        min-height: 300px;
    }

    .zf-top-games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .zf-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


@media (max-width: 760px) {

    .zf-container {
        width: min(100% - 20px, 680px);
    }

    .zf-section {
        padding: 24px 0;
    }

    .zf-section-title {
        font-size: 22px;
    }

    .zf-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .zf-featured-game-content {
        padding: 22px;
    }

    .zf-featured-game-title {
        font-size: 23px;
    }

    .zf-top-games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 480px) {

    .zf-top-games-grid,
    .zf-grid {
        grid-template-columns: 1fr;
    }

    .zf-featured-game-image,
    .zf-featured-game-image img {
        min-height: 230px;
    }

    .zf-featured-game-content {
        padding: 18px;
    }

    .zf-featured-game-title {
        font-size: 21px;
    }

    .zf-section-description {
        font-size: 13px;
    }
}

/* ==========================================================
   VALORACIÓN ZONAFEROZ
   ESTRELLAS CLICABLES
   ========================================================== */

.zf-rating-system {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zf-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.zf-rating-star {
    appearance: none;
    -webkit-appearance: none;

    border: 0;
    outline: none;

    background: transparent;

    padding: 0;
    margin: 0;

    width: auto;
    height: auto;

    font-family: inherit;
    font-size: 18px;
    line-height: 1;

    color: #777;

    cursor: pointer;

    transition:
        color 0.15s ease,
        transform 0.15s ease;
}

.zf-rating-star:hover {
    color: #f5c542;
    transform: scale(1.15);
}

.zf-rating-star.is-selected {
    color: #f5c542;
}

.zf-rating-stars:hover .zf-rating-star {
    color: #777;
}

.zf-rating-stars .zf-rating-star:hover,
.zf-rating-stars .zf-rating-star:hover ~ .zf-rating-star {
    color: #777;
}

.zf-rating-stars .zf-rating-star:hover,
.zf-rating-stars .zf-rating-star:hover ~ .zf-rating-star {
    color: #f5c542;
}

.zf-rating-average {
    white-space: nowrap;
}

.zf-rating-count {
    white-space: nowrap;
    opacity: 0.8;
}

.zf-rating-system.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.zf-rating-system.has-voted .zf-rating-star {
    cursor: default;
}

.zf-rating-system.has-voted .zf-rating-star:hover {
    transform: none;
}

/* ==========================================================
   MENSAJE DE VALORACIÓN ZONAFEROZ
   ========================================================== */

.zf-rating-message {
    display: inline-block;
    margin-left: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.zf-rating-message.is-green {
    color: #4ade80;
}

.zf-rating-message.is-yellow {
    color: #facc15;
}

.zf-rating-message.is-orange {
    color: #fb923c;
}

.zf-rating-message.is-red {
    color: #f87171;
}

.zf-rating-message.is-none {
    color: #777;
}

/* ==========================================================
   MENSAJE DE VALORACIÓN EN TARJETAS
   ========================================================== */

.zf-card-rating {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.zf-card-rating-stars {
    white-space: nowrap;
}

.zf-card-rating-average {
    white-space: nowrap;
}

.zf-card-rating-message {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
}

.zf-card-rating-message.is-green {
    color: #4ade80;
}

.zf-card-rating-message.is-yellow {
    color: #facc15;
}

.zf-card-rating-message.is-orange {
    color: #fb923c;
}

.zf-card-rating-message.is-red {
    color: #f87171;
}

.zf-card-rating-message.is-none {
    color: #777;
}

/* ==========================================================
   CORRECCIÓN DE ESTRELLAS EN ANDROID
   ========================================================== */

.zf-card-rating-stars,
.zf-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
    letter-spacing: 0;
}

.zf-card-rating-stars,
.zf-card-rating-stars *,
.zf-rating-stars,
.zf-rating-stars * {
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
}

.zf-card-rating-stars {
    font-size: 15px;
    line-height: 1;
}

.zf-rating-stars {
    font-size: 18px;
    line-height: 1;
}

.zf-rating-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 18px;
    padding: 0;
    margin: 0;
    line-height: 1;
}

/* ==========================================================
   BOTÓN DE PROGRESO CIRCULAR
   ========================================================== */

.zf-scroll-progress {

    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 48px;
    height: 48px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: #18181c;

    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}


/* ==========================================================
   BOTÓN VISIBLE AL BAJAR
   ========================================================== */

.zf-scroll-progress.zf-scroll-visible {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


/* ==========================================================
   ARO DE PROGRESO
   ========================================================== */

.zf-scroll-progress-ring {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    transform: rotate(-90deg);

}


/* Aro base */

.zf-scroll-progress-track {

    fill: none;

    stroke: rgba(139, 92, 246, 0.22);

    stroke-width: 5;

}


/* Aro que representa el progreso */

.zf-scroll-progress-indicator {

    fill: none;

    stroke: #8b5cf6;

    stroke-width: 5;

    stroke-linecap: round;

    stroke-dasharray: 282.74;

    stroke-dashoffset: 282.74;

}


/* ==========================================================
   FLECHA
   ========================================================== */

.zf-scroll-progress-arrow {

    position: relative;

    z-index: 2;

    font-family:
        Arial,
        sans-serif;

    font-size: 22px;

    font-weight: 700;

    line-height: 1;

    pointer-events: none;

}


/* ==========================================================
   EFECTOS
   ========================================================== */

.zf-scroll-progress:hover {

    transform: translateY(-2px);

}

.zf-scroll-progress:active {

    transform: scale(0.92);

}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 768px) {

    .zf-scroll-progress {

        right: 12px;
        bottom: 14px;

        width: 42px;
        height: 42px;

    }

    .zf-scroll-progress-arrow {

        font-size: 19px;

    }

}

/* ==========================================================
 * ZONAFEROZ — CRÉDITOS
 * ========================================================== */

.zf-credits-box {
    overflow: hidden;
}

.zf-credits-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.05);
}

.zf-credits-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.12);
    font-size: 23px;
}

.zf-credits-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.zf-credits-label {
    font-size: 12px;
    opacity: 0.62;
}

.zf-credits-name {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    word-break: break-word;
}

.zf-credits-support {
    margin-top: 4px;
}

.zf-credits-support-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
}

.zf-credits-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.zf-credits-link {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.zf-credits-link:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.45);
    background: rgba(139, 92, 246, 0.08);
    color: inherit;
}

.zf-credits-link-icon {
    width: 28px;
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.10);
    font-size: 14px;
}

.zf-credits-link-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
}

.zf-credits-link-arrow {
    opacity: 0.45;
    font-size: 14px;
}

@media (max-width: 800px) {

    .zf-credits-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {

    .zf-credits-profile {
        padding: 13px;
    }

    .zf-credits-links {
        grid-template-columns: 1fr;
    }

    .zf-credits-link {
        padding: 10px 11px;
    }
}

/* ==========================================================
   DESCARGAR — CAJA ZONAFEROZ
   ========================================================== */

.zf-animation-download {
    display: block;
    margin-top: 18px;
    padding: 18px;
    background: #18151f;
    border: 1px solid #2b2638;
    border-radius: 12px;
    box-sizing: border-box;
}


/* Encabezado de la caja */

.zf-animation-download::before {
    content: "⬇️ Descargar animación";
    display: block;
    margin-bottom: 14px;
    color: #a78bfa;
    font-size: 15px;
    font-weight: 700;
}


/* Botón */

.zf-animation-download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    width: 100%;
    min-height: 48px;

    padding: 12px 20px;

    box-sizing: border-box;

    border-radius: 9px;

    background: #211d2b;
    border: 1px solid #3a334b;

    color: #fff !important;
    text-decoration: none !important;

    font-size: 14px;
    font-weight: 700;

    box-shadow: none;

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}


/* Hover */

.zf-animation-download-button:hover {
    transform: translateY(-2px);

    background: #2b2638;

    border-color: #8b5cf6;

    color: #fff !important;

    box-shadow:
        0 6px 20px rgba(139, 92, 246, .18);
}


/* Click */

.zf-animation-download-button:active {
    transform: translateY(0);
}


/* ==========================================================
   MÓVIL / ANDROID
   ========================================================== */

@media (max-width: 768px) {

    .zf-animation-download {
        padding: 15px;
        border-radius: 10px;
    }


    .zf-animation-download::before {
        margin-bottom: 12px;
        font-size: 14px;
    }


    .zf-animation-download-button {
        min-height: 52px;
        font-size: 14px;
    }

}
/* ==========================================================
   ZONAFEROZ — RESULTADOS DE BÚSQUEDA
   GRID 3 COLUMNAS × TARJETAS HORIZONTALES
========================================================== */

.zf-search-page {
    max-width: 1400px;
    margin: 0 auto;
}


/* ----------------------------------------------------------
   GRID DE RESULTADOS
---------------------------------------------------------- */

.zf-games-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;
}


/* ----------------------------------------------------------
   TARJETA HORIZONTAL
---------------------------------------------------------- */

.zf-games-grid .zf-card {

    display: grid;

    grid-template-columns: 125px minmax(0, 1fr);

    min-width: 0;
    min-height: 155px;

    overflow: hidden;

    background: #111114;

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 8px;

    transition:
        transform var(--zf-transition),
        border-color var(--zf-transition),
        box-shadow var(--zf-transition);
}


/* ----------------------------------------------------------
   HOVER
---------------------------------------------------------- */

.zf-games-grid .zf-card:hover {

    transform: translateY(-2px);

    border-color: rgba(139, 92, 246, 0.30);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.28);
}


/* ----------------------------------------------------------
   IMAGEN
---------------------------------------------------------- */

.zf-games-grid .zf-card-image {

    position: relative;

    display: block;

    width: 100%;
    height: 100%;
    min-height: 155px;

    aspect-ratio: auto;

    overflow: hidden;

    background: var(--zf-bg-soft);

    border-radius: 0;
}


/* Imagen */

.zf-games-grid .zf-card-image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ----------------------------------------------------------
   PLACEHOLDER
---------------------------------------------------------- */

.zf-games-grid .zf-card-placeholder {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    min-height: 155px;

    background: var(--zf-bg-soft);

    font-size: 32px;
}


/* ----------------------------------------------------------
   BANDERA / IDIOMAS
---------------------------------------------------------- */

.zf-games-grid .zf-card-language {

    position: absolute;

    top: 7px;
    right: 7px;

    z-index: 5;

    display: flex;

    align-items: center;

    padding: 4px 6px;

    background: rgba(17, 17, 20, 0.88);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 6px;

    font-size: 15px;

    line-height: 1;

    backdrop-filter: blur(6px);
}


/* ----------------------------------------------------------
   BADGE DESTACADO
---------------------------------------------------------- */

.zf-games-grid .zf-card-badge {

    left: 7px;
    bottom: 7px;

    padding: 3px 6px;

    font-size: 8px;
}


/* ----------------------------------------------------------
   CONTENIDO
---------------------------------------------------------- */

.zf-games-grid .zf-card-content {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    min-width: 0;

    padding: 12px 13px;
}


/* ----------------------------------------------------------
   CATEGORÍA
---------------------------------------------------------- */

.zf-games-grid .zf-card-category {

    width: 100%;

    margin: 0 0 4px;

    color: var(--zf-purple-light);

    font-size: 10px;

    font-weight: 700;

    line-height: 1.2;
}


/* ----------------------------------------------------------
   TÍTULO
---------------------------------------------------------- */

.zf-games-grid .zf-card-title {

    width: 100%;

    margin: 0 0 6px;

    color: var(--zf-text);

    font-size: 15px;

    font-weight: 700;

    line-height: 1.3;

    display: -webkit-box;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 2;

    overflow: hidden;
}


/* ----------------------------------------------------------
   METADATOS
---------------------------------------------------------- */

.zf-games-grid .zf-card-meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 7px;

    width: 100%;

    margin: 0 0 6px;

    color: var(--zf-text-muted);

    font-size: 10px;

    line-height: 1.3;
}


/* ----------------------------------------------------------
   DESCRIPCIÓN
---------------------------------------------------------- */

.zf-games-grid .zf-card-excerpt {

    width: 100%;

    margin: 2px 0 8px;

    color: var(--zf-text-muted);

    font-size: 10px;

    line-height: 1.45;

    display: -webkit-box;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 3;

    overflow: hidden;
}


/* ----------------------------------------------------------
   BOTÓN
---------------------------------------------------------- */

.zf-games-grid .zf-card-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 28px;

    margin-top: auto;

    padding: 5px 9px;

    color: #fff;

    background: var(--zf-purple);

    border-radius: 5px;

    font-size: 10px;

    font-weight: 700;

    line-height: 1;

    transition:
        background var(--zf-transition),
        transform var(--zf-transition);
}


.zf-games-grid .zf-card-button:hover {

    color: #fff;

    background: var(--zf-purple-dark);

    transform: translateY(-1px);
}


/* ==========================================================
   TABLET
   2 COLUMNAS
========================================================== */

@media (max-width: 1000px) {

    .zf-games-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;
    }

}


/* ==========================================================
   MÓVIL
   1 COLUMNA
========================================================== */

@media (max-width: 650px) {

    .zf-games-grid {

        grid-template-columns: 1fr;

        gap: 14px;
    }


    .zf-games-grid .zf-card {

        grid-template-columns: 130px minmax(0, 1fr);

        min-height: 145px;
    }


    .zf-games-grid .zf-card-image,
    .zf-games-grid .zf-card-placeholder {

        min-height: 145px;
    }


    .zf-games-grid .zf-card-content {

        padding: 11px 12px;
    }


    .zf-games-grid .zf-card-title {

        font-size: 14px;
    }


    .zf-games-grid .zf-card-excerpt {

        font-size: 10px;

        -webkit-line-clamp: 2;
    }

}


/* ==========================================================
   MÓVILES PEQUEÑOS
========================================================== */

@media (max-width: 400px) {

    .zf-games-grid .zf-card {

        grid-template-columns: 105px minmax(0, 1fr);

        min-height: 125px;
    }


    .zf-games-grid .zf-card-image,
    .zf-games-grid .zf-card-placeholder {

        min-height: 125px;
    }


    .zf-games-grid .zf-card-content {

        padding: 9px 10px;
    }


    .zf-games-grid .zf-card-category {

        font-size: 9px;
    }


    .zf-games-grid .zf-card-title {

        font-size: 12px;
    }


    .zf-games-grid .zf-card-meta {

        font-size: 9px;
    }


    .zf-games-grid .zf-card-excerpt {

        font-size: 9px;

        -webkit-line-clamp: 2;
    }


    .zf-games-grid .zf-card-button {

        min-height: 26px;

        padding: 4px 7px;

        font-size: 9px;
    }

}

/* ==========================================================
   ZONAFEROZ — ANIMACIONES
   REPRODUCTOR Y DATOS
   ========================================================== */

.zf-animation-system {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    padding: 0;
    box-sizing: border-box;
}


/* ==========================================================
   REPRODUCTOR
   ========================================================== */

.zf-animation-player {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 18px;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
    border: 1px solid rgba(139, 92, 246, .35);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, .45),
        0 0 25px rgba(139, 92, 246, .08);
}


/*
 * Mantener proporción 16:9
 */

.zf-animation-player::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}


.zf-animation-video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}


/* ==========================================================
   SELECTOR DE VIDEOS
   ========================================================== */

.zf-animation-video-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    padding: 14px 16px;
    background: #18151f;
    border: 1px solid #2b2638;
    border-radius: 12px;
}


.zf-animation-video-selector label {
    color: #a78bfa;
    font-weight: 700;
    white-space: nowrap;
}


.zf-animation-video-select {
    flex: 1;
    min-width: 0;
    padding: 10px 13px;
    border: 1px solid #3a334b;
    border-radius: 8px;
    background: #211d2b;
    color: #fff;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}


.zf-animation-video-select:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, .15);
}


/* ==========================================================
   INFORMACIÓN
   ========================================================== */

.zf-animation-info {
    display: grid;
    gap: 10px;
    padding: 18px;
    margin-bottom: 18px;
    background: #18151f;
    border: 1px solid #2b2638;
    border-radius: 12px;
}


.zf-animation-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    color: #ddd;
}


.zf-animation-info-row strong {
    color: #a78bfa;
}


.zf-animation-info-row span {
    color: #fff;
}


/* ==========================================================
   REDES DEL ARTISTA
   ========================================================== */

.zf-animation-socials {
    margin-top: 5px;
    padding-top: 15px;
    border-top: 1px solid #2b2638;
}


.zf-animation-socials > strong {
    display: block;
    margin-bottom: 12px;
    color: #a78bfa;
}


.zf-animation-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}


.zf-animation-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 9px;
    background: #211d2b;
    border: 1px solid #3a334b;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}


.zf-animation-social-links a:hover {
    transform: translateY(-2px);
    background: #2b2638;
    border-color: #8b5cf6;
    box-shadow: 0 5px 18px rgba(139, 92, 246, .18);
}


/* ==========================================================
   DESCARGAR
   ========================================================== */

.zf-animation-download {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}


.zf-animation-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 220px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 10px;
    background: #8b5cf6;
    border: 1px solid #a78bfa;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 7px 20px rgba(139, 92, 246, .22);
    transition:
        transform .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}


.zf-animation-download-button:hover {
    transform: translateY(-2px);
    background: #7c3aed;
    box-shadow: 0 10px 26px rgba(139, 92, 246, .3);
}


/* ==========================================================
   MENSAJE SIN VIDEO
   ========================================================== */

.zf-animation-empty {
    max-width: 1000px;
    margin: 30px auto;
    padding: 25px;
    text-align: center;
    border-radius: 12px;
    background: #18151f;
    border: 1px solid #2b2638;
    color: #a78bfa;
}


/* ==========================================================
   MÓVIL / ANDROID
   ========================================================== */

@media (max-width: 768px) {

    .zf-animation-system {
        width: 100%;
        max-width: 100%;
        margin: 22px auto;
    }


    .zf-animation-player {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 14px;
    }


    .zf-animation-video-selector {
        display: block;
        padding: 13px;
    }


    .zf-animation-video-selector label {
        display: block;
        margin-bottom: 8px;
    }


    .zf-animation-video-select {
        width: 100%;
        min-height: 44px;
        font-size: 14px;
    }


    .zf-animation-info {
        padding: 15px;
        border-radius: 10px;
    }


    .zf-animation-info-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }


    .zf-animation-social-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }


    .zf-animation-social-links a {
        width: 100%;
        min-height: 44px;
        padding: 9px 8px;
        box-sizing: border-box;
        text-align: center;
    }


    .zf-animation-download-button {
        width: 100%;
        min-height: 50px;
        box-sizing: border-box;
    }

}


/* ==========================================================
   MÓVILES PEQUEÑOS
   ========================================================== */

@media (max-width: 420px) {

    .zf-animation-social-links {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================
   ETIQUETAS DEL POST — BURBUJAS ZONAFEROZ
   ========================================================== */

.zf-single-tags {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(167, 139, 250, 0.12);
}

.zf-single-tags-title {
    display: block;
    margin-bottom: 12px;

    color: #a78bfa;
    font-size: 14px;
    font-weight: 700;
}

.zf-single-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zf-single-tags-list a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 7px 12px;

    background: #211d2b;
    border: 1px solid rgba(139, 92, 246, 0.30);
    border-radius: 999px;

    color: #c4b5fd;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.zf-single-tags-list a::before {
    content: "🏷️";
    font-size: 11px;
}

.zf-single-tags-list a:hover {
    background: #2b2638;
    border-color: #8b5cf6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.18);
}

/* ==========================================================
   ETIQUETAS — MÓVIL
   ========================================================== */

@media (max-width: 600px) {

    .zf-single-tags {
        margin-top: 22px;
        padding-top: 16px;
    }

    .zf-single-tags-list {
        gap: 6px;
    }

    .zf-single-tags-list a {
        padding: 7px 10px;
        font-size: 12px;
    }

}

/* ==========================================================
   ZONAFEROZ — JUEGO DESTACADO V3
   ========================================================== */

.zf-featured-v3 {
    position: relative;
    width: 100%;
    height: 325px;
    overflow: hidden;
    border-radius: 7px;
    background: #111114;
}


/* ==========================================================
   ESCENARIO
   ========================================================== */

.zf-featured-v3-stage {
    position: relative;
    width: 100%;
    height: 325px;
}


/* ==========================================================
   SLIDES
   ========================================================== */

.zf-featured-v3-slide {
    position: absolute;
    inset: 0;

    display: grid;
    grid-template-columns: 2fr 1fr;

    height: 325px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(18px);

    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        visibility 0.45s ease;
}

.zf-featured-v3-slide.is-active {
    position: relative;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(0);
}


/* ==========================================================
   IMAGEN
   ========================================================== */

.zf-featured-v3-image {
    position: relative;

    display: block;

    min-width: 0;
    height: 325px;

    overflow: hidden;

    background: #18151f;
}

.zf-featured-v3-image img {
    display: block;

    width: 100%;
    height: 100%;

    height: 325px;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.zf-featured-v3-image:hover img {
    transform: scale(1.025);
}


/* ==========================================================
   PLACEHOLDER
   ========================================================== */

.zf-featured-v3-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    height: 325px;

    font-size: 55px;

    background: #18151f;
}


/* ==========================================================
   MOTOR
   ========================================================== */

.zf-featured-v3-engine {
    position: absolute;

    left: 10px;
    bottom: 10px;

    z-index: 3;

    padding: 5px 10px;

    border-radius: 6px;

    background: #8b5cf6;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}


/* ==========================================================
   BANDERAS
   ========================================================== */

.zf-featured-v3-language {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 3;

    display: flex;
    align-items: center;

    padding: 5px 7px;

    border-radius: 6px;

    background: rgba(17, 17, 20, 0.82);

    backdrop-filter: blur(5px);
}


/* ==========================================================
   CONTENIDO DERECHO
   ========================================================== */

.zf-featured-v3-content {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;

    padding: 35px 30px;

    background: #111114;
}


/* ==========================================================
   META
   ========================================================== */

.zf-featured-v3-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 18px;

    font-size: 12px;
}

.zf-featured-v3-views {
    color: #ffffff;
    white-space: nowrap;
}

.zf-featured-v3-rating {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 5px;
}

.zf-featured-v3-stars {
    color: #a78bfa;
    letter-spacing: 1px;
}

.zf-featured-v3-rating-number {
    color: #ffffff;
}

.zf-featured-v3-rating-text {
    color: #a78bfa;
    font-weight: 600;
}


/* ==========================================================
   TÍTULO
   ========================================================== */

.zf-featured-v3-title {
    margin: 0 0 10px;

    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.15;
    font-weight: 800;
}

.zf-featured-v3-title a {
    color: #ffffff;
    text-decoration: none;
}

.zf-featured-v3-title a:hover {
    color: #a78bfa;
}


/* ==========================================================
   EXTRACTO
   ========================================================== */

.zf-featured-v3-excerpt {
    display: -webkit-box;

    margin-bottom: 22px;

    color: #8e8e96;

    font-size: 14px;
    line-height: 1.6;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* ==========================================================
   BOTÓN
   ========================================================== */

.zf-featured-v3-button {
    align-self: flex-start;

    margin-top: 2px;
}


/* ==========================================================
   FLECHAS
   ========================================================== */

.zf-featured-v3-arrow {
    position: absolute;

    top: 50%;

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;

    background: rgba(17, 17, 20, 0.78);

    color: #ffffff;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;

    opacity: 0;

    transform: translateY(-50%);

    transition:
        opacity 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.zf-featured-v3:hover .zf-featured-v3-arrow {
    opacity: 1;
}

.zf-featured-v3-arrow:hover {
    background: #8b5cf6;
    border-color: #8b5cf6;

    transform: translateY(-50%) scale(1.08);
}

.zf-featured-v3-prev {
    left: 12px;
}

.zf-featured-v3-next {
    right: 12px;
}


/* ==========================================================
   PUNTOS
   ========================================================== */

.zf-featured-v3-dots {
    position: absolute;

    right: 14px;
    bottom: 12px;

    z-index: 10;

    display: flex;
    align-items: center;

    gap: 6px;
}

.zf-featured-v3-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #66666c;

    cursor: pointer;

    transition:
        width 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.zf-featured-v3-dot:hover {
    transform: scale(1.2);
}

.zf-featured-v3-dot.is-active {
    width: 9px;
    height: 9px;

    background: #8b5cf6;
}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 800px) {

    .zf-featured-v3,
    .zf-featured-v3-stage {
        min-height: auto;
    }

    .zf-featured-v3-slide {
        grid-template-columns: 1fr;
    }

    .zf-featured-v3-image {
        min-height: 240px;
    }

    .zf-featured-v3-image img {
        min-height: 240px;
        max-height: 400px;
    }

    .zf-featured-v3-placeholder {
        min-height: 240px;
    }

    .zf-featured-v3-content {
        padding: 22px 20px 28px;
    }

    .zf-featured-v3-title {
        font-size: 24px;
    }

    .zf-featured-v3-arrow {
        opacity: 1;

        width: 34px;
        height: 34px;

        font-size: 25px;
    }

    .zf-featured-v3-prev {
        left: 8px;
    }

    .zf-featured-v3-next {
        right: 8px;
    }

    .zf-featured-v3-dots {
        right: 12px;
        bottom: 10px;
    }

}


/* ==========================================================
   MÓVIL PEQUEÑO
   ========================================================== */

@media (max-width: 480px) {

    .zf-featured-v3-image {
        min-height: 210px;
    }

    .zf-featured-v3-image img {
        min-height: 210px;
    }

    .zf-featured-v3-placeholder {
        min-height: 210px;
    }

    .zf-featured-v3-content {
        padding: 18px 16px 25px;
    }

    .zf-featured-v3-meta {
        margin-bottom: 12px;
    }

    .zf-featured-v3-title {
        font-size: 21px;
    }

    .zf-featured-v3-excerpt {
        font-size: 13px;
    }

}

/* ==========================================================
   BANDERAS — JUEGO DESTACADO
   Evita que hereden el tamaño de la imagen principal
   ========================================================== */

.zf-featured-v3-language img {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    display: inline-block !important;
}

/* ==========================================================
   ZONAFEROZ — FORZAR VISIBILIDAD DE BANDERAS
   PRUEBA DE DIAGNÓSTICO
   ========================================================== */

.zf-language-flags {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    width: auto !important;
    height: auto !important;
    min-width: max-content !important;
    min-height: 18px !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: inherit !important;
}

.zf-language-flag {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    min-width: 14px !important;
    min-height: 18px !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: inherit !important;
    white-space: nowrap !important;
}

/* Juego destacado */
.zf-featured-v3-language {
    display: flex !important;
    align-items: center !important;
    width: max-content !important;
    min-width: max-content !important;
    height: auto !important;
    min-height: 30px !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.zf-featured-v3-language .zf-language-flags {
    display: flex !important;
}

/* Tarjetas */
.zf-card-language {
    display: flex !important;
    align-items: center !important;
    width: max-content !important;
    min-width: max-content !important;
    height: auto !important;
    min-height: 24px !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.zf-card-language .zf-language-flags {
    display: flex !important;
}

/* ==========================================================
 * ZONAFEROZ — ANIMACIONES VIDEO PREVIEW
 * ========================================================== */

.zf-animation-card {
    position: relative;
    overflow: hidden;
}


/* ==========================================================
 * CONTENEDOR DEL VIDEO
 * ========================================================== */

.zf-animation-video-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}


/* ==========================================================
 * VIDEO
 * ========================================================== */

.zf-animation-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}


/* ==========================================================
 * BOTÓN PLAY
 * ========================================================== */

.zf-animation-play {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 52px;
    height: 52px;

    transform: translate(
        -50%,
        -50%
    );

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(
        255,
        255,
        255,
        0.9
    );

    border-radius: 50%;

    background: rgba(
        0,
        0,
        0,
        0.55
    );

    color: #fff;

    font-size: 20px;

    line-height: 1;

    cursor: pointer;

    z-index: 5;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        opacity 0.2s ease;
}


.zf-animation-play span {
    display: block;

    margin-left: 3px;
}


.zf-animation-play:hover {
    transform:
        translate(
            -50%,
            -50%
        )
        scale(1.08);

    background: rgba(
        139,
        92,
        246,
        0.9
    );
}


/* ==========================================================
 * CUANDO EL VIDEO ESTÁ REPRODUCIÉNDOSE
 * ========================================================== */

.zf-animation-card.is-playing
.zf-animation-play {
    opacity: 0;
    pointer-events: none;
}


/* ==========================================================
 * ENLACE SOBRE EL VIDEO
 * ========================================================== */

.zf-animation-link {
    position: absolute;

    inset: 0;

    z-index: 2;

    display: block;
}


/*
 * El botón queda por encima del enlace.
 */

.zf-animation-play {
    z-index: 5;
}


/* ==========================================================
 * BADGE ANIMATION
 * ========================================================== */

.zf-animation-badge {
    position: absolute;

    left: 8px;
    bottom: 8px;

    z-index: 6;

    padding: 3px 7px;

    background: #8b5cf6;

    color: #fff;

    font-size: 10px;

    font-weight: 700;

    line-height: 1;

    text-transform: uppercase;

    border-radius: 2px;
}


/* ==========================================================
 * CONTENIDO
 * ========================================================== */

.zf-animation-card
.zf-game-card-content {
    position: relative;
    z-index: 7;
}


/* ==========================================================
 * MÓVIL
 * ========================================================== */

@media (max-width: 768px) {

    .zf-animation-play {
        width: 46px;
        height: 46px;

        font-size: 18px;
    }

}

/* ==========================================================
 * ZONAFEROZ
 * ANIMACIONES — VIDEO COMO PORTADA
 * ========================================================== */


/* ==========================================================
 * TARJETA
 * ========================================================== */

.zf-animation-card {
    position: relative;
    overflow: hidden;
}


/* ==========================================================
 * CONTENEDOR DEL VIDEO
 * ========================================================== */

.zf-animation-video-box {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #000;
}


/* ==========================================================
 * VIDEO
 * ========================================================== */

.zf-animation-video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    background: #000;

    cursor: pointer;
}


/* ==========================================================
 * BOTÓN PLAY
 * ========================================================== */

.zf-animation-play {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 52px;
    height: 52px;

    transform: translate(
        -50%,
        -50%
    );

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(
        255,
        255,
        255,
        0.9
    );

    border-radius: 50%;

    background: rgba(
        0,
        0,
        0,
        0.55
    );

    color: #fff;

    font-size: 20px;

    line-height: 1;

    cursor: pointer;

    z-index: 10;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        opacity 0.2s ease;
}


/* ==========================================================
 * TRIÁNGULO
 * ========================================================== */

.zf-animation-play span {
    display: block;

    margin-left: 3px;
}


/* ==========================================================
 * HOVER PLAY
 * ========================================================== */

.zf-animation-play:hover {
    transform:
        translate(
            -50%,
            -50%
        )
        scale(1.08);

    background: rgba(
        139,
        92,
        246,
        0.9
    );
}


/* ==========================================================
 * OCULTAR PLAY MIENTRAS REPRODUCE
 * ========================================================== */

.zf-animation-card.is-playing
.zf-animation-play {
    opacity: 0;

    pointer-events: none;
}


/* ==========================================================
 * BADGE
 * ========================================================== */

.zf-animation-badge {
    position: absolute;

    left: 8px;
    bottom: 8px;

    z-index: 8;

    padding: 4px 7px;

    background: #8b5cf6;

    color: #fff;

    font-size: 10px;

    font-weight: 700;

    line-height: 1;

    text-transform: uppercase;

    border-radius: 2px;
}


/* ==========================================================
 * TÍTULO
 * ========================================================== */

.zf-animation-card
.zf-game-card-title a {
    text-decoration: none;
}


/* ==========================================================
 * VIDEO EN REPRODUCCIÓN
 * ========================================================== */

.zf-animation-card.is-playing
.zf-animation-video {
    cursor: pointer;
}


/* ==========================================================
 * MÓVIL
 * ========================================================== */

@media (max-width: 768px) {

    .zf-animation-play {

        width: 46px;
        height: 46px;

        font-size: 18px;

    }

}

.zf-related-card-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================
   MINIATURAS DE ANIMACIONES EN RECOMENDACIONES
   ========================================================== */

.zf-animation-related-box {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.zf-animation-related-thumbnail {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.zf-animation-related-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 3rem;
}

/* ==========================================================
   ZONAFEROZ - ANUNCIOS ADSTERRA
========================================================== */

.zf-ad-container {
    width: 100%;
    max-width: 728px;
    margin: 30px auto;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
}

.zf-ad-label {
    margin-bottom: 8px;
    font-size: 10px;
    line-height: 1;
    opacity: 0.45;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zf-ad-slot {
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}


/* PC */

@media (min-width: 768px) {

    .zf-ad-slot {
        width: 728px;
        height: 90px;
    }

}


/* MÓVIL */

@media (max-width: 767px) {

    .zf-ad-container {
        width: 100%;
        max-width: 100%;
        margin: 24px auto;
    }

    .zf-ad-slot {
        width: 320px;
        max-width: 100%;
        height: 50px;
        margin: 0 auto;
    }

}

@media (max-width: 850px) {

    .zf-header {
        position: relative;
        z-index: 99999;
    }

    .zf-mobile-toggle {
        position: relative;
        z-index: 100000;
        pointer-events: auto;
        touch-action: manipulation;
    }

    .zf-mobile-menu {
        position: relative;
        z-index: 99999;
    }

    .zf-mobile-menu.is-open {
        display: block;
    }

}

/* ==========================================================
   FIX FINAL - MENÚ MÓVIL ZONAFEROZ
========================================================== */

.zf-mobile-menu.is-open {
    display: block;

    animation: zfMobileMenuOpen 0.20s ease-out;
}

@keyframes zfMobileMenuOpen {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

    .zf-mobile-menu.is-open {
        display: block !important;

        max-height: 800px !important;

        opacity: 1 !important;
        visibility: visible !important;

        padding: 15px 0 20px !important;

        border-top: 1px solid var(--zf-border) !important;
    }

    .zf-mobile-menu-inner {
        width: 100%;
    }

}