@import url("./navbar.css");

/* ================= BASE ================= */

body {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  background: url("../assets/backgrounds/aura2.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #fff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.10);
  z-index: -1;
}

/* ================= CONTAINER ================= */

.main-container {
  max-width: 1100px;
  margin: 30px auto; /* 🔥 SUBIDO */
  padding: 20px;
  text-align: center;
}

/* ================= TITLES ================= */

.title {
  font-size: 2.5em;
  color: #ffd700;
  text-shadow: 0 0 20px #4e62e0;
  margin-bottom: 10px; /* 🔥 menos espacio */
}

.subtitle {
  color: #ccc;
  margin-bottom: 25px; /* 🔥 antes 40 */
}

/* ================= BONUS ================= */

.bonus-box {
  margin: 15px auto; /* 🔥 más arriba */
  padding: 15px;
  max-width: 500px;
  text-align: center;

  background: linear-gradient(90deg, #ffd70022, #ff990022);
  border: 1px solid #ffd700;
  border-radius: 12px;

  box-shadow: 0 0 15px rgba(255,215,0,0.3);
  animation: glowBonus 2s infinite alternate;
}

.bonus-box h3 {
  color: #ffd700;
  margin-bottom: 8px;
  text-shadow: 0 0 10px #ffd700;
}

.bonus-box p {
  color: #fff;
  font-size: 1.1em;
}

.bonus-box span {
  color: #ffd700;
  font-weight: bold;
  font-size: 1.2em;
}

/* ================= SHOP ================= */

.shop-grid {
  margin-top: 10px; /* 🔥 nuevo */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
}

/* PACK */
.pack {
  background: rgba(20,20,40,0.7);
  backdrop-filter: blur(10px);

  border-radius: 16px;
  padding: 25px;

  border: 1px solid rgba(120,120,255,0.2);
  box-shadow: 0 0 15px rgba(80,80,255,0.2);

  transition: 0.3s;
  position: relative;
}

.pack:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 30px rgba(120,120,255,0.4);
}

/* texto */
.pack h3 {
  font-size: 1.8em;
  color: #ffd700;
}

.points {
  font-size: 1.2em;
  color: #7aa2ff;
}

/* highlight */
.pack.highlight {
  border: 2px solid #ffd700;
  box-shadow: 0 0 30px rgba(255,215,0,0.4);
}

/* premium */
.pack.premium {
  border: 2px solid #ff6a00;
}

/* badges */
.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ffd700;
  color: #000;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.8em;
}

.badge.gold {
  background: #ff6a00;
  color: #fff;
}

/* ================= CTA ================= */

.donate-cta {
  margin-top: 30px; /* 🔥 ajustado */
}

.how-donate-title {
  background: linear-gradient(90deg, #ffd700, #fff3a0, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-align: center;
  font-size: 1.8em;
  font-weight: bold;
  letter-spacing: 1px;

  text-shadow: 0 0 10px rgba(255,215,0,0.6);
}

.discord-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 14px 28px;

  border-radius: 14px;
  background: linear-gradient(90deg,#5865F2,#7289DA);

  color: white;
  text-decoration: none;
  font-weight: bold;

  box-shadow: 0 0 20px rgba(88,101,242,0.5);
  transition: 0.2s;
}

.discord-btn:hover {
  transform: scale(1.05);
}

/* ================= PAYMENT ================= */

.payment-methods {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px; /* 🔥 equilibrado */
}

/* BASE */
.payment-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 180px;
  height: 180px;

  border-radius: 18px;
  text-decoration: none;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);

  backdrop-filter: blur(10px);

  transition: 0.25s;
  overflow: hidden;
}

/* LOGO */
.payment-btn img {
  width: 90px;
  height: auto;
  margin-bottom: 10px;
  transition: 0.25s;
}

/* TEXTO */
.payment-btn span {
  color: #ddd;
  font-size: 0.9em;
  letter-spacing: 1px;
}

/* ACTIVO (Ko-fi) */
.payment-btn.active {
  background: linear-gradient(135deg, #ff5f5f, #ff9966);
  border: none;
  box-shadow: 0 0 20px rgba(255,100,100,0.5);
}

.payment-btn.active span {
  color: white;
  font-weight: bold;
}

.payment-btn.active:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 30px rgba(255,100,100,0.9);
}

/* glow */
.payment-btn.active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: 0 0 25px rgba(255,100,100,0.6);
  opacity: 0;
  transition: 0.3s;
}

.payment-btn.active:hover::after {
  opacity: 1;
}

/* disabled */
.payment-btn.disabled {
  opacity: 0.4;
  filter: grayscale(1);
  cursor: not-allowed;
}

.payment-btn.disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ================= MODAL ================= */

.donate-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 999;
}

.donate-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background: rgba(30,30,60,0.95);
  border: 1px solid #ffd700;
  border-radius: 16px;

  padding: 30px;
  text-align: center;
  width: 320px;

  box-shadow: 0 0 25px rgba(255,215,0,0.3);
}

.donate-modal h3 {
  color: #ffd700;
}

.donate-modal p {
  color: #ddd;
  font-size: 0.95em;
}

/* botones */
.modal-buttons button {
  padding: 10px 18px;
  margin: 5px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.modal-buttons button:first-child {
  background: linear-gradient(90deg,#ff5f5f,#ff9966);
  color: white;
}

.modal-buttons .cancel {
  background: #444;
  color: #ccc;
}

/* animación bonus */
@keyframes glowBonus {
  0% { box-shadow: 0 0 10px rgba(255,215,0,0.2); }
  100% { box-shadow: 0 0 25px rgba(255,215,0,0.6); }
}
/* 💎 BONUS VISUAL EN PACKS */

.points {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 1.2em;
}

/* valor original tachado */
.points .old {
  text-decoration: line-through;
  color: #aaa;
  font-size: 0.9em;
}

/* flecha */
.points .arrow {
  color: #ffd700;
}

/* valor final (IMPORTANTE) */
.points .bonus {
  color: #ffd700;
  font-weight: bold;
  text-shadow: 0 0 10px #ffd700;
  font-size: 1.1em;
}
