/* ===============================
   HATERS — Responsive Design
   Estilo digital tipo Unreal Engine
================================= */

body.page-template-page-haters {
  margin: 0;
  background: radial-gradient(circle at 20% 30%, #0c1018, #05060a);
  color: #dff;
  font-family: 'Poppins', 'Montserrat', sans-serif;
  overflow-x: hidden;
}

.haters-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.haters-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(127, 255, 227, 0.2);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 0 20px rgba(127, 255, 227, 0.05);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.haters-card:hover {
  box-shadow: 0 0 35px rgba(127, 255, 227, 0.15);
  transform: translateY(-2px);
}

/* HERO */
.haters-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.haters-hero-media img {
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
}

.haters-title {
  font-size: 2rem;
  color: #7fffe3;
  margin: 8px 0;
  text-shadow: 0 0 10px rgba(127,255,227,0.3);
}

.haters-sub {
  color: #bfeff6;
  max-width: 550px;
  line-height: 1.5;
}

.tag {
  background: rgba(127, 255, 227, 0.1);
  color: #7fffe3;
  border: 1px solid rgba(127,255,227,0.25);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
}

/* SECTIONS */
.haters-section {
  margin-top: 40px;
}

.haters-section h3, .haters-section h2 {
  color: #7fffe3;
  margin-bottom: 12px;
}

/* GRID PERSONAJES */
.haters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.character img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* LEVELS */
.level-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #00ffc8, #7fffe3);
  border-radius: 6px;
}

/* SHOP */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.shop-item .price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

/* FOOTER */
.haters-footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px 0;
  font-size: 14px;
  opacity: 0.5;
}

/* ===============================
   🔹 RESPONSIVE BREAKPOINTS
================================= */

/* Tablets (<=1024px) */
@media (max-width: 1024px) {
  .haters-hero {
    flex-direction: column;
    text-align: center;
  }

  .haters-hero-media img {
    max-width: 400px;
  }

  .haters-wrap {
    padding: 30px 16px;
  }
}

/* Celulares (<=768px) */
@media (max-width: 768px) {
  .haters-title {
    font-size: 1.6rem;
  }

  .haters-sub {
    font-size: 0.95rem;
  }

  .haters-grid, .shop-grid {
    grid-template-columns: 1fr;
  }

  .haters-card {
    padding: 12px;
  }

  .tag {
    font-size: 11px;
    padding: 3px 6px;
  }

  .level-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Muy pequeños (<=480px) */
@media (max-width: 480px) {
  .haters-title {
    font-size: 1.4rem;
  }

  .haters-wrap {
    padding: 20px 12px;
  }

  .haters-hero-media img {
    max-width: 100%;
  }
}
