/*
Theme Name: TemaRodrigo
Theme URI: https://wordpress.org/themes/twentytwenty/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 1.3
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: temaRodrigo
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body {
  background-color: #262626 !important;
}

.row.align-items-start>.col.text-white>.info-games>a {
  color: rgb(0 245 53) !important;
  text-decoration: none;
}

.row.align-items-start>.col.text-white>.info-games>a:hover {
  color: rgb(4 195 45) !important;
  text-decoration: none;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  max-width: 100% !important;
}

.cta-background {
  background-size: cover;
  background-position: center center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  filter: blur(50px);
  z-index: -1;
}

.cta {
  background: #333;
  box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
  max-width: 100%;
  border-radius: 10px;
  z-index: 1;
  transition: z-index 0.3s, transform 0.3s, opacity 0.3s;
}

.cta.post-item>a>img {
  filter: saturate(1.4);
  transition: filter 0.4s ease;
}

.cta:hover {
  transform: scale(1.4);
  z-index: 10;
}

.cta.post-item:hover>a>img,
.cta.post-item>a:hover>img {
  /* quita la saturación en hover */
  filter: saturate(1) brightness(20%);
}


.cta:hover .text-card {
  top: 0;
}

.cta img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  /* Asegura que la imagen cubra todo el espacio sin distorsionarse */
  transition: 0.5s ease-in-out !important;
}

.col-auto.tilt-container>img {
  filter: saturate(1.4);
}

.text-card {
  position: absolute;
  top: 100%;
  padding: 15px;
  transition: 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: 100%;
}

.text-card h2 {
  color: #fff;
  display: inline-block;
  margin-bottom: 5px;
  position: relative;
  font-size: 20px;
}

.text-card span,
.text-card i {
  color: white;
}

.text-card button {
  position: relative;
  margin-top: auto;
  align-self: center;
  padding: 0 50px;
}

.gosha {
  display: grid;
  place-items: center;
}

/* Diseño adaptable con Grid */
.container-games {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-auto-flow: column;
  gap: 10px;
  width: 92%;
  justify-content: flex-start;
  margin-top: -17%;
  padding: 20px;
}

.item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
  /*.container-games {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }*/

  .cta {
    max-width: 100%;
  }

  .text-card h2 {
    font-size: 16px;
  }

  .text-card button {
    font-size: 14px;
    padding: 6px 12px;
  }
}

@media (min-width: 3983px) {
  .container.footer-bottom {
    max-width: 3983px;
  }

  .post-item:nth-child(n+55) {
    display: none;
  }
}

@media (max-width: 3982px) and (min-width: 3749px) {
  .post-item:nth-child(n+49) {
    display: none;
  }
}

@media (max-width: 3748px) and (min-width: 3515px) {
  .post-item:nth-child(n+46) {
    display: none;
  }
}

@media (max-width: 3515px) and (min-width: 3283px) {
  .post-item:nth-child(n+43) {
    display: none;
  }
}

@media (max-width: 3282px) and (min-width: 3049px) {
  .post-item:nth-child(n+40) {
    display: none;
  }
}

@media (max-width: 3048px) and (min-width: 2816px) {
  .post-item:nth-child(n+37) {
    display: none;
  }
}

@media (max-width: 2815px) and (min-width: 2583px) {
  .post-item:nth-child(n+34) {
    display: none;
  }
}

@media (max-width: 2582px) and (min-width: 2349px) {
  .post-item:nth-child(n+31) {
    display: none;
  }
}

@media (max-width: 2349px) and (min-width: 2116px) {
  .post-item:nth-child(n+28) {
    display: none;
  }
}

@media (max-width: 2115px) and (min-width: 1883px) {
  .post-item:nth-child(n+25) {
    display: none;
  }
}

@media (max-width: 1882px) and (min-width: 1649px) {
  .post-item:nth-child(n+22) {
    display: none;
  }
}

@media (max-width: 1648px) and (min-width: 1416px) {
  .post-item:nth-child(n+19) {
    display: none;
  }
}

@media (max-width: 1415px) and (min-width: 1200px) {
  .post-item:nth-child(n+16) {
    display: none;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .post-item:nth-child(n+13) {
    display: none;
  }
}

@media (max-width: 991px) and (min-width: 769px) {
  .post-item:nth-child(n+10) {
    display: none;
  }
}

@media (max-width: 768px) and (min-width: 768px) {
  .post-item:nth-child(n+13) {
    display: none;
  }
}

@media (max-width: 767px) and (min-width: 493px) {
  .post-item:nth-child(n+10) {
    display: none;
  }
}

@media (max-width: 493px) {
  .post-item:nth-child(n+7) {
    display: none;
  }
}

.swiper-button-next,
.swiper-button-prev {
  top: auto !important;
  margin-top: -160px !important;
  color: white !important;
}

.gosteo .swiper-button-prev {
  left: 25px !important;
}

.gosteo .swiper-button-next {
  right: 25px !important;
}

@media (max-width: 1500px) {
  .gosteo .swiper-button-prev {
    left: 13px !important;
  }

  .gosteo .swiper-button-next {
    right: 13px !important;
  }
}

.swiper>.swiper-wrapper>.swiper-slide>.cta:hover {
  transform: none;
}

.swiper>.swiper-wrapper>.swiper-slide>.cta>a>.text-card {
  padding: 15px 15px 0 15px;
}

.swiper>.swiper-wrapper>.swiper-slide>.cta>a>.text-card button {
  font-size: 29px;
  width: 120%;
  padding: 10px 50px 10px 50px;
}

.swiper>.swiper-wrapper>.swiper-slide>.cta>a>.text-card h2 {
  font-size: 26px;
}

.title-slider {
  text-align: center;
  color: white;
  margin: 60px 0 30px 0;
}

.tests {
  background-image: url(/wp-content/uploads/2025/03/Diseno-sin-titulo-1.webp);
  height: 1200px;
  position: absolute;
  left: 0;
  width: 100%;
  object-fit: cover;
  margin-top: -1176px;
  z-index: -1;
}

.gosteo {
  padding: 20px;
  width: 92%;
  margin: 0 auto;
  background: rgba(64, 64, 64, 0.2);
  border-radius: 10px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(64, 64, 64, 0.3);
  overflow: hidden;
}

@media (max-width: 768px) {
  .text-card {
    display: none;
  }

  .cta:hover {
    transform: scale(1.0);
  }

  .cta.post-item:hover>a>img,
  .cta.post-item>a:hover>img {
    filter: saturate(1.4);
  }
}

.img-fluid.mb-3.tamano-post-image {
  width: 220px;
  border-radius: 10px;
}

.single-page>.row.align-items-start {
  width: 1300px;
  margin: 0 auto;
  background: rgba(64, 64, 64, 0.2);
  border-radius: 10px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20.5px);
  border: 1px solid rgba(64, 64, 64, 0.3);
  margin-top: 30px;
}

@media (max-width: 1346px) {
  .single-page>.row.align-items-start {
    width: 100%;
    margin: 0 auto;
    background: rgba(64, 64, 64, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20.5px);

    border: 1px solid rgba(64, 64, 64, 0.3);
    margin-top: 30px;
  }
}

.portada-mobile {
  display: flex;
  justify-content: center;
}

@media (min-width: 999px) {
  .portada-mobile {
    display: none;
  }

}

@media (max-width: 999px) {
  .col-auto.tilt-container {
    display: none !important;
  }

  .col.text-white {
    padding: 20px;
  }

  .buttons.mt-auto>button {
    width: 75% !important;
  }

  .buttons.mt-auto>button.btn.btn-primary.btn-compra {
    margin-top: 10px;
  }

  .row.align-items-start {
    margin-top: 10px !important;
  }
}

.col-auto.tilt-container {
  display: flex;
  align-items: center;
}

.gosteo>.swiper>.swiper-wrapper>.swiper-slide img {
  aspect-ratio: 2 / 3;
}

.single-page-swiper {
  background: rgb(20 20 20);
}

@media (max-width: 1199px) {

  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .text-card {
    display: none;
  }

  .cta:hover {
    transform: scale(1);
  }

  .cta.post-item:hover>a>img,
  .cta.post-item>a:hover>img {
    filter: saturate(1.4);
  }
}

.tamano-post-image {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 10px;
}

.game-card {
  width: 100%;
  max-width: 100%;
  margin: 30px auto 0;
  padding: 20px;
  background: rgba(64, 64, 64, 0.2);
  border-radius: 10px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(64, 64, 64, 0.3);
  overflow: hidden;
}

.game-card .row.align-items-start {
  width: auto;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.portada-mobile {
  display: flex;
  justify-content: center;
}

@media (min-width: 999px) {
  .portada-mobile {
    display: none;
  }
}

@media (max-width: 999px) {
  .col-auto.tilt-container {
    display: none !important;
  }

  .col.text-white {
    padding: 20px;
  }

  .buttons.mt-auto>button {
    width: 75% !important;
  }

  .buttons.mt-auto>button.btn.btn-primary.btn-compra {
    margin-top: 10px;
  }

  .game-card {
    margin-top: 10px;
    padding: 16px;
  }
}

.col-auto.tilt-container {
  display: flex;
  align-items: center;
}

.game-info {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* o una altura fija como 400px */
}

.buttons {
  margin-top: auto;
}

.row.align-items-start>.col.text-white>.buttons.mt-auto>button {
  width: 33%;
  padding: 10px;
  font-size: 20px;
}

.game-card {
  background-color: #1e1e2f;
  color: white;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: auto;
}

.game-image {
  width: 250px;
  height: auto;
  border-radius: 10px;
}

.game-info {
  flex: 1;
}

.game-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
}

.img-fluid.mb-3.tamano-post-image {
  width: 220px;
  height: 311px;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 12px !important;
}

.tilt-container {
  perspective: 1000px;

}

.tilt-inner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
  transform-origin: center center;

  /* 🔧 Mejoras de suavizado */
  will-change: transform;
  backface-visibility: hidden;
  image-rendering: auto;

  /* ⚠️ Opcional: mejora en algunos casos de blur leve */
  filter: contrast(1.01);
}

.btn-compra {
  background-color: #848484 !important;
  border-color: #fff !important;
}

.btn-compra:hover {
  background-color: #585858 !important;
}

/* Flecha animada */

.plus-to-arrow {
  position: relative;
  width: 60px;
  height: 60px;
  cursor: pointer;
  margin: auto;
  margin-top: -20px;
}

.line {
  position: absolute;
  background-color: #f7f7f7;
  transition: all 0.4s ease;
  border-radius: 3px;
}

/* Línea vertical */
.vertical {
  width: 6px;
  height: 30px;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
}

/* Línea horizontal */
.horizontal {
  width: 30px;
  height: 6px;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
}

/* Flecha - líneas diagonales (inicialmente centradas y pequeñas) */
.arrow-left,
.arrow-right {
  width: 6px;
  height: 20px;
  background-color: #f7f7f7;
  position: absolute;
  top: 35px;
  opacity: 0;
  transition: all 0.4s ease;
  border-radius: 3px;
  transform-origin: top center;
}

.arrow-left {
  left: 50%;
  transform: translateX(-50%) rotate(0deg) scaleY(0);
}

.arrow-right {
  left: 50%;
  transform: translateX(-50%) rotate(0deg) scaleY(0);
}

/* Hover Animations */
.plus-to-arrow:hover .horizontal {
  transform: translateY(-50%) scaleX(0);
  opacity: 0;
}

.plus-to-arrow:hover .arrow-left {
  left: calc(50% - 9px);
  transform: translateX(0) rotate(145deg) scaleY(1) translateY(-12px);
  opacity: 1;
}

.plus-to-arrow:hover .arrow-right {
  left: calc(50% + 3px);
  transform: translateX(0) rotate(-145deg) scaleY(1) translateY(-12px);
  opacity: 1;
}

/* Fin flecha animada */

.row.align-items-start {
  align-items: stretch !important;
  /* Fuerza columnas de igual altura */
}

.col.text-white {
  display: flex !important;
  flex-direction: column !important;
}

.buttons.mt-auto {
  margin-top: auto !important;
  padding: 25px 0;
  /* Espaciado opcional */
}

.buttons.mt-auto>button>i {
  margin-right: 10px;
}

/* Estilos del modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content-download {
  background: #262626 !important;
  padding: 25px;
  border-radius: 10px;
  color: white;
  /* Texto general en blanco */
  font-family: sans-serif;
  width: 80%;
  max-width: 600px;
  margin: 5% auto;
  position: relative;
  margin-top: 150px;
}

.close-modal-download {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: white;
  /* × en blanco */
}

.modal-content-download h3 {
  margin-top: 0;
  color: white;
  /* Título en blanco */
}

.modal-description {
  font-size: 14px;
  color: white;
  /* Descripción en blanco */
}

.download-option {
  background-color: #5a5a5a;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  color: white;
  /* Texto de opciones en blanco */
}

.download-button {
  background-color: #ff6600;
  padding: 8px 16px;
  color: white !important;
  /* Texto del botón en blanco */
  text-decoration: none;
  border-radius: 5px;
}

.download-button:hover {
  background-color: #b94d05;
}

.modal-content-download>.container {
  padding: 0 30px 10px;
}

@media (max-width: 489px) {
  .download-button {
    padding: 8px 5px;
    font-size: 14px;
  }

  .col-4.optional-text {
    font-size: 14px;
  }
}

.modal-updates {
  margin-top: 20px;
  font-size: 14px;
  color: white;
  margin-bottom: 8px;
}

.col-4.optional-text {
  white-space: nowrap;
  overflow: hidden;
  white-space: nowrap;
}

.iframe-youtube {
  margin: 0 auto;
  width: 1300px;
  margin-top: 30px;
}

.iframe-youtube>div>lite-youtube {
  border-radius: 10px;
}

@media (max-width: 1346px) {
  .iframe-youtube {
    width: 100%;
  }
}

/* Estilos para el swiper de miniaturas */
.thumbnailSwiper {
  width: 100%;
  margin: 0 auto;
  margin-top: 10px;
}

.thumbnailSwiper .swiper-slide {
  width: 180px;
  height: 100px;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
}

.thumbnailSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Estilos para el modal */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 1);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1055;
}

.gallery-modal.active {
  display: flex;
}

.modal-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* Swiper principal dentro del modal */
.modal-main-swiper {
  flex: 1 1 auto;
  width: 100%;
  overflow: hidden;
  padding-top: 10px;
}

.modal-main-swiper .swiper-slide {
  display: flex;
}

.modal-main-swiper .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  position: absolute;
}

/* Swiper de miniaturas dentro del modal */
.modal-thumbs-swiper {
  height: 120px;
  flex-shrink: 0;
  width: 100%;
  padding: 10px 0;
  box-sizing: border-box;
}

.modal-thumbs-swiper .swiper-slide {
  width: 180px;
  opacity: 0.4;
  cursor: pointer;
}

.modal-thumbs-swiper .swiper-slide-thumb-active {
  opacity: 1;
}

.modal-thumbs-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
  padding-bottom: 8px;
}

.swiper-slide.swiper-slide-visible.swiper-slide-fully-visible>img {
  border-radius: 10px;
}

.swiper-free-mode>.swiper-wrapper {
  display: flex;
  justify-content: center;
}

@media (max-width: 940px) {
  .swiper-free-mode>.swiper-wrapper {
    display: flex;
    justify-content: normal;
  }
}

.swiper-wrapper>div:last-child {
  margin-right: 0 !important;
}

.media-section{
  margin-top:20px;
}

.main-wrapper .inner-content .media-section .image-gallery {
  --gap: 30px;
  display: flex;
  gap: var(--gap);
}

@media screen and (max-width: 1000px) {
  .main-wrapper .inner-content .media-section .image-gallery {
    --gap: 20px
  }
}

@media screen and (max-width: 800px) {
  .main-wrapper .inner-content .media-section .image-gallery {
    --gap: 15px
  }
}

@media screen and (max-width: 500px) {
  .main-wrapper .inner-content .media-section .image-gallery {
    gap: 10px;
    display: none;
  }

  .main-wrapper .inner-content .media-section .image-gallery .thumbnail-group {
    flex-wrap: nowrap;
    gap: 10px
  }

  .main-wrapper .inner-content .media-section .image-gallery .gallery-item img {
    border-radius: 10px
  }

  .main-wrapper .inner-content .media-section .image-gallery .gallery-item {
    flex: 0 0 140px !important
  }
}

.main-wrapper .inner-content .media-section .image-gallery .gallery-item {
  --columns: 4;
  display: flex;
  width: calc(100%/var(--columns) - var(--gap) + var(--gap)/var(--columns));
  aspect-ratio: 16/9;
  position: relative;
  cursor: pointer;
}

.main-wrapper .inner-content .media-section .image-gallery .gallery-item.double-width {
  --columns: 2;
}

@media screen and (min-width: 501px) {
  .main-wrapper .inner-content .media-section .image-gallery .gallery-item.double-width.featured img {
    border-radius: 10px
  }
}

@media screen and (min-width: 501px) and (max-width:500px) {
  .main-wrapper .inner-content .media-section .image-gallery .gallery-item.double-width.featured img {
    border-radius: 7px
  }
}

.main-wrapper .inner-content .media-section .image-gallery .gallery-item img {
  border-radius: 10px;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.main-wrapper .inner-content .media-section .image-gallery .thumbnail-group {
  --gap: 30px;
  display: flex;
  gap: var(--gap);
  width: 50%
}

@media screen and (max-width: 1000px) {
  .main-wrapper .inner-content .media-section .image-gallery .thumbnail-group {
    --gap: 20px
  }
}

@media screen and (max-width: 800px) {
  .main-wrapper .inner-content .media-section .image-gallery .thumbnail-group {
    --gap: 15px
  }
}

@media screen and (min-width: 501px) {
  .main-wrapper .inner-content .media-section .image-gallery .thumbnail-group.large {
    flex-wrap: wrap;
  }
}

@media screen and (min-width: 501px) {
  .swiper.thumbnailSwiper.hidden-pc-swiper {
    display: none;
  }
}

.main-wrapper {
  margin: 0 auto;
  max-width: 1300px;
  margin-top: 30px;
}

.info-baldurs-gate {
  padding: 10px 25px;
  border-radius: 10px;
  color: #ffffff;
  max-width: 1300px;
  margin: 0 auto;
  margin-top: 30px;
  background: rgb(20 20 20);
  border-radius: 10px;
}

.info-baldurs-title {
  text-align: center;
  color: #ff6b9e;
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.info-baldurs-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.info-baldurs-left,
.info-baldurs-right {
  width: 100%;
}

@media (min-width: 768px) {

  .info-baldurs-left,
  .info-baldurs-right {
    width: 48%;
  }
}

.info-baldurs-left p {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-label {
  font-weight: bold;
  color: #ffffff;
  display: inline-block;
  min-width: 170px;
}

.info-flags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  vertical-align: middle;
}

.info-flags img {
  border-radius: 3px;
  transition: transform 0.2s;
}

.info-flags img:hover {
  transform: scale(1.2);
}

.info-extra-list {
  list-style-type: none;
  padding-left: 20px;
  margin-top: 0;
}

.info-extra-list li {
  margin-bottom: 10px;
  padding: 10px;
  background-color: rgb(255 255 255 / 20%);
  border-radius: 5px;
}

.info-baldurs-right>p>.info-label {
  margin-top: 10px;
}

.info-baldurs-left>p:last-child {
  border-bottom: 0px;
}

ul.info-extra-list>li>p {
  margin: 0 !important;
}

.btn.rounded-circle:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.5);
}

.description-game>p {
  font-size: 20px;
}


.descripcion-detallada {
  position: relative;
  max-height: 300px;
  overflow: hidden;
  will-change: max-height;
  /* Optimización para el navegador */
}


.toggle-button {
  margin: 1rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  line-height: 1;
  color: white;
  background-color: #333;
  border: 1px solid #666;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  font-family: monospace;
  padding: 0;
}

.toggle-button:hover {
  background-color: #555;
}

.contenido-juego {
  width: 100%;
  height: 100%;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
  font-size: 20px;
  margin-top: 40px;
}

.tab-button {
  padding: 1rem 2rem;
  background: rgb(20 20 20);
  border: none;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s;
}

.tab-button.active {
  background: rgb(255 255 255 / 20%);
}

@media (max-width: 600px) {
  .tabs {
    flex-direction: column;
    align-items: center;
  }

  .tab-button {
    width: 100%;
    max-width: none;
    text-align: center;
  }
}

.expander-click {
  background-image: linear-gradient(transparent, #262626);
  bottom: 0;
  cursor: pointer;
  display: block;
  height: 100%;
  left: -10px;
  position: absolute;
  right: -10px;
  z-index: 1;
}

button.tab-button:hover {
  background-color: #515151
}

.list-group-item:first-child {
  margin-top: 7px !important;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  border: none !important;
}

#live-search-results-desktop,
#live-search-results-mobile {
  position: absolute;
  /* o relative si prefieres */
  z-index: 1000;
  opacity: 0;
  transform: translateY(-29px) !important;
  transition: all 0.3s ease;
  pointer-events: none;
}

#live-search-results-desktop.show,
#live-search-results-mobile.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.form-control.rounded-pill.px-4.shadow-sm {
  position: relative;
  z-index: 2000;
}

.form-control:focus {
  border-color: #22ff00 !important;
}

#live-search-input:focus {
  border-color: #a5a5a5;
  outline: none;
}

.search-thumb {
  width: 56px;
  /* ajusta a tu gusto */
  height: 76px;
  /* mantiene cuadrado */
  object-fit: cover;
  /* recorta sin deformar */
  border-radius: .25rem;
  display: block;
}

.list-group-item a {
  color: inherit;
}

/* mantiene color del texto */

/* --- Estilo moderno tipo círculo oscuro --- */

.custom-pagination .page-item {
  margin: 0 4px;
}

.custom-pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1e1e1e;
  border: 1px solid #555;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.custom-pagination .page-link:hover {
  background-color: #ff6600;
  border-color: #ff6600;
  color: #fff;
}

.custom-pagination .active .page-link {
  background-color: #ff6600;
  border-color: #ff6600;
  color: #fff;
}

.custom-pagination .page-item:first-child .page-link,
.custom-pagination .page-item:last-child .page-link {
  font-size: 1.2rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

.custom-pagination .page-link:focus {
  box-shadow: none;
}

.footer {
  background-color: #0d1117;
  /* tono oscuro tipo GitHub dark */
  color: #d1d5db;
}

.footer-logo {
  width: 240px;
  transition: transform 0.3s ease;
  margin-right: 3rem !important;
}

.footer-logo:hover {
  transform: scale(1.1);
}

.footer-link {
  color: #a7b0ba;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: rgb(0 245 53) !important;
  /* verde brillante gamer */
}

@media (max-width: 474px) {
  .footer-logo {
    width: 156px;
    margin-right: 0rem !important;
  }
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: transparent;
  color: #a7b0ba;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: rgb(2 231 51) !important;
  background-color: rgba(0, 255, 153, 0.1);
  transform: translateY(-2px);
}

.row.gy-5.justify-content-between {
  margin-right: 85px;
  margin-left: 85px;
}

footer.footer.text-light.mt-5.pt-5.pb-3.shadow-lg {
  background-color: #515151;
}

.small.text-secondary {
  color: #a7b0ba !important;
}

a.text-success.text-decoration-none {
  color: rgb(0 245 53) !important;
  ;
}

hr.border-secondary.mt-5.mb-3 {
  height: 2px;
  background: #ffffff;
}

.header-logo {
  width: 200px;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.1);
}

.header-logo.header-logo-mobile {
  width: 63px;
  transition: transform 0.3s ease;
}

.header-logo-mobile {
  margin-right: -16px !important;
}

@media (max-width: 600px) {
  .header-logo-desktop {
    display: none;
  }
}

@media (min-width: 601px) {
  .header-logo-mobile {
    display: none;
  }
}

/* Overlay móvil: base */
.search-overlay {
  position: absolute;
  inset: 0;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  /* oculto por defecto */
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Abierto */
.navbar.search-open .search-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* <<< NUEVO: estado de cierre (fade-out sin cortar visibilidad) >>> */
.navbar.search-closing .search-overlay {
  opacity: 0;
  /* hace fade-out */
  visibility: visible;
  /* se mantiene visible para que se vea la transición */
  pointer-events: none;
  /* desactivado durante el cierre */
}

/* Input animado */
.search-overlay input.form-control {
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.navbar.search-open .search-overlay input.form-control {
  transform: scaleX(1);
  opacity: 1;
}

/* <<< NUEVO: input durante el cierre (contracción al centro) >>> */
.navbar.search-closing .search-overlay input.form-control {
  transform: scaleX(0);
  opacity: 0;
}

/* Botón limpiar (X) */
.clear-btn {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #ccc;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999999999999999999;
  pointer-events: auto;
}

.clear-btn.show {
  visibility: visible;
}

@media (max-width: 991.98px) {

  .navbar.search-open .navbar-brand,
  .navbar.search-open .navbar-toggler,
  .navbar.search-open #navbarSupportedContent,
  .navbar.search-open .nav-search-toggle {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

#live-search-results-mobile {
  opacity: 1;
  transition: opacity .1s ease;
}

#live-search-results-mobile.is-hiding {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .nav-search-toggle {
    margin: 0 auto;
  }

  .menu-separator {
    display: none;
  }

  .social-link-desktop.d-flex.gap-2 {
    display: none !important;
  }
}

nav.sticky-top.navbar.navbar-expand-lg {
  background: rgb(20 20 20 / 56%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20.5px);
  border: 1px solid rgba(64, 64, 64, 0.3);
}

ul#menu-menu-1>li>a {
  color: white;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.menu-separator {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 15px;
  align-self: center;
}

button.navbar-toggler.ms-auto {
  color: white;
}

.cat-boot .filter-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 1720px;
  text-align: center;
}

.cat-boot .filter-section .form-label {
  text-align: left;
  width: 100%;
  color: #e6e6e6;
}

.cat-boot .filter-section .form-control,
.cat-boot .filter-section .form-select {
  width: 100%;
}

/* ====== CONTENEDOR / TITULOS ====== */
.cat-boot .container {
  max-width: 1100px;
}

.cat-boot>div>h1 {
  text-align: center;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.cat-boot>div>h1::after {
  content: "";
  display: block;
  height: 3px;
  width: 90px;
  margin: 0.5rem auto 0;
  background: linear-gradient(90deg, #79D411, #6CBD0F);
  border-radius: 2px;
  opacity: 0.9;
}

/* ====== FILTROS (centrado y en “card”) ====== */
.cat-boot .filter-section {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem auto 1rem;
  padding: 16px 18px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
  max-width: 900px;
}

.cat-boot .filter-section .form-label {
  color: #e6e6e6;
  margin-bottom: .35rem;
}

.cat-boot .filter-section .col-12 {
  min-width: 260px;
}

/* Inputs */
.cat-boot .form-control,
.cat-boot .form-select {
  background: #1a1a1a;
  color: #e6e6e6;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: .55rem .75rem;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.cat-boot .form-control:hover,
.cat-boot .form-select:hover {
  border-color: #3a3a3a;
}

.cat-boot .form-control::placeholder {
  color: #9aa3aa;
}

.cat-boot .form-control:focus,
.cat-boot .form-select:focus {
  border-color: #79D411;
  box-shadow: 0 0 0 .25rem #93EE2B40;
  outline: 0;
}

/* ====== LOADER ====== */
.cat-boot #loader .spinner-border {
  color: #79D411;
}

.cat-boot #loader p {
  color: #bfbfbf !important;
}

/* ====== TARJETAS DE RESULTADO ======
   (aplica tanto si tienes <article class="game-card"> como si tu HTML es la fila original) */
.cat-boot .game-card,
.cat-boot #results>.col-12>.row.align-items-start {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 16px;
  margin: 0;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.cat-boot .game-card:hover,
.cat-boot #results>.col-12>.row.align-items-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .25), 0 0 0 1px #6CBD0F inset;
  border-color: #2f2f2f;
}

/* Imagen */
.cat-boot .tilt-container img,
.cat-boot .game-thumb img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  background: #111;
}

@media (max-width:576px) {

  .cat-boot .tilt-container img,
  .cat-boot .game-thumb img {
    width: 100%;
    height: 180px;
    margin-bottom: .5rem;
  }
}

/* Título / enlace */
.cat-boot .info-games .h5 a,
.cat-boot .game-title a {
  color: #A4F04C;
  text-decoration: none;
}

.cat-boot .info-games .h5 a:hover,
.cat-boot .game-title a:hover {
  color: #D4F8AA;
  text-decoration: underline;
}

/* Metas y extracto */
.cat-boot .small,
.cat-boot .game-meta {
  color: #bfbfbf !important;
}

.cat-boot p.line-clamp-2,
.cat-boot .game-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  margin-bottom: 0;
}

/* Botón */
.cat-boot .btn-success {
  background: #79D411;
  border-color: #79D411;
  color: #0B0F0A;
  font-weight: 700;
  border-radius: 10px;
  padding: .5rem .9rem;
}

.cat-boot .btn-success:hover {
  filter: brightness(1.07);
}

/* Separador entre cards (cuando lo haya) */
.cat-boot .border-secondary-subtle,
.cat-boot .game-sep {
  border-color: #2a2a2a !important;
  opacity: .9;
}

/* ====== PAGINACIÓN ====== */
.cat-boot .pagination {
  gap: .35rem;
}

.cat-boot .pagination .page-link {
  background: #1a1a1a;
  color: #e6e6e6;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  min-width: 42px;
  text-align: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.cat-boot .pagination .page-link:hover {
  border-color: #3a3a3a;
  color: #fff;
}

.cat-boot .pagination .page-item.active .page-link {
  background: #79D411;
  border-color: #79D411;
  color: #0B0F0A;
  font-weight: 700;
}

.cat-boot .pagination .page-link:focus {
  box-shadow: 0 0 0 .25rem #93EE2B40;
}

/* Centrar visualmente las tarjetas de juegos */
.cat-boot #results {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Centra horizontalmente cada card */
  gap: 1.75rem;
  /* Separación vertical entre cards */
}

@media screen and (max-width: 999px) {
  .cat-boot #results {
    gap: 0rem;
    /* Separación vertical entre cards */
  }
}

/* Asegurar que las columnas de Bootstrap no expandan toda la fila */
.cat-boot #results>.col-12 {
  width: 100%;
  max-width: 1300px;
  /* ancho máximo centrado */

  justify-content: center;
}

/* Asegura que la tarjeta de juego se mantenga con buen padding y centrada */
.cat-boot .game-card,
.cat-boot #results>.col-12>.row.align-items-start {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

/* En pantallas pequeñas, usar el 100% del ancho */
@media (max-width: 768px) {
  .cat-boot #results>.col-12 {
    max-width: 100%;
  }

  .cat-boot .game-card,
  .cat-boot #results>.col-12>.row.align-items-start {
    max-width: 100%;
  }
}

.filter-section {
  display: flex;
  gap: 1rem;
  /* Separación entre elementos */
  align-items: flex-end;
}

.filter-section .col-12.col-md-6 {
  flex: 1;
  /* Ocupa el espacio disponible */
}

.filter-section .col-12.col-md-3 {
  flex: 0 0 auto;
  /* Mantiene su ancho */
}

@media (max-width: 767px) {
  .filter-section>.col-12.col-md-6 {
    padding: 0 20px;
  }

  .filter-section>.col-12.col-md-3 {
    padding: 0 20px;
  }
}

/* =========================================
   CONTACTO - GAMESDEMOS (COMPLETO)
   + FIX FONDO 100% PÁGINA
   ========================================= */

/* Ajusta estos 3 si quieres afinar */
:root {
  --gd-green: #7CFC00;
  /* verde neón */
  --gd-bg-top: #262626;
  /* fondo arriba */
  --gd-bg: #000000;
  /* fondo general */
  --gd-card: #2a2a2a;
  /* tarjeta */
}


/* El main está dentro de un .container (bootstrap), así que el fondo lo pintamos en el body */
body.page-template-page-contacto-php {
  background:
    radial-gradient(900px 500px at 25% 30%, rgba(124, 252, 0, 0.10), transparent 55%),
    radial-gradient(900px 500px at 75% 55%, rgba(124, 252, 0, 0.06), transparent 60%),
    linear-gradient(180deg, var(--gd-bg-top) 0%, var(--gd-bg) 100%) !important;
  background-attachment: fixed;
}

/* Quitamos fondo del main para evitar “cortes” */
body.page-template-page-contacto-php .gd-contact {
  background: transparent !important;
}

/* Hacemos el contenedor wrapper full ancho SOLO en esta página
   (porque tu main está dentro de .container.footer-bottom) */
body.page-template-page-contacto-php .container.footer-bottom {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* -------- Layout contacto -------- */
body.page-template-page-contacto-php .gd-contact {
  padding: 35px 0;
  padding-bottom: 130px;
}

/* Grid principal */
body.page-template-page-contacto-php .gd-contact__wrap {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 46px;
  align-items: center;
  padding-left: 16px;
  padding-right: 16px;
}

/* Columna izquierda */
body.page-template-page-contacto-php .gd-contact__left {
  padding: 10px 6px;
}

body.page-template-page-contacto-php .gd-contact__title {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  color: #e8eef7;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.35);
}

body.page-template-page-contacto-php .gd-contact__bar {
  width: 62px;
  height: 4px;
  border-radius: 10px;
  background: var(--gd-green);
  box-shadow: 0 0 0 4px rgba(124, 252, 0, 0.10), 0 0 18px rgba(124, 252, 0, 0.35);
  margin: 10px 0 18px;
}

body.page-template-page-contacto-php .gd-contact__text {
  margin: 0 0 26px;
  color: rgba(232, 238, 247, 0.75);
  font-size: 15px;
  line-height: 1.7;
  max-width: 520px;
}

/* Info items */
body.page-template-page-contacto-php .gd-contact__info {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

body.page-template-page-contacto-php .gd-contact__info li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

body.page-template-page-contacto-php .gd-ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(124, 252, 0, 0.10);
  border: 1px solid rgba(124, 252, 0, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

body.page-template-page-contacto-php .gd-contact__info strong {
  display: block;
  color: #e8eef7;
  font-size: 13px;
  margin-bottom: 2px;
}

body.page-template-page-contacto-php .gd-contact__info span {
  display: block;
  color: rgba(232, 238, 247, 0.70);
  font-size: 14px;
}

/* Columna derecha */
body.page-template-page-contacto-php .gd-contact__right {
  display: flex;
  justify-content: center;
}

/* Tarjeta */
body.page-template-page-contacto-php .gd-contact__card {
  width: min(460px, 100%);
  background: var(--gd-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(124, 252, 0, 0.05) inset;
  padding: 22px;
}

/* -------- Contact Form 7 -------- */
body.page-template-page-contacto-php .gd-contact__form .wpcf7 form {
  display: grid;
  gap: 14px;
}

/* CF7 suele meter <p> por cada campo */
body.page-template-page-contacto-php .gd-contact__form .wpcf7 p {
  margin: 0;
}

/* Labels */
body.page-template-page-contacto-php .gd-contact__form .wpcf7 label {
  display: grid;
  gap: 6px;
  color: rgba(232, 238, 247, 0.75);
  font-size: 12px;
}

/* Inputs / Select / Textarea */
body.page-template-page-contacto-php .gd-contact__form .wpcf7 input[type="text"],
body.page-template-page-contacto-php .gd-contact__form .wpcf7 input[type="email"],
body.page-template-page-contacto-php .gd-contact__form .wpcf7 input[type="tel"],
body.page-template-page-contacto-php .gd-contact__form .wpcf7 select,
body.page-template-page-contacto-php .gd-contact__form .wpcf7 textarea {
  width: 100%;
  background: rgb(120 120 120 / 75%);
  color: #e8eef7;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .05s ease;
}

body.page-template-page-contacto-php .gd-contact__form .wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}

body.page-template-page-contacto-php .gd-contact__form .wpcf7 ::placeholder {
  color: rgba(232, 238, 247, 0.45);
}

/* Focus verde */
body.page-template-page-contacto-php .gd-contact__form .wpcf7 input:focus,
body.page-template-page-contacto-php .gd-contact__form .wpcf7 select:focus,
body.page-template-page-contacto-php .gd-contact__form .wpcf7 textarea:focus {
  border-color: rgba(124, 252, 0, 0.55);
  box-shadow: 0 0 0 4px rgba(124, 252, 0, 0.14);
}

/* Botón */
body.page-template-page-contacto-php .gd-contact__form .wpcf7 input[type="submit"] {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  background: var(--gd-green);
  color: #08110a;
  box-shadow: 0 12px 22px rgba(124, 252, 0, 0.18);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

body.page-template-page-contacto-php .gd-contact__form .wpcf7 input[type="submit"]:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(124, 252, 0, 0.22);
}

/* Spinner CF7 */
body.page-template-page-contacto-php .gd-contact__form .wpcf7 .wpcf7-spinner {
  margin-left: 10px;
}

/* Mensajes CF7 */
body.page-template-page-contacto-php .gd-contact__form .wpcf7-response-output {
  margin: 12px 0 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(232, 238, 247, 0.85);
}

body.page-template-page-contacto-php .gd-contact__form .wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 12px;
}

/* -------- Responsive -------- */
@media (max-width: 900px) {
  body.page-template-page-contacto-php .gd-contact__wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body.page-template-page-contacto-php .gd-contact__right {
    justify-content: start;
  }
}

.gd-ico {
  width: 36px;
  height: 36px;
  min-width: 36px;
  text-align: center;
  line-height: 36px;
  /* 👈 clave */
  border-radius: 8px;
  /* o 50% */
  color: #6CBD0F !important;
}

.gd-contact__info a {
  color: #7CFC00;
  /* verde */
  text-decoration: none;
}

.gd-contact__info a:hover {
  text-decoration: underline;
}

span.gd-ico {
  margin-top: 2px;
}

.wave-contact {
  margin-bottom: -48px;
  margin-top: -360px;
}

@media (max-width: 900px) {
  .wave-contact {
    margin-top: -100px;
  }
}

/* Dropdown menú estilo gamesdemos */
.navbar .dropdown-menu {
  background: linear-gradient(180deg, #141414, #0d0d0d);
  border-radius: 14px;
  border: 1px solid #A4F04C;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  padding: 10px;
  min-width: 200px;
  animation: dropdownFade 0.2s ease;
}

.navbar .dropdown-item {
  color: #ffffff;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: rgba(0, 255, 100, 0.15);
  color: #7CFF00;
}

.navbar .dropdown-toggle::after {
  border-top-color: #7CFF00;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base */
.navbar-nav .nav-link {
  position: relative;
  color: #eaeaea;
  font-weight: 500;
  padding: 0.75rem 1rem;
  transition: color .3s ease;
}

/* ===== Links normales: subrayado con ::after ===== */
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 2px;
  background: #7CFF00;
  transform: translateX(-50%);
  transition: width .3s ease;
}

/* Hover links normales */
.navbar-nav .nav-link:not(.dropdown-toggle):hover {
  color: #7CFF00;
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after {
  width: 60%;
}

/* ===== Dropdown toggle: subrayado con ::before (NO toca la flecha) ===== */
.navbar-nav .dropdown-toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 2px;
  background: #7CFF00;
  transform: translateX(-50%);
  transition: width .3s ease;
}

/* Hover dropdown */
.navbar-nav .dropdown-toggle:hover {
  color: #7CFF00;
}

.navbar-nav .dropdown-toggle:hover::before {
  width: 60%;
}

/* Activo (WordPress) */
.navbar-nav .current-menu-item>.nav-link::after,
.navbar-nav .current_page_item>.nav-link::after {
  width: 60%;
}

/* Si el item activo es dropdown, marcamos su ::before */
.navbar-nav .current-menu-item>.dropdown-toggle::before,
.navbar-nav .current_page_item>.dropdown-toggle::before {
  width: 60%;
}

/* ===== Dropdown menu (opcional, tu estilo) ===== */
.dropdown-menu {
  background: #1a1a1a;
  border: none;
  padding: .5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

.dropdown-item {
  color: #eaeaea;
  padding: .5rem 1.25rem;
  transition: background .25s ease, padding-left .25s ease;
}

.dropdown-item:hover {
  background: #7CFF00;
  color: #fff;
  padding-left: 1.75rem;
}

/* ===== ACTIVO / PADRE / ANCESTRO (WordPress) ===== */
.navbar-nav li.current-menu-item>.nav-link,
.navbar-nav li.current_page_item>.nav-link,
.navbar-nav li.current-menu-parent>.nav-link,
.navbar-nav li.current-menu-ancestor>.nav-link,
.navbar-nav li.current_page_parent>.nav-link,
.navbar-nav li.current_page_ancestor>.nav-link {
  color: #7CFF00;
}

/* Subrayado para activos normales */
.navbar-nav li.current-menu-item>.nav-link:not(.dropdown-toggle)::after,
.navbar-nav li.current_page_item>.nav-link:not(.dropdown-toggle)::after,
.navbar-nav li.current-menu-parent>.nav-link:not(.dropdown-toggle)::after,
.navbar-nav li.current-menu-ancestor>.nav-link:not(.dropdown-toggle)::after,
.navbar-nav li.current_page_parent>.nav-link:not(.dropdown-toggle)::after,
.navbar-nav li.current_page_ancestor>.nav-link:not(.dropdown-toggle)::after {
  width: 60%;
}

/* Subrayado para el dropdown (usa ::before, no toca la flecha) */
.navbar-nav li.current-menu-item>.dropdown-toggle::before,
.navbar-nav li.current_page_item>.dropdown-toggle::before,
.navbar-nav li.current-menu-parent>.dropdown-toggle::before,
.navbar-nav li.current-menu-ancestor>.dropdown-toggle::before,
.navbar-nav li.current_page_parent>.dropdown-toggle::before,
.navbar-nav li.current_page_ancestor>.dropdown-toggle::before {
  width: 60%;
}


.gd-contact__info .gd-ico {
  width: 36px;
  height: 36px;
  min-width: 36px;
  text-align: center;
  line-height: 36px;
  /* 👈 clave */
  border-radius: 8px;
  /* o 50% */
  color: #6CBD0F !important;
}

.gd-contact__info li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.gd-contact__info .gd-ico i,
.gd-contact__info .gd-ico svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  margin-top: -4px;
}

.gd-contact__info .gd-ico:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 12px rgba(124, 252, 0, 0.8),
    0 0 26px rgba(124, 252, 0, 0.5);
}

.boton-inicio-todos-juegos>button.btn.btn-success {
  background-color: #7CFC00;
  color: #08110a;
  border: 0;
  border-radius: 12px;
  padding: 12px 85px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(124, 252, 0, 0.18);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
  font-size: 20px;
}

.boton-inicio-todos-juegos>button.btn.btn-success:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(124, 252, 0, 0.22);
}

.boton-inicio-todos-juegos {
  margin-top: 50px;
}

footer.footer {
  box-shadow: none !important;
}

.footer-bottom {
  margin-bottom: 48px;
}

@media (max-width: 991.98px) {

  /* En móvil: sin hover fancy, solo activo */
  .navbar-nav .nav-link {
    position: relative;
    display: inline-block;
  }

  /* 🔥 Apaga el sistema desktop en móvil */
  .navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: none !important;
  }

  /* Subrayado único (para normales y dropdown) usando ::before */
  .navbar-nav .nav-link::before {
    content: none;
  }

  .navbar-nav li.current-menu-item>.nav-link::before,
  .navbar-nav li.current_page_item>.nav-link::before,
  .navbar-nav li.current-menu-parent>.nav-link::before,
  .navbar-nav li.current-menu-ancestor>.nav-link::before,
  .navbar-nav li.current_page_parent>.nav-link::before,
  .navbar-nav li.current_page_ancestor>.nav-link::before,
  .navbar-nav li.show>.nav-link::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: calc(100% - 46px);
    height: 2px;
    background: #7CFF00;
    transform: translateX(-50%);
  }
}

.social-link-desktop a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: transparent;
  color: #a7b0ba;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.social-link-desktop a:hover {
  color: #A4F04C !important;
  background-color: rgba(0, 255, 153, 0.1);
  transform: translateY(-2px);
}

.wpcf7-spinner {
  display: none;
}

.wpcf7-form.submitting .wpcf7-spinner {
  display: inline-block;
}

.info-extra-scroll {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 8px;
}

/* =========================
   HERO
========================= */

section.reviews-section {
  margin-top: 130px;
}

.reviews-hero {
  background: #1a1a1a;
  color: #fff;
}

.reviews-avatar {
  max-height: 360px;
}

.reviews-description {
  color: #cfcfcf;
  font-size: 18px;
  max-width: 848px;
  margin: 0 auto 25px;
}

/* BOTÓN NARANJA */
a.btn.reviews-btn {
  background: linear-gradient(10deg, #6cff00, #2fbf00);
  color: #0b0f0c;
  font-size: 20px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  transition: all .25s ease;
  padding: 13px 18px;
}


a.btn.reviews-btn:hover {
  background: linear-gradient(10deg, #86ff2a, #39d400);
  color: #0b0f0c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 255, 0, .35);
}

.col-lg-3.text-center.text-lg-end {
  margin-top: -64px;
}

.row.align-items-center {
  max-width: 1300px;
  margin: 0 auto;
}

/* =========================
   TITLE
========================= */

.reviews-title {
  color: #fff;
  font-weight: 600;
}


/* =========================
   SLIDER
========================= */

.reviews-slider {
  scroll-snap-type: x mandatory;
}

.reviews-slider::-webkit-scrollbar {
  height: 6px;
}

.reviews-slider::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 10px;
}


/* =========================
   CARD
========================= */

.review-card {
  background: #2b2b2b;
  min-width: 320px;
  padding: 22px;
  border-radius: 12px;
  color: #fff;
  transition: .3s;
  scroll-snap-align: start;
}

.review-card:hover {
  transform: translateY(-4px);
  background: #323232;
}

.review-avatar {
  width: 46px;
  height: 46px !important;
  border-radius: 50% !important;
}

.review-stars {
  width: 80px;
  height: 14px;
  background: url('https://www.instant-gaming.com/themes/igv2/modules/feedback/images/stars-rating.svg') no-repeat center;
  background-size: contain;
}

.review-game {
  font-size: 14px;
  font-weight: 600;
}

.review-text {
  color: #d0d0d0;
  font-size: 14px;
  min-height: 50px;
}

.review-time {
  font-size: 12px;
  color: #9a9a9a;
}

.reviews-slider {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  /* clave: minmax(0,1fr) */
}

/* Baja columnas según pantalla */
@media (max-width: 1400px) {
  .reviews-slider {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .reviews-slider {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .reviews-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* IMPORTANTÍSIMO: anula el min-width que tenías de “slider” */
.review-card {
  width: 100%;
  min-width: 0 !important;
  /* esto evita que reviente el grid */
}

/* Evita que el título/filas hagan overflow */
.review-card .review-game {
  display: block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* En móvil: slider */
@media (max-width: 576px) {
  .reviews-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .review-card {
    flex: 0 0 61%;
    max-width: 61%;
    scroll-snap-align: start;
  }
}

.review-card .review-game {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* 5 columnas (>=1400px) -> muestra 5 */
@media (min-width: 1400px) {
  .reviews-section .reviews-slider>.review-card:nth-child(n+6) {
    display: none !important;
  }
}

/* 4 columnas (1200-1399) -> muestra 4 */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .reviews-section .reviews-slider>.review-card:nth-child(n+5) {
    display: none !important;
  }
}

/* 3 columnas (992-1199) -> muestra 3 */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .reviews-section .reviews-slider>.review-card:nth-child(n+4) {
    display: none !important;
  }
}

/* 2 columnas (<992) -> muestra 2 */
@media (min-width: 577px) and (max-width: 991.98px) {
  .reviews-section .reviews-slider>.review-card:nth-child(n+3) {
    display: none !important;
  }
}

/* slider movil -> muestra 6 */
@media (max-width: 576px) {
  .reviews-section .reviews-slider>.review-card:nth-child(n+6) {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .col-lg-3.text-center.text-lg-end {
    margin-bottom: 25px;
  }

  .col-lg-8.text-center {
    padding-bottom: 25px;
  }
}

.highlight-card {
  position: relative;
  overflow: hidden;
  height: 542px;
  display: flex;
  align-items: center;
  padding-left: 8%;
  color: #fff;
}

.highlight-card .parallax-bg {
  position: absolute;
  left: 0;
  top: -60px;
  width: 100%;
  height: calc(100% + 120px);
  z-index: 0;

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  transform: translate3d(0, var(--pY, 0px), 0);
  will-change: transform;
}

/* Overlay oscuro (tu ::before) */
.highlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
}

/* Contenido por encima */
.highlight-card .content {
  position: relative;
  z-index: 3;
}

.full-link {
  z-index: 4;
}

/* Triángulo inferior */
.highlight-card::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: #262626;
  /* tu color oscuro */
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  z-index: 2;
}

/* Contenido */
.highlight-card .content {
  position: relative;
  z-index: 3;
}

.highlight-card h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
}

.highlight-card .price {
  font-size: 40px;
  font-weight: 700;
}

/* Link invisible que ocupa todo */
.full-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  text-indent: -9999px;
}

@media screen and (max-width: 1000px) {
  .highlight-card>.content>h2 {
    font-size: 31px
  }
}

@media screen and (max-width: 800px) {
  .highlight-card>.content>h2 {
    font-size: 25px
  }
}

@media screen and (max-width: 650px) {
  .highlight-card>.content>h2 {
    font-size: 21px;
    width: 200px;
  }

  .highlight-card {
    height: 310px;
  }

  .highlight-card::after {
    height: 24px;
  }
}

.aventura-section {
  align-items: center;
  background-image: linear-gradient(80deg, rgba(50, 50, 50, .4), #323232 35%);
  background-position: 0;
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  justify-content: center;
  padding: 30px 0;
}

@media screen and (max-width: 500px) {
  .aventura-section {
    margin-left: -15px;
    margin-right: -15px;
  }
}

@media screen and (max-width: 783px) {
  .aventura-section .aventura-character {

    flex: 0 0 251px !important;
    height: 418px !important;

  }
}

@media screen and (max-width: 613px) {
  .aventura-section .aventura-character {

    flex: 0 0 200px !important;
    height: 329px !important;

  }
}

@media screen and (max-width: 1000px) {
  .aventura-section {
    padding: 30px;
  }
}

@media screen and (max-width: 650px) {
  .aventura-section {
    padding: 15px;
  }
}

@media screen and (max-width: 500px) {
  .aventura-section {
    background-image: none;
    padding: 0 15px;
    display: none;
  }
}

.aventura-section .aventura-character {
  background-size: cover;
  flex: 0 0 360px;
  height: 590px;
  margin-right: 45px;
  position: relative;
}

.aventura-section .aventura-character:after {
  background-image: radial-gradient(rgba(4, 92, 254, .27) -20%, transparent 70%);
  bottom: 50px;
  content: "";
  display: block;
  height: 380px;
  left: -130px;
  position: absolute;
  width: 500px;
  z-index: 0;
}

@media screen and (max-width: 900px) {
  .aventura-section .aventura-character:after {
    bottom: 40px;
    height: 240px;
    left: -90px;
    width: 260px;
  }
}

@media screen and (max-width: 1260px) {
  .aventura-section .aventura-character {
    margin: -10px 20px -10px 0;
  }
}

@media screen and (max-width: 1100px) {
  .aventura-section .aventura-character {
    flex: 0 0 336px;
    height: 551px;
  }
}

@media screen and (max-width: 1000px) {
  .aventura-section .aventura-character {
    flex: 0 0 287px;
    height: 471px;
  }
}

@media screen and (max-width: 900px) {
  .aventura-section .aventura-character {
    flex: 0 0 240px;
    height: 394px;
  }
}

@media screen and (max-width: 750px) {
  .aventura-section .aventura-character {
    flex: 0 0 174px;
    height: 284px;
  }
}

@media screen and (max-width: 600px) {
  .aventura-section .aventura-character {
    flex: 0 0 134px;
    height: 220px;
  }
}

@media screen and (max-width: 500px) {
  .aventura-section .aventura-character {
    display: none;
  }
}

.aventura-section .aventura-games {
  max-width: 983px;
  width: 100%;
  margin-right: -162px;
}

@media screen and (max-width: 1436px) {
  .aventura-section .aventura-games {
    max-width: 983px;
    width: 100%;
    margin-right: 0;
  }
}

@media screen and (max-width: 1197px) {
  .aventura-section .aventura-character {

    background-size: cover;
    flex: 0 0 299px;
    height: 490px;
    margin-right: 45px;
    position: relative;
  }
}

@media (max-width: 1590px) {
  .aventura-games-grid .post-item:nth-last-child(-n+2) {
    display: none;
  }

  .aventura-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px;
  }

  .aventura-section .aventura-games {
    max-width: 829px;
    width: 100%;
  }
}

@media (max-width: 1170px) {

  .aventura-games-grid .post-item:nth-last-child(-n+4) {
    display: none;
  }

  .aventura-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px;
  }

  .aventura-section .aventura-games {
    max-width: 637px;
    width: 100%;

  }

}

.aventura-section .aventura-games .aventura-games-grid .aventura-game-item {
  --columns: 2;
}

.aventura-section .aventura-games .aventura-games-grid .aventura-game-item .aventura-info {
  height: auto;
}

.aventura-section .aventura-games .aventura-catchphrase {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.aventura-section .aventura-games .aventura-catchphrase .aventura-text {
  font-size: 31px;
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 450px;
  text-align: center;
}

@media screen and (max-width: 1000px) {
  .aventura-section .aventura-games .aventura-catchphrase .aventura-text {
    font-size: 25px;
  }
}

@media screen and (max-width: 800px) {
  .aventura-section .aventura-games .aventura-catchphrase .aventura-text {
    font-size: 21px;
  }
}

@media screen and (max-width: 650px) {
  .aventura-section .aventura-games .aventura-catchphrase .aventura-text {
    font-size: 19px;
  }
}

.aventura-headline {
  margin-bottom: 30px;
}

.aventura-title-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.aventura-title-link h2 {
  margin: 0;
  font-size: 31px;
  font-weight: 700;
}

.aventura-arrow {
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

.aventura-games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.aventura-games-grid .post-item img {
  width: 100%;
  height: auto;
}

.aventura-game-item {
  min-width: 0;
}

.aventura-cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
}

.aventura-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.aventura-cover video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.aventura-cover:hover video {
  opacity: 1;
}

.aventura-discount {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #ff6a00;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 10px;
  border-top-right-radius: 8px;
}

.aventura-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-top: 10px;
}

.aventura-name {
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
}

.aventura-price {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

@media screen and (max-width: 700px) {
  .aventura-games-grid {
    grid-template-columns: 1fr;
  }
}

.catalogo-categorias {
  align-self: center;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 0px;
}

@media screen and (max-width: 1200px) {
  .catalogo-categorias {
    padding: 40px 20px;
  }
}

.catalogo-categorias .catalogo-categorias-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.catalogo-categorias .catalogo-categorias-head h2 {
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}

.catalogo-categorias .catalogo-categorias-head .catalogo-ver-todas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: .25s ease;
}

.catalogo-categorias .catalogo-categorias-head .catalogo-ver-todas:hover {
  transform: translateY(-1px);
}

.catalogo-categorias .catalogo-categorias-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 18px;
}

.catalogo-categorias .catalogo-categorias-grid .categoria-card {
  --border-radius: 10px;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--border-radius);
  display: none;
  font-size: 25px;
  position: relative;
}

@media screen and (max-width: 500px) {
  .catalogo-categorias .catalogo-categorias-grid .categoria-card {
    --border-radius: 7px;
  }
}

@media screen and (max-width: 1000px) {
  .catalogo-categorias .catalogo-categorias-grid .categoria-card {
    font-size: 21px;
  }
}

@media screen and (max-width: 800px) {
  .catalogo-categorias .catalogo-categorias-grid .categoria-card {
    font-size: 19px;
  }
}

@media screen and (max-width: 650px) {
  .catalogo-categorias .catalogo-categorias-grid .categoria-card {
    font-size: 17px;
  }


}

@media screen and (max-width: 500px) {
  .catalogo-categorias .catalogo-categorias-grid .categoria-card {
    display: flex;
  }
}

.catalogo-categorias .catalogo-categorias-grid .categoria-card::after {
  --border-radius: 10px;
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius);
  background: linear-gradient(to right, rgba(16, 16, 16, .72), rgba(16, 16, 16, .38));
  opacity: .95;
  transition: .3s ease;
}

@media screen and (max-width: 500px) {
  .catalogo-categorias .catalogo-categorias-grid .categoria-card::after {
    --border-radius: 7px;
  }
}

.catalogo-categorias .catalogo-categorias-grid .categoria-card:hover::after {
  opacity: .8;
}

.catalogo-categorias .catalogo-categorias-grid .categoria-card:hover .categoria-card-link .categoria-card-icon {
  top: -30px;
  transform: none;
}

@media screen and (max-width: 1000px) {
  .catalogo-categorias .catalogo-categorias-grid .categoria-card:hover .categoria-card-link .categoria-card-icon {
    top: 10px;
  }
}

.catalogo-categorias .catalogo-categorias-grid .categoria-card.categoria-card-destacada,
.catalogo-categorias .catalogo-categorias-grid .categoria-card.categoria-card-display {
  display: flex;
}

.catalogo-categorias .catalogo-categorias-grid .categoria-card.categoria-card-58,
.catalogo-categorias .catalogo-categorias-grid .categoria-card.categoria-card-60 {
  display: none;
}

.catalogo-categorias .catalogo-categorias-grid .categoria-card .categoria-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 6%;
  color: #fff;
  text-decoration: none;
}

.catalogo-categorias .catalogo-categorias-grid .categoria-card .categoria-card-link h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 400;
  z-index: 1;
  max-width: 55%;
  line-height: 1.15;
}

@media screen and (max-width: 1000px) {
  .catalogo-categorias .catalogo-categorias-grid .categoria-card .categoria-card-link h3 {
    font-size: 21px;
  }
}

@media screen and (max-width: 800px) {
  .catalogo-categorias .catalogo-categorias-grid .categoria-card .categoria-card-link h3 {
    font-size: 19px;
  }
}

@media screen and (max-width: 650px) {
  .catalogo-categorias .catalogo-categorias-grid .categoria-card .categoria-card-link h3 {
    font-size: 17px;
  }
}

.catalogo-categorias .catalogo-categorias-grid .categoria-card .categoria-card-link .categoria-card-icon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: -20px;
  background-position: 100% 0;
  background-repeat: no-repeat;
  background-size: contain;
  transform-origin: bottom right;
  transition: .3s ease;
  pointer-events: none;
}

@media screen and (max-width: 1000px) {
  .catalogo-categorias .catalogo-categorias-grid .categoria-card .categoria-card-link .categoria-card-icon {
    top: 10px;
  }
}

.catalogo-categorias .catalogo-mas-categorias {
  display: none;
  width: 100%;
}

/* Responsive grid */
@media screen and (max-width: 1100px) {
  .catalogo-categorias .catalogo-categorias-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 600px) {
  .catalogo-categorias .catalogo-categorias-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalogo-categorias .catalogo-categorias-grid .categoria-card.categoria-card-destacada:nth-child(n+9) {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .catalogo-categorias {
    padding: 25px 15px;
  }

  .catalogo-categorias .catalogo-categorias-head {
    margin-bottom: 18px;
  }

  .catalogo-categorias .catalogo-categorias-head h2 {
    font-size: 25px;
  }

  .catalogo-categorias .catalogo-categorias-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.catalogo-categorias-slider {
  width: 100%;
  overflow: hidden !important;
  padding-top: 30px !important;
}

.catalogo-categorias-pagination {
  display: none;
}

@media (max-width: 499px) {
  .catalogo-categorias .catalogo-categorias-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }

  .catalogo-categorias .categoria-card.swiper-slide {
    width: 85% !important;
    min-width: 85% !important;
    max-width: 85% !important;
    flex: 0 0 85% !important;
  }
}

.boton-demo-catalogo,
.hero-banner .boton-demo-catalogo,
.hero-banner a.boton-demo-catalogo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  padding: 16px 28px;
  background: linear-gradient(180deg, #121212 0%, #080808 100%) !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none !important;
  border: 1px solid rgba(140, 255, 0, 0.28) !important;
  border-radius: 999px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(140, 255, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.boton-demo-catalogo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(140, 255, 0, 0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.boton-demo-catalogo::after {
  content: "\203A";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #9cff1a;
  transform: translateY(-2px);
}

.boton-demo-catalogo:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 255, 0, 0.7);
  background: linear-gradient(180deg, #181818 0%, #0b0b0b 100%);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(140, 255, 0, 0.08),
    0 0 18px rgba(140, 255, 0, 0.14);
}

.boton-demo-catalogo:hover::before {
  transform: translateX(100%);
}

.boton-demo-catalogo:hover::after {
  transform: translateX(3px) translateY(-2px);
}

.boton-demo-catalogo:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(140, 255, 0, 0.22),
    0 14px 28px rgba(0, 0, 0, 0.4);
}

.boton-demo-catalogo:active {
  transform: translateY(0);
}

@media (max-width: 767px) {
  .boton-demo-catalogo {
    min-width: 160px;
    padding: 14px 22px;
    font-size: 14px;
  }
}

.faq-section {
  color: white;
}

.faq-title {
  font-size: 28px;
  font-weight: 600;
}

.faq-accordion .accordion-item {
  background: #1a1a1a;
  border: none;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: #1a1a1a;
  color: white;
  font-weight: 500;
  padding: 20px;
  border: none;
  box-shadow: none;
}

.faq-accordion .accordion-button:hover {
  background: #1a1a1a;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #1a1a1a;
  color: white;
}

.faq-accordion .accordion-body {
  color: #bfbfbf;
  padding: 0 28px 28px 28px;
  font-size: 14px;
  line-height: 1.6;
}

/* flecha derecha estilo */
.faq-accordion .accordion-button::after {
  filter: invert(1);
  opacity: .7;
}

section.faq-section.container.my-5 {
  max-width: 800px !important;
}

.faq-accordion .accordion-item {
  background: #1a1a1a;
  border: 0 !important;
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 16px;
}

.faq-accordion .accordion-header {
  margin: 0;
  border: 0;
}

.faq-accordion .accordion-button {
  background: #1a1a1a !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:focus {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  box-shadow: none !important;
  border: 0 !important;
}

.faq-accordion .accordion-collapse,
.faq-accordion .accordion-body {
  border: 0 !important;
}

button.accordion-button.collapsed {
  padding: 28px !important;
}

button.accordion-button {
  padding: 28px !important;
}

.faq-accordion .accordion-button.collapsed:hover {
  background-color: #343434 !important;
  color: #ffffff;
}

@media (max-width: 384px) {

  .cat-boot .pagination.responsive-pagination .page-item+.page-item {
    margin-left: 0 !important;
  }

  .cat-boot .pagination.responsive-pagination .page-link {
    min-width: 0 !important;
  }

}

@media (max-width: 1350px) {
  .single-page {
    padding: 0 15px;
  }
}