/* styles.css - Estilos para la página de Thor */

body { 
  font-family: 'Arial', sans-serif; 
  text-align: center; 
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  color: white;
  min-height: 100vh;
}

header { 
  background: linear-gradient(45deg, #1a237e, #ffd700); 
  color: white; 
  padding: 20px; 
  position: relative;
  overflow: hidden;
}

/* Interacción 1: Logo con efecto de rayos */
.thor-logo {
  width: 80px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px #ffd700);
}
.thor-logo:hover {
  transform: scale(1.2) rotate(15deg);
  filter: drop-shadow(0 0 20px #ffd700) drop-shadow(0 0 30px #00bcd4);
  animation: thunder 0.5s ease-in-out;
}
@keyframes thunder {
  0%, 100% { filter: drop-shadow(0 0 20px #ffd700); }
  50% { filter: drop-shadow(0 0 30px #00bcd4) drop-shadow(0 0 40px #fff); }
}

footer { 
  background: linear-gradient(45deg, #ffd700, #ff5722); 
  color: #1a237e; 
  padding: 15px; 
  margin-top: 40px;
  font-weight: bold;
}

.nav-tabs { 
  background: linear-gradient(45deg, #1a237e, #283593); 
  border-radius: 10px;
}
.nav-tabs .nav-link { 
  color: #ffd700; 
  border: none;
  font-weight: bold;
}
.nav-tabs .nav-link.active { 
  background: linear-gradient(45deg, #ffd700, #ffab00); 
  color: #1a237e;
  border-radius: 8px;
}

.tab-content {
  background: rgba(26, 35, 126, 0.1);
  border-radius: 15px;
  padding: 30px;
  margin-top: 20px;
  backdrop-filter: blur(10px);
}

/* Efectos especiales para galería (6 efectos) */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.gallery-item {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

/* Efecto 1: Zoom y rotación */
.effect-zoom:hover img {
  transform: scale(1.3) rotate(5deg);
  filter: brightness(1.2);
}

/* Efecto 2: Desenfoque a enfoque */
.effect-blur img {
  filter: blur(2px);
}
.effect-blur:hover img {
  filter: blur(0px) contrast(1.3);
  transform: scale(1.1);
}

/* Efecto 3: Sepia a color */
.effect-sepia img {
  filter: sepia(100%);
}
.effect-sepia:hover img {
  filter: sepia(0%) saturate(1.4);
  transform: scale(1.2);
}

/* Efecto 4: Escala invertida */
.effect-flip:hover img {
  transform: scaleX(-1) scale(1.2);
  filter: hue-rotate(180deg);
}

/* Efecto 5: Brillo dorado */
.effect-glow:hover img {
  filter: drop-shadow(0 0 20px #ffd700) brightness(1.3);
  transform: scale(1.15);
}

/* Efecto 6: Rotación 3D */
.effect-3d {
  perspective: 1000px;
}
.effect-3d:hover img {
  transform: rotateY(180deg) scale(1.1);
  filter: brightness(1.2);
}

/* Interacción 2: Mjolnir selector de poderes */
.power-selector {
  background: linear-gradient(145deg, #1a237e, #3949ab);
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
  border: 2px solid #ffd700;
}

.mjolnir-btn {
  background: linear-gradient(145deg, #ffd700, #ffab00);
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  color: #1a237e;
  font-weight: bold;
  margin: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mjolnir-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.5);
  filter: brightness(1.2);
}

.power-display {
  min-height: 80px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
  margin-top: 15px;
  border: 1px solid #ffd700;
}

/* Interacción 3: Timeline interactivo */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background: linear-gradient(to bottom, #ffd700, #ff5722);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  width: 45%;
  margin: 20px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-item:hover {
  background: rgba(255, 215, 0, 0.2);
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 55%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  background: #ffd700;
  border: 4px solid #1a237e;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.left::after {
  right: -17px;
}

.timeline-item.right::after {
  left: -17px;
}

/* Widget: Quiz de Thor */
.thor-quiz {
  background: linear-gradient(145deg, #3949ab, #1a237e);
  border-radius: 15px;
  padding: 25px;
  margin: 20px 0;
  border: 2px solid #ffd700;
}

.quiz-btn {
  background: linear-gradient(45deg, #ff5722, #d32f2f);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.quiz-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(255, 87, 34, 0.4);
}

/* Toast personalizado */
.toast-container.top-center {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1080;
}

.custom-toast {
  background: linear-gradient(45deg, #1a237e, #ffd700);
  color: white;
  border-radius: 15px;
  border: 2px solid #ffd700;
}

/* Video responsive */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.stat-card {
  background: linear-gradient(145deg, #3949ab, #1a237e);
  border-radius: 10px;
  padding: 15px;
  border: 1px solid #ffd700;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.stat-number {
  font-size: 2em;
  font-weight: bold;
  color: #ffd700;
}

h1, h2, h3, h4 {
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}