/* ============================================================ */
/* CLUB VIP ZOORIGEN - Estilos del área privada y landing        */
/* Paleta Zoorigen: verde bosque + ámbar + naranja jirafa        */
/* ============================================================ */

:root {
  --zoo-green-900: #1F5F3A;
  --zoo-green-800: #174528;
  --zoo-green-700: #2f7a4f;
  --zoo-green-500: #6FBF73;
  --zoo-green-400: #97d89b;
  --zoo-amber: #E8A317;
  --zoo-amber-hover: #F4B942;
  --zoo-orange: #D55A28;
  --zoo-blue: #2AA4D5;
  --zoo-bg-dark: #0E1F14;
  --zoo-bg-darker: #0A1710;
  --zoo-bg-card: #14281B;
  --zoo-bg-card-hover: #1A3423;
  --zoo-border: rgba(111,191,115,0.18);
  --zoo-border-strong: rgba(111,191,115,0.35);
  --zoo-text: #ffffff;
  --zoo-text-muted: rgba(255,255,255,0.68);
  --zoo-text-dim: rgba(255,255,255,0.45);
  --zoo-radius: 14px;
  --zoo-radius-sm: 10px;
  --zoo-radius-lg: 20px;
  --zoo-shadow: 0 12px 32px rgba(0,0,0,0.3);
  --zoo-font-heading: 'Poppins', sans-serif;
  --zoo-font-body: 'Open Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--zoo-font-body);
  background: var(--zoo-bg-dark);
  color: var(--zoo-text);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 { font-family: var(--zoo-font-heading); margin: 0; font-weight: 700; color: var(--zoo-text); }
p { line-height: 1.7; color: var(--zoo-text-muted); margin: 0; }

/* ============ LAYOUT DASHBOARD ============ */
.club-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

/* ---------- SIDEBAR ---------- */
.club-sidebar {
  background: var(--zoo-bg-darker);
  border-right: 1px solid var(--zoo-border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.club-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 20px;
  border-bottom: 1px solid var(--zoo-border);
  margin-bottom: 16px;
}
.club-sidebar__brand img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--zoo-green-500);
}
.club-sidebar__brand-text h3 {
  font-size: 1rem;
  color: var(--zoo-text);
  line-height: 1.1;
  margin: 0;
}
.club-sidebar__brand-text small {
  color: var(--zoo-green-500);
  font-size: .78rem;
  font-weight: 600;
}
.club-sidebar__section {
  color: var(--zoo-text-dim);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 12px 10px 8px;
  font-weight: 700;
}
.club-sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--zoo-radius-sm);
  color: var(--zoo-text-muted);
  font-size: .94rem;
  font-weight: 500;
  transition: all .2s;
}
.club-sidebar a:hover {
  background: rgba(111,191,115,0.08);
  color: var(--zoo-text);
}
.club-sidebar a.is-active {
  background: var(--zoo-green-900);
  color: var(--zoo-text);
  font-weight: 600;
}
.club-sidebar a .icon { width: 20px; text-align: center; font-size: 1rem; }
.club-sidebar a .badge {
  margin-left: auto;
  background: var(--zoo-amber);
  color: #1f1d17;
  font-size: .72rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
}
.club-sidebar__plan {
  margin-top: auto;
  background: rgba(111,191,115,0.08);
  border: 1px solid var(--zoo-border);
  padding: 14px;
  border-radius: var(--zoo-radius-sm);
}
.club-sidebar__plan .plan-label {
  color: var(--zoo-green-500);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}
.club-sidebar__plan .plan-name {
  color: var(--zoo-text);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 4px;
}
.club-sidebar__plan .plan-meta {
  color: var(--zoo-text-dim);
  font-size: .8rem;
  margin-top: 2px;
}
.club-sidebar__plan .plan-logout {
  display: block;
  margin-top: 10px;
  color: var(--zoo-text-dim);
  font-size: .82rem;
  text-align: center;
  padding: 6px;
  border-radius: 6px;
  transition: all .2s;
}
.club-sidebar__plan .plan-logout:hover { color: var(--zoo-orange); background: rgba(213,90,40,0.1); }

/* ---------- MAIN ---------- */
.club-main {
  padding: 28px 36px;
  max-width: 100%;
  overflow-x: hidden;
}
.club-main__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}
.club-main__greeting h1 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}
.club-main__greeting h1 .accent { color: var(--zoo-green-500); }
.club-main__greeting .date {
  color: var(--zoo-text-dim);
  font-size: .88rem;
}
.streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,163,23,0.12);
  color: var(--zoo-amber);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  margin-top: 10px;
}
.notif-icon {
  width: 44px; height: 44px;
  background: var(--zoo-bg-card);
  border: 1px solid var(--zoo-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
}
.notif-icon::after {
  content: '';
  position: absolute;
  top: 10px; right: 12px;
  width: 8px; height: 8px;
  background: var(--zoo-orange);
  border-radius: 50%;
  border: 2px solid var(--zoo-bg-dark);
}

/* ---------- STATUS BANNER ---------- */
.status-banner {
  background: rgba(232,163,23,0.1);
  border: 1px solid rgba(232,163,23,0.35);
  color: var(--zoo-amber);
  padding: 12px 18px;
  border-radius: var(--zoo-radius-sm);
  font-size: .92rem;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-banner.active {
  background: rgba(111,191,115,0.1);
  border-color: rgba(111,191,115,0.35);
  color: var(--zoo-green-500);
}
.status-banner.cancelled {
  background: rgba(213,90,40,0.1);
  border-color: rgba(213,90,40,0.4);
  color: var(--zoo-orange);
}

/* ---------- LAYOUT DASHBOARD GRID ---------- */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 22px;
}
.dashboard-main { display: flex; flex-direction: column; gap: 16px; }
.dashboard-aside { display: flex; flex-direction: column; gap: 14px; }

/* ---------- CARDS ---------- */
.card {
  background: var(--zoo-bg-card);
  border: 1px solid var(--zoo-border);
  border-radius: var(--zoo-radius);
  padding: 18px 20px;
}
.card-resume {
  background: linear-gradient(90deg, rgba(31,95,58,0.45), rgba(31,95,58,0.12));
  border: 1px solid var(--zoo-border-strong);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}
.card-resume__icon {
  width: 56px; height: 56px;
  border-radius: var(--zoo-radius-sm);
  background: var(--zoo-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
}
.card-resume__text { flex: 1; }
.card-resume__eyebrow {
  color: var(--zoo-green-500);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}
.card-resume__title {
  color: var(--zoo-text);
  font-size: 1.04rem;
  font-weight: 600;
  margin-top: 2px;
}
.card-resume__meta {
  color: var(--zoo-text-dim);
  font-size: .84rem;
  margin-top: 2px;
}
.card-resume__action {
  background: var(--zoo-amber);
  color: #1f1d17;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  transition: all .2s;
}
.card-resume__action:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* Promo VIP inline */
.card-promo {
  background: rgba(213,90,40,0.08);
  border: 1px solid rgba(213,90,40,0.25);
  display: flex;
  align-items: center;
  gap: 14px;
}
.card-promo__icon {
  width: 44px; height: 44px;
  background: rgba(213,90,40,0.25);
  border-radius: var(--zoo-radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.card-promo__text { flex: 1; }
.card-promo__title { color: var(--zoo-text); font-weight: 600; font-size: .96rem; }
.card-promo__subtitle { color: var(--zoo-text-dim); font-size: .84rem; margin-top: 2px; }
.card-promo__badge {
  background: var(--zoo-amber);
  color: #1f1d17;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: .84rem;
  font-weight: 700;
}

/* ---------- SECTIONS ---------- */
.section-title {
  color: var(--zoo-text);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.section-title .see-all {
  margin-left: auto;
  color: var(--zoo-green-500);
  font-size: .84rem;
  font-weight: 600;
}
.news-item {
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--zoo-green-500);
  padding: 12px 16px;
  border-radius: 0 var(--zoo-radius-sm) var(--zoo-radius-sm) 0;
  margin-bottom: 8px;
}
.news-item:nth-child(even) { border-left-color: var(--zoo-blue); }
.news-item:nth-child(3n) { border-left-color: var(--zoo-amber); }
.news-item h4 { font-size: .96rem; color: var(--zoo-text); font-weight: 600; margin: 0 0 4px; }
.news-item p { font-size: .86rem; color: var(--zoo-text-muted); margin: 0 0 4px; }
.news-item small { color: var(--zoo-text-dim); font-size: .78rem; }

/* ---------- CONTENT CARDS (videos/cursos) ---------- */
.content-list { display: flex; flex-direction: column; gap: 8px; }
.content-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 12px 14px;
  border-radius: var(--zoo-radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all .2s;
}
.content-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--zoo-border-strong);
  transform: translateX(4px);
}
.content-item__thumb {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--zoo-green-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.content-item__info { flex: 1; min-width: 0; }
.content-item__title {
  color: var(--zoo-text);
  font-weight: 600;
  font-size: .94rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.content-item__meta {
  color: var(--zoo-text-dim);
  font-size: .8rem;
  margin-top: 2px;
}
.content-item__tag {
  background: var(--zoo-green-500);
  color: #0E1F14;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
}

/* ---------- ASIDE CARDS ---------- */
.aside-card { padding: 16px; }
.aside-card__eyebrow {
  color: var(--zoo-green-500);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}
.aside-card__title {
  color: var(--zoo-text);
  font-size: 1.02rem;
  font-weight: 700;
  margin-top: 6px;
}
.aside-card__meta {
  color: var(--zoo-text-muted);
  font-size: .86rem;
  margin-top: 4px;
}
.countdown {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.countdown div {
  flex: 1;
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  padding: 10px 4px;
  text-align: center;
}
.countdown strong {
  display: block;
  color: var(--zoo-text);
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--zoo-font-heading);
}
.countdown span {
  display: block;
  color: var(--zoo-text-dim);
  font-size: .68rem;
  margin-top: 2px;
  letter-spacing: .05em;
}
.btn-mini {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid var(--zoo-border-strong);
  color: var(--zoo-text);
  padding: 8px;
  border-radius: var(--zoo-radius-sm);
  font-size: .82rem;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
  transition: all .2s;
}
.btn-mini:hover { background: var(--zoo-green-900); border-color: var(--zoo-green-500); }

.aside-channel {
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}
.aside-channel__icon {
  width: 40px; height: 40px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}
.aside-discount {
  background: rgba(232,163,23,0.1);
  border: 1px solid rgba(232,163,23,0.35);
  text-align: center;
  padding: 18px;
}
.aside-discount .percent {
  display: block;
  font-family: var(--zoo-font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--zoo-amber);
  line-height: 1;
  margin: 10px 0;
}
.aside-discount__eyebrow {
  color: var(--zoo-amber);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}
.aside-discount__desc { color: var(--zoo-text-dim); font-size: .82rem; }
.aside-discount .btn-gold {
  display: inline-block;
  background: var(--zoo-amber);
  color: #1f1d17;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: .86rem;
  font-weight: 700;
  margin-top: 10px;
  transition: all .2s;
}
.aside-discount .btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }

.progress-card .progress-bar {
  background: rgba(0,0,0,0.4);
  height: 8px;
  border-radius: 4px;
  margin-top: 12px;
  overflow: hidden;
}
.progress-card .progress-bar div {
  background: linear-gradient(90deg, var(--zoo-green-700), var(--zoo-green-500));
  height: 100%;
  border-radius: 4px;
  transition: width .5s;
}
.progress-card .progress-label {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--zoo-text-dim);
  font-size: .78rem;
}
.progress-card .progress-label strong { color: var(--zoo-green-500); font-weight: 700; }

/* ---------- LOGIN / REGISTRO ---------- */
.auth-wrapper {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-wrapper__brand {
  background:
    linear-gradient(135deg, rgba(14,31,20,.9) 0%, rgba(31,95,58,.88) 100%),
    url('../../assets/img/banner/BANNER.png') center/cover no-repeat;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.auth-wrapper__brand::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(232,163,23,.22) 0%, transparent 70%);
  border-radius: 50%;
}
.auth-wrapper__brand > * { position: relative; z-index: 1; }
.auth-wrapper__brand .logo-wrap {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 30px;
}
.auth-wrapper__brand .logo-wrap img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--zoo-green-500);
}
.auth-wrapper__brand .logo-wrap h3 { font-size: 1.3rem; color: #fff; margin: 0; }
.auth-wrapper__brand .logo-wrap small { color: var(--zoo-green-500); font-weight: 600; }
.auth-wrapper__brand h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #fff;
}
.auth-wrapper__brand p {
  color: rgba(255,255,255,.85);
  font-size: 1.04rem;
  margin-bottom: 30px;
  max-width: 440px;
}
.auth-wrapper__brand ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-wrapper__brand ul li {
  color: #fff;
  font-size: .98rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-wrapper__brand ul li::before {
  content: '✓';
  background: var(--zoo-amber);
  color: #1f1d17;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .84rem;
  flex-shrink: 0;
}
.auth-wrapper__form {
  background: var(--zoo-bg-dark);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-form {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
.auth-form h2 {
  color: var(--zoo-text);
  font-size: 1.9rem;
  margin-bottom: 10px;
}
.auth-form p.lead {
  color: var(--zoo-text-muted);
  margin-bottom: 28px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  color: var(--zoo-text);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  background: var(--zoo-bg-card);
  border: 1px solid var(--zoo-border);
  color: var(--zoo-text);
  padding: 13px 16px;
  border-radius: var(--zoo-radius-sm);
  font-size: .96rem;
  font-family: var(--zoo-font-body);
  transition: all .2s;
}
.field input::placeholder { color: var(--zoo-text-dim); }
.field input:focus {
  outline: none;
  border-color: var(--zoo-green-500);
  box-shadow: 0 0 0 3px rgba(111,191,115,0.15);
}
.btn-club {
  display: block;
  width: 100%;
  background: var(--zoo-amber);
  color: #1f1d17;
  padding: 15px;
  border-radius: var(--zoo-radius-sm);
  font-weight: 800;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--zoo-font-body);
}
.btn-club:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-club:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-club-outline {
  display: block;
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--zoo-border-strong);
  color: var(--zoo-text);
  padding: 14px;
  border-radius: var(--zoo-radius-sm);
  font-weight: 700;
  font-size: .96rem;
  text-align: center;
  transition: all .2s;
  margin-top: 10px;
}
.btn-club-outline:hover { background: var(--zoo-green-900); border-color: var(--zoo-green-500); }
.auth-footer {
  color: var(--zoo-text-dim);
  font-size: .9rem;
  text-align: center;
  margin-top: 22px;
}
.auth-footer a { color: var(--zoo-green-500); font-weight: 600; }
.error-msg {
  background: rgba(213,90,40,0.15);
  border: 1px solid rgba(213,90,40,0.4);
  color: #FF9770;
  padding: 10px 14px;
  border-radius: var(--zoo-radius-sm);
  font-size: .88rem;
  margin-bottom: 16px;
  display: none;
}
.error-msg.show { display: block; }
.success-msg {
  background: rgba(111,191,115,0.1);
  border: 1px solid rgba(111,191,115,0.4);
  color: var(--zoo-green-500);
  padding: 10px 14px;
  border-radius: var(--zoo-radius-sm);
  font-size: .88rem;
  margin-bottom: 16px;
  display: none;
}
.success-msg.show { display: block; }

.demo-hint {
  background: rgba(42,164,213,0.08);
  border: 1px solid rgba(42,164,213,0.3);
  color: #7FD0ED;
  padding: 10px 14px;
  border-radius: var(--zoo-radius-sm);
  font-size: .84rem;
  margin-top: 20px;
}
.demo-hint strong { color: var(--zoo-blue); }

/* ---------- LANDING CLUB (club.html) ---------- */
.club-nav {
  background: rgba(14,31,20,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--zoo-border);
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0;
}
.club-nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.club-nav__brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff; font-weight: 700; font-size: 1.1rem;
}
.club-nav__brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--zoo-green-500); }
.club-nav__actions { display: flex; gap: 10px; }
.club-nav__actions a {
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  transition: all .2s;
}
.club-nav__actions a.outline { border: 1px solid var(--zoo-border-strong); color: var(--zoo-text); }
.club-nav__actions a.outline:hover { background: var(--zoo-green-900); }
.club-nav__actions a.gold { background: var(--zoo-amber); color: #1f1d17; }
.club-nav__actions a.gold:hover { filter: brightness(1.06); }

.club-hero {
  padding: 80px 24px 70px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(14,31,20,.88) 0%, rgba(31,95,58,.72) 100%),
    url('../../assets/img/banner/BANNER.png') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.club-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,163,23,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.club-hero__inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.club-hero__badge {
  display: inline-flex;
  background: var(--zoo-amber);
  color: #1f1d17;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.club-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  line-height: 1.08;
  margin-bottom: 20px;
}
.club-hero__title .accent { color: var(--zoo-amber); }
.club-hero__lead {
  color: rgba(255,255,255,.9);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 32px;
}
.club-hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.club-section {
  padding: 70px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.club-section__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.club-section__head .eyebrow {
  color: var(--zoo-green-500);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.club-section__head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 10px; color: #fff; }
.club-section__head p { color: var(--zoo-text-muted); font-size: 1.04rem; }

.benefits-grid-club {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.benefit-card-club {
  background: var(--zoo-bg-card);
  border: 1px solid var(--zoo-border);
  padding: 26px 22px;
  border-radius: var(--zoo-radius);
  transition: all .3s;
}
.benefit-card-club:hover {
  transform: translateY(-4px);
  border-color: var(--zoo-green-500);
  box-shadow: 0 18px 40px rgba(31,95,58,0.25);
}
.benefit-card-club .icon {
  width: 52px; height: 52px;
  border-radius: var(--zoo-radius-sm);
  background: var(--zoo-green-900);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.benefit-card-club h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.benefit-card-club p { color: var(--zoo-text-muted); font-size: .94rem; }

.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--zoo-bg-card) 0%, var(--zoo-green-800) 100%);
  border: 2px solid var(--zoo-amber);
  border-radius: var(--zoo-radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(232,163,23,.25) 0%, transparent 70%);
  border-radius: 50%;
}
.pricing-card__ribbon {
  background: var(--zoo-amber);
  color: #1f1d17;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 999px;
  display: inline-flex;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.pricing-card h3 { font-size: 1.6rem; color: #fff; margin-bottom: 6px; position: relative; }
.pricing-card .plan-tag { color: var(--zoo-green-500); font-weight: 600; font-size: .96rem; margin-bottom: 20px; }
.pricing-card .price {
  font-family: var(--zoo-font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--zoo-amber);
  line-height: 1;
  margin-bottom: 8px;
}
.pricing-card .price-currency { font-size: 1.4rem; vertical-align: top; margin-right: 4px; }
.pricing-card .price-unit { color: var(--zoo-text-muted); font-size: 1rem; margin-bottom: 28px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 28px; text-align: left; }
.pricing-card ul li {
  color: #fff;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .96rem;
}
.pricing-card ul li:last-child { border-bottom: 0; }
.pricing-card ul li::before {
  content: '✓';
  background: var(--zoo-green-500);
  color: var(--zoo-bg-darker);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .78rem;
  flex-shrink: 0;
}
.pricing-card .btn-club {
  font-size: 1.04rem;
  padding: 16px;
}

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--zoo-bg-card);
  border: 1px solid var(--zoo-border);
  border-radius: var(--zoo-radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
}
.faq-item h4 { color: #fff; font-size: 1.02rem; margin-bottom: 8px; }
.faq-item p { color: var(--zoo-text-muted); font-size: .94rem; }

.club-footer {
  background: var(--zoo-bg-darker);
  border-top: 1px solid var(--zoo-border);
  padding: 40px 24px 24px;
  text-align: center;
  color: var(--zoo-text-dim);
  font-size: .88rem;
}
.club-footer a { color: var(--zoo-green-500); }
.club-footer__brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; margin-bottom: 14px; }
.club-footer__brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--zoo-green-500); }

/* ---------- BIBLIOTECA / VIDEOS / PDFS GRID ---------- */
.page-header {
  margin-bottom: 26px;
}
.page-header h1 { font-size: 1.8rem; margin-bottom: 6px; color: #fff; }
.page-header p { color: var(--zoo-text-muted); font-size: .96rem; }

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.filter-chip-club {
  background: var(--zoo-bg-card);
  border: 1px solid var(--zoo-border);
  color: var(--zoo-text-muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.filter-chip-club:hover { border-color: var(--zoo-green-500); color: var(--zoo-text); }
.filter-chip-club.is-active { background: var(--zoo-green-900); border-color: var(--zoo-green-500); color: #fff; }

.course-grid-club {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.course-card-club {
  background: var(--zoo-bg-card);
  border: 1px solid var(--zoo-border);
  border-radius: var(--zoo-radius);
  overflow: hidden;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.course-card-club:hover {
  transform: translateY(-4px);
  border-color: var(--zoo-green-500);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.course-card-club__img {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--zoo-green-800);
  position: relative;
  flex-shrink: 0;
}
.course-card-club__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,31,20,0.6) 100%);
}
.course-card-club__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--zoo-amber);
  color: #1f1d17;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 10px;
  z-index: 1;
}
.course-card-club__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.course-card-club__area {
  color: var(--zoo-green-500);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.course-card-club__title {
  color: #fff;
  font-size: 1.04rem;
  line-height: 1.3;
  margin: 0;
  /* Limitar título a 2 líneas para uniformidad */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.course-card-club__desc {
  color: var(--zoo-text-muted);
  font-size: .88rem;
  line-height: 1.5;
  margin: 0;
  /* Limitar descripción a 3 líneas para uniformidad */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.course-card-club__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--zoo-green-900);
  color: #fff;
  padding: 10px;
  border-radius: var(--zoo-radius-sm);
  font-weight: 700;
  font-size: .88rem;
  transition: all .2s;
}
.course-card-club__action:hover { background: var(--zoo-green-700); }

/* ---------- PERFIL / SUSCRIPCION ---------- */
.profile-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.profile-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--zoo-green-700), var(--zoo-green-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--zoo-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  border: 3px solid var(--zoo-amber);
}
.profile-info h2 { color: #fff; font-size: 1.5rem; margin-bottom: 2px; }
.profile-info p { color: var(--zoo-text-muted); font-size: .92rem; }
.profile-info .vip-tag {
  display: inline-flex;
  background: rgba(232,163,23,0.15);
  color: var(--zoo-amber);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 6px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--zoo-border);
}
.info-row:last-child { border-bottom: 0; }
.info-row__label { color: var(--zoo-text-dim); font-size: .88rem; }
.info-row__value { color: var(--zoo-text); font-weight: 600; font-size: .94rem; }

.btn-danger {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(213,90,40,0.5);
  color: var(--zoo-orange);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.btn-danger:hover { background: rgba(213,90,40,0.1); }

/* ---------- MOBILE ---------- */
@media (max-width: 980px) {
  .club-layout { grid-template-columns: 1fr; }
  .club-sidebar {
    position: relative;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 14px;
    gap: 8px;
    overflow-x: auto;
  }
  .club-sidebar__brand { width: 100%; margin-bottom: 0; padding-bottom: 12px; }
  .club-sidebar__section { display: none; }
  .club-sidebar a { padding: 8px 12px; font-size: .86rem; flex-shrink: 0; }
  .club-sidebar__plan { width: 100%; margin-top: 8px; }
  .club-main { padding: 20px 18px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .auth-wrapper { grid-template-columns: 1fr; }
  .auth-wrapper__brand { padding: 40px 30px; min-height: 280px; }
  .auth-wrapper__brand h1 { font-size: 1.6rem; }
  .auth-wrapper__form { padding: 40px 24px; }
  .pricing-card { padding: 28px 20px; }
  .pricing-card .price { font-size: 3rem; }
}
@media (max-width: 520px) {
  .club-main__greeting h1 { font-size: 1.4rem; }
  .club-hero { padding: 50px 16px; }
  .club-hero__title { font-size: 2rem; }
  .course-grid-club { grid-template-columns: 1fr; }
  .club-nav__actions a.outline { display: none; }
}

/* ============ NOTICIAS MEJORADAS (con imagen, fuente, fecha) ============ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.news-card {
  background: var(--zoo-bg-card);
  border: 1px solid var(--zoo-border);
  border-radius: var(--zoo-radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  transition: all .2s;
  text-decoration: none;
  color: inherit;
}
.news-card:hover {
  border-color: var(--zoo-border-strong);
  transform: translateX(3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
}
.news-card__img {
  background-size: cover;
  background-position: center;
  background-color: var(--zoo-green-900);
  min-height: 110px;
  position: relative;
}
.news-card__img.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--zoo-green-900), var(--zoo-green-700));
}
.news-card__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-card__source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(111,191,115,0.14);
  color: var(--zoo-green-500);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 8px;
  width: fit-content;
}
.news-card__source.amber { background: rgba(232,163,23,0.14); color: var(--zoo-amber); }
.news-card__source.blue  { background: rgba(42,164,213,0.14); color: var(--zoo-blue); }
.news-card__source.orange{ background: rgba(213,90,40,0.14); color: var(--zoo-orange); }

.news-card__title {
  color: #fff;
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 6px;
  /* Truncar a 2 líneas */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__summary {
  color: var(--zoo-text-muted);
  font-size: .82rem;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--zoo-text-dim);
  font-size: .76rem;
  margin-top: auto;
}
.news-card__footer .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--zoo-text-dim); }
.news-card__footer .read-more { color: var(--zoo-green-500); font-weight: 600; margin-left: auto; }

@media (max-width: 620px) {
  .news-card { grid-template-columns: 100px 1fr; }
  .news-card__img { min-height: 100%; }
  .news-card__body { padding: 12px; }
  .news-card__title { font-size: .9rem; }
  .news-card__summary { display: none; }
}

/* Grid de noticias más amplio en páginas dedicadas */
.news-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.news-grid--wide .news-card {
  grid-template-columns: 1fr;
}
.news-grid--wide .news-card__img {
  min-height: 160px;
}



/* ============ CHECKOUT VENTANA EMERGENTE (pantalla de espera) ============ */
#zoo-pay-waiting {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: zooFadeIn .25s ease-out;
}
@keyframes zooFadeIn { from { opacity: 0; } to { opacity: 1; } }

.zoo-pay-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.zoo-pay-box {
  position: relative;
  background: var(--zoo-bg-card, #131816);
  border: 1px solid var(--zoo-border-strong, #2a3530);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 36px 32px 28px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(232,163,23,0.1);
  animation: zooSlideUp .35s cubic-bezier(.16,.84,.44,1);
}
@keyframes zooSlideUp {
  from { transform: translateY(30px) scale(.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.zoo-pay-icon-wrap {
  position: relative;
  width: 90px; height: 90px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.zoo-pay-icon {
  position: relative;
  z-index: 2;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--zoo-amber, #E8A317), #D68A0A);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(232,163,23,0.4);
}
.zoo-pay-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--zoo-amber, #E8A317);
  opacity: 0.3;
  animation: zooPulse 2s ease-out infinite;
}
@keyframes zooPulse {
  0% { transform: scale(0.85); opacity: 0.3; }
  100% { transform: scale(1.4); opacity: 0; }
}

.zoo-pay-eyebrow {
  color: var(--zoo-amber, #E8A317);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.zoo-pay-title {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}
.zoo-pay-desc {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .94rem;
  line-height: 1.5;
  margin-bottom: 22px;
}

.zoo-pay-steps {
  list-style: none;
  padding: 14px 18px;
  margin: 0 0 24px;
  background: rgba(111,191,115,0.06);
  border: 1px solid rgba(111,191,115,0.15);
  border-radius: 12px;
  text-align: left;
}
.zoo-pay-steps li {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .88rem;
  padding: 6px 0 6px 24px;
  position: relative;
  counter-increment: step;
}
.zoo-pay-steps {
  counter-reset: step;
}
.zoo-pay-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  background: var(--zoo-green-700, #3d8b42);
  color: #fff;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoo-pay-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.zoo-pay-reopen {
  background: transparent;
  color: var(--zoo-text, #e5e9e7);
  border: 1px solid var(--zoo-border-strong, #2a3530);
  padding: 12px 20px;
  border-radius: 10px;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.zoo-pay-reopen:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--zoo-amber, #E8A317);
}

.zoo-pay-done {
  background: linear-gradient(135deg, var(--zoo-amber, #E8A317) 0%, #D68A0A 100%);
  color: #1f1d17;
  border: 0;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 8px 20px rgba(232,163,23,0.25);
}
.zoo-pay-done:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232,163,23,0.4);
  filter: brightness(1.04);
}

.zoo-pay-cancel {
  background: transparent;
  color: var(--zoo-text-dim, #6b7370);
  border: 0;
  padding: 8px 14px;
  font-family: inherit;
  font-size: .82rem;
  cursor: pointer;
  text-decoration: underline;
}
.zoo-pay-cancel:hover {
  color: var(--zoo-orange, #D55A28);
}

@media (max-width: 500px) {
  #zoo-pay-waiting { padding: 0; }
  .zoo-pay-box {
    max-width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ============ MODAL DE BIENVENIDA VIP (con confetti) ============ */
#zoo-welcome-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: zooFadeIn .3s ease-out;
  overflow: hidden;
}
@keyframes zooFadeIn { from { opacity: 0; } to { opacity: 1; } }

.zoo-welcome-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Confetti animado que cae desde arriba */
.zoo-welcome-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.zoo-confetti-piece {
  position: absolute;
  top: -20px;
  width: 10px;
  height: 14px;
  opacity: 0;
  animation: zooConfettiFall linear infinite;
  border-radius: 2px;
}
@keyframes zooConfettiFall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0.6; }
}

.zoo-welcome-box {
  position: relative;
  z-index: 2;
  background: var(--zoo-bg-card, #131816);
  border: 1px solid var(--zoo-border-strong, #2a3530);
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 36px 32px 28px;
  text-align: center;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(232,163,23,0.15),
    0 0 80px rgba(232,163,23,0.15);
  animation: zooWelcomePop .5s cubic-bezier(.16,.84,.44,1);
}
@keyframes zooWelcomePop {
  0% { transform: scale(0.7); opacity: 0; }
  70% { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.zoo-welcome-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 0;
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: 1.4rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.zoo-welcome-close:hover {
  background: rgba(213,90,40,0.2);
  color: #fff;
  transform: rotate(90deg);
}

.zoo-welcome-emoji-wrap {
  position: relative;
  width: 110px; height: 110px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
}
.zoo-welcome-emoji {
  font-size: 5rem;
  animation: zooBounce 2.5s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(232,163,23,0.4));
}
@keyframes zooBounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}
.zoo-welcome-sparkle {
  position: absolute;
  font-size: 1.5rem;
  animation: zooSparkle 2s ease-in-out infinite;
}
.zoo-welcome-sparkle-1 { top: 0; left: 5%; animation-delay: 0s; }
.zoo-welcome-sparkle-2 { top: 20%; right: 0; animation-delay: 0.6s; }
.zoo-welcome-sparkle-3 { bottom: 10%; left: 0; animation-delay: 1.2s; }
@keyframes zooSparkle {
  0%, 100% { transform: scale(0.7); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 1; }
}

.zoo-welcome-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--zoo-amber, #E8A317), #D68A0A);
  color: #1f1d17;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(232,163,23,0.35);
}

.zoo-welcome-title {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 12px;
}
.zoo-welcome-title span {
  background: linear-gradient(135deg, var(--zoo-amber, #E8A317), var(--zoo-green-500, #6FBF73));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.zoo-welcome-desc {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .96rem;
  line-height: 1.55;
  margin-bottom: 22px;
}
.zoo-welcome-desc strong {
  color: var(--zoo-green-500, #6FBF73);
  font-weight: 600;
}

.zoo-welcome-plan {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(232,163,23,0.12), rgba(111,191,115,0.08));
  border: 1px solid rgba(232,163,23,0.25);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 22px;
  text-align: left;
}
.zoo-welcome-plan-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.zoo-welcome-plan-label {
  color: var(--zoo-amber, #E8A317);
  font-weight: 700;
  font-size: 1rem;
}
.zoo-welcome-plan-sub {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .82rem;
  margin-top: 2px;
}

.zoo-welcome-benefits {
  text-align: left;
  margin-bottom: 24px;
}
.zoo-welcome-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.zoo-welcome-benefit:last-child { border-bottom: 0; }
.zoo-welcome-benefit span {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.zoo-welcome-benefit div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.zoo-welcome-benefit strong {
  color: #fff;
  font-size: .94rem;
  font-weight: 600;
}
.zoo-welcome-benefit small {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .82rem;
}

.zoo-welcome-cta {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--zoo-amber, #E8A317) 0%, #D68A0A 100%);
  color: #1f1d17;
  border: 0;
  padding: 15px 24px;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 10px 30px rgba(232,163,23,0.35);
  margin-bottom: 16px;
}
.zoo-welcome-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(232,163,23,0.5);
  filter: brightness(1.04);
}

.zoo-welcome-footer {
  color: var(--zoo-text-dim, #6b7370);
  font-size: .82rem;
  line-height: 1.5;
}
.zoo-welcome-footer a {
  color: var(--zoo-green-500, #6FBF73);
  font-weight: 600;
  text-decoration: none;
}
.zoo-welcome-footer a:hover { text-decoration: underline; }

@media (max-width: 500px) {
  .zoo-welcome-box {
    padding: 28px 22px 22px;
    border-radius: 18px;
  }
  .zoo-welcome-title { font-size: 1.6rem; }
  .zoo-welcome-emoji { font-size: 4rem; }
}

/* ============================================================
   SISTEMA DE GAMIFICACIÓN — Nivel, XP, Logros, Metas
   ============================================================ */

/* ── TARJETA GRANDE DE NIVEL ── */
.gami-level-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, rgba(31,95,58,0.3) 0%, rgba(232,163,23,0.15) 50%, rgba(213,90,40,0.15) 100%);
  border: 1px solid rgba(232,163,23,0.25);
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.gami-level-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(232,163,23,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.gami-level-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 10px 30px rgba(232,163,23,0.3), inset 0 2px 8px rgba(255,255,255,0.15);
  flex-shrink: 0;
  z-index: 1;
}
.gami-level-card__center {
  min-width: 0;
  z-index: 1;
}
.gami-level-badge {
  color: var(--zoo-amber, #E8A317);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.gami-level-name {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.1;
  margin-bottom: 6px;
}
.gami-level-xp {
  display: flex;
  gap: 6px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.gami-xp-count {
  color: var(--zoo-amber, #E8A317);
  font-weight: 700;
  font-size: .94rem;
}
.gami-xp-next {
  color: var(--zoo-text-dim, #6b7370);
  font-size: .8rem;
}
.gami-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.gami-progress-bar__fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(.16,.84,.44,1);
  box-shadow: 0 0 12px rgba(232,163,23,0.5);
}
.gami-level-card__right { z-index: 1; }
.gami-streak {
  text-align: center;
  padding: 10px 14px;
  background: rgba(213,90,40,0.15);
  border: 1px solid rgba(213,90,40,0.3);
  border-radius: 12px;
}
.gami-streak__num {
  color: var(--zoo-orange, #D55A28);
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}
.gami-streak__label {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .72rem;
  margin-top: 2px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .gami-level-card { grid-template-columns: auto 1fr; padding: 16px; gap: 14px; }
  .gami-level-card__right { grid-column: 1 / 3; margin-top: 8px; }
  .gami-streak { padding: 8px 10px; display: inline-flex; align-items: center; gap: 10px; }
  .gami-streak__num { font-size: 1.2rem; }
  .gami-streak__label { margin-top: 0; }
  .gami-level-icon { width: 56px; height: 56px; font-size: 1.7rem; }
  .gami-level-name { font-size: 1.15rem; }
}

/* ── TARJETA DE METAS SEMANALES ── */
.gami-goals-card {
  background: var(--zoo-bg-card, #131816);
  border: 1px solid var(--zoo-border, #1e2522);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.gami-goals-header { margin-bottom: 16px; }
.gami-goals-title {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 2px;
}
.gami-goals-sub {
  color: var(--zoo-text-dim, #6b7370);
  font-size: .8rem;
}
.gami-goals-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gami-goal {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  transition: all .2s;
}
.gami-goal.is-done {
  background: rgba(111,191,115,0.08);
  border-color: rgba(111,191,115,0.25);
}
.gami-goal__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.gami-goal__info { flex: 1; min-width: 0; }
.gami-goal__label {
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.gami-goal.is-done .gami-goal__label {
  color: var(--zoo-green-500, #6FBF73);
  text-decoration: line-through;
  text-decoration-color: rgba(111,191,115,0.4);
}
.gami-goal__progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gami-goal__progress {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}
.gami-goal__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--zoo-green-700, #3d8b42), var(--zoo-green-500, #6FBF73));
  border-radius: 100px;
  transition: width .8s ease-out;
}
.gami-goal__count {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .78rem;
  font-weight: 700;
  min-width: 30px;
  text-align: right;
}

/* ── GALERÍA DE LOGROS ── */
.gami-achievements-card {
  background: var(--zoo-bg-card, #131816);
  border: 1px solid var(--zoo-border, #1e2522);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.gami-achievements-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.gami-achievements-title {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
.gami-achievements-sub {
  color: var(--zoo-text-dim, #6b7370);
  font-size: .8rem;
  margin-top: 2px;
}
.gami-achievements-count {
  display: flex;
  align-items: baseline;
  font-family: 'Poppins', sans-serif;
}
.gami-big-num {
  color: var(--zoo-amber, #E8A317);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}
.gami-small-num {
  color: var(--zoo-text-dim, #6b7370);
  font-size: .9rem;
  font-weight: 600;
}
.gami-achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 10px;
}
.gami-achievement {
  text-align: center;
  padding: 14px 8px;
  border-radius: 12px;
  transition: all .2s;
  cursor: default;
}
.gami-achievement.is-unlocked {
  background: linear-gradient(135deg, rgba(232,163,23,0.12), rgba(111,191,115,0.08));
  border: 1px solid rgba(232,163,23,0.25);
}
.gami-achievement.is-unlocked:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232,163,23,0.2);
}
.gami-achievement.is-locked {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  opacity: 0.55;
  filter: grayscale(0.3);
}
.gami-achievement__icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.gami-achievement.is-locked .gami-achievement__icon { opacity: 0.45; }
.gami-achievement__name {
  color: #fff;
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 3px;
}
.gami-achievement.is-locked .gami-achievement__name {
  color: var(--zoo-text-dim, #6b7370);
}
.gami-achievement__xp {
  color: var(--zoo-amber, #E8A317);
  font-size: .68rem;
  font-weight: 700;
}
.gami-achievement.is-locked .gami-achievement__xp {
  color: var(--zoo-text-dim, #6b7370);
}

/* ── STATS EN SIDEBAR DERECHA ── */
.gami-stats-card {
  padding: 18px 16px !important;
}
.gami-stats-header {
  color: var(--zoo-amber, #E8A317);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.gami-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gami-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.gami-stat__icon {
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.gami-stat__val {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
}
.gami-stat__lbl {
  color: var(--zoo-text-dim, #6b7370);
  font-size: .7rem;
  margin-top: 3px;
  font-weight: 600;
}

/* ============================================================
   TOAST DE LOGROS + MODAL LEVEL UP + MODAL RECOMPENSAS
   ============================================================ */

/* ── Toast de logro desbloqueado ── */
#zoo-ach-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(31,24,11,0.98), rgba(20,30,22,0.98));
  border: 2px solid var(--zoo-amber, #E8A317);
  border-radius: 16px;
  padding: 16px 22px 16px 16px;
  min-width: 320px;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(232,163,23,0.35), 0 0 0 1px rgba(232,163,23,0.2);
  animation: zooAchSlideIn .5s cubic-bezier(.16,.84,.44,1);
  overflow: hidden;
}
#zoo-ach-toast.leaving { animation: zooAchSlideOut .5s ease-out forwards; }
@keyframes zooAchSlideIn {
  from { transform: translateX(calc(100% + 40px)); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes zooAchSlideOut {
  to { transform: translateX(calc(100% + 40px)); opacity: 0; }
}

.zoo-ach-toast-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.zoo-ach-confetti-piece {
  position: absolute;
  top: -10px;
  width: 6px;
  height: 10px;
  border-radius: 1px;
  animation: zooAchConfetti 2s ease-in forwards;
}
@keyframes zooAchConfetti {
  0% { transform: translateY(-10px) rotate(0); opacity: 1; }
  100% { transform: translateY(80px) rotate(360deg); opacity: 0; }
}

.zoo-ach-toast__icon {
  font-size: 2.2rem;
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--zoo-amber, #E8A317), #D68A0A);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(232,163,23,0.5), inset 0 2px 6px rgba(255,255,255,0.2);
  flex-shrink: 0;
  z-index: 2;
}
.zoo-ach-toast__content { z-index: 2; flex: 1; }
.zoo-ach-toast__label {
  color: var(--zoo-amber, #E8A317);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.zoo-ach-toast__name {
  color: #fff;
  font-weight: 700;
  font-size: 1.04rem;
  font-family: 'Poppins', sans-serif;
  margin: 2px 0;
}
.zoo-ach-toast__xp {
  color: var(--zoo-green-500, #6FBF73);
  font-weight: 700;
  font-size: .88rem;
}

@media (max-width: 640px) {
  #zoo-ach-toast { top: auto; bottom: 20px; right: 12px; left: 12px; min-width: 0; max-width: none; }
}

/* ── Modal de subida de nivel ── */
#zoo-levelup-modal {
  position: fixed; inset: 0; z-index: 10002;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: zooFadeIn .3s ease-out;
  overflow: hidden;
}
.zoo-levelup-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.zoo-levelup-confetti {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden; z-index: 1;
}
.zoo-levelup-box {
  position: relative;
  z-index: 2;
  background: var(--zoo-bg-card, #131816);
  border: 2px solid var(--zoo-amber, #E8A317);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 32px 28px 26px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 60px rgba(232,163,23,0.3);
  animation: zooWelcomePop .6s cubic-bezier(.16,.84,.44,1);
}
.zoo-levelup-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--zoo-amber, #E8A317), #D68A0A);
  color: #1f1d17;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(232,163,23,0.4);
}
.zoo-levelup-icon {
  width: 120px; height: 120px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  margin: 0 auto 16px;
  box-shadow: 0 16px 40px rgba(232,163,23,0.4), inset 0 2px 10px rgba(255,255,255,0.15);
  animation: zooBounce 2s ease-in-out infinite;
}
.zoo-levelup-level {
  color: var(--zoo-text-dim, #6b7370);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.zoo-levelup-name {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 4px 0 22px;
  background: linear-gradient(135deg, var(--zoo-amber, #E8A317), var(--zoo-green-500, #6FBF73));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.zoo-levelup-reward {
  background: linear-gradient(135deg, rgba(232,163,23,0.14), rgba(111,191,115,0.08));
  border: 1px solid rgba(232,163,23,0.3);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.zoo-levelup-reward-title {
  color: var(--zoo-amber, #E8A317);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.zoo-levelup-reward-icon {
  font-size: 2.4rem;
  margin-bottom: 6px;
}
.zoo-levelup-reward-name {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
}
.zoo-levelup-reward-desc {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .86rem;
  margin: 4px 0 14px;
}
.zoo-levelup-reward-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.3);
  border: 1px dashed rgba(232,163,23,0.5);
  padding: 8px 16px;
  border-radius: 10px;
}
.zoo-levelup-reward-code span {
  color: var(--zoo-text-dim, #6b7370);
  font-size: .8rem;
  font-weight: 600;
}
.zoo-levelup-reward-code code {
  color: var(--zoo-amber, #E8A317);
  font-family: 'Courier New', monospace;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .05em;
}
.zoo-levelup-reward-note {
  color: var(--zoo-text-dim, #6b7370);
  font-size: .78rem;
  margin-top: 10px;
}

/* ── Modal de TODAS las recompensas ── */
#zoo-rewards-modal {
  position: fixed; inset: 0; z-index: 10001;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: zooFadeIn .3s ease-out;
}
.zoo-rewards-box {
  position: relative;
  z-index: 2;
  background: var(--zoo-bg-card, #131816);
  border: 1px solid var(--zoo-border-strong, #2a3530);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 26px 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  animation: zooWelcomePop .4s cubic-bezier(.16,.84,.44,1);
}
.zoo-rewards-header { text-align: center; margin-bottom: 22px; }
.zoo-rewards-emoji { font-size: 3rem; margin-bottom: 4px; }
.zoo-rewards-header h2 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.zoo-rewards-header p {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .9rem;
  margin: 0;
}
.zoo-rewards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.zoo-reward-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  transition: all .2s;
}
.zoo-reward-item.is-unlocked {
  background: linear-gradient(135deg, rgba(232,163,23,0.12), rgba(111,191,115,0.05));
  border: 1px solid rgba(232,163,23,0.25);
}
.zoo-reward-item.is-locked {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  opacity: 0.6;
}
.zoo-reward-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
}
.zoo-reward-info { flex: 1; min-width: 0; }
.zoo-reward-title {
  color: #fff;
  font-weight: 700;
  font-size: .96rem;
}
.zoo-reward-desc {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .82rem;
  margin: 2px 0 8px;
}
.zoo-reward-code-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.zoo-reward-code-wrap code {
  background: rgba(0,0,0,0.4);
  border: 1px dashed rgba(232,163,23,0.4);
  color: var(--zoo-amber, #E8A317);
  padding: 5px 12px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .04em;
}
.zoo-reward-copy {
  background: rgba(232,163,23,0.15);
  border: 1px solid rgba(232,163,23,0.3);
  color: var(--zoo-amber, #E8A317);
  padding: 5px 11px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: .78rem;
  cursor: pointer;
  transition: all .15s;
}
.zoo-reward-copy:hover { background: rgba(232,163,23,0.25); }
.zoo-reward-copy.is-copied {
  background: rgba(111,191,115,0.2);
  color: var(--zoo-green-500, #6FBF73);
  border-color: rgba(111,191,115,0.3);
}
.zoo-reward-need {
  color: var(--zoo-text-dim, #6b7370);
  font-size: .78rem;
  font-weight: 600;
}
.zoo-rewards-footer {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--zoo-text-dim, #6b7370);
  font-size: .82rem;
}
.zoo-rewards-footer a {
  color: var(--zoo-green-500, #6FBF73);
  font-weight: 600;
  text-decoration: none;
}
.zoo-rewards-footer a:hover { text-decoration: underline; }

/* ── Botón "Mis Recompensas" en la tarjeta de nivel ── */
.gami-rewards-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(232,163,23,0.2), rgba(232,163,23,0.1));
  border: 1px solid rgba(232,163,23,0.4);
  color: var(--zoo-amber, #E8A317);
  padding: 8px 14px;
  border-radius: 100px;
  font-family: inherit;
  font-weight: 700;
  font-size: .86rem;
  cursor: pointer;
  transition: all .2s;
  margin-bottom: 8px;
}
.gami-rewards-btn span {
  background: var(--zoo-amber, #E8A317);
  color: #1f1d17;
  font-size: .7rem;
  padding: 1px 7px;
  border-radius: 10px;
  margin-left: 2px;
}
.gami-rewards-btn:hover {
  background: linear-gradient(135deg, rgba(232,163,23,0.3), rgba(232,163,23,0.15));
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(232,163,23,0.3);
}

@media (max-width: 640px) {
  .gami-rewards-btn { margin-bottom: 0; }
}

/* ============================================================
   DIRECTORIO DE ESPECIES
   ============================================================ */
.species-filters {
  background: var(--zoo-bg-card, #131816);
  border: 1px solid var(--zoo-border, #1e2522);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}
.species-search {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--zoo-border, #1e2522);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: inherit;
  font-size: .96rem;
  margin-bottom: 14px;
}
.species-search:focus {
  outline: 0;
  border-color: var(--zoo-amber, #E8A317);
  background: rgba(232,163,23,0.04);
}
.species-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.species-chip {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--zoo-border, #1e2522);
  color: var(--zoo-text-muted, #a0a8a4);
  padding: 8px 14px;
  border-radius: 100px;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.species-chip:hover {
  background: rgba(232,163,23,0.08);
  color: var(--zoo-amber, #E8A317);
}
.species-chip.is-active {
  background: var(--zoo-amber, #E8A317);
  color: #1f1d17;
  border-color: var(--zoo-amber, #E8A317);
}
.species-filter-conservation {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--zoo-text-muted, #a0a8a4);
}
.species-filter-conservation select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--zoo-border, #1e2522);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: inherit;
  cursor: pointer;
}

.species-stats {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .88rem;
  margin-bottom: 14px;
  padding: 0 4px;
}
.species-stats strong { color: var(--zoo-amber, #E8A317); }

.species-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.species-loading, .species-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--zoo-text-muted, #a0a8a4);
}

.species-card {
  background: var(--zoo-bg-card, #131816);
  border: 1px solid var(--zoo-border, #1e2522);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all .2s;
}
.species-card:hover {
  transform: translateY(-4px);
  border-color: var(--zoo-amber, #E8A317);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.species-card__img {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: rgba(31,95,58,0.2);
  position: relative;
  border-bottom: 1px solid var(--zoo-border, #1e2522);
}
.species-card__status {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.species-status--P  { background: #D55A28; color: #fff; }
.species-status--A  { background: #E8A317; color: #1f1d17; }
.species-status--Pr { background: #2AA4D5; color: #fff; }
.species-status--E  { background: #6b0d0d; color: #fff; }
.species-status--NT { background: #6FBF73; color: #1f1d17; }

.species-card__group {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.5);
  padding: 4px 8px;
  border-radius: 100px;
  font-size: 1rem;
  backdrop-filter: blur(4px);
}
.species-card__body { padding: 14px 16px 16px; }
.species-card__body h3 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  line-height: 1.2;
  margin: 0 0 4px;
}
.species-card__scientific {
  font-style: italic;
  color: var(--zoo-green-500, #6FBF73);
  font-size: .84rem;
  margin-bottom: 2px;
}
.species-card__family {
  color: var(--zoo-text-dim, #6b7370);
  font-size: .76rem;
  margin-bottom: 10px;
}
.species-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--zoo-text-muted, #a0a8a4);
  padding-top: 10px;
  border-top: 1px solid var(--zoo-border, #1e2522);
}
.species-card__view { color: var(--zoo-amber, #E8A317); font-weight: 600; }

/* Modal de ficha */
#speciesModal {
  display: none;
  position: fixed; inset: 0; z-index: 10000;
}
#speciesModal.is-open { display: block; animation: zooFadeIn .2s; }
.species-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
}
.species-modal-box {
  position: relative;
  margin: 30px auto;
  max-width: 760px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  background: var(--zoo-bg-card, #131816);
  border: 1px solid var(--zoo-border-strong, #2a3530);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  animation: zooSlideUp .35s cubic-bezier(.16,.84,.44,1);
}
.species-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
}
.species-modal-close:hover { background: rgba(213,90,40,0.5); }
.species-modal-hero {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 18px 18px 0 0;
}
.species-modal-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  border-radius: 18px 18px 0 0;
}
.species-modal-hero__group {
  color: var(--zoo-amber, #E8A317);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.species-modal-hero__overlay h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}
.species-modal-hero__scientific {
  color: var(--zoo-green-500, #6FBF73);
  font-size: .94rem;
  margin: 4px 0 10px;
}
.species-modal-hero__status {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: .76rem;
  font-weight: 800;
}

.species-modal-body { padding: 24px 28px 28px; }
.species-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.species-info-item {
  background: rgba(232,163,23,0.06);
  border: 1px solid rgba(232,163,23,0.15);
  border-radius: 10px;
  padding: 10px 12px;
}
.species-info-label {
  color: var(--zoo-text-dim, #6b7370);
  font-size: .74rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.species-info-value {
  color: #fff;
  font-weight: 600;
  font-size: .86rem;
}

.species-section { margin-bottom: 20px; }
.species-section h3 {
  color: var(--zoo-amber, #E8A317);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 8px;
}
.species-section p {
  color: var(--zoo-text, #e5e9e7);
  font-size: .92rem;
  line-height: 1.55;
  margin: 0;
}
.species-section--note {
  background: rgba(42,164,213,0.08);
  border: 1px solid rgba(42,164,213,0.2);
  border-radius: 12px;
  padding: 14px 16px;
}
.species-section--note h3 { color: #2AA4D5; }

.species-fisio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  font-size: .86rem;
}
.species-fisio-grid > div {
  background: rgba(255,255,255,0.03);
  padding: 10px;
  border-radius: 8px;
  color: var(--zoo-text-muted, #a0a8a4);
}
.species-fisio-grid strong { color: var(--zoo-green-500, #6FBF73); }

.species-list {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--zoo-text, #e5e9e7);
}
.species-list li { padding: 3px 0; font-size: .9rem; }

.species-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--zoo-border, #1e2522);
  flex-wrap: wrap;
  gap: 12px;
}
.species-modal-footer > div {
  font-size: .78rem;
  color: var(--zoo-text-dim, #6b7370);
}

@media (max-width: 640px) {
  .species-modal-box { margin: 0; max-height: 100vh; border-radius: 0; }
  .species-modal-hero { border-radius: 0; }
  .species-modal-hero__overlay { border-radius: 0; }
  .species-modal-hero__overlay h2 { font-size: 1.5rem; }
  .species-fisio-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FORO VIP
   ============================================================ */
.foro-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.foro-cat {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--zoo-border, #1e2522);
  color: var(--zoo-text-muted, #a0a8a4);
  padding: 10px 16px;
  border-radius: 100px;
  font-family: inherit;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.foro-cat:hover { background: rgba(232,163,23,0.08); color: var(--zoo-amber, #E8A317); }
.foro-cat.is-active {
  background: linear-gradient(135deg, rgba(232,163,23,0.2), rgba(232,163,23,0.1));
  color: var(--zoo-amber, #E8A317);
  border-color: rgba(232,163,23,0.4);
}

.foro-stats-bar {
  display: flex;
  gap: 24px;
  padding: 12px 18px;
  background: rgba(31,95,58,0.15);
  border: 1px solid rgba(31,95,58,0.25);
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: .84rem;
  color: var(--zoo-text-muted, #a0a8a4);
}
.foro-stats-bar strong { color: #fff; font-weight: 700; }

.foro-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.foro-loading, .foro-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--zoo-text-muted, #a0a8a4);
  background: var(--zoo-bg-card, #131816);
  border-radius: 14px;
  border: 1px solid var(--zoo-border, #1e2522);
}

.foro-post {
  display: flex;
  gap: 14px;
  background: var(--zoo-bg-card, #131816);
  border: 1px solid var(--zoo-border, #1e2522);
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all .15s;
}
.foro-post:hover {
  border-color: var(--zoo-amber, #E8A317);
  background: rgba(232,163,23,0.04);
  transform: translateX(3px);
}
.foro-post__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--zoo-amber, #E8A317), #D68A0A);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f1d17;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.foro-post__body { flex: 1; min-width: 0; }
.foro-post__meta {
  display: flex;
  justify-content: space-between;
  font-size: .74rem;
  margin-bottom: 6px;
}
.foro-post__cat {
  color: var(--zoo-amber, #E8A317);
  font-weight: 700;
  letter-spacing: .02em;
}
.foro-post__time { color: var(--zoo-text-dim, #6b7370); }
.foro-post__title {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 6px;
  line-height: 1.25;
}
.foro-post__excerpt {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .88rem;
  line-height: 1.45;
  margin: 0 0 10px;
}
.foro-post__footer {
  display: flex;
  gap: 16px;
  font-size: .78rem;
  color: var(--zoo-text-dim, #6b7370);
  flex-wrap: wrap;
}
.foro-post__footer > span { display: inline-flex; align-items: center; gap: 4px; }
.foro-post__author { color: var(--zoo-green-500, #6FBF73) !important; font-weight: 600; }

/* Modal foro */
.foro-modal {
  display: none;
  position: fixed; inset: 0; z-index: 10000;
}
.foro-modal.is-open { display: block; animation: zooFadeIn .2s; }
.foro-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
}
.foro-modal-box {
  position: relative;
  margin: 30px auto;
  max-width: 560px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  background: var(--zoo-bg-card, #131816);
  border: 1px solid var(--zoo-border-strong, #2a3530);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  animation: zooSlideUp .35s cubic-bezier(.16,.84,.44,1);
}
.foro-modal-box--large { max-width: 760px; }
.foro-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--zoo-border, #1e2522);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.foro-modal-header h2 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}
.foro-modal-close {
  background: rgba(255,255,255,0.05);
  border: 0;
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  flex-shrink: 0;
}
.foro-modal-close:hover { background: rgba(213,90,40,0.3); }
.foro-modal-body { padding: 22px 24px; }
.foro-modal-body textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--zoo-border, #1e2522);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: .92rem;
  resize: vertical;
}
.foro-modal-body textarea:focus {
  outline: 0;
  border-color: var(--zoo-amber, #E8A317);
}
.foro-modal-body .field { margin-bottom: 16px; }
.foro-modal-body .field label {
  display: block;
  color: var(--zoo-text, #e5e9e7);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.foro-modal-body .field input,
.foro-modal-body .field select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--zoo-border, #1e2522);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: .92rem;
}
.foro-modal-body .field input:focus,
.foro-modal-body .field select:focus {
  outline: 0;
  border-color: var(--zoo-amber, #E8A317);
}
.foro-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--zoo-border, #1e2522);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.foro-post-full__author {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--zoo-border, #1e2522);
  margin-bottom: 16px;
}
.foro-post-full__content {
  color: var(--zoo-text, #e5e9e7);
  line-height: 1.6;
  font-size: .96rem;
  margin-bottom: 20px;
  white-space: pre-wrap;
}

.foro-reply {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--zoo-border, #1e2522);
  border-radius: 12px;
  margin-bottom: 10px;
}
.foro-reply__body { flex: 1; min-width: 0; }
.foro-reply__meta {
  display: flex;
  gap: 10px;
  font-size: .8rem;
  color: var(--zoo-text-dim, #6b7370);
  margin-bottom: 6px;
}
.foro-reply__meta strong { color: var(--zoo-green-500, #6FBF73); }
.foro-reply__content {
  color: var(--zoo-text, #e5e9e7);
  font-size: .9rem;
  line-height: 1.5;
}

.foro-reply-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--zoo-border, #1e2522);
}
.foro-reply-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--zoo-border, #1e2522);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: .92rem;
  resize: vertical;
}

@media (max-width: 640px) {
  .foro-modal-box { margin: 0; max-height: 100vh; border-radius: 0; }
  .foro-stats-bar { flex-wrap: wrap; gap: 10px; font-size: .78rem; }
  .foro-post { padding: 12px 14px; gap: 10px; }
  .foro-post__avatar { width: 36px; height: 36px; font-size: .9rem; }
}

/* Badge de número de clases en course card */
.course-card-club__classes {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  border: 1px solid rgba(232,163,23,0.4);
}

/* ============================================================
   CERTIFICADOS (biblioteca + mis certificados)
   ============================================================ */

/* Progress bar en course cards */
.course-progress-wrap {
  margin: 10px 0 12px;
}
.course-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: .74rem;
  color: var(--zoo-text-dim, #6b7370);
  font-weight: 600;
  margin-bottom: 4px;
}
.course-progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}
.course-progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--zoo-green-700, #3d8b42), var(--zoo-green-500, #6FBF73));
  border-radius: 100px;
  transition: width .6s ease-out;
}

.course-card-club__certified {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #E8A317, #D68A0A);
  color: #1f1d17;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 4px 12px rgba(232,163,23,0.35);
}

.course-certificate-btn {
  width: 100%;
  background: linear-gradient(135deg, rgba(232,163,23,0.15), rgba(111,191,115,0.1));
  border: 1px solid rgba(232,163,23,0.4);
  color: var(--zoo-amber, #E8A317);
  padding: 10px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  margin-top: 8px;
  transition: all .15s;
}
.course-certificate-btn:hover {
  background: linear-gradient(135deg, rgba(232,163,23,0.25), rgba(111,191,115,0.15));
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(232,163,23,0.2);
}

/* Página Mis certificados */
.certs-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--zoo-bg-card, #131816);
  border: 1px solid var(--zoo-border, #1e2522);
  border-radius: 16px;
}
.certs-empty h2 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.certs-stats {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.certs-stat {
  background: linear-gradient(135deg, rgba(232,163,23,0.12), rgba(111,191,115,0.08));
  border: 1px solid rgba(232,163,23,0.3);
  border-radius: 14px;
  padding: 18px 22px;
  min-width: 200px;
}
.certs-stat__val {
  color: var(--zoo-amber, #E8A317);
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}
.certs-stat__lbl {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .86rem;
  margin-top: 4px;
  font-weight: 600;
}

.certs-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cert-item-card {
  display: flex;
  gap: 18px;
  background: var(--zoo-bg-card, #131816);
  border: 1px solid var(--zoo-border, #1e2522);
  border-radius: 16px;
  padding: 20px 22px;
  transition: all .15s;
}
.cert-item-card:hover {
  border-color: rgba(232,163,23,0.4);
  transform: translateX(3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.cert-item-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8A317, #D68A0A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(232,163,23,0.3);
}
.cert-item-card__body { flex: 1; min-width: 0; }
.cert-item-card__label {
  color: var(--zoo-amber, #E8A317);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 4px;
}
.cert-item-card__body h3 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 8px;
  line-height: 1.25;
}
.cert-item-card__meta {
  display: flex;
  gap: 14px;
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .82rem;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.cert-item-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .certs-stat { min-width: 0; flex: 1; }
  .cert-item-card { padding: 16px; gap: 14px; }
  .cert-item-card__icon { width: 48px; height: 48px; font-size: 1.5rem; }
  .cert-item-card__meta { font-size: .76rem; gap: 10px; }
}

/* Fix imagen dentro de species-card */
.species-card__img {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(31,95,58,0.4), rgba(232,163,23,0.2));
  background-size: cover !important;
  background-position: center;
  border-bottom: 1px solid var(--zoo-border, #1e2522);
}
.species-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}
.species-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.5;
}

/* Fix imagen dentro de species-modal-hero */
.species-modal-hero {
  height: 240px;
  position: relative;
  background: linear-gradient(135deg, rgba(31,95,58,0.6), rgba(232,163,23,0.3));
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}
.species-modal-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FIX: Imágenes de cursos — usar img tag real con fallback */
.course-card-club__img {
  height: 160px;
  background: linear-gradient(135deg, rgba(31,95,58,0.4), rgba(232,163,23,0.15));
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-card-club__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.course-card-club__img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.course-card-club__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,31,20,0.6) 100%);
  z-index: 2;
  pointer-events: none;
}
.course-card-club__tag,
.course-card-club__classes,
.course-card-club__certified {
  z-index: 3;
}

/* Clases bloqueadas y siguiente clase */
.class-item.is-locked {
  opacity: 0.55;
  background: rgba(255,255,255,0.02) !important;
  border-color: rgba(255,255,255,0.05) !important;
}
.class-item.is-locked .class-item__num {
  background: linear-gradient(135deg, #555, #333) !important;
  color: #fff !important;
  font-size: 1rem;
}
.class-item.is-locked .class-item__body {
  cursor: not-allowed;
}
.class-item.is-locked .class-item__title {
  color: #a0a8a4 !important;
}
.class-item.is-locked .class-item__meta {
  color: #6b7370 !important;
  font-style: italic;
}

/* Siguiente clase disponible — destacada con animación */
.class-item.is-next {
  border-color: rgba(232,163,23,0.5) !important;
  background: rgba(232,163,23,0.08) !important;
  box-shadow: 0 0 0 0 rgba(232,163,23,0.4);
  animation: pulse-next 2s ease-in-out infinite;
}
@keyframes pulse-next {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,163,23,0); }
  50% { box-shadow: 0 0 0 6px rgba(232,163,23,0.15); }
}
.class-item.is-next .class-item__num {
  animation: bounce-arrow 1.5s ease-in-out infinite;
}
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ═══════════════ FORO — LIKES, REACCIONES Y PREVIEW ═══════════════ */

/* Estructura actualizada del post */
.foro-post {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--zoo-bg-card, #131816);
  border: 1px solid var(--zoo-border, #1e2522);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  transition: all .2s;
}
.foro-post:hover {
  border-color: rgba(232,163,23,0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.foro-post__main {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  align-items: flex-start;
}
.foro-post__main:hover {
  background: rgba(255,255,255,0.02);
}

/* Barra de reacciones (likes/comentarios/compartir) */
.foro-post__reactions {
  display: flex;
  gap: 6px;
  padding: 6px 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.15);
}

.foro-like-btn,
.foro-reply-btn,
.foro-share-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: var(--zoo-text-muted, #a0a8a4);
  padding: 10px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: all .15s;
}
.foro-like-btn:hover,
.foro-reply-btn:hover,
.foro-share-btn:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.foro-like-btn.is-liked {
  color: #ff4d6d;
}
.foro-like-btn.is-liked .foro-like-label {
  color: #ff4d6d;
}

.foro-like-icon {
  font-size: 1.1rem;
  line-height: 1;
  display: inline-block;
  transition: transform .2s;
}
.foro-like-btn:hover .foro-like-icon {
  transform: scale(1.2);
}
.foro-like-btn.is-bumping .foro-like-icon {
  animation: heartBump 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes heartBump {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.6) rotate(-12deg); }
  60%  { transform: scale(0.9) rotate(8deg); }
  100% { transform: scale(1) rotate(0); }
}

.foro-like-count {
  font-weight: 700;
  min-width: 14px;
}

/* Preview de respuestas */
.foro-preview-replies {
  background: rgba(31,95,58,0.04);
  border-top: 1px solid rgba(111,191,115,0.15);
  padding: 14px 20px;
}
.foro-preview-replies__header {
  color: var(--zoo-green-500, #6FBF73);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.foro-preview-reply {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.foro-preview-reply:last-child {
  border-bottom: 0;
}
.foro-preview-reply__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6FBF73, #3d8b42);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .84rem;
  flex-shrink: 0;
}
.foro-preview-reply__body { flex: 1; min-width: 0; }
.foro-preview-reply__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  margin-bottom: 3px;
}
.foro-preview-reply__meta strong { color: #fff; font-weight: 600; }
.foro-preview-reply__meta span { color: var(--zoo-text-dim, #6b7370); }
.foro-preview-reply__content {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .88rem;
  line-height: 1.5;
}

.foro-see-all {
  display: block;
  background: transparent;
  border: 0;
  color: var(--zoo-amber, #E8A317);
  font-family: inherit;
  font-weight: 700;
  font-size: .84rem;
  padding: 10px 0 2px;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.foro-see-all:hover { color: #F4B844; }

/* Like en respuestas del modal */
.reply-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--zoo-text-muted, #a0a8a4);
  padding: 4px 10px;
  border-radius: 100px;
  font-family: inherit;
  font-size: .74rem;
  cursor: pointer;
  transition: all .15s;
  margin-top: 6px;
}
.reply-like-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,77,109,0.4);
}
.reply-like-btn.is-liked {
  color: #ff4d6d;
  border-color: rgba(255,77,109,0.4);
  background: rgba(255,77,109,0.08);
}
.reply-like-btn.is-bumping .reply-like-icon {
  animation: heartBump 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reply-like-icon {
  font-size: .95rem;
  line-height: 1;
}

/* FIX: placeholder de imagen cuando no carga (cursos) */
.course-card-club__img.no-image .course-card-club__img-placeholder {
  background: linear-gradient(135deg, rgba(31,95,58,0.4), rgba(232,163,23,0.15));
}
.species-card__img.no-image {
  background: linear-gradient(135deg, rgba(31,95,58,0.4), rgba(232,163,23,0.2));
}

/* ═══════════════ COMING SOON CARD — PRÓXIMAMENTE ═══════════════ */
.coming-soon-card {
  background:
    radial-gradient(ellipse 800px 500px at 20% 10%, rgba(232,163,23,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 800px 500px at 80% 90%, rgba(31,95,58,0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(19,24,22,0.95) 0%, rgba(10,14,12,0.95) 100%);
  border: 1px solid rgba(232,163,23,0.25);
  border-radius: 24px;
  padding: 44px 40px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeIn .6s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.coming-soon-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,163,23,0.1), transparent 70%);
  pointer-events: none;
  animation: floatGlow 8s ease-in-out infinite;
}
.coming-soon-card::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(31,95,58,0.12), transparent 70%);
  pointer-events: none;
  animation: floatGlow 10s ease-in-out infinite reverse;
}
@keyframes floatGlow {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.1) translateY(-10px); }
}

.coming-soon-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(232,163,23,0.2), rgba(213,90,40,0.15));
  border: 1px solid rgba(232,163,23,0.4);
  color: #E8A317;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .15em;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.coming-soon-card__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E8A317;
  box-shadow: 0 0 0 0 rgba(232,163,23,0.6);
  animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,163,23,0.8); }
  70%  { box-shadow: 0 0 0 12px rgba(232,163,23,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,163,23,0); }
}

.coming-soon-card__icon {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 14px;
  filter: drop-shadow(0 10px 20px rgba(232,163,23,0.3));
  animation: iconFloat 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}

.coming-soon-card__title {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #fff 0%, #E8A317 200%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.coming-soon-card__sub {
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}

.coming-soon-card__topics {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto 28px;
}
.coming-soon-card__topic-title {
  color: #E8A317;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.coming-soon-card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.coming-soon-topic {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 12px 16px;
  border-radius: 10px;
  color: #e5e7e5;
  font-size: .86rem;
  text-align: left;
  transition: all .2s;
}
.coming-soon-topic:hover {
  background: rgba(232,163,23,0.08);
  border-color: rgba(232,163,23,0.25);
  transform: translateX(4px);
}
.coming-soon-topic__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.coming-soon-card__footer {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.coming-soon-card__progress-wrap {
  max-width: 420px;
  margin: 0 auto;
}
.coming-soon-card__progress-label {
  color: #E8A317;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.coming-soon-card__progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.coming-soon-card__progress-fill {
  height: 100%;
  width: 70%;
  background: linear-gradient(90deg, #1F5F3A, #E8A317);
  border-radius: 100px;
  position: relative;
  animation: progressShine 3s ease-in-out infinite;
}
.coming-soon-card__progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: progressShineSweep 2s ease-in-out infinite;
}
@keyframes progressShine {
  0%, 100% { width: 65%; }
  50% { width: 72%; }
}
@keyframes progressShineSweep {
  0% { transform: translateX(-100px); }
  100% { transform: translateX(100px); }
}
.coming-soon-card__progress-hint {
  color: var(--zoo-text-dim, #6b7370);
  font-size: .8rem;
  margin-top: 8px;
  font-style: italic;
}

/* ═══════════════ DESBLOQUEO PROGRESIVO DE CURSOS ═══════════════ */
.course-card-club.is-time-locked {
  opacity: 0.82;
}
.course-card-club.is-time-locked .course-card-club__img {
  filter: grayscale(0.4) brightness(0.7);
}

.course-time-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,0,0,0.82), rgba(31,95,58,0.75));
  color: #fff;
  z-index: 4;
  text-align: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.course-time-lock__icon {
  font-size: 2.4rem;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.course-time-lock__text {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.35;
  color: #fff;
}
.course-time-lock__text strong {
  color: var(--zoo-amber, #E8A317);
  font-size: 1.15rem;
  font-weight: 800;
  display: inline-block;
  margin-top: 2px;
}

.course-card-club__action--locked {
  background: rgba(107,115,112,0.25) !important;
  color: var(--zoo-text-dim, #6b7370) !important;
  cursor: not-allowed !important;
  border: 1px dashed rgba(255,255,255,0.15) !important;
}
.course-card-club__action--locked:hover {
  background: rgba(107,115,112,0.25) !important;
  transform: none !important;
}

/* Banner informativo arriba de la lista */
.unlock-schedule-banner {
  background: linear-gradient(135deg, rgba(31,95,58,0.12), rgba(232,163,23,0.08));
  border: 1px solid rgba(232,163,23,0.25);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.unlock-schedule-banner__icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}
.unlock-schedule-banner__text {
  flex: 1;
  color: var(--zoo-text-muted, #a0a8a4);
  font-size: .88rem;
  line-height: 1.45;
}
.unlock-schedule-banner__text strong {
  color: var(--zoo-amber, #E8A317);
  font-weight: 700;
}
