/* ════════════════════════════════════════════════════════
   Lion Mode Club — style.css  (v2 — logo real + precios reales)
   ════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --black: #0b0b0b;
  --black-soft: #111113;
  --black-card: #141417;
  --black-border: #1e1e24;
  --gold: #d4af37;
  --gold-light: #e8cd6a;
  --gold-dim: #a08520;
  --gold-glow: rgba(212, 175, 55, 0.22);
  --white: #f5f5f7;
  --white-dim: rgba(245, 245, 247, 0.55);
  --white-faint: rgba(245, 245, 247, 0.07);
  --green: #2dba74;
  --red: #e84b4a;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --section-py: 110px;
  --container-w: 1240px;
  --card-radius: 16px;
  --btn-radius: 8px;
  --nav-h: 72px;
  --ticker-h: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
ul {
  list-style: none;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 3px;
}

/* ── BG Canvas ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.14);
}
.nav-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo imagen */
.nav-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.03);
  opacity: 0.9;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #444;
  border-radius: 6px;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-link:hover {
  color: #111;
  background: rgba(0, 0, 0, 0.05);
}
.nav-btn-login {
  display: inline-flex;
}
.btn-login-inner {
  display: inline-flex;
  align-items: center;
  padding: 9px 24px;
  background: var(--gold);
  color: #000;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--btn-radius);
  letter-spacing: 0.03em;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
}
.btn-login-inner:hover {
  background: var(--gold-light);
  box-shadow: 0 0 32px rgba(212, 175, 55, 0.5);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ════════════════════════════════════════════════════════
   TICKER DE MERCADO (precios reales)
   ════════════════════════════════════════════════════════ */
.market-ticker-wrap {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: var(--ticker-h);
  z-index: 999;
  background: rgba(15, 14, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker-label {
  flex-shrink: 0;
  padding: 0 16px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-right: 1px solid rgba(212, 175, 55, 0.15);
  white-space: nowrap;
}
.ticker-scroll-area {
  flex: 1;
  overflow: hidden;
  position: relative;
}
/* Fade edges */
.ticker-scroll-area::before,
.ticker-scroll-area::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.ticker-scroll-area::before {
  left: 0;
  background: linear-gradient(to right, rgba(15, 14, 12, 0.9), transparent);
}
.ticker-scroll-area::after {
  right: 0;
  background: linear-gradient(to left, rgba(15, 14, 12, 0.9), transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  gap: 0;
}
.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
}
.ticker-sym {
  color: rgba(245, 245, 247, 0.45);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.ticker-price {
  font-weight: 600;
  color: var(--white);
}
.ticker-chg {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 3px;
}
.ticker-chg.up {
  color: var(--green);
  background: rgba(45, 186, 116, 0.12);
}
.ticker-chg.down {
  color: var(--red);
  background: rgba(232, 75, 74, 0.12);
}
.ticker-loading {
  padding: 0 20px;
  font-size: 0.75rem;
  color: var(--white-dim);
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ════════════════════════════════════════════════════════
   GLOBAL BUTTONS
   ════════════════════════════════════════════════════════ */
.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gold);
  color: #000;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--btn-radius);
  letter-spacing: 0.04em;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.28);
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
  cursor: pointer;
}
.btn-primary-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}
.btn-primary-gold.full-width {
  width: 100%;
  justify-content: center;
  padding: 14px;
}

.btn-ghost-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--btn-radius);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  letter-spacing: 0.04em;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.15s;
  cursor: pointer;
}
.btn-ghost-gold:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-closed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  background: transparent;
  color: var(--white-dim);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--btn-radius);
  border: 1px solid var(--black-border);
  transition:
    background 0.2s,
    color 0.2s;
  cursor: pointer;
}
.btn-closed:hover {
  background: var(--white-faint);
  color: var(--white);
}

/* ════════════════════════════════════════════════════════
   SECTION COMMONS
   ════════════════════════════════════════════════════════ */
.section {
  position: relative;
  z-index: 1;
  padding: var(--section-py) 24px;
}
.section-inner {
  max-width: var(--container-w);
  margin: 0 auto;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 14px;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-sub {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════
   HERO — centrado, full-width, premium
   ════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + var(--ticker-h) + 60px) 24px 80px;
  overflow: hidden;
  text-align: center;
}

/* Orbes de luz de fondo */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-orb-left {
  width: 700px;
  height: 700px;
  top: -100px;
  left: -200px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.07) 0%,
    transparent 65%
  );
}
.hero-orb-right {
  width: 600px;
  height: 600px;
  bottom: -80px;
  right: -150px;
  background: radial-gradient(
    circle,
    rgba(80, 70, 180, 0.07) 0%,
    transparent 65%
  );
}

/* Líneas de grid sutiles */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 0%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 0%,
    transparent 100%
  );
}

/* Contenedor centrado */
.hero-center {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Badge superior */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 1.5s ease infinite;
  flex-shrink: 0;
}
.hero-badge-sep {
  opacity: 0.4;
}
.hero-badge-live {
  color: var(--green);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

/* Título hero centrado */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  text-shadow: 0 0 48px rgba(212, 175, 55, 0.3);
}

/* Subtítulo */
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--white-dim);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* CTAs */
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}
.hero-cta-main {
  padding: 14px 36px;
  font-size: 0.95rem;
}

/* Stats bar */
.hero-statsbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(20, 20, 23, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 16px;
  padding: 18px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-wrap: wrap;
  margin-bottom: 44px;
  width: 100%;
  max-width: 820px;
}
.hsb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 28px;
  flex: 1;
  min-width: 130px;
}
.hsb-val {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  white-space: nowrap;
}
.hsb-lbl {
  font-size: 0.68rem;
  color: var(--white-dim);
  letter-spacing: 0.04em;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hsb-div {
  width: 1px;
  height: 36px;
  background: rgba(212, 175, 55, 0.15);
  flex-shrink: 0;
}

/* Chart wide */
.hero-chart-wrap {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: rgba(16, 16, 20, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--card-radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hcw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}
.hcw-title {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--white-dim);
  letter-spacing: 0.04em;
}
.hcw-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.hcw-badge.up {
  background: rgba(45, 186, 116, 0.12);
  color: var(--green);
  border: 1px solid rgba(45, 186, 116, 0.25);
}
.hcw-badge em {
  font-style: normal;
  font-weight: 400;
  font-size: 0.72rem;
  opacity: 0.7;
}
#hero-chart {
  width: 100%;
  height: 160px;
  display: block;
}

/* change chip inline */
.clp-chg {
  font-size: 0.72rem;
  font-weight: 600;
}
.clp-chg.up {
  color: var(--green);
}
.clp-chg.down {
  color: var(--red);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  z-index: 2;
}
.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(245, 245, 247, 0.22);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 3px;
  height: 7px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-wheel 2s ease infinite;
}
@keyframes scroll-wheel {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(7px);
    opacity: 0;
  }
  61% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* ════════════════════════════════════════════════════════
   MARKET CARDS (precios reales — debajo del hero)
   ════════════════════════════════════════════════════════ */
.market-cards-section {
  position: relative;
  z-index: 1;
  padding: 0 24px 60px;
}
.market-cards-grid {
  max-width: var(--container-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
/* skeleton while loading */
.mkt-skeleton {
  height: 88px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 12px;
  animation: skeleton-pulse 1.4s ease infinite;
}
@keyframes skeleton-pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}
.mkt-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  cursor: default;
}
.mkt-card:hover {
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}
.mkt-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mkt-sym {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white-dim);
  text-transform: uppercase;
}
.mkt-icon {
  font-size: 0.95rem;
}
.mkt-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.mkt-change {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}
.mkt-change.up {
  color: var(--green);
  background: rgba(45, 186, 116, 0.1);
}
.mkt-change.down {
  color: var(--red);
  background: rgba(232, 75, 74, 0.1);
}

/* ════════════════════════════════════════════════════════
   COMPETENCIAS
   ════════════════════════════════════════════════════════ */
.comp-section {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(18, 18, 22, 0.6) 100%
  );
}
.comp-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--white-dim);
  background: var(--white-faint);
  border: 1px solid var(--black-border);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.35);
}
.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 22px;
}
.comp-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.comp-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 56px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.18);
}
.comp-card.closed {
  opacity: 0.7;
}
.comp-card.closed:hover {
  opacity: 1;
}

/* Banner */
.card-banner {
  position: relative;
  height: 175px;
  overflow: hidden;
  background: #0d0d10;
}
.card-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.comp-card:hover .card-banner-img {
  transform: scale(1.05);
}
.grayscale {
  filter: grayscale(100%) brightness(0.55);
}
.card-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 11, 11, 0.92) 0%,
    rgba(11, 11, 11, 0.05) 60%
  );
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
/* Badges */
.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
}
.badge-live {
  background: rgba(45, 186, 116, 0.18);
  color: var(--green);
  border: 1px solid rgba(45, 186, 116, 0.4);
}
.badge-soon {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.badge-closed {
  background: rgba(245, 245, 247, 0.07);
  color: var(--white-dim);
  border: 1px solid var(--black-border);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.5s ease infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

/* Card body */
.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--black-border);
  border-radius: 10px;
  overflow: hidden;
}
.card-stat {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 8px;
  border-right: 1px solid var(--black-border);
}
.card-stat:last-child {
  border-right: none;
}
.cs-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
}
.cs-val {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}
.cs-lbl {
  display: block;
  font-size: 0.6rem;
  color: var(--white-dim);
  margin-top: 1px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.card-fee {
  font-size: 0.78rem;
  color: var(--white-dim);
}
.card-fee strong {
  color: var(--gold);
}
.card-date {
  font-size: 0.72rem;
  color: var(--white-dim);
}
.card-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-progress {
  flex: 1;
  height: 4px;
  background: rgba(245, 245, 247, 0.08);
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0, 0, 0.2, 1);
}
.progress-bar.full {
  background: linear-gradient(90deg, #1e8050, var(--green));
}
.progress-label {
  font-size: 0.63rem;
  color: var(--white-dim);
  white-space: nowrap;
}
.card-cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ════════════════════════════════════════════════════════
   BENEFICIOS
   ════════════════════════════════════════════════════════ */
.benefits-section {
  background: linear-gradient(
    180deg,
    rgba(14, 14, 18, 0.6) 0%,
    rgba(11, 11, 11, 0.95) 100%
  );
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.benefit-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--card-radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.04) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.16);
}
.benefit-card:hover::before {
  opacity: 1;
}
.benefit-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.benefit-card:hover .benefit-icon-wrap {
  background: rgba(212, 175, 55, 0.13);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.18);
}
.benefit-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.benefit-desc {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════
   LOGIN SECTION
   ════════════════════════════════════════════════════════ */
.login-section {
  overflow: hidden;
}
.login-bg-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.055) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.login-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.login-left {
  position: relative;
  z-index: 1;
}
.login-title {
  text-align: left;
  margin-bottom: 18px;
}
.login-desc {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.75;
  margin-bottom: 28px;
}
.login-perks {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.login-perks li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.85rem;
  color: var(--white-dim);
}
.perk-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* Login card */
.login-card {
  position: relative;
  z-index: 1;
  background: rgba(20, 20, 23, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 56px rgba(0, 0, 0, 0.55);
}
.login-card-header {
  margin-bottom: 28px;
  text-align: center;
}
.login-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
  filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(5deg)
    brightness(1.1);
}
.login-card-header p {
  font-size: 0.82rem;
  color: var(--white-dim);
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--white-dim);
  letter-spacing: 0.04em;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 13px;
  color: var(--white-dim);
  pointer-events: none;
}
.form-input {
  width: 100%;
  padding: 11px 13px 11px 38px;
  background: rgba(245, 245, 247, 0.05);
  border: 1px solid var(--black-border);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.form-input::placeholder {
  color: rgba(245, 245, 247, 0.22);
}
.form-input:focus {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(245, 245, 247, 0.07);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.09);
}
.input-toggle {
  position: absolute;
  right: 12px;
  color: var(--white-dim);
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s;
}
.input-toggle:hover {
  color: var(--white);
}
.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--white-dim);
  cursor: pointer;
  user-select: none;
}
.checkbox-wrap input[type="checkbox"] {
  display: none;
}
.checkmark {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--black-border);
  border-radius: 4px;
  background: rgba(245, 245, 247, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.checkbox-wrap input:checked ~ .checkmark {
  background: var(--gold);
  border-color: var(--gold);
}
.checkbox-wrap input:checked ~ .checkmark::after {
  content: "";
  display: block;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  transform: rotate(-45deg) translateY(-1px);
}
.forgot-link {
  font-size: 0.75rem;
  color: var(--gold-dim);
  transition: color 0.2s;
}
.forgot-link:hover {
  color: var(--gold);
}
.login-register-link {
  text-align: center;
  font-size: 0.8rem;
  color: var(--white-dim);
}
.login-register-link a {
  color: var(--gold);
  font-weight: 500;
  transition: color 0.2s;
}
.login-register-link a:hover {
  color: var(--gold-light);
}

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--black-border);
  padding: 72px 24px 0;
  background: rgba(8, 8, 10, 0.96);
}
.footer-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--black-border);
}
.footer-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
  filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(5deg)
    brightness(1.1);
}
.footer-tagline {
  font-size: 0.83rem;
  color: var(--white-dim);
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 270px;
}
.social-links {
  display: flex;
  gap: 8px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--white-faint);
  border: 1px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.15s;
}
.social-link:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}
.footer-links-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links li a {
  font-size: 0.84rem;
  color: rgba(245, 245, 247, 0.4);
  transition: color 0.2s;
}
.footer-links li a:hover {
  color: var(--white);
}
.footer-bottom {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(245, 245, 247, 0.28);
}

/* ════════════════════════════════════════════════════════
   MODAL
   ════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  position: relative;
  background: var(--black-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  padding: 44px 36px 36px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.3s;
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--white-faint);
  color: var(--white-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover {
  background: rgba(245, 245, 247, 0.12);
}
.modal-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.modal-text {
  font-size: 0.88rem;
  color: var(--white-dim);
  line-height: 1.65;
  margin-bottom: 26px;
}
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════
   TOAST
   ════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--black-card);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.84rem;
  color: var(--white);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.55);
  transform: translateY(100px);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0, 0, 0.2, 1),
    opacity 0.4s;
  pointer-events: none;
  max-width: 300px;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-icon {
  font-size: 1rem;
}

/* ════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] {
  transition-delay: 0.1s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.2s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.3s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.4s;
}
.reveal[data-delay="5"] {
  transition-delay: 0.5s;
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .market-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-statsbar {
    padding: 16px 16px;
  }
  .hsb-item {
    padding: 0 16px;
  }
}
@media (max-width: 900px) {
  .login-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 768px) {
  :root {
    --section-py: 72px;
    --nav-h: 62px;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 18px 20px 22px;
    gap: 5px;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }
  .nav-links.open {
    clip-path: inset(0 0 0% 0);
    pointer-events: all;
  }
  .nav-link {
    padding: 11px 14px;
    border-radius: 8px;
  }
  .nav-btn-login {
    width: 100%;
  }
  .btn-login-inner {
    width: 100%;
    justify-content: center;
  }
  .hero {
    padding-top: calc(var(--nav-h) + var(--ticker-h) + 36px);
  }
  .hero-statsbar {
    padding: 14px 8px;
    gap: 0;
  }
  .hsb-item {
    padding: 8px 12px;
    min-width: 100px;
  }
  .hsb-div {
    display: none;
  }
  .hero-statsbar {
    flex-wrap: wrap;
    gap: 0;
    border-radius: 12px;
  }
  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 14px;
  }
  #hero-chart {
    height: 130px;
  }
  .market-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .comp-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .modal-box {
    padding: 34px 22px 26px;
  }
  .modal-actions {
    flex-direction: column;
  }
  .toast {
    left: 14px;
    right: 14px;
    max-width: none;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.7rem;
  }
  .market-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .comp-filters {
    gap: 6px;
  }
  .filter-btn {
    padding: 7px 13px;
    font-size: 0.73rem;
  }
  .login-card {
    padding: 26px 18px;
  }
  .footer-brand .footer-logo-img {
    height: 36px;
  }
}
