.juegos {
  /* Paleta base idéntica a Brainiac Lab */
  --bg-base: #000000;
  --bg-surface: #0a0a0a;
  --bg-surface-card: #0f0f0f;
  --bg-glass: rgba(10, 10, 10, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);

  /* Acentos */
  --accent-orange: #ff6a00;
  --accent-glow: rgba(255, 106, 0, 0.15);
  --accent-green: #10b981;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;

  /* Tipografía */
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --text-muted: #555555;

  /* Espaciados y Grid */
  --container-max: 1280px;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Transiciones */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.juegos,
.juegos * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
.juegos {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* Estructura y Contenedores */
.juegos .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 5%;
}

.juegos .section-padding {
  padding: var(--spacing-xl) 0;
}

.juegos .section-header {
  margin-bottom: var(--spacing-lg);
}

.juegos .section-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.juegos .section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.6;
}

/* Header / Nav */
.juegos header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition:
    background var(--transition-smooth),
    backdrop-filter var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.juegos header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.juegos .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.juegos .nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.juegos .nav-links a:not(.btn):not(.icon-link) {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.juegos .nav-links a:not(.btn):not(.icon-link):hover {
  color: var(--text-primary);
}

.juegos .icon-link {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  display: flex;
}

.juegos .icon-link:hover {
  color: var(--text-primary);
}

.juegos .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.juegos .logo-img {
  height: 70px; /* Ajusta la altura según las proporciones de tu logo */
  width: auto; /* Mantiene la relación de aspecto sin deformar */
  display: block;
  object-fit: contain;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* Efecto Hover opcional */
.juegos .logo-link:hover .logo-img {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Hamburguesa móvil */
.juegos .mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}

.juegos .mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

/* Botones del ecosistema */
.juegos .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.juegos .btn-primary {
  background: var(--text-primary);
  color: var(--bg-base);
  border: 1px solid var(--text-primary);
}

.juegos .btn-primary:hover {
  background: var(--accent-orange);
  color: white;
  border-color: var(--accent-orange);
  box-shadow: 0 0 25px var(--accent-glow);
}

.juegos .btn-secondary {
  background: var(--accent-orange);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.juegos .btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--accent-blue);
  color: var(--text-primary);
}

.juegos .btn-outline {
  background: var(--accent-orange);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.juegos .btn-outline:hover {
  border-color: var(--bg-base);
  color: var(--text-primary);
}

.juegos .btn-text {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast);
}

.juegos .btn-text span {
  transition: transform var(--transition-fast);
}

.juegos .btn-text:hover {
  color: var(--accent-orange);
}

.juegos .btn-text:hover span {
  transform: translateX(4px);
}

/* Background Canvas en Hero */
.juegos #hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}

/* Seccion Hero */
.juegos .hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.juegos .hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40vh;
  background: linear-gradient(to top, var(--bg-base), transparent);
  pointer-events: none;
}

.juegos .hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: var(--spacing-lg);
  width: 100%;
}

.juegos .hero-content {
  max-width: 720px;
}

.juegos .hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.juegos .hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.juegos .hero h1 span {
  color: var(--text-secondary);
}

.juegos .hero p {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.juegos .hero-actions {
  display: flex;
  gap: 1.2rem;
}

/* Ilustración del Hero */
.juegos .hero-visual {
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.juegos .hero-game {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
  border-radius: 20px;
  background: #000;
  overflow: hidden;
}

.juegos .visual-mesh {
  width: 320px;
  height: 320px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background: linear-gradient(45deg, var(--accent-orange), #ff007f);
  opacity: 0.15;
  filter: blur(40px);
  animation: morphing 12s ease-in-out infinite alternate;
}

.juegos .visual-wireframe {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px dashed rgba(255, 106, 0, 0.25);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.juegos .visual-wireframe::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.juegos .visual-core {
  position: absolute;
  width: 80px;
  height: 80px;
  background: #0a0a0a;
  border: 1px solid var(--accent-orange);
  box-shadow: 0 0 40px var(--accent-glow);
  border-radius: 20px;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.juegos .visual-core svg {
  transform: rotate(-45deg);
  color: var(--accent-orange);
}

@keyframes morphing {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }

  100% {
    border-radius: 70% 30% 50% 50% / 50% 60% 40% 60%;
  }
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Sección Explicativa & Métricas */
.juegos .about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.juegos .solutions-title {
  margin-bottom: 1rem !important;
}

.juegos .solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
  margin-bottom: 2rem;
}

.juegos .solutions-grid div {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: color var(--transition-fast);
}

.juegos .solutions-grid div:hover {
  color: var(--accent-orange);
}

.juegos .about-text h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.juegos .about-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.juegos .metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.juegos .metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.juegos .metric-card:hover {
  border-color: var(--border-hover);
}

.juegos .metric-num {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.juegos .metric-num.highlight {
  color: var(--accent-orange);
}

.juegos .metric-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.juegos .metric-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(
    circle at top right,
    rgba(255, 106, 0, 0.05),
    transparent
  );
  pointer-events: none;
}

/* Buscador y Filtros */
.juegos .catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.juegos .catalog-search {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  width: 320px;
  transition: border-color var(--transition-fast);
}

.juegos .catalog-search:focus-within {
  border-color: var(--accent-orange);
}

.juegos .catalog-search svg {
  color: var(--text-muted);
  margin-right: 0.75rem;
}

.juegos .catalog-search input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  font-family: inherit;
}

.juegos .filters-wrapper {
  margin-bottom: 3rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.juegos .filters-list {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.juegos .filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.juegos .filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.juegos .filter-btn.active {
  background: var(--text-primary);
  color: var(--bg-base);
  border-color: var(--text-primary);
}

/* Catálogo Grid (Tarjetas Premium) */
.juegos .catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.juegos .premium-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform var(--transition-smooth),
    border-color var(--transition-smooth),
    box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.juegos .premium-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    400px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 106, 0, 0.06),
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
  z-index: 1;
}

.juegos .premium-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.6),
    0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.juegos .premium-card:hover::before {
  opacity: 1;
}

/* Media de la Tarjeta (Placeholder elegante) */
.juegos .card-media {
  width: 100%;
  height: 220px;
  background: #111;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
}

/* Gradiente abstracto para placeholder */
.juegos .placeholder-art {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #111 0%, #050505 100%);
  opacity: 0.95;
  transition: transform var(--transition-smooth);
}

.juegos .placeholder-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
}

.juegos .placeholder-shape {
  width: 100px;
  height: 100px;
  border: 1px solid rgba(255, 106, 0, 0.15);
  border-radius: 24px;
  transform: rotate(45deg);
  transition: all var(--transition-smooth);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.juegos .placeholder-shape::before {
  content: "";
  width: 60px;
  height: 60px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  position: absolute;
  border-radius: 14px;
  animation: spin 20s linear infinite;
}

.juegos .premium-card:hover .placeholder-shape {
  border-color: var(--accent-orange);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: rotate(135deg) scale(1.1);
}

.juegos .premium-card:hover .placeholder-art {
  transform: scale(1.03);
}

/* Badges de Estados */
.juegos .badge-status {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
  letter-spacing: 0.05em;
}

.juegos .status-nuevo {
  color: var(--accent-purple);
  border-color: rgba(139, 92, 246, 0.4);
}

.juegos .status-beta {
  color: var(--accent-orange);
  border-color: rgba(255, 106, 0, 0.4);
}

.juegos .status-experimental {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.4);
}

.juegos .status-publicado {
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.4);
}

/* Contenido de Tarjeta */
.juegos .card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.juegos .card-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.juegos .card-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.juegos .card-content h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.juegos .card-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Tags de Tecnología */
.juegos .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.juegos .card-tags span {
  font-size: 0.7rem;
  font-family: monospace;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

/* Divider */
.juegos .card-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0 0 1.2rem 0;
}

/* Metadatos Técnicos en Ficha */
.juegos .card-technical {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.juegos .tech-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.juegos .tech-item svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Sección Destacada */
.juegos .featured-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  transition: border-color var(--transition-smooth);
}

.juegos .featured-wrapper:hover {
  border-color: var(--border-hover);
}

.juegos .featured-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.juegos .featured-media {
  width: 100%;
  min-height: 400px;
  background: #111;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.juegos .featured-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 106, 0, 0.08) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
}

.juegos .featured-glowing-sphere {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-orange) 0%, transparent 70%);
  opacity: 0.12;
  filter: blur(20px);
  animation: pulse 6s ease-in-out infinite alternate;
}

.juegos .featured-wire-cube {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transform: rotateX(45deg) rotateY(45deg);
  animation: rotateCube 15s linear infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.1;
  }

  100% {
    transform: scale(1.3);
    opacity: 0.18;
  }
}

@keyframes rotateCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
  }
}

.juegos .featured-info {
  padding: 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.juegos .featured-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.juegos .featured-info h3 {
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.juegos .featured-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.juegos .featured-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.juegos .spec-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.juegos .spec-item svg {
  color: var(--accent-orange);
}

/* Sección Tecnologías */
.juegos .tech-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.juegos .tech-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition-smooth);
}

.juegos .tech-box:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.juegos .tech-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: var(--text-primary);
  transition: all var(--transition-smooth);
}

.juegos .tech-box:hover .tech-icon-wrapper {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  box-shadow: 0 0 15px var(--accent-glow);
}

.juegos .tech-box h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.juegos .tech-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Sección Final CTA */
.juegos .cta-box {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 106, 0, 0.06), transparent 70%),
    var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 6rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.juegos .cta-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.juegos .cta-box h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.juegos .cta-box p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Footer */
.juegos footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0;
  margin-top: 4rem;
}

.juegos .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.juegos .footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.juegos .footer-links {
  display: flex;
  gap: 2.5rem;
}

/* =========================================================
   FAQ — PREGUNTAS FRECUENTES
========================================================= */

.juegos .faq-section {
  position: relative;
}

.juegos .faq-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.juegos .faq-eyebrow {
  display: inline-block;
  color: var(--accent-orange);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.juegos .faq-header h2 {
  margin-bottom: 1rem;
}

.juegos .faq-header p {
  max-width: 650px;
}

/* =========================================================
   LISTA FAQ
========================================================= */

.juegos .faq-list {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3rem;
  row-gap: 0;
  border-top: 1px solid var(--border-color);
}

/* =========================================================
   ITEM
========================================================= */

.juegos .faq-item {
  border-bottom: 1px solid var(--border-color);
}

/* =========================================================
   PREGUNTA
========================================================= */

.juegos .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  padding: 1.6rem 0;

  background: transparent;
  border: none;

  color: var(--text-primary);
  text-align: left;

  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;

  cursor: pointer;

  transition:
    color var(--transition-fast),
    padding var(--transition-smooth);
}

.juegos .faq-question:hover {
  color: var(--accent-orange);
}

.juegos .faq-question:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 4px;
  border-radius: 4px;
}

/* =========================================================
   ICONO +
========================================================= */

.juegos .faq-icon {
  width: 32px;
  height: 32px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--border-color);
  border-radius: 50%;

  color: var(--text-secondary);

  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;

  transition:
    transform var(--transition-smooth),
    color var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

/* =========================================================
   RESPUESTA
========================================================= */

.juegos .faq-answer {
  display: grid;
  grid-template-rows: 0fr;

  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.juegos .faq-answer-inner {
  overflow: hidden;
}

.juegos .faq-answer-inner p {
  max-width: 800px;

  padding: 0 4rem 0 0;

  color: var(--text-secondary);

  font-size: 0.98rem;
  line-height: 1.7;
}

/* =========================================================
   FAQ ABIERTA
========================================================= */

.juegos .faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.juegos .faq-item.active .faq-answer-inner p {
  padding-bottom: 1.8rem;
}

.juegos .faq-item.active .faq-icon {
  transform: rotate(45deg);

  color: var(--accent-orange);
  border-color: var(--accent-orange);

  background: var(--accent-glow);
}

.juegos .faq-item.active .faq-question {
  color: var(--text-primary);
}

/* =========================================================
   AVISO / CONDICIONES
========================================================= */

.juegos .faq-notice {
  max-width: 950px;

  margin: 4rem auto 0;
  padding: 2rem;

  background: var(--bg-surface);

  border: 1px solid var(--border-color);
  border-left: 2px solid var(--accent-orange);

  border-radius: 12px;
}

.juegos .faq-notice-header {
  display: flex;
  align-items: center;

  gap: 0.8rem;

  margin-bottom: 1.5rem;
}

.juegos .faq-notice-icon {
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border: 1px solid var(--accent-orange);
  border-radius: 50%;

  color: var(--accent-orange);

  font-size: 0.8rem;
  font-weight: 600;
}

.juegos .faq-notice-header h3 {
  font-size: 1.05rem;
  font-weight: 500;

  margin: 0;
}

.juegos .faq-notice-content {
  display: flex;
  flex-direction: column;

  gap: 1rem;
}

.juegos .faq-notice-content p {
  color: var(--text-secondary);

  font-size: 0.82rem;
  line-height: 1.6;

  margin: 0;
}

/* =========================================================
   HOVER DEL AVISO
========================================================= */

.juegos .faq-notice {
  transition:
    border-color var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.juegos .faq-notice:hover {
  border-color: var(--border-hover);

  border-left-color: var(--accent-orange);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   RESPONSIVE — MÓVIL
========================================================= */

@media (max-width: 480px) {
  .juegos .faq-question {
    gap: 0.75rem;
    padding: 1.2rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .juegos .faq-icon {
    width: 28px;
    min-width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .juegos .faq-answer-inner p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .juegos .faq-notice {
    padding: 1.25rem;
    border-radius: 10px;
  }

  .juegos .faq-notice-header {
    align-items: flex-start;
  }

  .juegos .faq-notice-content p {
    font-size: 0.78rem;
  }
}

/* Estilos de las imágenes de los logos */
.juegos .footer-logo-link {
  display: inline-block;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.juegos .footer-logo-link:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.juegos .footer-logo {
  max-height: 70px; /* Ajusta esta altura según el tamaño ideal de tus logos */
  width: auto;
  display: block;
}

.juegos .footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.juegos .footer-links a:hover {
  color: var(--text-primary);
}

.juegos .footer-version {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Clases de Reveal al hacer Scroll */
.juegos .scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.juegos .scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsividad y Ajustes de Pantalla */
@media (max-width: 992px) {
  .juegos .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-md);
  }

  .juegos .hero-actions {
    justify-content: center;
  }

  .juegos .hero-visual {
    height: 260px;
    margin-top: 2rem;
  }

  .juegos .about-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .juegos .featured-wrapper {
    grid-template-columns: 1fr;
  }

  .juegos .featured-media {
    min-height: 280px;
  }

  .juegos .featured-info {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .juegos .hero {
    height: auto;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .juegos .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 70px;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
    gap: 1rem;
    overflow: hidden;
  }

  .juegos .logo-img {
    height: 42px;
    width: auto;
    max-width: 160px;
    display: block;
  }

  .juegos .hero-visual {
    margin-top: 4rem;
  }

  .juegos .featured-image {
    min-height: 320px;
  }

  .juegos .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: 2rem;
    gap: 2rem;
  }

  .juegos .hero-game {
    width: 100%;
    height: 380px;
    border-radius: 16px;
  }

  .juegos .mobile-menu-btn {
    display: flex;
    flex-shrink: 0;
    width: 24px;
    min-width: 24px;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
  }

  .juegos .solutions-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .juegos .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 1.5rem 5%;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    overflow-x: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path var(--transition-smooth);
  }

  .juegos .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .juegos .nav-links a {
    max-width: 100%;
    text-align: center;
  }

  .juegos .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .juegos .hero-actions .btn {
    width: 100%;
  }

  .juegos .catalog-header {
    flex-direction: column;
    align-items: stretch;
  }

  .juegos .catalog-search {
    width: 100%;
  }

  .juegos .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .juegos .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  .juegos .faq-list {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
    margin: 0;
    overflow: hidden;
  }
  .juegos .faq-header {
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .juegos .faq-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .juegos .faq-question {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 0;
    font-size: 0.95rem;
    line-height: 1.45;
    box-sizing: border-box;
  }

  /* Texto de la pregunta */
  .juegos .faq-question > span:first-child {
    flex: 0 1 82%;
    max-width: 82%;
    min-width: 0;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .juegos .faq-icon {
    width: 30px;
    min-width: 30px;
    height: 30px;
    flex-shrink: 0;
    font-size: 1.15rem;
  }
  /* Contenedor de respuesta */
  .juegos .faq-answer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  /* Interior de respuesta */
  .juegos .faq-answer-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .juegos .faq-answer-inner p {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .juegos .faq-item.active .faq-answer-inner p {
    padding-bottom: 1.5rem;
  }

  .juegos .faq-notice {
    margin-top: 3rem;
    padding: 1.5rem;
  }
}
@media (min-width: 769px) {
  .juegos .faq-list {
    border-top: none;
  }

  .juegos .faq-item:nth-child(-n + 5) {
    border-top: 1px solid var(--border-color);
  }
}
