body {
  font-family: 'Roboto', sans-serif;
  background-color: #f8f9fa;
  color: #555;
  margin: 0;
  padding: 0;
  text-align: center;
}

.container.page {
  max-width: 800px;
  margin: 0 auto;
}

p {
  line-height: 1.6;
  margin-bottom: 20px;
}


.button-game a,
.hero-buttons a,
.play-button {
  display: inline-block;
  margin: 5px;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #000 !important;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.button-game a:hover,
.hero-buttons a:hover,
.play-button:hover {
  background-color: #808080;
}


.toc {
  font-size: 0.8rem;
  text-align: left;
  margin: 10px 0 20px 0;
}

.toc ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.toc ul li {
  margin: 5px 0;
}

.toc ul li a {
  color: #333;
  text-decoration: none;
}

.toc ul li a:hover {
  color: #FFD700;
}


.hero-section .hero-image {
  max-width: 90%;
}

@media (min-width: 992px) {
  .hero-section .hero-image {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-section .hero-image {
    max-width: 100%;
  }
}


.game-card {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 8px;
  background: #fff;
  text-align: center;
  margin-bottom: 20px;
}

.game-card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.game-card h4 {
  margin: 8px 0;
  font-size: 1.1rem;
}

.game-card .name {
  margin: 8px 0;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;
}


@media (max-width: 576px) {
  .game-card {
    padding: 5px;
  }

  .game-card h4 {
    font-size: 1rem;
  }
}

.sectionpage.content .container {
  text-align: left;
}

.sectionpage.content h2 {
  text-align: center;
}

.sectionpage table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  line-height: 18px;
}

.sectionpage table tr td {
  padding: 10px;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.sectionpage table tr td p {
  margin-bottom: 0;
}

.sectionpage.content,
.sectionpage#caracteristicas,
.sectionpage#juegos {
  padding: 15px;
}

.sectionpage.content .media {
  text-align: center;
  margin: 5px 0 15px 0;
}

.sectionpage.content .media img {
  max-width: 80%;
  height: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
}

.footer-links a:hover {
  color: #FFD700;
}



nav.navbar {
  background-color: #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav .logo img {
  max-height: 50px;
}

.navbar-nav .nav-link {
  color: #fff;
  margin: 0 10px;
  font-weight: 700;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff;
  border-bottom: 2px solid #fff;
}

.navbar-toggler {
  border-color: #fff;
}

.navbar-toggler .fas {
  color: #fff;
}


.footer {
  background-color: #000;
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  padding: 15px 0;
}


.sectionpage {
  padding: 30px 15px;
  background-color: #f8f9fa;
  color: #333;
}


.faq-item {
  margin-bottom: 20px;
  text-align: left;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f1f1;
  padding: 10px;
  border-radius: 5px;
}

.faq-question h3 {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

.faq-arrow {
  color: #FFD700;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 10px;
  border-left: 2px solid #FFD700;
  margin-top: 5px;
}


.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.feature {
  flex: 1 1 250px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.feature i {
  font-size: 2.5rem;
  color: #FFD700;
  margin-bottom: 10px;
}

.feature h3 {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #333;
}

.feature .title {
  margin-top: 10px;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
  font-size: 1.2rem;
  color: #333;
}

.feature p {
  font-size: 0.95rem;
  color: #666;
}


@media (max-width: 768px) {
  .container-xxl {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar-collapse {
    order: 1;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .button-game {
    order: 2;
    margin-top: 15px;
  }

  .logo {
    order: 0;
    margin-bottom: 10px;
  }
}


nav.navbar {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0;
  background: #000;
  position: relative;
  z-index: 100;
}

nav.navbar .container-xxl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

nav.navbar .logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

nav.navbar .logo img {
  max-height: 48px;
  width: auto;
}

nav.navbar .navbar-collapse {
  flex: 1 1 auto;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

nav.navbar .navbar-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}

nav.navbar .navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

nav.navbar .button-game {
  display: flex;
  gap: 12px;
  align-items: center;
}

nav.navbar .button-game a {
  padding: 8px 20px;
  border-radius: 4px;
  border: none;
  background: #FFD700;
  color: #000 !important;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

nav.navbar .button-game a.download {
  background: #222;
  color: #FFD700 !important;
  border: 1px solid #FFD700;
}

nav.navbar .button-game a:hover {
  background: #808080;
  color: #fff !important;
}

nav.navbar .navbar-toggler {
  display: none;
}


@media (max-width: 991px) {
  nav.navbar {
    min-height: 56px;
    padding: 0;
  }

  nav.navbar .container-xxl {
    flex-direction: column;
    align-items: stretch;
    padding-left: 8px;
    padding-right: 8px;
  }

  nav.navbar .logo {
    justify-content: center;
    width: 100%;
    margin: 0.5rem 0 0.25rem 0;
    order: 1;
  }

  nav.navbar .navbar-toggler {
    display: block;
    position: absolute;
    right: 16px;
    top: 16px;
    background: none;
    border: none;
    z-index: 120;
    font-size: 2rem;
    color: #FFD700;
  }

  nav.navbar .navbar-collapse {
    display: none !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #000;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 110;
    padding-bottom: 1rem;
  }

  nav.navbar .navbar-collapse.show {
    display: flex !important;
  }

  nav.navbar .navbar-nav {
    flex-direction: column;
    gap: 0;
    width: 100%;
    text-align: center;
  }

  nav.navbar .button-game {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin: 0.5rem 0 1rem 0;
    order: 2;
  }
}


.sectionpage.content,
.sectionpage .content,
.sectionpage-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.04);
  margin-top: 10px;
}




.container-xxl,
.container.page,
.sectionpage.content,
.sectionpage .content,
.sectionpage-content {
  max-width: 1200px !important;
  margin-left: auto;
  margin-right: auto;
}


nav.navbar .navbar-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav.navbar .navbar-nav .nav-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.navbar .navbar-nav .nav-link {
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 10px 0;
  border-radius: 0;
  background: none;
  position: relative;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

nav.navbar .navbar-nav .nav-link:hover,
nav.navbar .navbar-nav .nav-link.active {
  color: #FFD700;
}

nav.navbar .navbar-nav .nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #FFD700;
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -2px;
}

nav.navbar .navbar-nav .nav-link:hover::after,
nav.navbar .navbar-nav .nav-link.active::after {
  width: 100%;
}




@media (max-width: 991px) {

  .container-xxl,
  .container.page,
  .sectionpage.content,
  .sectionpage .content,
  .sectionpage-content {
    max-width: 100% !important;
    padding-left: 8px;
    padding-right: 8px;
  }

  nav.navbar .navbar-nav {
    gap: 0;
  }

  nav.navbar .navbar-nav .nav-link {
    padding: 12px 0;
    font-size: 1rem;
  }
}


.features {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0 0 0;
}

.feature {
  flex: 1 1 25%;
  min-width: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.07);
  padding: 36px 24px 28px 24px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature:hover {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.13);
  transform: translateY(-6px) scale(1.03);
}

.feature-icon {
  display: block;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 3.2rem;
  height: 3.2rem;
  display: block;
}

.feature-icon svg path,
.feature-icon svg rect,
.feature-icon svg circle {
  stroke: #FFD700;
}

.feature .title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.feature p {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .features {
    flex-wrap: wrap;
    gap: 18px;
  }

  .feature {
    flex: 1 1 45%;
    min-width: 220px;
    padding: 28px 10px 20px 10px;
  }
}

@media (max-width: 600px) {
  .features {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .feature {
    width: 100%;
    min-width: 0;
    padding: 20px 6px 16px 6px;
  }
}


#game-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 32px auto;
  padding: 0 0 16px 0;
}

.game-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
}

.game-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.07);
  padding: 18px 12px 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: box-shadow 0.25s, transform 0.25s;
}

.game-card:hover {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.13);
  transform: translateY(-6px) scale(1.03);
}

.game-card img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
}

.game-card .name {
  font-size: 1.15rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  text-align: center;
}

.game-card .play-button {
  padding: 8px 24px;
  border-radius: 6px;
  background: #FFD700;
  color: #000 !important;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  margin-top: auto;
}

.game-card .play-button:hover {
  background: #808080;
  color: #fff !important;
}

@media (max-width: 991px) {
  #game-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  #game-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .game-card {
    padding: 12px 4px 14px 4px;
  }
}


.sectionpage#faq .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}


.navbar-toggler {
  color: #fff !important;
  border: none;
  background: none;
  font-size: 2.2rem;
  z-index: 120;
}

.navbar-toggler .fas {
  color: #fff !important;
}


.navbar-toggler .fas,
.navbar-toggler .navbar-toggler-icon {
  color: #fff !important;
  filter: none !important;
}

.navbar-toggler .navbar-toggler-icon {
  background-image: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}


.navbar-toggler.custom-burger {
  width: 40px;
  height: 40px;
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  z-index: 120;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.navbar-toggler.custom-burger span {
  display: block;
  width: 28px;
  height: 4px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}


@media (max-width: 991px) {
  .navbar-toggler.custom-burger {
    display: flex;
  }

  nav.navbar .navbar-collapse {
    position: absolute !important;
    top: 90%;
    left: 0;
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    background: #000;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    z-index: 110;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
    overflow-y: auto;
  }

  nav.navbar .navbar-collapse.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  nav.navbar .navbar-nav {
    flex-direction: column;
    gap: 18px;
    width: 100%;
    align-items: center;
    font-size: 1.15rem;
    animation: dropdownFade 0.4s;
  }

  nav.navbar .navbar-nav .nav-link {
    width: 100%;
    text-align: center;
    padding: 14px 0;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
  }

  nav.navbar .navbar-nav .nav-link:hover,
  nav.navbar .navbar-nav .nav-link.active {
    background: #FFD700;
    color: #000;
  }

  nav.navbar .button-game {
    margin-top: 18px;
    justify-content: center;
    width: 100%;
    gap: 12px;
  }

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

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


.fas,
.navbar-toggler-icon {
  display: none !important;
}

h1 {
  font-size: 2.1rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

.table-wrapper {
  overflow-x: auto;
}


table,
.table-responsive,
.table-wrapper table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 24px;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border: none;
  font-size: 1rem;
}

th {
  background: #FFD700;
  color: #222;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

td {
  background: #faf9f6;
  color: #444;
  font-weight: 400;
}

tr:nth-child(even) td {
  background: #f5f5f5;
}

tr:hover td {
  background: #fffbe6;
  transition: background 0.2s;
}

table thead tr:first-child th:first-child {
  border-top-left-radius: 12px;
}

table thead tr:first-child th:last-child {
  border-top-right-radius: 12px;
}

table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 24px;
}

@media (max-width: 600px) {

  th,
  td {
    padding: 10px 8px;
    font-size: 0.97rem;
  }
}

.img-left,
.img-right {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 10px;
  width:50%;
}


.img-left {
  float: left;
  margin-right: 20px;
}


.img-right {
  float: right;
  margin-left: 20px;
}


@media (max-width: 768px) {

  .img-left,
  .img-right {
    float: none;
    display: block;
    margin: 10px auto;
    width:100%;
  }
}


/* ===== styles (adaptado a la paleta 1xSlots) ===== */
:root {
    /* Colores base del sitio (ajusta si hace falta) */
    --op-bg: #f6f7f9;
    --op-card: #ffffff;
    --op-text: #0a0a0a;
    --op-muted: #6b7280;
    --op-border: #e6e6ea;
    --op-accent: #ffd200;
    /* amarillo 1xSlots */
    --op-accent-ink: #111111;
    /* negro para contraste */
    --op-shadow: 0 6px 16px rgba(0, 0, 0, .06);
    --op-radius: 16px;
}

.opiniones {
    background: var(--op-bg);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--op-shadow);
    border: 1px solid var(--op-border);
    margin: 28px 0;
}

.opiniones .op-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.opiniones h2 {
    margin: 0;
    font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem);
    color: var(--op-accent-ink);
}

.opiniones .op-sub {
    margin: 0;
    color: var(--op-muted);
    font-size: .95rem;
}

.op-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

/* 3-col escritorio, 2-col tablet, 1-col móvil */
.op-card {
    grid-column: span 4;
    background: var(--op-card);
    border: 1px solid var(--op-border);
    border-radius: var(--op-radius);
    padding: 14px 16px;
    box-shadow: var(--op-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.op-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

@media (max-width: 1024px) {
    .op-card {
        grid-column: span 6;
    }
}

@media (max-width: 640px) {
    .opiniones {
        padding: 18px;
    }

    .op-card {
        grid-column: 1 / -1;
    }
}

.op-stars {
    --size: 18px;
    --empty: #e5e7eb;
    --fill: var(--op-accent);
    position: relative;
    width: max-content;
    line-height: 1;
    font-size: var(--size);
    letter-spacing: 3px;
}

/* 5 estrellas en texto, con relleno por gradiente según --rating */
.op-stars::before {
    content: "★★★★★";
    background: linear-gradient(90deg, var(--fill) calc(var(--rating, 5)/5 * 100%), var(--empty) calc(var(--rating, 5)/5 * 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.op-card p {
    margin: 0;
    color: var(--op-text);
    font-size: .98rem;
}

.op-note {
    margin: 14px 0 0 0;
    font-size: .95rem;
    color: var(--op-muted);
    border-left: 4px solid var(--op-accent);
    padding-left: 10px;
}

/* Cinta opcional para contraste con marca */
.opiniones::before {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--op-accent), #ffe680 70%, transparent);
    border-radius: 4px;
    margin-bottom: 14px;
}

.sectionpage img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

table p {
    padding: 0;
    margin: 0;
}