* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
      font-family: 'Poppins', sans-serif;
      background: #0A0A0A;
      color: white;
    }
    header {
      padding: 20px;
      display: flex;
      justify-content: center;
      background: #000;
      position: sticky;
      top: 0;
      z-index: 10;
    }
    .logo {
      font-size: 2.2rem;
      font-weight: 800;
      color: white;
      text-decoration: none;
    }
    .logo span {
      color: #E50914;
    }
    /* HERO */
    .hero {
      text-align: center;
      padding: 80px 20px;
      background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../img/hero.jpg) center/cover;
  }
  .hero h1 { font-size: 3rem; margin-bottom: 15px; }
    .hero h1 span { color: #E50914; }
    .hero p { font-size: 1.2rem; color: #ccc; margin-bottom: 30px; }

.btn-hero {
      background: #FFD60A;
      color: #000;
      padding: 15px 40px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 800;
      font-size: 1.1rem;
}

    /* GRID PLATAFORMAS */
    .grid-planes {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      padding: 60px 20px;
      max-width: 1200px;
      margin: auto;
    }
.tarjeta {
      background: #1a1a1a;
      border-radius: 15px;
      overflow: hidden;
      transition: transform 0.3s;
      border: 1px solid #333;
    }
/* CONTENEDOR DE LA IMAGEN */
.tarjeta-img {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

/* EL POSTER DE FONDO */
.tarjeta-img .poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* lo oscurece para que resalte el logo */
  transition: 0.3s;
}

/* CAPA BLANCA TRANSPARENTE ENCIMA DEL POSTER */
.tarjeta-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.12); /* blanco 18% transparente */
  backdrop-filter: blur(1px); /* desenfoque suave, se ve pro */
  z-index: 1; /* para que quede entre el poster y el logo */
}

.tarjeta:hover .poster {
  transform: scale(1.05); /* efecto zoom al pasar mouse */
}

/* EL LOGO ENCIMA */
.logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* lo centra perfecto */
  width: 140px; /* ajusta el tamaño del logo */
  height: auto;
  filter: drop-shadow(0 3px 4px rgba(255,255,255,0.90));/* sombra para que se vea */
  z-index: 2;
}

.tarjeta-content {
  padding: 20px;
  text-align: center;
}

.tarjeta h3 { font-size: 1.5rem; margin-bottom: 5px; }

.tarjeta .plan { color: #aaa; font-size: 0.9rem; margin-bottom: 10px; }

.precio { font-size: 2rem; color: #E50914; font-weight: 800; }

.precio span { font-size: 1rem; color: #aaa; font-weight: 400; }

.btn-wsp {
      background: #25D366;
      color: white;
      padding: 12px;
      border-radius: 8px;
      text-decoration: none;
      display: block;
      margin-top: 15px;
      font-weight: 600;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}
