/* ==========================================================================
   HERO INTERACTIVO JORIS - COMPACTO Y SIN ESPACIOS MUERTOS
   ========================================================================== */

.hero-joris {
  position: relative;
  background: radial-gradient(circle at 70% 50%, rgba(26, 44, 76, 0.4) 0%, rgba(7, 9, 14, 0.98) 70%),
              linear-gradient(180deg, #07090e 0%, #0d121c 100%);
  border-bottom: 1px solid rgba(230, 195, 106, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Resplandor mágico de fondo */
.hero-joris__glow {
  position: absolute;
  top: 10%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(30, 58, 95, 0.22) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: joris-glow-pulse 8s infinite alternate ease-in-out;
}

@keyframes joris-glow-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.1) translate(-10px, 10px); opacity: 0.9; }
}

.hero-joris__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(7, 9, 14, 0.8) 100%);
  pointer-events: none;
}

/* Rejilla de contenido ajustada */
.hero-joris__container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

/* Lado del texto compacto */
.hero-joris__text {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-joris__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: #f5d77f;
  margin-bottom: 12px;
  align-self: flex-start;
  letter-spacing: 0.4px;
}

.hero-joris__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 8px #d4af37;
  animation: joris-dot-pulse 2s infinite ease-in-out;
}

@keyframes joris-dot-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero-joris__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #f5e6c0;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8);
}

.hero-joris__title-gold {
  background: linear-gradient(135deg, #fff2be 0%, #d4af37 50%, #99741b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

.hero-joris__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #94a3b8;
  margin-bottom: 20px;
  font-weight: 300;
  max-width: 520px;
}

/* Botones de acción compactos */
.hero-joris__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-joris__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.6px;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
}

.hero-joris__btn--primary {
  background: linear-gradient(135deg, #d4af37 0%, #a8831e 100%);
  color: #0d121c !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  border: 1px solid #ffe89e;
}

.hero-joris__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.45);
  filter: brightness(1.1);
}

.hero-joris__btn--secondary {
  background: rgba(13, 18, 28, 0.85);
  color: #f5d77f !important;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-joris__btn--secondary:hover {
  background: rgba(30, 58, 95, 0.4);
  border-color: #d4af37;
  transform: translateY(-2px);
}

.hero-joris__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  transition: all 0.75s ease;
}

.hero-joris__btn:hover .hero-joris__shine {
  left: 150%;
}

/* Lado del personaje Joris ajustado */
.hero-joris__visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.hero-joris__frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at center, #10192a 0%, #080d16 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8),
              0 0 25px rgba(30, 58, 95, 0.3),
              inset 0 0 15px rgba(212, 175, 55, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-joris__frame:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9),
              0 0 35px rgba(212, 175, 55, 0.2);
}

.hero-joris__canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-joris__tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(13, 18, 28, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 3px 10px;
  font-size: 0.7rem;
  color: #f5d77f;
  backdrop-filter: blur(4px);
  pointer-events: none;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-joris__tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 5px #4ade80;
}

/* Responsividad móvil */
@media (max-width: 960px) {
  .hero-joris {
    padding: 24px 16px;
  }

  .hero-joris__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .hero-joris__badge {
    align-self: center;
  }

  .hero-joris__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-joris__actions {
    justify-content: center;
  }

  .hero-joris__visual {
    justify-content: center;
  }

  .hero-joris__frame {
    max-width: 380px;
  }
}
