body {
  font-family: 'Segoe UI', sans-serif;
  background: #111;
  color: #eee;
  margin: 0;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

main.memberships {
  max-width: 1000px;
  text-align: center;
}

.memberships h1 {
  font-size: 2.2rem;
  margin-bottom: 0.3rem;
}

.memberships .muted {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.tier {
  background: #1b1b1b;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.5rem;
  width: 280px;
  text-align: center;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tier-title {
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
}

.tier-title.user {
  color: #00ccff;
}
.tier-title.admin {
  color: #ff8800;
}
.tier-title.system {
  color: #ff3366;
}

.badge-preview {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 1.2rem;
  margin: 0.5rem 0 1rem 0;
  color: #0f0;
}

.perks {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
}

.perks li {
  margin: 0.4rem 0;
  padding-left: 1rem;
  position: relative;
}

.perks li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00ccff;
}

.subscribe-btn {
  background: #222;
  color: #eee;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subscribe-btn:hover {
  background: #333;
  border-color: #00ccff;
  color: #00ccff;
}

.subscribe-btn:active {
  transform: scale(0.96);
}

/* 🔥 Active Membership Banner */
#active-membership {
  background: radial-gradient(circle at center, rgba(255, 0, 60, 0.15), rgba(0, 0, 0, 0.8));
  border: 1px solid #ff3366;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(255, 50, 100, 0.4);
  text-align: center;
  animation: glow 2.5s infinite alternate;
}

#active-membership h2 {
  color: #ff3366;
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
}

#active-membership p {
  color: #ccc;
  font-size: 1rem;
  margin: 0.4rem 0;
}

#active-membership .badge {
  font-size: 2.2rem;
  display: inline-block;
  margin: 0.5rem 0;
}

#active-membership .manage-btn {
  background: #ff3366;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  margin-top: 0.8rem;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 50, 100, 0.7);
  transition: all 0.2s ease;
}

#active-membership .manage-btn:hover {
  background: #ff4d6a;
  box-shadow: 0 0 20px rgba(255, 70, 120, 0.9);
}

.hidden {
  display: none;
}

@keyframes glow {
  from { box-shadow: 0 0 10px rgba(255, 60, 100, 0.3); }
  to   { box-shadow: 0 0 25px rgba(255, 60, 100, 0.7); }
}

.badge-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 12px;
}

.badge-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.15));
  transition: transform 0.2s ease, filter 0.3s ease;
}

.badge-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(80,180,255,0.4));
}
