/* ====== VILLAINS CARDS SECTION (IGUAL A SPIDERVERSE) ====== */
.villains-cards-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(120deg, #1a1a1a 80%, #e62429 100%), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
  z-index: 1;
  overflow-x: hidden;
  box-shadow: 0 0 32px 0 #e62429cc, 0 0 0 8px #e6242922;
}
.villains-cards-section .container {
  position: relative;
  z-index: 2;
}
.villains-cards-title {
  font-family: 'Bebas Neue', Impact, 'Arial Black', sans-serif;
  font-size: 2.7rem;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 2px 16px #e62429, 0 1px 0 #000;
  border-left: 8px solid #e62429;
  padding-left: 18px;
  margin-bottom: 18px;
  animation: spiderverseTitlePop 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}
.villains-cards-desc {
  color: #bfc9ff;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.villains-cards-frame {
  background: rgba(10, 10, 10, 0.92);
  border: 3px solid #e62429;
  border-radius: 2rem;
  box-shadow: 0 0 32px 0 #e62429cc, 0 0 0 8px #0008;
  margin: 0 auto 2rem auto;
  max-width: 1200px;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
}
.villains-cards-section .card-custom {
  background: #111;
  border: 2.5px solid #e62429;
  border-radius: 1.5rem;
  box-shadow: 0 0 16px #e62429cc;
  transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.3s cubic-bezier(.68,-0.55,.27,1.55);
}
.villains-cards-section .card-custom:hover {
  transform: scale(1.04) translateY(-8px) rotate(-1deg);
  box-shadow: 0 0 32px #e62429, 0 0 0 8px #0008;
  border-color: #fff;
}
.villains-cards-section .card-title {
  color: #e62429;
  font-family: 'Bebas Neue', Impact, 'Arial Black', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #000;
  transition: color 0.3s, text-shadow 0.3s;
}
.villains-cards-section .card-custom:hover .card-title {
  color: #fff;
  text-shadow: 0 2px 8px #e62429cc;
}
.villains-cards-section .btn-danger {
  background: linear-gradient(90deg, #e62429 60%, #111 100%);
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s;
}
.villains-cards-section .btn-danger:hover {
  background: linear-gradient(90deg, #111 60%, #e62429 100%);
  color: #fff;
}
/* Ajuste para overlay y animación igual que spiderverse */
.villains-cards-section .spiderverse-bg-card {
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  min-height: 370px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.villains-cards-section .spiderverse-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.68) 60%, rgba(230,36,41,0.18) 100%);
  z-index: 1;
}
.villains-cards-section .card-body {
  position: relative;
  z-index: 2;
  color: #fff;
  background: none;
  padding-bottom: 1.5rem;
}
.villains-cards-section .card-title,
.villains-cards-section .card-text {
  color: #fff;
  text-shadow: 0 2px 8px #000, 0 1px 0 #e62429;
}
.villains-cards-section .btn-danger {
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px #e62429cc;
}
/* ====== SPIDERVERSE CARDS BACKGROUND IMAGE ====== */
.spiderverse-bg-card {
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  min-height: 370px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.spiderverse-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.68) 60%, rgba(230,36,41,0.18) 100%);
  z-index: 1;
}
.spiderverse-bg-card .card-body {
  position: relative;
  z-index: 2;
  color: #fff;
  background: none;
  padding-bottom: 1.5rem;
}
.spiderverse-bg-card .card-title,
.spiderverse-bg-card .card-text {
  color: #fff;
  text-shadow: 0 2px 8px #000, 0 1px 0 #e62429;
}
.spiderverse-bg-card .btn-danger {
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px #e62429cc;
}
/* ====== SPIDERVERSE CARDS SECTION ====== */
.spiderverse-cards-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(120deg, #111 80%, #e62429 100%), url('https://wallpapers.com/images/hd/spiderman-4k-2021-1v7k1k7w6v1k1k7w.jpg') center/cover no-repeat;
  z-index: 1;
  overflow-x: hidden;
  box-shadow: 0 0 32px 0 #e62429cc, 0 0 0 8px #e6242922;
}
.spiderverse-cards-section .container {
  position: relative;
  z-index: 2;
}
.spiderverse-cards-title {
  font-family: 'Bebas Neue', Impact, 'Arial Black', sans-serif;
  font-size: 2.7rem;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 2px 16px #e62429, 0 1px 0 #000;
  border-left: 8px solid #e62429;
  padding-left: 18px;
  margin-bottom: 18px;
  animation: spiderverseTitlePop 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes spiderverseTitlePop {
  0% { transform: scale(0.7) rotate(-8deg); opacity: 0; }
  60% { transform: scale(1.1) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}
.spiderverse-cards-desc {
  color: #bfc9ff;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.spiderverse-cards-frame {
  background: rgba(10, 10, 10, 0.92);
  border: 3px solid #e62429;
  border-radius: 2rem;
  box-shadow: 0 0 32px 0 #e62429cc, 0 0 0 8px #0008;
  margin: 0 auto 2rem auto;
  max-width: 1200px;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
}
.spiderverse-cards-section .card-custom {
  background: #111;
  border: 2.5px solid #e62429;
  border-radius: 1.5rem;
  box-shadow: 0 0 16px #e62429cc;
  transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.3s cubic-bezier(.68,-0.55,.27,1.55);
}
.spiderverse-cards-section .card-custom:hover {
  transform: scale(1.04) translateY(-8px) rotate(-1deg);
  box-shadow: 0 0 32px #e62429, 0 0 0 8px #0008;
  border-color: #fff;
}
.spiderverse-cards-section .card-title {
  color: #e62429;
  font-family: 'Bebas Neue', Impact, 'Arial Black', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #000;
}
.spiderverse-cards-section .card-custom:hover .card-title {
  color: #fff;
  text-shadow: 0 2px 8px #e62429cc;
}
.spiderverse-cards-section .btn-danger {
  background: linear-gradient(90deg, #e62429 60%, #111 100%);
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s;
}
.spiderverse-cards-section .btn-danger:hover {
  background: linear-gradient(90deg, #111 60%, #e62429 100%);
  color: #fff;
}
/* ====== EXTRAS SECTION ====== */
.extras-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(120deg, #1a1a2e 80%, #2430e6 100%), url('https://wallpapers.com/images/hd/spiderman-4k-2021-1v7k1k7w6v1k1k7w.jpg') center/cover no-repeat;
  z-index: 1;
  overflow-x: hidden;
}
.extras-section .container {
  position: relative;
  z-index: 2;
}
.extras-title {
  font-family: 'Bebas Neue', Impact, 'Arial Black', sans-serif;
  font-size: 3rem;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 2px 16px #e62429, 0 1px 0 #2430e6;
  animation: extrasTitlePop 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes extrasTitlePop {
  0% { transform: scale(0.7) rotate(-8deg); opacity: 0; }
  60% { transform: scale(1.1) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}
.extras-desc {
  color: #bfc9ff;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.extras-frame {
  background: rgba(20, 20, 40, 0.85);
  border: 3px solid #e62429;
  border-radius: 2rem;
  box-shadow: 0 0 32px 0 #2430e6cc, 0 0 0 8px #e6242922;
  margin: 0 auto;
  max-width: 1100px;
  min-height: 380px;
  align-items: center;
}

.extras-carousel {

  border-radius: 2rem;
  background: #181828;
}
.extras-caption {
  background: rgba(36, 48, 230, 0.7) !important;
  border: 2px solid #e62429;
  box-shadow: 0 0 8px #e62429cc;
}
.extras-section .carousel-control-prev-icon,
.extras-section .carousel-control-next-icon {
  filter: drop-shadow(0 0 6px #e62429) drop-shadow(0 0 2px #fff);
}
.extras-section .carousel-control-prev,
.extras-section .carousel-control-next {
  width: 8%;
}
.extras-section .carousel-control-prev:hover .carousel-control-prev-icon,
.extras-section .carousel-control-next:hover .carousel-control-next-icon {
  filter: drop-shadow(0 0 12px #fff) drop-shadow(0 0 8px #e62429);
}
/* About Section destacado */

.about-section {
  background: linear-gradient(120deg, rgba(60,10,20,0.82) 0%, rgba(15,20,60,0.82) 100%), url('https://static.wikia.nocookie.net/f74bc955-2e54-4921-8eaa-122cb4f2c628/scale-to-width-down/800') center/cover no-repeat;
  box-shadow: 0 8px 32px rgba(36,48,230,0.10), 0 2px 8px rgba(0,0,0,0.10);
  margin-bottom: 3rem;
  border-radius: 0;
  position: relative;
}

.about-title {
  font-family: 'Bebas Neue', Impact, 'Oswald', Arial, sans-serif;
  font-size: 2.6rem;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 4px 24px #D92344, 0 2px 8px #000, 0 0 2px #D92344;
  border-left: 8px solid #D92344;
  padding-left: 18px;
  margin-bottom: 18px;
  animation: fadeInLeft 1.2s cubic-bezier(.4,0,.2,1);
}

.about-desc {
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
}



body {
  background: linear-gradient(135deg, #000000 0%, #414345 100%);
  min-height: 100vh;
}

/* Navbar */
.navbar {
  background: rgba(30, 30, 30, 0.95) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.navbar-brand img {
  filter: drop-shadow(0 2px 6px #0008);
}

.nav-link {
  position: relative;
  color: #fff !important;
  font-weight: 500;
  transition: color 0.2s;
  overflow: hidden;
}

.nav-link:hover,
.nav-link.active {
  color: #e62429 !important;
}

.nav-link::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 3px;
  background: #e62429;
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(.4,0,.2,1), left 0.3s cubic-bezier(.4,0,.2,1);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
  left: 50%;
}

.login-button {
  background: #e62429;
  color: #fff !important;
  border-radius: 25px;
  padding: 8px 24px;
  margin-left: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
}

.login-button:hover {
  background: #b71c1c;
  color: #fff;
}

/* Hero Section */

.hero-section {
  background: linear-gradient(120deg, rgba(36,41,230,0.7) 0%, rgba(30,30,30,0.95) 100%), url('https://wallpapers-clan.com/wp-content/uploads/2024/04/miles-morales-black-gif-preview-desktop-wallpaper.gif') center/cover no-repeat;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 32px rgba(36,41,230,0.15), 0 2px 8px rgba(0,0,0,0.15);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30,30,30,0.82);
  z-index: 1;
}

.hero-section .container, .hero-section .row {
  position: relative;
  z-index: 2;
}

.spiderverse-title {
  font-family: 'Bebas Neue', Impact, 'Oswald', Arial, sans-serif;
  font-size: 3.2rem;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 4px 24px #2430e6, 0 2px 8px #000, 0 0 2px #2430e6;
  border-left: 8px solid #2430e6;
  padding-left: 18px;
  margin-bottom: 18px;
  animation: fadeInLeft 1.2s cubic-bezier(.4,0,.2,1);
}

.spiderverse-desc {
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
}

.spiderverse-btn {
  margin-top: 18px;
  font-size: 1.1rem;
  padding: 10px 32px;
  border-radius: 30px;
  background: linear-gradient(90deg, #2430e6 60%, #1c1cb7 100%);
  color: #fff;
  font-weight: bold;
  border: none;
  box-shadow: 0 2px 8px #2430e640;
  transition: background 0.2s, transform 0.2s;
  animation: fadeInUp 1.5s 0.2s cubic-bezier(.4,0,.2,1) backwards;
}
.spiderverse-btn:hover {
  background: linear-gradient(90deg, #1c1cb7 60%, #2430e6 100%);
  color: #fff;
  transform: scale(1.06);
}

.villain-title {
  font-family: 'Bebas Neue', Impact, 'Oswald', Arial, sans-serif;
  font-size: 3.2rem;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 4px 24px #e62429, 0 2px 8px #000, 0 0 2px #e62429;
  border-left: 8px solid #e62429;
  padding-left: 18px;
  margin-bottom: 18px;
  animation: fadeInLeft 1.2s cubic-bezier(.4,0,.2,1);
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.villain-desc {
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.villain-btn {
  margin-top: 18px;
  font-size: 1.1rem;
  padding: 10px 32px;
  border-radius: 30px;
  background: linear-gradient(90deg, #e62429 60%, #b71c1c 100%);
  color: #fff;
  font-weight: bold;
  border: none;
  box-shadow: 0 2px 8px #e6242940;
  transition: background 0.2s, transform 0.2s;
  animation: fadeInUp 1.5s 0.2s cubic-bezier(.4,0,.2,1) backwards;
}
.villain-btn:hover {
  background: linear-gradient(90deg, #b71c1c 60%, #e62429 100%);
  color: #fff;
  transform: scale(1.06);
}

.hero-section2 .container {
  position: relative;
  z-index: 2;
}
/* Hero Section */

.hero-section2 {
  background: linear-gradient(120deg, rgba(230,36,41,0.7) 0%, rgba(30,30,30,0.95) 100%), url('https://cdn.superaficionados.com/imagenes/los-villanos-de-spiderman-mas-importantes-og.jpg') center/cover no-repeat;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 32px rgba(230,36,41,0.15), 0 2px 8px rgba(0,0,0,0.15);
}

.hero-section2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30,30,30,0.82);
  z-index: 1;
}

.hero-section2 .container, .hero-section2 .row {
  position: relative;
  z-index: 2;
}
/* Cards */
.card-custom {
  border-radius: 20px;
  overflow: hidden;
  transition: background 0.4s cubic-bezier(.4,0,.2,1), color 0.4s cubic-bezier(.4,0,.2,1), transform 0.2s, box-shadow 0.2s;
  border: none;
  background: #232526;
  color: #fff;
}

.card-custom:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(230,36,41,0.15), 0 2px 8px rgba(0,0,0,0.15);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), filter 0.4s cubic-bezier(.4,0,.2,1);
}
/* Solo las cards y sus imágenes tienen transición visual */
.card-custom:hover .card-img-top,
.card-custom:focus .card-img-top {
  transform: scale(1.06) rotate(-1deg);
  filter: brightness(1.08) saturate(1.2);
}

.btn-danger {
  border-radius: 30px;
  font-weight: bold;
  letter-spacing: 1px;
  background: #e62429;
  border: none;
  transition: background 0.2s;
}

.btn-danger:hover, .btn-danger:focus {
  background: #b71c1c;
}

.btn-danger, .btn-primary, .login-button {
  position: relative;
  overflow: hidden;
}

.btn-danger::after,
.btn-primary::after,
.login-button::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 0;
  height: 3px;
  background: #e62429;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  transform: translateX(-50%);
}

.btn-danger:hover::after,
.btn-primary:hover::after,
.login-button:hover::after {
  width: 70%;
}

/* Carousel */
.carousel-inner {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  aspect-ratio: 1/1;
  max-height: 320px;
}

.carousel-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  aspect-ratio: 1/1;
  display: block;
}

.carousel-caption-custom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(30,30,30,0.7);
  color: #fff;
  padding: 16px 10px 10px 10px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  text-align: left;
}

.carousel-caption-custom h5 {
  margin-bottom: 4px;
  font-weight: bold;
}

.carousel-caption-custom p {
  margin-bottom: 0;
  font-size: 1rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #e62429;
  border-radius: 50%;
  padding: 10px;
}

/* Modals */

.modal-content {
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(36,41,230,0.85) 0%, rgba(230,36,41,0.85) 100%), #232526 url('https://wallpapers-clan.com/wp-content/uploads/2024/04/miles-morales-black-gif-preview-desktop-wallpaper.gif') center/cover no-repeat;
  color: #fff;
  box-shadow: 0 8px 32px rgba(36,41,230,0.18), 0 2px 8px rgba(230,36,41,0.18);
  border: 2.5px solid #e62429;
  animation: modalPopIn 0.7s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  border-bottom: 1.5px solid #e62429;
  background: rgba(30,30,30,0.7);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  box-shadow: 0 2px 8px #e6242940;
}

.modal-title {
  color: #fff;
  font-weight: bold;
  font-family: 'Bebas Neue', Impact, 'Oswald', Arial, sans-serif;
  font-size: 2rem;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 12px #e62429, 0 1px 4px #000;
}

.modal-body {
  background: rgba(30,30,30,0.6);
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  box-shadow: 0 2px 8px #2430e640;
}

.modal-content img {
  border-radius: 12px;
  box-shadow: 0 4px 16px #e6242940, 0 1px 4px #0008;
  margin-bottom: 1rem;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.modal-content img:hover {
  transform: scale(1.04) rotate(-1deg);
}

.modal .btn-close {
  background: none !important;
  border: none;
  border-radius: 0;
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  margin: 0;
  opacity: 1;
  box-shadow: none;
  z-index: 10;
}
.modal .btn-close::before, .modal .btn-close::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.3rem;
  height: 3px;
  background: #e62429;
  border-radius: 2px;
  transform-origin: center;
  transition: background 0.2s;
}
.modal .btn-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal .btn-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.modal .btn-close:hover::before, .modal .btn-close:hover::after {
  background: #fff;
}

/* Contact Form */
#contacto .card-custom {
  background: #232526;
  color: #fff;
}

.form-label {
  color: #e62429;
  font-weight: 500;
}

.form-control, textarea.form-control {
  border-radius: 12px;
  background: #333;
  color: #fff;
  border: 1px solid #444;
}

.form-control:focus {
  border-color: #e62429;
  box-shadow: 0 0 0 0.2rem rgba(230,36,41,0.15);
}

/* Offcanvas */
.offcanvas {
  background: rgba(30, 30, 30, 0.95) ;
  color: #fff;
}

.offcanvas .nav-link {
  color: #fff ;
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link.active {
  color: #e62429;
}

/* Carrusel de villanos*/
#villanosCarousel .carousel-inner {
  max-width: 350px;
  margin: auto;
  aspect-ratio: 3/4;
}

@media (max-width: 768px) {
  #villanosCarousel .carousel-inner {
    max-width: 90vw;
    aspect-ratio: 3/4;
  }
  #villanosCarousel img {
    height: 180px !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .card-img-top {
    height: 180px;
  }
  .hero-section {
    min-height: 40vh;
  }
  .carousel-inner, .carousel-item img {
    height: 200px !important;
    aspect-ratio: 1/1;
  }
  .carousel-caption-custom {
    padding: 12px 6px 6px 6px;
    font-size: 0.95rem;
  }
}
