/* Gaming Theme Styles */
:root {
    /*--color-primary: #ff4c29;*/
    --color-primary: #ff9900;
    --color-secondary: #1e1e1e;
}
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #0d0d0d;
    color: #fff;
}

ol, ul {
    box-sizing: border-box;
    list-style-type: none;
}

.gaming-header {
    background: linear-gradient(90deg, #0f0f10, #000000);
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.gaming-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; /* Ajusta según necesites */
}

.logo img {
    height: 50px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.1);
}

.main-navigation .nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-navigation .nav-menu li {
    display: inline-block;
}

.main-navigation .nav-menu li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
}

.main-navigation .nav-menu li a:hover {
    color: var(--color-primary);
}

.header-buttons {
    display: flex;
    align-items: center;
}
.header-buttons .btn-login {
    background: var(--color-primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.header-buttons .btn-login:hover {
    background: #1f1f1f;
}

/* Submenu styles */
.submenu-container {
    background: #121212;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.submenu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    list-style: none;
    max-width: 1000px;
    margin: auto;
    padding: 0;
}

.submenu-grid li a {
    display: block;
    background: #1f1f1f;
    color: #fff;
    padding: 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.submenu-grid li a:hover {
    background: var(--color-primary);
}

/* ==================== */
/* GAMING FOOTER STYLES */
/* ==================== */

.gaming-footer {
    background: linear-gradient(90deg, #292828 0%, #0f0101 100%);
    padding: 40px 0 0;
    border-top: 3px solid var(--color-primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.footer-section {
    padding: 15px;
}

.footer-logo .custom-logo {
    height: 60px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.footer-logo .custom-logo:hover {
    transform: scale(1.05) rotate(-5deg);
}

.footer-description {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 400px;
}

.footer-title {
    color: var(--color-primary);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--color-primary);
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin: 12px 0;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(10px);
}

.footer-copyright {
    background: #0a0a0a;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #2a2a2a;
}

.footer-copyright p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links a:hover {
        transform: translateX(5px);
    }

    .footer-logo .custom-logo {
        margin: 0 auto;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 473px) {
    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
}

/* ======================= */
/* GAMING CONTENT LAYOUT */
/* ======================= */

.gaming-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 40px;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 20px;
}

/* Sidebar */
.gaming-sidebar {
    background: #1f1f1f;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--color-primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.category-title {
    color: var(--color-primary);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    position: relative;
}

.category-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-primary);
    margin-top: 8px;
}

.game-categories-list {
    list-style: none;
    padding: 0;
}

.game-categories-list li {
    margin: 12px 0;
}

.game-categories-list a {
	text-decoration: none;
    color: #fff;
}

.game-categories-list a:hover {
    color: var(--color-primary);
    transform: translateX(10px);
}

.category-link {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    display: block;
    transition: all 0.3s ease;
    background: rgba(255, 76, 41, 0.1);
    border: 1px solid var(--color-primary)40;
}

.category-link:hover {
    background: var(--color-primary);
    transform: translateX(10px);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255,76,41,0.3);
}

/* Contenido Principal */
.main-gaming-title {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    text-align: center;
    font-size: 2.5rem;
    margin: 2rem 0;
    text-shadow: 0 4px 8px rgba(255,76,41,0.3);
}

.pixel-arrow {
    color: var(--color-primary);
    font-family: 'Courier New', monospace;
}


.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(255,76,41,0.2);
    border-color: var(--color-primary);
}

/*.game-thumbnail {*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    aspect-ratio: 16/9;*/
/*}*/

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image {
    transform: scale(1.05);
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,76,41,0) 0%, rgba(0,0,0,0.8) 100%);
    opacity: 0.8;
}

.game-title {
    color: #fff;
    font-size: 1.1rem;
    padding: 1rem;
    margin: 0;
    text-align: center;
    background: rgba(0,0,0,0.7);
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .gaming-content-wrapper {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

    .main-gaming-title {
        font-size: 2rem;
    }
}

/* Estilos para el Hero */
.gaming-hero {
    background: linear-gradient(90deg, #000000 0%, #000000 100%);
    padding: 8rem 2rem;
    text-align: center;
    border-bottom: 4px solid var(--color-primary);
}

.hero-title {
    color: #fff;
    font-size: 3.5rem;
    text-shadow: 0 4px 8px rgba(255,76,41,0.3);
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: #b0b0b0;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--color-primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    background: transparent;
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.cta-alt {
    background: transparent;
    border: 2px solid var(--color-primary);
}

.game-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-primary), transparent 50%);
    z-index: -1;
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover::before {
    opacity: 1;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.game-card {
    background: #1a1a2e;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #2a2a4a;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 76, 41, 0.3);
    border-color: var(--color-primary);
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-title {
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
}

/* Contenedor principal */
.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

/* Tarjetas de juego */
.entry-item {
    background: #1f1f1f;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #2a2a4a;
}

.entry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 76, 41, 0.3);
    border-color: var(--color-primary);
}

/*.container-images img {*/
/*    width: 100%;*/
/*    height: 200px;*/
/*    object-fit: cover;*/
/*}*/

.entry-title {
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
}

/* Página individual */
.game-single {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
    color: #fff;
}

.play-button {
    background: var(--color-primary);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: background 0.3s;
}

.play-button:hover {
    background: #e03e1c;
}

.container.container-first {
    padding: 0;
    margin-bottom: 1rem;
}

/*----------------------------------------------------------------------------*/
*,:after,:before {
    box-sizing: border-box
}
@media (min-width: 1000px) {
    body {
        font-size:1rem
    }
}



.container-images-single>img.nl,.container-images-single>img.hqy-loaded {
    z-index: 3
}

amp-img,img,svg,iframe {
    max-width: 100%;
    vertical-align: top;
    height: auto;
    border-style: none;
    outline: 0
}







.site-logo {
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    padding: .7rem 0
}


.icon-menu:before,.icon-menu:after {
    width: .75em;
    height: .1em;
    position: absolute;
    content: '';
    background-color: #fff;
    transition: .3s;
    right: 0;
    border-radius: 1em;
    pointer-events: none;
    font-size: 34px
}


.big-title {
    font-size: 1.25rem;
    display: table;
    color: #e51515;
    font-weight: 800;
    letter-spacing: .3rem;
    padding: .625rem 0 0;
    line-height: .8;
    background: 0 0
}

.big-title:after {
    content: "";
    border: 0;
    display: table;
    height: 1.8rem;
    background: url(../wp-content/themes/IG-Juegos/assets/images/hr.svg) repeat center center;
    filter: invert(47%) sepia(13%) saturate(4966%) hue-rotate(175deg) brightness(104%) contrast(91%);
    width: 100%;
    margin: 0 auto
}

.menu-wrapper .gg-games {
    margin-right: 1rem;
    color: #e51515
}

.gg-games {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1));
    width: 24px;
    min-width: 24px;
    height: 12px;
    border: 3px solid transparent;
    border-left: 6px solid transparent;
    box-shadow: 0 0 0 2px,inset 2px 0 0;
    border-radius: 40px
}

.gg-games:after,.gg-games:before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    height: 2px;
    background: currentColor
}

.gg-games:before {
    left: -2px;
    width: 6px;
    top: 2px
}

.gg-games:after {
    border-radius: 3px;
    width: 2px;
    box-shadow: 0 4px 0,-2px 2px 0,2px 2px 0;
    top: 0;
    right: 2px
}

.default-header h1 img {
    position: absolute;
    left: .8rem
}

#content ul,#content ol {
    margin: 1rem 0;
    padding-left: 2.2rem
}

#content ul.ez-toc-list-level-3 {
    margin: 0
}

#content li {
    margin: .5rem 0;
    font-size: 1rem;
    letter-spacing: .09rem;
    line-height: 1.5;
    list-style-type: none
}

#content li:last-child {
    margin-bottom: 0
}

#content li:before {
    width: 1.25rem;
    margin-top: -1.25rem;
    position: relative;
    display: block;
    color: #2196f3;
    content: '\2B25';
    top: 1.55rem;
    left: -1.8rem
}

.aligncenter,.alignright,.alignleft {
    margin-left: auto;
    margin-right: auto;
    display: block;
    clear: both;
    text-align: center
}

@media (min-width: 700px) {
    .alignleft {
        float:left;
        display: inline;
        margin-left: 1.5em
    }

    .alignright {
        float: right;
        display: inline;
        margin-right: 1.5em
    }
}

.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright {
    display: table
}

.wp-block-image {
    margin: 2rem 0
}

.wp-block-image figcaption {
    font-size: .65rem;
    line-height: 1.5;
    color: #9f9f9f;
    margin-top: .31rem;
    text-transform: uppercase
}

@media (min-width: 700px) {
    .game-info {
        display:flex;
        align-items: center
    }
}

.game-info {
    margin-top: 5rem
}

.game-info-left {
    position: relative;
}

.game-info-right {
    min-width: 100%
}

@media (min-width: 700px) {
    .game-info-right {
        min-width:300px;
        margin-left: 1rem
    }
}

.gameplay {
    cursor: pointer;
    width: 100%;
    text-decoration: none;
}

.game-info-left .gameplay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 4
}

.gameplay span {
    background: #1dc223;
    color: #fff;
    display: flex; /* Usar flexbox */
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    width: 100%; /* Asegurar que el span ocupe todo el ancho */
    padding: 1rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;

}

.game-info-left .gameplay span {
    position: absolute;
    left: 0;
    right: 0;
    top: -3.7rem
}

.post-review {
    background-color: #17203b;
    padding: 1rem;
    border-top: solid 3px #fff;
    border-radius: 5px;
    -webkit-box-shadow: 10px 10px 5px -7px rgba(255,76,41,1);
    -moz-box-shadow: 10px 10px 5px -7px rgba(255,76,41,1);
    box-shadow: 10px 10px 5px -7px rgba(255,76,41,1);
}

.trophy {
    margin: 0 auto .5rem auto;
    text-align: center;
    padding: .5rem
}

.nota {
    margin: 0 auto;
    font-size: 2rem;
    padding: .5rem 1rem;
    text-align: center;
    background: #0a0a0a;
    display: table;
    border-radius: 15px
}

.nota i {
    font-style: normal;
    color: #e51515
}



/*.cluster-flex h3 {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    font-size: .95rem;*/
/*    margin: 0;*/
/*    color: #333;*/
/*    padding: .8rem;*/
/*    text-transform: uppercase;*/
/*    background: #fff;*/
/*    flex: 1;*/
/*    font-weight: 800;*/
/*    text-align: center;*/
/*    justify-content: center*/
/*}*/

.cluster-flex a {
    text-decoration: none;
    color: #8b86ad
}

.cluster-flex img {
    display: block;
    max-width: 100%;
    height: auto;
    width: 100%;
    border: 0
}
/*------------------*/


@media (min-width: 1000px) {
    #content-wrapper {
        display: flex
    ;
    }
}

@media (min-width: 1000px) {
    #content {
        grid-column: 1;
        order: 2;
    }
    /* Estilo cuando el sidebar está visible */
    .sidebar.visible {
        display: block;
    }
    .sidebar {
        display: block;
    }
}

@media (min-width: 1024px) {
    .container{
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container{
        max-width: 1100px;
    }
}

@media (min-width: 1300px) {
    .container {
        max-width: 1200px;
    }
}

@media (min-width: 1444px) {
    .container {
        max-width: 1444px;
    }
}

#menu {
    order: 3;
    margin: 15px;
}

.big-title, .default-header h1 {
    position: relative;
    background: linear-gradient(180deg, #e51515 0%, #f80136 100%);
    color: #fff;
    display: block;
    margin: 2rem auto;
    font-weight: 800;
    line-height: 1;
    font-size: 1.8rem;
    text-align: center;
    padding: .8rem;
}

.default-header h1 {
    margin: 0;
    text-align: left;
    display: flex;
    align-items: center;
    padding-left: 3.2rem;
}
.default-header .container {
    padding: 0;
}

.default-header h1:before {
    content: "";
    content: "";
    width: 0;
    height: 0;
    border-top: .625rem solid #f80136;
    border-left: .625rem solid transparent;
    border-right: .625rem solid transparent;
    position: absolute;
    bottom: -.625rem;
    left: 1.75rem;
    z-index: 5;
}

button {
    touch-action: manipulation;
    background: 0 0;
    border: 0;
    display: inline-block;
    vertical-align: top;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}

@media (min-width: 1000px) {
    .container.container-first {
        display: grid
    ;
        grid-template-columns: 1fr 300px;
        grid-template-rows: auto;
    }
}

@media (max-width: 379px) {
    .submenu-grid {
        display: inline;
    }
    .nav-header{
        display: none;
    }
}
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 .7rem;
}

.entry-content {
    width: 100%;
}

.container-images {
    position: relative;
    width: 100%;
    display: block;
}
/************************************************************/
/* Estilos del botón flotante */
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #ffcc00;
    color: #222;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none; /* Oculto por defecto */
    z-index: 5;
}

/* Mostrar el botón flotante solo en pantallas de 1000px o menos */
@media (max-width: 1000px) {
    .floating-button {
        display: block;
    }
    .sidebar {
        display: none;
    }
     .sidebar-toggle {
        display: none;
    }

    #gaming-sidebar {
        display: none;
        /* Agrega otros estilos según sea necesario */
    }
    .site-navbar{
        position: absolute;
        right: 0px;
        z-index: 1;
    }


}

/* Asegúrate de que el sidebar esté oculto por defecto */


/* Mostrar el sidebar cuando tenga la clase 'visible' */
#gaming-sidebar.visible {
    display: block;
    width: 275px;
    /* O cualquier estilo que haga visible el sidebar */
}




