.membership-section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1400px;
  margin: auto;
}

.membership-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.toggle-buttons {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 40px;
}

.toggle {
  padding: 0.6rem 1.2rem;
  background-color: var(--midder-gray);
  color: var(--white);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.toggle:hover {
  background-color: var(--mid-gray);
}

.toggle.active {
  background-color: var(--red);
  color: var(--white);
}

/* Membership Cards */
.membership-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.membership-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, rgba(25,25,25,0.9), rgba(10,10,10,0.9));
  padding: 28px;
  border-radius: 14px;
  width: 100%;
  max-width: 250px;
  border: 2px solid #2a2a2a;
  transition: all 0.3s ease-in-out;
  border: 2px solid var(--mid-gray);
  min-height: 400px;
}

.membership-card:hover {
  transform: translateY(-6px);
}

.membership-card.current {
  border: 2px solid #444;
  box-shadow: none;
  opacity: 0.7;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-price {
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 16px;
}

.features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--light-gray);
}

.features li {
  padding: 6px 0;
}

/* Plan Button */
.plan-button {
  width: 100%;
  padding: 10px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  background: var(--red);
  color: white;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.plan-button:hover {
  opacity: 0.8;
}

.plan-button.current {
  background-color: #444;
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Disclaimer */
.disclaimer {
  margin-top: 40px;
  color: var(--light-gray);
  font-size: 13px;
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

/* Payment Methods */
.payment-methods {
  margin-top: 50px;
  text-align: center;
}

.payment-methods h3 {
  color: var(--light-gray);
  margin-bottom: 15px;
  font-weight: 500;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.payment-icons .material-symbols-outlined {
  font-size: 36px;
  color: white;
  background: var(--darker-gray);
  border-radius: 50%;
  padding: 10px;
  transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .membership-cards {
    flex-direction: column;
    align-items: center;
  }

  .membership-card {
    max-width: 100%;
  }
}

.features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--light-gray);
}

.features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.material-symbols-outlined {
  font-size: 18px;
  color: var(--red);
}

.features {
  flex-grow: 1;
}

.membership-card.current {
  border: 2px solid #444;
  box-shadow: none;
  opacity: 0.7;
}

.membership-card.basic {
  position: relative;
  background: linear-gradient(145deg, rgba(25,25,25,0.9), rgba(10,10,10,0.9));
  padding: 28px;
  border-radius: 14px;
  width: 100%;
  max-width: 250px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-clip: padding-box;
  border: 2px solid transparent;
  background-image:
    linear-gradient(145deg, rgba(25,25,25,0.9), rgba(10,10,10,0.9)), /* inner fill */
    linear-gradient(to right, #ff3b3b, #ff6b6b);                    /* gradient border */
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #ff3b3b, #ff6b6b);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  z-index: 2;
}