/* ============================================================
   MyGameList — Page abonnement Pro / Pro+
   Mobile-first. Clair/sombre via variables base.css.
   ============================================================ */

/* ── Hero ── */
.pro-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-flash) 100%);
  padding: 40px 0 32px;
  text-align: center;
}
.pro-hero .section-label {
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.12em;
}
.pro-hero-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 8px 0 12px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.pro-hero-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Grille des plans (mobile-first : empilés) ── */
.pro-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .pro-plans { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ── Carte plan (glassmorphism léger) ── */
.pro-plan {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.pro-plan--plus {
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(79, 70, 229, 0.22);
}
.pro-plan--plus::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.5px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.pro-plan-head { text-align: center; }

/* ── Badges PRO / PRO+ — couleurs pilotées par base.css (source unique) ── */
.pro-plan-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 6px;
  padding: 4px 12px;
}
.pro-plan-badge--pro  { background: var(--pro-badge-bg);      color: var(--pro-badge-text); }
.pro-plan-badge--plus { background: var(--pro-plus-badge-bg); color: var(--pro-plus-badge-text); }

.pro-plan-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin: 12px 0 16px;
  min-height: 34px;
}

/* ── Prix (les deux périodicités affichées) ── */
.pro-plan-prices {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 18px;
}
.pro-price { display: flex; flex-direction: column; align-items: center; }
.pro-price--year { opacity: 0.85; }
.pro-price-amount {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}
.pro-price--year .pro-price-amount { font-size: 22px; }
.pro-price-period { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
/* Prix « normal » (12 mois au tarif mensuel), barré, au-dessus du prix annuel. */
.pro-price-strike {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  line-height: 1.1;
  margin-bottom: 1px;
}
/* Pastille d'économie réalisée avec l'engagement annuel. */
.pro-price-save {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
  opacity: 1;            /* contrer l'atténuation de .pro-price--year */
}
[data-theme="dark"] .pro-price-save { background: rgba(22, 163, 74, 0.22); color: #4ade80; }

/* ── Liste d'avantages ── */
.pro-feat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pro-feat-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.pro-feat-list li i { color: var(--blue-flash); font-size: 18px; flex-shrink: 0; }
.pro-plan--plus .pro-feat-list li i { color: #7c3aed; }
.pro-feat-all { font-weight: 700; }
.pro-feat-soon {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: #9ca3af;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 2px;
}

/* ── CTA (désactivé : paiement pas encore câblé) ── */
.pro-cta {
  width: 100%;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border: none;
  color: #fff;
  font-weight: 700;
  opacity: 0.65;
  cursor: not-allowed;
}
.pro-cta--plus { background: linear-gradient(135deg, #7c3aed, #4f46e5); }

.pro-cta-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 22px auto 0;
  line-height: 1.6;
}
.pro-cta-note i { color: var(--blue-flash); }
