/* =============================================
   MELONN EDITION — styles.css
   ============================================= */

/* --- Variables --- */
:root {
  --color-bg:       #0A0A0F;
  --color-surface:  #13131A;
  --color-accent:   #604EE9;
  --color-white:    #F5F5F5;
  --color-muted:    #888899;

  --font-display:   'Sora', sans-serif;
  --font-body:      'Poppins', sans-serif;

  --max-width:      1100px;
  --section-gap:    120px;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

p {
  line-height: 1.20;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Layout utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

/* Particle canvas */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Grid background */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96, 78, 233, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 78, 233, 0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(600px) rotateX(20deg) scale(1.3);
  transform-origin: center bottom;
  pointer-events: none;
}

/* Fade-out bottom edge of grid */
.hero__grid::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--color-bg), transparent);
}

/* Nav bar */
.hero__nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  z-index: 10;
}

.hero__logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
}

.hero__nav-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  text-transform: uppercase;
}

/* Strip */
.hero__strip {
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: #2A2A38;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 100px;
}

.hero__strip-left {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--color-muted);
}

.hero__strip-right {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

.hero__strip-wordmark {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-white);
}

.hero__strip-edilab {
  display: none;
  /* display: inline-flex; */
  align-items: center;
  gap: 0;
  margin-left: 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  text-decoration: none;
}

.hero__strip-edilab-img {
  height: 14px;
  width: auto;
  vertical-align: middle;
}

/* Content */
.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero__edition {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-white);
  max-width: 800px;
}

.hero__subline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: var(--color-muted);
  max-width: 520px;
}

.hero__cta {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 36px;
  background-color: #4D2AAD;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.hero__cta:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .hero__content {
    padding: 0 24px;
  }
}

/* =============================================
   LAUNCHES
   ============================================= */

.launches {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 100px 0 35px;
  background-color: var(--color-bg);
  overflow: hidden;
}

.launches__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 40px;
  margin-bottom: 48px;
}

.launches__label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.launches__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
  line-height: 1.1;
}

.launches__nav {
  display: flex;
  gap: 10px;
  padding-bottom: 4px;
}

.launches__arrow {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.launches__arrow:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--color-white);
}

.launches__footer {
  display: flex;
  justify-content: center;
  margin-top: 78px;
}

.launches__all-btn {
  display: inline-block;
  padding: 14px 36px;
  background-color: #4D2AAD;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.launches__all-btn:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .launches__all-btn {
    white-space: normal;
    text-align: center;
    max-width: 220px;
  }
}

.launches__arrow:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

/* Viewport clips overflow, showing partial next card */
.launches__viewport {
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  padding: 20px 40px;
  box-sizing: border-box;
}

.launches__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Cards */
.launch-card {
  flex: 0 0 340px;
  min-height: 280px;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: default;
  position: relative;
  z-index: 0;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease;
  opacity: 0.88;
}

.launch-card:hover {
  transform: scale(1.12);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  opacity: 1;
  z-index: 10;
}

/* Card 01 — neón azul */
@keyframes neon-pulse-home {
  0%, 100% {
    box-shadow:
      0 0 8px  rgba(0, 170, 255, 0.40),
      0 0 24px rgba(0, 170, 255, 0.22),
      0 0 56px rgba(0, 170, 255, 0.12),
      0 0 80px rgba(0, 170, 255, 0.06);
    border-color: rgba(0, 170, 255, 0.55);
  }
  50% {
    box-shadow:
      0 0 14px rgba(0, 170, 255, 0.65),
      0 0 38px rgba(0, 170, 255, 0.38),
      0 0 72px rgba(0, 170, 255, 0.20),
      0 0 110px rgba(0, 170, 255, 0.09);
    border-color: rgba(0, 170, 255, 0.85);
  }
}

.launch-card--featured {
  border-color: rgba(0, 170, 255, 0.55);
  box-shadow:
    0 0 8px  rgba(0, 170, 255, 0.40),
    0 0 24px rgba(0, 170, 255, 0.22),
    0 0 56px rgba(0, 170, 255, 0.12),
    0 0 80px rgba(0, 170, 255, 0.06);
  animation: neon-pulse-home 2.2s ease-in-out infinite;
}

.launch-card--featured:hover {
  box-shadow:
    0 0 10px rgba(0, 170, 255, 0.50),
    0 0 26px rgba(0, 170, 255, 0.28),
    0 20px 48px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 170, 255, 0.85);
  animation: none;
}

/* LED dot */
@keyframes led-blink {
  0%, 48%  { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.launch-card--featured .launch-card__index {
  overflow: visible;
}

.launch-card--featured .launch-card__index::before {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgb(0, 170, 255);
  box-shadow: 0 0 8px rgba(0, 170, 255, 0.8);
  animation: led-blink 1.4s step-end infinite;
}

.launches__track:has(.launch-card:hover) .launch-card:not(:hover) {
  opacity: 0.82;
}

/* Image block */
.launch-card__image-link {
  display: block;
  cursor: pointer;
}

.launch-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 14px;
  background: #0e0e16;
}

.launch-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(60%) brightness(0.55);
  transition: filter 0.35s ease;
}

.launch-card:hover .launch-card__image img {
  filter: none;
}

/* Number overlay */
.launch-card__index {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.45);
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.launch-card__category {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 5px;
}

.launch-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 8px;
}

.launch-card__benefit {
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 300;
  line-height: 1.20;
  color: var(--color-muted);
}

.launch-card__cta {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
}

.launch-card:hover .launch-card__cta {
  color: var(--color-white);
}

/* =============================================
   ECOSYSTEM
   ============================================= */

.ecosystem {
  position: relative;
  isolation: isolate;
  padding: 55px 0 65px;
  background-color: var(--color-bg);
  overflow: hidden;
}

.ecosystem__comet-head,
.ecosystem__comet-tail {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}

.ecosystem__comet-head {
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.35) 0%, transparent 70%);
  transition: transform 0.06s ease, opacity 0.3s ease;
}

.ecosystem__comet-tail {
  width: 140px;
  height: 140px;
  margin: -70px 0 0 -70px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.12) 0%, transparent 70%);
  filter: blur(12px);
  transition: transform 0.45s ease, opacity 0.4s ease;
}

.ecosystem__header {
  text-align: center;
  margin-bottom: 64px;
}

.ecosystem__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 20px;
  animation: ecosystem-pulse 4s ease-in-out infinite;
}

@keyframes ecosystem-pulse {
  0%, 100% { text-shadow: 0 0 10px rgba(0, 200, 255, 0.2), 0 0 24px rgba(0, 200, 255, 0.08); }
  50%       { text-shadow: 0 0 22px rgba(0, 200, 255, 0.7), 0 0 50px rgba(0, 200, 255, 0.3); }
}

.ecosystem__desc {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 300;
  line-height: 1.20;
  color: var(--color-muted);
}

.ecosystem__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.ecosystem__logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 80px;
  cursor: default;
}

.ecosystem__logo-item:hover {
  z-index: 2;
}

.ecosystem__logo-item img {
  max-width: 160px;
  max-height: 56px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.45);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.ecosystem__logo-item:hover img {
  filter: brightness(0) invert(1) opacity(0.85);
  transform: scale(1.28);
}

@media (max-width: 768px) {
  .ecosystem__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .ecosystem__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =============================================
   UPCOMING
   ============================================= */

.upcoming {
  position: relative;
  isolation: isolate;
  padding: 110px 0 130px;
  background-color: var(--color-bg);
  overflow: hidden;
}

/* Header */
.upcoming__header {
  text-align: center;
  margin-bottom: 64px;
}

.upcoming__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.upcoming__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 18px;
}

.upcoming__desc {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 300;
  line-height: 1.20;
  color: var(--color-muted);
}

/* Pipeline */
.upcoming__pipeline {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-bottom: 80px;
}

/* Línea continua de fondo */
.upcoming__pipeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  z-index: 0;
}

.upcoming__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.upcoming__step--1 .upcoming__card { margin-top: 0; }
.upcoming__step--2 .upcoming__card { margin-top: 24px; }
.upcoming__step--3 .upcoming__card { margin-top: 48px; }
.upcoming__step--4 .upcoming__card { margin-top: 72px; }

.upcoming__connector {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 12px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.upcoming__num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px;
  display: block;
  transform-origin: left center;
  transition: transform 0.35s ease, color 0.35s ease;
}

.upcoming__node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
  background: #0D0D14;
  position: relative;
  z-index: 1;
}

.upcoming__card {
  width: calc(100% - 24px);
  margin-left: 12px;
  min-height: 160px;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0.82;
  position: relative;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    opacity 0.35s ease;
}

.upcoming__card:hover {
  transform: scale(1.14);
  border-color: rgba(255, 255, 255, 0.22);
  opacity: 1;
  z-index: 10;
}

.upcoming__step:hover .upcoming__num {
  transform: scale(2);
  color: rgba(255, 255, 255, 0.85);
}

.upcoming__card-icon {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.upcoming__card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-white);
  line-height: 1.3;
}

.upcoming__card-text {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.20;
  color: var(--color-muted);
}

/* Scroll reveal — base */
.upcoming__header,
.upcoming__step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

.upcoming__header.is-visible,
.upcoming__step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll reveal — launches header: entra desde la izquierda */
.launches__header {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  will-change: opacity, transform;
}

.launches__header.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scroll reveal — launches footer */
.launches__footer {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  will-change: opacity, transform;
}

.launches__footer.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll reveal — launch-card: solo opacity para no interferir con el hover */
.launch-card {
  opacity: 0.001;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.launch-card.is-visible {
  opacity: 0.88;
}

.upcoming__step:nth-child(1) { transition-delay: 0ms; }
.upcoming__step:nth-child(2) { transition-delay: 90ms; }
.upcoming__step:nth-child(3) { transition-delay: 180ms; }
.upcoming__step:nth-child(4) { transition-delay: 270ms; }

.launch-card:nth-child(1) { transition-delay: 0ms; }
.launch-card:nth-child(2) { transition-delay: 60ms; }
.launch-card:nth-child(3) { transition-delay: 120ms; }
.launch-card:nth-child(4) { transition-delay: 180ms; }
.launch-card:nth-child(5) { transition-delay: 240ms; }
.launch-card:nth-child(6) { transition-delay: 300ms; }

/* Responsive */
@media (max-width: 860px) {
  .upcoming__pipeline {
    flex-direction: column;
    padding-bottom: 0;
  }

  .upcoming__pipeline::before {
    top: 0;
    bottom: 0;
    left: 20px;
    right: auto;
    width: 1px;
    height: 100%;
  }

  .upcoming__step,
  .upcoming__step--1,
  .upcoming__step--2,
  .upcoming__step--3,
  .upcoming__step--4 {
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .upcoming__connector {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    margin-bottom: 0;
    margin-right: 16px;
    width: 20px;
    flex-shrink: 0;
  }

  .upcoming__num {
    font-size: 0.6rem;
    margin-bottom: 6px;
  }

  .upcoming__card {
    width: 100%;
    margin-left: 0;
    min-height: unset;
  }

  .upcoming__card:hover {
    transform: none;
  }

  .upcoming__step:hover .upcoming__num {
    transform: none;
  }
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  position: relative;
  isolation: isolate;
  background-color: transparent;
  padding: 0 24px 40px;
}

.footer .container {
  isolation: isolate;
  background: #2A2A38;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 72px 48px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer__brand {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.20;
  color: var(--color-muted);
  max-width: 220px;
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.footer__copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 0.02em;
  text-align: center;
}

@media (max-width: 680px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__copy {
    text-align: center;
  }
}

/* =============================================
   GRANDES LOGROS
   ============================================= */

.grandes-logros {
  padding: 80px 0 40px;
  background-color: var(--color-bg);
  position: relative;
  isolation: isolate;
}

.grandes-logros__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.grandes-logros__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-align: left;
  margin-bottom: 40px;
}

.grandes-logros__img {
  display: block;
  width: 100%;
  border-radius: 10px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.grandes-logros__body {
  max-width: 640px;
  text-align: left;
}

.grandes-logros__text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.20;
  color: var(--color-muted);
  text-align: left;
  margin-bottom: 20px;
}

.grandes-logros__btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 100px;
  padding: 5px 16px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.grandes-logros__btn:hover {
  background: rgba(255, 255, 255, 0.13);
}

/* =============================================
   RETRO GRID
   ============================================= */

.lanzamientos-destacados {
  padding: 40px 0 80px;
  background-color: var(--color-bg);
  position: relative;
  isolation: isolate;
}

.lanzamientos-destacados__header {
  margin-bottom: 40px;
}

.lanzamientos-destacados__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.lanzamientos-destacados__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

/* --- Layout: 1 main left + 2x2 aside right --- */
.retro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.retro-layout__aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.retro-layout__aside .retro-win {
  aspect-ratio: 1;
}

/* --- Window base --- */
.retro-win {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #C0BFC0;
  border-radius: 7px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.13),
    0 28px 18px -16px rgba(0, 0, 0, 0.07);
}

.retro-win--main {
  aspect-ratio: 1;
  height: auto;
}

.retro-win:hover {
  transform: translateY(-10px) scale(1.09);
  z-index: 10;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.26),
    0 8px 20px rgba(0, 0, 0, 0.18),
    0 50px 32px -20px rgba(0, 0, 0, 0.12);
}

/* --- Linux title bar --- */
.retro-win__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: linear-gradient(to bottom, #E0DFDF 0%, #CACAC8 100%);
  border-bottom: 1px solid #AFAFAF;
  flex-shrink: 0;
}

.retro-win__dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.retro-win__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(0,0,0,0.15);
}

.retro-win__dots i:nth-child(1) { background: #FF6057; }
.retro-win__dots i:nth-child(2) { background: #FFBD2E; }
.retro-win__dots i:nth-child(3) { background: #27C840; }

.retro-win__filename {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Image --- */
.retro-win__img {
  flex: 1;
  min-height: 0;
  background: #000000;
  position: relative;
}

.retro-win__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* --- Footer --- */
.retro-win__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 13px;
  background: #F5F5F5;
  border-top: 1px solid #DEDEDE;
  flex-shrink: 0;
}

.retro-win__name {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: #1A1A2E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.retro-win__arrow {
  font-size: 0.82rem;
  color: #777;
  flex-shrink: 0;
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .retro-layout {
    grid-template-columns: 1fr;
  }
  .retro-layout__aside {
    grid-template-columns: 1fr 1fr;
  }
}

/* =============================================
   STARS BACKGROUND
   ============================================= */

.stars-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  will-change: opacity;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.06; }
  50%       { opacity: 0.44; }
}
