:root {
  --morado: #8b5cf6;
  --morado-oscuro: #3b0764;
  --morado-claro: #c084fc;
  --negro: #050008;
  --gris: #15111c;
  --blanco: #ffffff;
  --texto: #d8d4e8;
  --azul-nebula: #22d3ee;
  --rojo-nova: #ef4444;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.35), transparent 35%),
    radial-gradient(circle at bottom right, rgba(192, 132, 252, 0.2), transparent 35%),
    linear-gradient(135deg, #050008 0%, #10051c 45%, #000000 100%);
  color: var(--blanco);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(#ffffff 1px, transparent 1px),
    radial-gradient(#c084fc 1px, transparent 1px);
  background-size: 80px 80px, 130px 130px;
  background-position: 0 0, 40px 60px;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

.copy-toast {
  position: fixed;
  top: 95px;
  right: 25px;
  z-index: 999;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(12, 5, 22, 0.94);
  border: 1px solid rgba(192, 132, 252, 0.6);
  color: var(--blanco);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.45);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(-15px);
  pointer-events: none;
  transition: 0.35s ease;
}

.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar */

.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(5, 0, 8, 0.78);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(192, 132, 252, 0.25);
}

.nav-content {
  max-width: 1200px;
  margin: auto;
  padding: 18px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--blanco);
}

.logo span {
  color: var(--morado-claro);
  text-shadow: 0 0 15px var(--morado);
}

.nav-links {
  display: flex;
  gap: 19px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--texto);
  transition: 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--blanco);
  text-shadow: 0 0 12px var(--morado-claro);
}

.nav-links a::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--morado-claro);
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 10px 17px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--morado), var(--morado-claro));
  color: var(--blanco) !important;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.55);
  font-weight: 600;
}

.btn-nav::after {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--blanco);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero */

.hero {
  min-height: 100vh;
  max-width: 1200px;
  margin: auto;
  padding: 140px 25px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 45px;
}

.hero-text .tag,
.section-title span,
.duration {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid rgba(192, 132, 252, 0.45);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--morado-claro);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.hero-text h1,
.buy-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-text h1 span,
.buy-hero h1 {
  color: var(--morado-claro);
  text-shadow: 0 0 25px rgba(192, 132, 252, 0.8);
}

.hero-text p {
  color: var(--texto);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 650px;
  margin-bottom: 32px;
}

.hero-buttons,
.rank-actions,
.price-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--morado), var(--morado-claro));
  color: var(--blanco);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 35px rgba(192, 132, 252, 0.8);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--blanco);
  background: rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
  background: rgba(192, 132, 252, 0.13);
  border-color: var(--morado-claro);
  transform: translateY(-4px);
}

.hero-card {
  position: relative;
  padding: 32px;
  min-height: 430px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(192, 132, 252, 0.28);
  box-shadow:
    0 0 40px rgba(139, 92, 246, 0.22),
    inset 0 0 35px rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.planet {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  margin: 30px auto;
  background:
    radial-gradient(circle at 28% 25%, rgba(255, 255, 255, 0.95) 0 4%, transparent 12%),
    radial-gradient(circle at 60% 35%, rgba(255, 255, 255, 0.22) 0 6%, transparent 18%),
    radial-gradient(circle at 45% 70%, rgba(0, 0, 0, 0.28) 0 8%, transparent 20%),
    linear-gradient(135deg, #f5e8ff 0%, #c084fc 17%, #8b5cf6 38%, #4c1d95 64%, #130021 100%);
  box-shadow:
    0 0 35px rgba(192, 132, 252, 0.9),
    0 0 85px rgba(139, 92, 246, 0.55),
    inset -35px -35px 55px rgba(0, 0, 0, 0.65),
    inset 18px 18px 35px rgba(255, 255, 255, 0.18);
  position: relative;
  animation: float 4s ease-in-out infinite;
  overflow: hidden;
}

.planet::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 78px;
  border: 3px solid rgba(255, 255, 255, 0.48);
  border-left-color: rgba(192, 132, 252, 0.95);
  border-right-color: rgba(139, 92, 246, 0.75);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  box-shadow:
    0 0 25px rgba(192, 132, 252, 0.8),
    inset 0 0 18px rgba(255, 255, 255, 0.18);
  z-index: 2;
}

.planet::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-linear-gradient(
      -18deg,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 4px,
      transparent 5px,
      transparent 18px
    );
  opacity: 0.45;
  mix-blend-mode: overlay;
}

.server-info {
  text-align: center;
  position: relative;
  z-index: 2;
}

.server-info h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.server-info p {
  color: var(--texto);
  margin-bottom: 18px;
}

.ip-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 330px;
  margin: 0 auto;
}

.ip-box {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: var(--morado-claro);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  transition: 0.3s;
}

.ip-box:hover {
  transform: translateY(-3px);
  border-color: var(--morado-claro);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.35);
}

.ip-box strong {
  color: var(--blanco);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.ip-box span {
  color: var(--morado-claro);
}

.ip-box small {
  color: var(--texto);
  font-family: 'Poppins', sans-serif;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* Secciones */

section,
.buy-hero {
  max-width: 1200px;
  margin: auto;
  padding: 85px 25px;
}

.buy-hero {
  padding-top: 150px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title span {
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title h2,
.cta-box h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-top: 10px;
}

.section-title p,
.cta-box p {
  color: var(--texto);
  margin-top: 15px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Cards */

.cards,
.rank-showcase,
.social-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card,
.rank-card,
.social-card,
.price-card {
  padding: 30px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(192, 132, 252, 0.22);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before,
.rank-card::before,
.social-card::before,
.price-card::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--morado);
  filter: blur(80px);
  opacity: 0.25;
  right: -30px;
  top: -30px;
}

.card:hover,
.rank-card:hover,
.social-card:hover,
.price-card:hover {
  transform: translateY(-8px);
  border-color: var(--morado-claro);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.28);
}

.card-icon,
.social-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.card h3,
.rank-card h3,
.social-card h3,
.price-card h3 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 12px;
  font-size: 1.35rem;
  position: relative;
  z-index: 2;
}

.card p,
.rank-card p,
.social-card p,
.price-card p {
  color: var(--texto);
  line-height: 1.7;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

.rank-card,
.social-card,
.price-card {
  text-align: center;
}

.rank-icon-img,
.price-icon,
.rank-mini-icon {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 26px rgba(139, 92, 246, 0.45);
  position: relative;
  z-index: 2;
}

.rank-icon-img {
  width: 110px;
  height: 110px;
  margin-bottom: 18px;
}

.price-icon {
  width: 95px;
  height: 95px;
  margin-bottom: 18px;
}

.price-icon.small {
  width: 72px;
  height: 72px;
  margin: 0;
}

.rank-mini-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
}

.rank-actions,
.price-actions {
  justify-content: center;
  margin-top: 22px;
  position: relative;
  z-index: 2;
}

.rank-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
}

.nebula-name {
  color: #22d3ee;
  text-shadow: 0 0 16px rgba(34, 211, 238, 0.75);
}

.supernova-name span:first-child {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.55);
}

.supernova-name span:last-child {
  color: #ef4444;
  text-shadow: 0 0 16px rgba(239, 68, 68, 0.8);
}

.astral-name {
  color: #a855f7;
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.85);
}

/* Beneficios */

.rank-sections {
  display: grid;
  gap: 35px;
}

.rank-detail {
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(192, 132, 252, 0.22);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.12);
}

.rank-header {
  padding: 28px;
  border-radius: 22px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  align-items: center;
  gap: 18px;
}

.rank-header h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  margin-bottom: 8px;
}

.rank-header p {
  color: var(--texto);
  line-height: 1.7;
}

.rank-header.nebula {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.26), rgba(0, 0, 0, 0.25));
}

.rank-header.nova {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.26), rgba(0, 0, 0, 0.25));
}

.rank-header.cosmic {
  background: linear-gradient(135deg, rgba(126, 34, 206, 0.38), rgba(0, 0, 0, 0.25));
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.benefit-box {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(0, 0, 0, 0.35));
  border: 1px solid rgba(192, 132, 252, 0.18);
  min-height: 190px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.benefit-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--morado), var(--morado-claro));
  opacity: 0.95;
}

.benefit-box:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 132, 252, 0.42);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.16);
}

.benefit-box:nth-child(1)::before {
  background: linear-gradient(90deg, #7c3aed, #c084fc);
}

.benefit-box:nth-child(2)::before {
  background: linear-gradient(90deg, #38bdf8, #93c5fd);
}

.benefit-box:nth-child(3)::before {
  background: linear-gradient(90deg, #f472b6, #c084fc);
}

.benefit-box:nth-child(4)::before {
  background: linear-gradient(90deg, #a78bfa, #e9d5ff);
}

.benefit-box:nth-child(5)::before {
  background: linear-gradient(90deg, #8b5cf6, #d8b4fe);
}

.benefit-box:nth-child(4) {
  grid-column: 2 / span 2;
}

.benefit-box:nth-child(5) {
  grid-column: 4 / span 2;
}

.benefit-box h4 {
  font-family: 'Orbitron', sans-serif;
  color: var(--blanco);
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.4;
}

.benefit-box ul {
  padding-left: 18px;
  color: var(--texto);
  display: grid;
  gap: 10px;
}

.benefit-box li {
  line-height: 1.5;
}

/* CTA */

.cta-box,
.buy-warning {
  text-align: center;
  padding: 45px 25px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(0, 0, 0, 0.4)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(192, 132, 252, 0.25);
}

.cta-box .btn {
  margin-top: 25px;
}

.buy-warning {
  max-width: 850px;
  margin: 0 auto;
  padding: 20px;
}

.buy-warning p {
  color: var(--texto);
  line-height: 1.7;
}

/* Redes */

.social-grid {
  grid-template-columns: repeat(2, 1fr);
}

.social-icon {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.social-card h3 {
  color: var(--morado-claro);
  font-size: 1.7rem;
}

.social-card p {
  margin-bottom: 24px;
}

/* Comprar */

.pricing-grid {
  align-items: stretch;
}

.pricing-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-grid-two {
  grid-template-columns: repeat(2, 1fr);
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.duration {
  margin-bottom: 12px;
  font-family: 'Orbitron', sans-serif;
}

.price {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem !important;
  color: var(--blanco) !important;
  text-shadow: 0 0 18px rgba(192, 132, 252, 0.75);
  margin: 8px 0 10px;
}

.permanent-card {
  min-height: 360px;
}

.featured-price {
  border-color: rgba(192, 132, 252, 0.6);
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.24);
}

.upgrade-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.upgrade-icons span,
.upgrade-arrow {
  color: var(--morado-claro);
  font-weight: 800;
}

/* Footer */

footer {
  border-top: 1px solid rgba(192, 132, 252, 0.18);
  background: rgba(0, 0, 0, 0.35);
  padding: 35px 25px;
  text-align: center;
  color: var(--texto);
}

footer strong {
  color: var(--morado-claro);
  font-family: 'Orbitron', sans-serif;
}

/* Responsive */

@media (max-width: 1050px) {
  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 0.82rem;
  }
}

@media (max-width: 950px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }

  .cards,
  .rank-showcase,
  .benefits-grid,
  .pricing-grid,
  .pricing-grid-three,
  .pricing-grid-two {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .nav-content {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0 5px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  .hero,
  .buy-hero {
    padding-top: 150px;
    text-align: center;
  }

  .hero-buttons,
  .rank-actions,
  .price-actions {
    justify-content: center;
  }

  .planet {
    width: 180px;
    height: 180px;
  }

  .planet::before {
    width: 270px;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .rank-detail {
    padding: 20px;
  }

  .rank-header {
    padding: 22px;
    flex-direction: column;
    text-align: center;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .copy-toast {
    left: 20px;
    right: 20px;
    text-align: center;
  }
}
/* Texto Nebula */
.text-nebula {
  color: #22dfff;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(34, 223, 255, 0.75);
}

/* Texto SuperNova */
.text-supernova {
  font-weight: 700;
}

.text-supernova .super {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.65);
}

.text-supernova .nova {
  color: #ff4d5f;
  text-shadow: 0 0 10px rgba(255, 77, 95, 0.75);
}

/* Texto Astral */
.text-astral {
  font-weight: 700;
  background: linear-gradient(
    90deg,
    #a855f7,
    #ffffff,
    #c084fc,
    #a855f7
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: astralText 3s ease-in-out infinite;
  text-shadow: 0 0 14px rgba(168, 85, 247, 0.45);
}

@keyframes astralText {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* =========================================================
   AJUSTES RESPONSIVE EXTRA - AstralUniverse
   Soluciona tarjetas que se salen en celular y mejora botones.
   ========================================================= */

h1,
h2,
h3,
p,
li,
a,
button,
.price,
.rank-name {
  overflow-wrap: anywhere;
}

.nav-content {
  gap: 18px;
}

.nav-links a {
  white-space: nowrap;
}

.benefits-grid {
  align-items: stretch;
}

.benefit-box {
  display: flex;
  flex-direction: column;
}

.benefit-box ul {
  flex: 1;
}

.price-actions,
.rank-actions,
.hero-buttons {
  justify-content: center;
}

.price-actions .btn,
.rank-actions .btn {
  min-width: 135px;
}

.btn,
button {
  max-width: 100%;
}

.upgrade-card h3 {
  line-height: 1.45;
}

@media (max-width: 950px) {
  section,
  .buy-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-box,
  .benefit-box:nth-child(4),
  .benefit-box:nth-child(5) {
    grid-column: auto !important;
  }

  .pricing-grid,
  .pricing-grid-three,
  .pricing-grid-two,
  .cards,
  .rank-showcase,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .price-card,
  .rank-card,
  .card,
  .social-card {
    width: 100%;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 110px;
  }

  .navbar {
    max-height: 100vh;
    overflow-y: auto;
  }

  .nav-content {
    align-items: center;
  }

  .logo {
    font-size: 1.15rem;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .nav-links {
    gap: 10px;
    padding: 16px 0 8px;
  }

  .nav-links a,
  .nav-links .btn-nav {
    width: 100%;
    text-align: center;
    padding: 13px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(192, 132, 252, 0.12);
  }

  .nav-links .btn-nav {
    background: linear-gradient(135deg, var(--morado), var(--morado-claro));
  }

  .hero,
  .buy-hero {
    padding-top: 130px;
  }

  .hero-text h1,
  .buy-hero h1 {
    font-size: clamp(2.05rem, 12vw, 3.2rem);
  }

  .section-title h2,
  .cta-box h2 {
    font-size: clamp(1.75rem, 9vw, 2.45rem);
  }

  .section-title {
    margin-bottom: 34px;
  }

  .hero-card,
  .rank-detail,
  .cta-box,
  .buy-warning {
    border-radius: 22px;
  }

  .rank-header {
    gap: 14px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .benefit-box {
    min-height: auto;
    padding: 20px;
  }

  .benefit-box h4 {
    font-size: 0.98rem;
  }

  .benefit-box ul {
    padding-left: 20px;
  }

  .price-actions,
  .rank-actions,
  .hero-buttons {
    width: 100%;
  }

  .price-actions .btn,
  .price-actions button,
  .rank-actions .btn,
  .hero-buttons .btn {
    width: 100%;
    min-width: 0;
  }

  .price-card {
    padding: 26px 20px;
  }

  .price {
    font-size: 2rem !important;
  }

  .upgrade-icons {
    gap: 10px;
  }

  .price-icon.small {
    width: 58px;
    height: 58px;
  }

  .copy-toast {
    top: 88px;
  }
}

@media (max-width: 430px) {
  section,
  .buy-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo {
    font-size: 1rem;
  }

  .hero-card,
  .card,
  .rank-card,
  .social-card,
  .price-card,
  .rank-detail,
  .cta-box,
  .buy-warning {
    padding-left: 18px;
    padding-right: 18px;
  }

  .rank-icon-img {
    width: 92px;
    height: 92px;
  }

  .price-icon {
    width: 82px;
    height: 82px;
  }

  .rank-mini-icon {
    width: 64px;
    height: 64px;
  }

  .ip-box {
    font-size: 0.78rem;
  }
}


/* =========================================================
   PANEL ADMIN + JSON DINÁMICO
   ========================================================= */

.inherit-note {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--morado-claro);
  color: var(--texto);
  line-height: 1.6;
}

.admin-body {
  min-height: 100vh;
  padding: 120px 20px 50px;
}

.admin-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.admin-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(192, 132, 252, 0.22);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.16);
  margin-bottom: 24px;
}

.admin-card h1,
.admin-card h2,
.admin-card h3 {
  font-family: 'Orbitron', sans-serif;
}

.admin-card p {
  color: var(--texto);
  line-height: 1.7;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.admin-full {
  grid-column: 1 / -1;
}

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field label {
  color: var(--blanco);
  font-weight: 700;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(192, 132, 252, 0.25);
  background: rgba(0, 0, 0, 0.42);
  color: var(--blanco);
  font-family: 'Poppins', sans-serif;
  outline: none;
}

.admin-field textarea {
  min-height: 150px;
  resize: vertical;
}

.admin-help {
  font-size: 0.9rem;
  color: var(--texto);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.admin-status {
  color: var(--morado-claro);
  font-weight: 700;
  margin-top: 14px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.admin-tab {
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(192, 132, 252, 0.18);
  color: var(--texto);
  cursor: pointer;
}

.admin-tab.active {
  color: var(--blanco);
  background: linear-gradient(135deg, var(--morado), var(--morado-claro));
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.35);
}

.login-box {
  width: min(480px, 100%);
  margin: 0 auto;
}

@media (max-width: 760px) {
  .admin-body {
    padding-top: 105px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-card {
    padding: 20px;
  }

  .admin-actions .btn {
    width: 100%;
  }
}


/* =========================================================
   EDITOR DE BENEFICIOS INDIVIDUALES
   ========================================================= */

.rank-general-fields {
  margin-bottom: 26px;
}

.benefit-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.benefit-category-editor {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(192, 132, 252, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(0, 0, 0, 0.28));
}

.benefit-category-editor:first-child {
  grid-column: 1 / -1;
}

.benefit-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(192, 132, 252, 0.15);
  background: rgba(139, 92, 246, 0.08);
}

.benefit-category-header h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.benefit-category-header p {
  margin: 0;
  font-size: 0.86rem;
}

.benefit-count {
  color: var(--morado-claro);
  font-weight: 800;
}

.benefit-category-header .btn {
  flex: 0 0 auto;
  padding: 10px 15px;
  font-size: 0.86rem;
}

.benefit-editor-list {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.benefit-editor-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 12px;
  border-radius: 15px;
  border: 1px solid rgba(192, 132, 252, 0.16);
  background: rgba(0, 0, 0, 0.28);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.benefit-editor-item:focus-within {
  transform: translateY(-2px);
  border-color: rgba(192, 132, 252, 0.52);
  background: rgba(139, 92, 246, 0.08);
}

.benefit-editor-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--morado), var(--morado-claro));
  color: var(--blanco);
  font-weight: 800;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.32);
}

.benefit-single-input {
  width: 100%;
  min-height: 84px;
  padding: 11px 12px;
  resize: vertical;
  border-radius: 11px;
  border: 1px solid rgba(192, 132, 252, 0.2);
  background: rgba(5, 0, 8, 0.62);
  color: var(--blanco);
  font-family: 'Poppins', sans-serif;
  line-height: 1.55;
  outline: none;
}

.benefit-single-input:focus {
  border-color: var(--morado-claro);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.benefit-item-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.benefit-mini-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(192, 132, 252, 0.18);
  background: rgba(255, 255, 255, 0.055);
  color: var(--blanco);
  cursor: pointer;
  transition: 0.2s ease;
}

.benefit-mini-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--morado-claro);
  background: rgba(139, 92, 246, 0.18);
}

.benefit-mini-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.benefit-mini-button.danger {
  color: #ff8c98;
}

.benefit-mini-button.danger:hover {
  border-color: #ff4d5f;
  background: rgba(255, 77, 95, 0.12);
}

.benefit-empty {
  display: grid;
  gap: 5px;
  padding: 22px;
  border-radius: 14px;
  border: 1px dashed rgba(192, 132, 252, 0.25);
  text-align: center;
  color: var(--texto);
}

.benefit-empty strong {
  color: var(--blanco);
}

.price-admin-card {
  margin: 0;
}

.admin-status[data-type="success"] {
  color: #86efac;
}

.admin-status[data-type="warning"] {
  color: #fde68a;
}

.admin-status[data-type="error"] {
  color: #fda4af;
}

@media (max-width: 900px) {
  .benefit-category-grid {
    grid-template-columns: 1fr;
  }

  .benefit-category-editor:first-child {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .benefit-category-header {
    align-items: stretch;
    flex-direction: column;
  }

  .benefit-category-header .btn {
    width: 100%;
  }

  .benefit-editor-item {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .benefit-editor-number {
    width: 30px;
    height: 30px;
  }

  .benefit-item-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-end;
  }

  .benefit-mini-button {
    width: 42px;
    height: 34px;
  }
}


/* =========================================================
   EDITOR DE BENEFICIOS - DISEÑO CLARO
   Corrige el ancho reducido causado por los estilos globales
   y muestra cada beneficio de forma legible.
   ========================================================= */

#benefitsEditor {
  width: 100%;
}

.benefit-category-grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.benefit-category-editor {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.benefit-category-editor:first-child {
  grid-column: 1 / -1;
}

.benefit-category-header {
  padding: 18px 20px;
}

.benefit-editor-list {
  gap: 14px;
  padding: 18px;
}

.benefit-editor-item {
  display: block;
  width: 100%;
  padding: 15px;
}

.benefit-item-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.benefit-item-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.benefit-item-title strong {
  color: var(--blanco);
  font-size: 0.95rem;
}

.benefit-editor-number {
  flex: 0 0 auto;
}

.benefit-item-actions {
  display: flex;
  flex-direction: row;
  gap: 7px;
  flex: 0 0 auto;
}

.benefit-mini-button {
  width: 36px;
  height: 34px;
}

.benefit-single-input {
  display: block;
  width: 100%;
  min-height: 72px;
  overflow-y: hidden;
  resize: none;
  font-size: 0.91rem;
  line-height: 1.6;
}

.benefit-live-preview {
  margin-top: 11px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid rgba(192, 132, 252, 0.14);
  background: rgba(139, 92, 246, 0.055);
}

.benefit-preview-label {
  display: block;
  margin-bottom: 6px;
  color: var(--morado-claro);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.benefit-preview-content {
  color: var(--texto);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.benefit-preview-empty {
  color: #8f879d;
  font-style: italic;
}

@media (max-width: 1050px) {
  .benefit-category-grid {
    grid-template-columns: 1fr;
  }

  .benefit-category-editor:first-child {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .benefit-item-heading {
    align-items: flex-start;
  }

  .benefit-item-actions {
    margin-left: auto;
  }

  .benefit-editor-item {
    padding: 13px;
  }

  .benefit-live-preview {
    padding: 11px 12px;
  }
}


/* GRAN ACTUALIZACIÓN */
.hero-server-icon{display:block;width:min(310px,82%);aspect-ratio:1;object-fit:contain;margin:0 auto 22px;filter:drop-shadow(0 0 28px rgba(168,85,247,.65));animation:float 4s ease-in-out infinite}.buy-hero{text-align:center}.buy-hero-icon{display:block;width:min(230px,55vw);margin:0 auto 25px;filter:drop-shadow(0 0 30px rgba(168,85,247,.5))}.contact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:25px}.contact-card,.help-express,.update-card,.coming-soon-card{padding:26px;border-radius:22px;background:rgba(255,255,255,.055);border:1px solid rgba(192,132,252,.22)}.contact-card h3{font-family:Orbitron,sans-serif;margin-bottom:10px}.contact-card a{color:var(--morado-claro);overflow-wrap:anywhere}.help-express{display:grid;grid-template-columns:.8fr 1.2fr;gap:30px;align-items:start}.help-express h3{font-family:Orbitron,sans-serif;font-size:1.7rem;margin:12px 0}.help-express p{color:var(--texto);line-height:1.7}.help-form,.help-form label{display:grid;gap:9px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.help-form input,.help-form textarea{width:100%;padding:13px 14px;border:1px solid rgba(192,132,252,.3);border-radius:12px;background:rgba(0,0,0,.42);color:white;font:inherit;outline:none}.help-form input:focus,.help-form textarea:focus{border-color:var(--morado-claro);box-shadow:0 0 0 3px rgba(139,92,246,.13)}.help-form small{color:var(--texto);text-align:right}.help-form small.over{color:#fda4af}.form-status{font-weight:700}.form-status.success{color:#86efac}.form-status.error{color:#fda4af}.inherit-note{margin:0 0 22px;padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.06);border-left:4px solid var(--morado-claro);color:var(--texto);line-height:1.6}.benefit-stars{color:#fff200;font-weight:700;letter-spacing:2px}.benefit-dust{color:#22dfff;font-weight:700}.benefit-command{color:#c084fc;font-weight:700}.benefit-plus{color:#86efac;font-weight:700}.benefit-party{color:#f472b6;font-weight:700}.benefit-members{color:#7dd3fc;font-weight:700}.benefit-coins{color:#ffd700;font-weight:700}.coming-soon-card{grid-column:1/-1;text-align:center}.coming-soon-card h3{font-family:Orbitron,sans-serif;color:var(--morado-claro);margin-bottom:10px}.updates-hero{max-width:1100px;margin:auto;padding:155px 25px 40px;text-align:center}.updates-hero h1{font-family:Orbitron,sans-serif;font-size:clamp(2.5rem,7vw,5rem);color:var(--morado-claro);text-shadow:0 0 25px rgba(192,132,252,.75)}.updates-hero p{color:var(--texto);margin-top:15px}.updates-section{padding-top:35px}.update-filters{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:30px}.update-filters button{padding:11px 17px;border-radius:999px;border:1px solid rgba(192,132,252,.25);background:rgba(255,255,255,.05);color:var(--texto);cursor:pointer;font:inherit}.update-filters button.active{color:white;background:linear-gradient(135deg,var(--morado),var(--morado-claro));box-shadow:0 0 20px rgba(139,92,246,.35)}.updates-list{display:grid;gap:20px;max-width:950px;margin:auto}.update-card{position:relative;overflow:hidden}.update-card:before{content:"";position:absolute;left:0;top:0;width:5px;height:100%;background:var(--morado-claro)}.update-card.category-survival:before{background:#f472b6}.update-card.category-skyblock:before{background:#7dd3fc}.update-card.category-partygames:before{background:#8b5cf6}.update-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:var(--texto);font-size:.85rem}.update-meta span,.update-meta b{padding:5px 10px;border-radius:999px;background:rgba(139,92,246,.12);color:var(--morado-claro)}.update-card h2{font-family:Orbitron,sans-serif;margin:15px 0 10px}.update-card p,.update-card li,.update-card small{color:var(--texto);line-height:1.7}.update-card ul{padding-left:22px;margin:12px 0}.loading-card{text-align:center;padding:30px;border:1px dashed rgba(192,132,252,.3);border-radius:18px;color:var(--texto)}
@media(max-width:760px){.contact-grid,.help-express,.form-row{grid-template-columns:1fr}.hero-server-icon{width:min(240px,78%)}.update-meta{align-items:flex-start;flex-direction:column}.pricing-grid{grid-template-columns:1fr!important}}
