:root {
  --gold: #D4AF37;
  --black: #0a0a0a;
  --text-gray: #ddd;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--black);
  color: var(--text-gray);
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================================
   CONTENEDORES
========================================= */

.container-balanced,
.container-narrow {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.container-narrow {
  padding: 20px 0;
}

/* =========================================
   HEADER
========================================= */

.main-header {
  background: radial-gradient(circle at center top, #1a1a1a 0%, #050505 100%);
  border-bottom: 1px solid #1f1f1f;
  padding: 15px 0;
  margin-bottom: 15px;
}

.hero-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-image-col {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.profile-card {
  background: #111;
  padding: 8px;
  border: 1px solid #333;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.profile-img {
  width: 200px;
  border-radius: 8px;
}

.profile-caption {
  text-align: center;
  font-size: 0.8rem;
  color: #bbb;
  margin-top: 8px;
  font-style: italic;
}

.hero-text-col {
  flex: 1;
  text-align: left;
}

h1 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 2.8rem;
  margin: 0;
  line-height: 1.1;
  letter-spacing: 2px;
}

.subtitle {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.85rem;
  color: #999;
  margin-top: 10px;
  margin-bottom: 15px;
}

/* =========================================
   EXPLORER + CINTILLO
========================================= */

.explorer-row {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 10px 0 25px 0;
}

.explorer-btn {
  flex: 0 0 auto;
  min-width: 260px;
}

.promo-strip {
  flex: 1;
  overflow: hidden;
  background: linear-gradient(90deg, #111, #0d0d0d);
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  padding: 10px 0;
}

.promo-track {
  display: inline-block;
  white-space: nowrap;
  color: var(--gold);
  font-size: 0.85rem;
  padding-left: 100%;
  animation: scrollPromo 30s linear infinite;
}

@keyframes scrollPromo {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* =========================================
   ECOSISTEMA DIGITAL
========================================= */

.ecosystem-section {
  background: #0a0a0a;
  border-top: 1px solid #1f1f1f;
  padding: 40px 20px;     /* menos espacio vertical */
  margin-top: 40px;       /* lo acercamos al player */
}

.ecosystem-container {
  width: 90%;
  max-width: 900px;   /* mismo ancho que tu container-balanced */
  margin: 0 auto;
}

.ecosystem-title {
  text-align: center;
  color: #666;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 50px;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ahora son 3 */
  gap: 20px;
}

.ecosystem-card {
  flex: 1;
  text-decoration: none;
  padding: 22px;
  border: 1px solid #222;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  transition: all 0.3s ease;
}

.ecosystem-card strong {
  display: block;
  color: #ccc;
  margin-bottom: 8px;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.ecosystem-card span {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.5;
}

.ecosystem-card:hover {
  border-color: var(--gold);
  background: rgba(212,175,55,0.08);
  transform: translateY(-4px);
}

/* =========================================
   FOOTER LIMPIO
========================================= */

.main-footer-clean {
  background: #000;
  border-top: 1px solid #111;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.main-footer-clean p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

.gold {
  color: var(--gold);
}
.cta-row {
  display: flex;
  gap: 15px;
}

.cta-row .btn {
  flex: 1;
  text-align: center;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {

  .hero-flex {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .hero-text-col {
    text-align: center;
  }

  h1 {
    font-size: 2rem;
  }
  h1 {
  font-size: 1.8rem;
  line-height: 1.15;
}

h1 br + span,
h1 {
  letter-spacing: 1px;
}

.cta-row {
  gap: 12px;
}

.cta-row .btn:first-child {
  justify-content: flex-start;
}

.cta-row .btn:last-child {
  justify-content: flex-end;
}

.profile-img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
}

  .profile-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
  }

  .profile-card {
    width: 100%;
    padding: 6px;
  }

  .container-balanced,
  .container-narrow {
    width: 92%;
  }

  .explorer-row {
    flex-direction: column;
  }

  .promo-strip {
    display: none;
  }

  .explorer-btn {
    width: 100%;
  }

  .main-footer-clean {
    padding: 35px 15px;
  }
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
}