  html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.screenshots-section {
  overflow: hidden;
  width: 100%;
}
  /* ── Variables ── */
  :root {
    --verde:     #2d6a4f;
    --verde-claro: #52b788;
    --dorado:    #e9c46a;
    --tierra:    #6b4226;
    --fondo:     #0d1f13;
    --fondo2:    #122318;
    --texto:     #e8f5e9;
    --texto-dim: #a8c5aa;
    --card-bg:   rgba(255,255,255,0.05);
    --border:    rgba(82,183,136,0.2);
    --font-title: 'Playfair Display', Georgia, serif;
    --font-body:  'DM Sans', system-ui, sans-serif;
  }

  @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@400;500;600&display=swap');

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    background: var(--fondo);
    color: var(--texto);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ── Fondo texturizado ── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 20% 10%, rgba(45,106,79,0.35) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at 80% 80%, rgba(107,66,38,0.2) 0%, transparent 55%),
      url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='60' height='60' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
  }

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/dist/images/hero-bg.png');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.45) saturate(0.8);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(13,31,19,0.5) 0%, rgba(13,31,19,0.2) 40%, rgba(13,31,19,0.7) 100%),
    linear-gradient(to right, rgba(13,31,19,0.6) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(82,183,136,0.15);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: .35rem 1rem;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: 2rem;
  animation: fadeUp .6s ease both;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
  animation: fadeUp .7s .1s ease both;
}

.hero h1 span {
  color: var(--verde-claro);
  position: relative;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--texto-dim);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  animation: fadeUp .7s .2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .7s .3s ease both;
}

  .btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 2rem;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    border: none;
  }

  .btn:hover { transform: translateY(-2px); }

  .btn.primary {
    background: var(--verde-claro);
    color: #0d1f13;
    box-shadow: 0 8px 30px rgba(82,183,136,0.4);
  }
  .btn.primary:hover { box-shadow: 0 12px 40px rgba(82,183,136,0.55); }

  .btn.secondary {
    background: var(--card-bg);
    color: var(--texto);
    border: 1px solid var(--border);
  }

  /* Scroll indicator */
  .scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    color: var(--texto-dim);
    font-size: .75rem;
    letter-spacing: .06em;
    animation: bounce 2s infinite;
  }
  .scroll-hint::after {
    content: '↓';
    font-size: 1.1rem;
  }

  /* ── SECCIONES ── */
  .section {
    position: relative;
    z-index: 1;
    padding: 5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--verde-claro);
    margin-bottom: 1rem;
  }

  .section h2 {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.2rem;
    max-width: 600px;
  }

  .section-text {
    color: var(--texto-dim);
    font-size: 1.05rem;
    max-width: 580px;
    margin-bottom: 3rem;
  }

  /* ── MISIÓN ── */
.mission-section {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(45,106,79,0.18) 0%, rgba(13,31,19,0.95) 65%),
    radial-gradient(ellipse at 80% 20%, rgba(233,196,106,0.12), transparent 45%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mission-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.mission-section h2 {
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  max-width: 760px;
  margin-bottom: 1.5rem;
  line-height: 1.12;
}

.mission-lead {
  color: var(--texto);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  max-width: 760px;
  margin-bottom: 1.2rem;
}

.mission-text {
  color: var(--texto-dim);
  font-size: 1.02rem;
  max-width: 720px;
  margin-bottom: 3rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.mission-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform .2s, border-color .2s;
}

.mission-card:hover {
  transform: translateY(-3px);
  border-color: var(--verde-claro);
}

.mission-icon {
  font-size: 2rem;
  margin-bottom: .8rem;
}

.mission-card h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: .5rem;
}

.mission-card p {
  color: var(--texto-dim);
  font-size: .9rem;
}

.mission-closing {
  font-family: var(--font-title);
  color: var(--dorado);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  max-width: 720px;
}

  /* ── ¿Cómo se juega? ── */
  .how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
  }

 .how-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease, border-color .2s;
}

.how-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.how-card:hover {
  border-color: var(--verde-claro);
  transform: translateY(-3px);
}

.how-card:nth-child(1) { transition-delay: 0s; }
.how-card:nth-child(2) { transition-delay: .15s; }
.how-card:nth-child(3) { transition-delay: .3s; }
.how-card:nth-child(4) { transition-delay: .45s; }
  

  .how-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(82,183,136,0.06) 0%, transparent 60%);
    pointer-events: none;
  }

  .how-num {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(82,183,136,0.2);
    line-height: 1;
    margin-bottom: .5rem;
  }

  .how-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .4rem;
  }

  .how-card p {
    font-size: .9rem;
    color: var(--texto-dim);
  }

  /* ── MECÁNICAS ── */
  .mechanics-section {
    background: var(--fondo2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 5rem 1.5rem;
  }

  .mechanics-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .mechanics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .mechanic-card {
    display: flex;
    gap: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.4rem;
    transition: border-color .2s;
  }

  .mechanic-card:hover { border-color: var(--verde-claro); }

  .mechanic-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 3rem;
    text-align: center;
  }

  .mechanic-card h3 {
    font-size: .95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .3rem;
  }

  .mechanic-card p {
    font-size: .85rem;
    color: var(--texto-dim);
  }

  /* ── PROGRESIÓN ── */
  .progress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

  .progress-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease, border-color .2s;
}

.progress-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.progress-item:hover {
  transform: translateY(-3px);
  border-color: var(--dorado);
}

.progress-item:nth-child(1) { transition-delay: 0s; }
.progress-item:nth-child(2) { transition-delay: .15s; }
.progress-item:nth-child(3) { transition-delay: .3s; }
.progress-item:nth-child(4) { transition-delay: .45s; }

 

  .progress-item .icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .progress-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dorado);
    margin-bottom: .4rem;
  }

  .progress-item p {
    font-size: .85rem;
    color: var(--texto-dim);
  }

  /* ── COMUNIDAD ── */
  .community-section {
    background: linear-gradient(135deg, rgba(45,106,79,0.15) 0%, transparent 60%);
    border-top: 1px solid var(--border);
    padding: 5rem 1.5rem;
  }

  .community-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  @media (max-width: 700px) {
    .community-inner { grid-template-columns: 1fr; gap: 2rem; }
  }

  .photo-mosaic {
  display: grid;
  grid-template-columns: 3fr 2fr;  /* ← antes era 1fr 1fr */
  grid-template-rows: auto auto;
  gap: .75rem;
}

  .photo-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: .75rem;
    position: relative;
    overflow: hidden;
    transition: transform .2s;
  }

  .photo-card:hover { transform: scale(1.02); }

  .photo-card:first-child {
  grid-row: span 2;
  aspect-ratio: unset; /* que el grid defina la altura */
}

  .photo-card-inner {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,31,19,0.9) 0%, transparent 50%);
  }

  .photo-label {
    position: relative;
    z-index: 1;
    font-size: .75rem;
    color: var(--texto-dim);
  }

  .photo-emoji {
    font-size: 3rem;
    text-align: center;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    align-self: center;
  }

  .photo-likes {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    color: var(--texto-dim);
    position: relative;
    z-index: 1;
  }

  /* ── BIOMAS ── */
  .biomes-section {
    padding: 5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .biomes-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
  }

  .biome-tag {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: .5rem 1.2rem;
    font-size: .9rem;
    color: var(--texto-dim);
    transition: background .2s, color .2s, border-color .2s;
    cursor: default;
  }

  .biome-tag:hover {
    background: rgba(82,183,136,0.15);
    border-color: var(--verde-claro);
    color: var(--verde-claro);
  }

  /* ── CTA FINAL ── */
  .cta-section {
    text-align: center;
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 1;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(45,106,79,0.3) 0%, transparent 70%);
    pointer-events: none;
  }

  .cta-section h2 {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
  }

  .cta-section p {
    color: var(--texto-dim);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    position: relative;
  }

  /* ── DIVIDER ── */
  .divider {
    border: none;
    border-top: 1px solid var(--border);
    max-width: 1100px;
    margin: 0 auto;
  }

  /* ── Animaciones ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(-6px); }
  }

 /* ── SCREENSHOTS ── */
.screenshots-section {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3rem;
}

.screenshots-track {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.screenshots-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.screenshot-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  transition: transform .45s cubic-bezier(.4,0,.2,1),
              opacity  .45s cubic-bezier(.4,0,.2,1),
              width    .45s cubic-bezier(.4,0,.2,1);
}

.screenshot-frame {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.screenshot-slide[data-pos="0"] .screenshot-frame {
  border-color: var(--verde-claro);
  box-shadow: 0 24px 80px rgba(82,183,136,0.3);
}

.screenshot-frame img {
  width: 100%;
  display: block;
}

.screenshot-caption {
  font-size: .82rem;
  color: var(--texto-dim);
  text-align: center;
  max-width: 200px;
  line-height: 1.4;
  white-space: normal;
  opacity: 0;
  transition: opacity .3s;
}

.screenshot-slide[data-pos="0"] .screenshot-caption {
  opacity: 1;
}

.ss-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--texto);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  z-index: 10;
}

.ss-arrow:hover {
  background: rgba(82,183,136,0.15);
  border-color: var(--verde-claro);
}

.ss-prev { left: 1.5rem; }
.ss-next { right: 1.5rem; }

.ss-dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: 1.5rem;
}

.ss-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  border: none;
  transition: background .2s, transform .2s;
}

.ss-dot.active {
  background: var(--verde-claro);
  transform: scale(1.3);
}

.screenshots-track { height: 780px; }

@media (max-width: 600px) {
  .screenshots-track { height: 620px; }
}

/* ── Animaciones scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}