/* ==========================================================================
   Membresía – Glassmorphism, SaaS/Web3, diseño por requisitos
   - Imagen de fondo full cover
   - Card glassmorphism centrada
   - Dos columnas: badge/acciones + contenido
   ========================================================================== */

body.page-membresia .section {
  min-height: auto !important;
}

.membresia-page {
  padding: calc(var(--header-total, 120px) + var(--space-2xl)) var(--space-md) var(--space-2xl);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Fondo de la sección (sin foto) */
.membresia-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #f0f4f9 0%, #e8eef6 50%, #f5f8fc 100%);
}

.membresia-wrap {
  max-width: min(94%, 960px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

.membresia__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin: 0 0 var(--space-xl);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.membresia__title-accent {
  color: var(--accent);
  position: relative;
}

/* Card principal – imagen ethbg.jpg + overlay negro */
.membresia-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background-image: url("../img/ethbg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membresia-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  pointer-events: none;
  z-index: 0;
}

.membresia-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(14, 45, 80, 0.08);
}

/* Layout dos columnas */
.membresia-card__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 320px;
}

@media (min-width: 768px) {
  .membresia-card__grid {
    grid-template-columns: 280px 1fr;
  }
}

/* Columna izquierda – glassmorphism */
.membresia-card__left {
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  justify-content: center;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .membresia-card__left {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* Badge – glassmorphism centrado */
.membresia-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.membresia-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.membresia-badge__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}

.membresia-badge__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin: 0;
}

/* Columna derecha – glassmorphism */
.membresia-card__right {
  position: relative;
  min-height: 200px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.membresia-card__content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

@media (min-width: 768px) {
  .membresia-card__content {
    padding: var(--space-xl) var(--space-2xl);
  }
}

.membresia-card__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 var(--space-md);
  font-weight: 500;
}

.membresia-card__text:last-child {
  margin-bottom: 0;
}

.membresia-card__text strong {
  color: #fff;
  font-weight: 600;
}
