:root {
  --buttom: #2776DC;
  --text: #ffffff;
  --nav-h: 60px;
  --maxw: 1200px;
}

* {
  box-sizing: border-box
}

button,
input[type="button"],
input[type="submit"],
a.button,
.btn {
  -webkit-appearance: none; /* quita estilos nativos de Safari */
  appearance: none;
  border: none;
  border-radius: 8px; /* ajustá al valor de tus botones */
  background: #007bff; /* o el color que uses */
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 12px 24px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background 0.3s ease;
}

button:hover,
a.button:hover,
.btn:hover {
  background: #0066e0;
}


body {
  background-color: #14141F;
}

a {
  text-decoration: none;
  color: white;
}

h1, h3, p {
  color: white;
}

h1 {
  font-size: 60px !important;
  font-weight: 700 !important;
}

h2 {
  font-size: 20px !important;
  font-weight: 400 !important;
  color: white !important;
}

/*NAV BAR*/
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1A1B1D;
  color: var(--text);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  min-height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text)
}

.brand img {
  width: 50%;
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  font-weight: 600;
}

.links a {
  color: var(--text);
  text-decoration: none;
  opacity: .95;
  letter-spacing: .2px;
  transition: opacity .2s, transform .2s;
}

.links a:hover {
  opacity: 1;
  transform: translateY(-1px)
}

.icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 14px;

}

.icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  transition: transform .2s, background .2s;
}

.icon:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .22)
}

.icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor
}

.nav-toggle {
  display: none
}

.burger {
  display: none;
  cursor: pointer;
  gap: 5px;
  padding: 6px 8px
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {

  .nav-toggle:checked {
    background: #1A1B1D;

  }


  .burger {
    display: flex;

    flex-direction: column;
    justify-content: center;
    margin-left: auto;
  }

  .links,
  .icons {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    padding: 20px 0;
    gap: 18px;
    animation: slideDown 0.3s ease;
  }


  .nav-toggle:checked~.links,
  .nav-toggle:checked~.icons {
    display: flex;
    background: #1A1B1D;

  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .links a {
    font-size: 1.1rem;

  }

  .links {
    padding-top: 100px;

  }

  .icons {
    flex-direction: row;
    justify-content: center;
  }
}


/* BUTTON */
button,
.btn {
  width: 250px;
  font-weight: 600;
  display: block;
  color: #fff;
  border: none;
  background: var(--buttom);
  font-size: 2rem;
  transition: all 0.4s;
  border-radius: 10px;
}

.btn:hover {
  background-color: #318BFF;
}

/*BANNERS PAGES*/
.title-buttom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: auto;

  h2 {
    font-size: 50px !important;
    font-weight: 700 !important;
  }
}

.title-buttom-tips {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: auto;

  h2 {
    font-size: 50px !important;
    font-weight: 700 !important;
  }
}

.title-buttom-review {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: auto;

  h2 {
    font-size: 50px !important;
    font-weight: 700 !important;
  }
}

.home p {
  width: 600px;
}

.banner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: auto;
  padding: 100px 0;
  align-items: center;
  max-width: 1240px;
}

.banner img {
  width: 600px;
}

.banner .header-text {
  width: 600px
}

.banner h2 {
  max-width: 400px;
  padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .title-buttom {
    flex-direction: column;
    align-items: flex-start;
    max-width: 300px;
  }

  .title-buttom-tips {
    flex-direction: column;
    align-items: flex-start;
    max-width: 300px;
  }

  .title-buttom-review {
    flex-direction: column;
    align-items: flex-start;
    max-width: 300px;
  }

  .title-cards-home {
    display: flex;
    flex-direction: column;
    max-width: 300px;
  }

  .home p {
    display: flex;
    flex-direction: column;
    max-width: 300px;
  }

  .banner {
    flex-direction: column;
    max-width: 350px;
  }

  .banner img {
    width: 300px;
    padding-top: 30px;
  }

  .banner .header-text {
    max-width: 300px;
  }
}



/* HOME SECTION GAMES */
.cards-home-game {
  overflow: hidden;
  max-width: 1240px;
  margin: 0 auto;
  padding: 50px 0;
}

.card-slider {
  display: flex;
  gap: 20px;
  scroll-behavior: smooth;
  transition: transform 0.8s ease;
}

.card {
  flex: 0 0 calc(25% - 15px);
  background: #343444;
  border-radius: 12px;
  text-align: center;
  padding: 16px;
}


.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 1.5rem !important;
  margin: 10px 0 14px;
}

.card .star {
  color: gold;
  font-size: 1.1em;
  margin-left: 4px;
}

.card-tip {
  background: #343444;
  border-radius: 12px;
  text-align: center;
  padding: 16px;
}

.card-tip:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.card-tip img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.card-tip h3 {
  font-size: 1.5rem !important;
  margin: 10px 0 14px;
}

.card-tip .star {
  color: gold;
  font-size: 1.1em;
  margin-left: 4px;
}

.card-slider::-webkit-scrollbar {
  display: none;
}

.btn-free {
  display: flex;
  border: var(--buttom) solid 1px;
  background: var(--buttom);
  padding: 5px 20px;
  justify-content: center;

}

.premium-buttom {
  display: flex;
  border: var(--buttom) solid 1px;
  justify-content: center;
  padding: 5px 0;
 -webkit-appearance: none; /* quita estilos predeterminados de Safari */
  appearance: none;
}

.auto-scroll {
  animation: scroll-left 40s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .card {
    flex: 0 0 calc(33.333% - 15px);
  }
}

@media (max-width: 768px) {
  .auto-scroll {
    animation: none;
  }

  .card-slider {
    overflow-x: scroll;
  }

  .card {
    flex: 0 0 80%;
  }

  .cards-home-game {
    max-width: 300px;
  }

}


@media (max-width: 480px) {
  .card {
    flex: 0 0 100%;
  }
}

/*GAMES CARDS HOME*/

.card-games {
  background: #343444;
  border-radius: 12px;
  text-align: center;
  padding: 16px;
}

.card-games:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.card-games img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.card-games h3 {
  font-size: 0.7rem !important;
  margin: 10px 0 14px;
}

.car-games .star {
  color: gold;
  font-size: 1.1em;
  margin-left: 4px;
}

/* Responsive */
@media (max-width: 768px) {

  .card-slider-1 {
    flex-direction: column;
  }

  .card-slider-2 {
    flex-direction: column;
  }
}


/*CARD REVIEWS*/

.card-reviews {
  display: flex;
  flex-direction: row;
  background: #343444;
  border-radius: 12px;
  text-align: center;
  padding: 16px;
}

.card-reviews:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.card-reviews img {
  width: 50%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.card-reviews h2 {
  font-size: 1rem !important;
}

.reviews .card-title {
  font-size: 2rem !important;
  font-weight: bold !important;
}

.reviews {
  text-align: left;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

@media (max-width: 768px) {
  .card-reviews {
    flex-direction: column;
  }

  .card-reviews img {
    width: 100%;
  }
}

/*MINI IMGS HOME*/
.mini-imgs {
  display: flex;
  justify-content: space-between;
  max-width: 1240px;
  margin: auto;
  padding: 50px 0;
  margin-bottom: 50px;
}

.mini-imgs img {
  width: 90%;
}

/* Responsive */
@media (max-width: 768px) {
  .mini-imgs {
    display: none;
  }
}


/*TIPS CARDS HOME*/
.card-slider-1 {
  display: flex;
  gap: 20px;
  scroll-behavior: smooth;
  transition: transform 0.8s ease;
  margin-bottom: 20px;
}

.card-slider-2 {
  display: flex;
  gap: 20px;
  scroll-behavior: smooth;
  transition: transform 0.8s ease;
  margin-bottom: 20px;
}



/*MODAL POP UP*/
.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(20px);
  animation: fadeIn 0.3s ease;
}

.modal-dialog {
  background: white;
  border-radius: 12px;
  max-width: 420px;
  width: 90%;
  overflow: hidden;
  color: black;
  position: relative;
  animation: popIn 0.35s ease;
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.popup-image img {
  width: 100%;
  height: auto;
  display: block;
}

.logo-comic img {
  width: 50%;
  padding-top: 20px;
}

.modal-header h5 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}

.modal-body {
  padding: 0 1.2rem;
  line-height: 1.5;
}

.modal-footer {
  padding: 1.2rem 0 1.5rem;
}

.modal-body p {
  color: black;
}

.btn-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-close:hover {
  opacity: 0.7;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes popIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-overlay.active {
  display: flex;
}

body.modal-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-dialog {
    margin: auto;

  }

  .modal-body p {
    font-size: 14px;
  }
}

/*POLITICS AND TERMS*/
.article {
  text-align: justify;
  width: 1240px;
  margin: auto;
}

.article h2 {
  color: white;
}

.article p {
  color: white;
}

.article ul li {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .article {
    max-width: 340px;
  }

  .article .term-h1 {
    font-size: 50px !important;
    max-width: 340px;

  }
}

/*FAQS STYLES*/
.faqs {
  display: grid;
  gap: 2rem;
}

.faq__question {
  font-family: "Ubuntu", sans-serif;
  border-radius: 3px;
  outline: 0;
  color: #fff;
  display: flex;
  align-items: center;
  background: #33b5e5;
  padding: 1rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 18px;
}

.faq__question::before {
  display: inline-block;
  content: "×";
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-right: 5px;
  font-weight: 900;
  transform: rotatez(-135deg);
  transition: all 0.4s ease-in-out;
}

.faq__answer {
  padding: 1rem;
  background: rgb(0 0 0 / 50%);
  border-radius: 5px;
  color: #fff;
}

.faq[open] {
  outline: 0;
}

.faq[open] .faq__question::before {
  transform: rotate(0);
}

.faq[open] .faq__answer {
  -webkit-animation: slide-down 0.5s ease-in-out;
  animation: slide-down 0.5s ease-in-out;
}

@-webkit-keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-1rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-1rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes animStar {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(-2000px);
  }
}

.xwing {
  position: absolute;
  left: 7%;
  width: 650px;
  animation: fly-in 2s ease-out;
}

/* Responsive */
@media all and (max-width: 1300px) {
  .xwing {
    width: 500px;
  }
}

@media all and (max-width: 800px) {
  .xwing {
    width: 450px;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    animation: fly-in-mobile 2s ease-out;
  }


}

@keyframes fly-in {
  0% {
    left: -900px;
    top: -23%;
  }

  100% {
    left: 7%;
    top: 90px;
  }
}

@keyframes fly-in-mobile {
  0% {
    left: -900px;
  }

  100% {
    left: 50%;
  }
}


/*PAGES REVIEWS & TIP*/

/* HERO */
.hero-among {
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 40px;
  color: #fff;
  position: relative;
  background-image: url(../tips/amoung/banner-among.png);
}

.hero-minions::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: auto;
}

.hero-among h2 {
  font-size: 70px !important;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-among p {
  font-size: 30px !important;
  opacity: 0.9;
  max-width: 650px;
}


/* HERO */
.hero-minions {
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 40px;
  color: #fff;
  position: relative;
  background-image: url(../tips/minions/banner-minions.png);
}

.hero-minions::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}


.hero-minions h2 {
  font-size: 70px !important;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-minions p {
  font-size: 30px !important;
  opacity: 0.9;
  max-width: 650px;
}


/* HERO */
.hero-minecraft {
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 40px;
  color: #fff;
  position: relative;
  background-image: url(../tips/minecraft/banner-minecraft.png);
}

.hero-minecraft::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}


.hero-minecraft h2 {
  font-size: 70px !important;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-minecraft p {
  font-size: 30px !important;
  opacity: 0.9;
  max-width: 650px;
}



/* HERO */
.hero-frozen {
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 40px;
  color: #fff;
  position: relative;
  background-image: url(../reviews/frozen/banner-frozen.png);
}

.hero-frozen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}


.hero-frozen h2 {
  font-size: 70px !important;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-frozen p {
  font-size: 30px !important;
  opacity: 0.9;
  max-width: 650px;
}


/* HERO */
.hero-cars {
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 40px;
  color: #fff;
  position: relative;
  background-image: url(../reviews/cars/banner-cars.png);
}

.hero-cars::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}


.hero-cars h2 {
  font-size: 70px !important;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-cars p {
  font-size: 30px !important;
  opacity: 0.9;
  max-width: 650px;
}


/* LAYOUT */
.page {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
  margin: 60px auto;
  padding: 0px 50px;
}

.review-page {
  text-align: justify;
}

.review-page img {
  max-width: 700px;
  padding: 30px 0;
}

.back-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  transition: background 0.3s;
}

/* SIDEBAR */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-card {
  background-color: #343444;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s;
  display: flex;
}

.side-card:hover {
  transform: translateY(-3px);
}

.side-card img {
  object-fit: cover;
  width: 30%;
}

.side-info {
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
}

.side-info h3 {
  font-size: 1rem;
  color: #fff;
}

.side-info a {
  color: #aaa;
  text-decoration: none;
  font-size: 1.2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .page {
    display: flex;
    flex-direction: column;
  }

  .review-page {
    max-width: 300px;
  }

  .review-page img {
    max-width: 300px;
  }
}


/* FOOTER */
.footer {
  background-color: #1c1c1c;
  color: #fff;
  padding: 40px 60px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1240px;
  margin: auto;
}

.footer-container img {
  width: 10%;
}

.footer-logo .logo-placeholder {
  width: 120px;
  height: 100px;
  border-radius: 4px;
}

.footer-column h3 {
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #3a7bfd;
  /* azul del botón */
}

.btn-premium {
  background-color: #3a7bfd;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.btn-premium:hover {
  background-color: #2f63d8;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #2a2a2a;
  padding-top: 20px;
  font-size: 13px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #3a7bfd;
}

@media (max-width: 768px) {
  .footer-container {
    display: block;
    /* quita el flex en móviles */
    text-align: center;
  }

  .footer-container img {
    width: 70%;
  }

  .footer-cta {
    margin-top: 20px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  .footer-column li {
    margin-bottom: 0px;
  }

  .footer-column h3 {
    margin-top: 20px;
  }

}

/*CARDS REVIEWS SLIDEER HOME*/
.reviews-slider {
  position: relative;
  overflow: hidden;
  max-width: 1240px;
  background: #111;
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: auto;
}

.slider-track {
  overflow: hidden;
  width: 100%;
}

.reviews-cards {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.card-rese {
  display: flex;
  background: #222;
  color: #fff;
  padding: 1rem;
  border-radius: 12px;
  min-width: 50%;
  box-sizing: border-box;
  flex-shrink: 0;
  margin-right: 1rem;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.card-rese img {
  width: 20%;
}

.card-rese .stars {
  width: 50%;
}

.card-rese p {
  width: 300px;
}

.nav-button-slider {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  background-color: grey;
  width: 20px;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

@media (max-width: 768px) {
  .card-rese {
    flex-direction: column;
    align-items: flex-start;
    min-width: 100%;
    margin-right: 0.5rem;
  }
    .slider-track {
    width: 95%;
  }

}