:root {
  --mint: #2ef2ae;
  --mint-2: #61ffc6;
  --cyan: #12c9ef;
  --text: #f7f8f9;
  --muted: #d1d8dc;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  background: #02090d;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-image: url("assets/background.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Oscurece sólo lo necesario para que el HTML siempre sea legible */
.shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 10, 15, .10) 0%, rgba(0, 7, 10, .22) 45%, rgba(0, 4, 7, .38) 100%),
    linear-gradient(to bottom, rgba(0, 6, 10, .05), rgba(0, 6, 10, .18));
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 2;
  width: min(980px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-1vh);
  text-shadow: 0 3px 20px rgba(0,0,0,.75);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
}

.prompt {
  color: var(--mint);
  font-weight: 900;
  font-size: clamp(46px, 6.4vw, 92px);
  letter-spacing: -0.14em;
  filter: drop-shadow(0 0 16px rgba(46,242,174,.30));
}

h1 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(44px, 6.2vw, 92px);
  line-height: .95;
  letter-spacing: .01em;
  font-weight: 900;
  color: #fff;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.40));
}

h1 .brand-accent {
  color: var(--mint);
}

.construction-title {
  width: min(710px, 82vw);
  margin-top: clamp(22px, 3vw, 32px);
  display: flex;
  align-items: center;
  gap: 22px;
}
.construction-title span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint));
  box-shadow: 0 0 8px rgba(46,242,174,.4);
}
.construction-title span:last-child {
  background: linear-gradient(90deg, var(--mint), transparent);
}
.construction-title p {
  margin: 0;
  white-space: nowrap;
  font-size: clamp(18px, 2vw, 29px);
  color: #fff;
}

.subtitle {
  margin: 16px 0 23px;
  font-size: clamp(14px, 1.4vw, 19px);
  color: var(--muted);
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(560px, 78vw);
  margin-bottom: 30px;
}
.progress-track {
  flex: 1;
  height: 30px;
  padding: 3px;
  border: 2px solid var(--mint);
  border-radius: 999px;
  background: rgba(0, 15, 17, .42);
  box-shadow: 0 0 18px rgba(46,242,174,.18), inset 0 0 12px rgba(0,0,0,.45);
  overflow: hidden;
}
.progress-fill {
  width: 75%;
  height: 100%;
  border-radius: inherit;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 14px, transparent 14px 28px),
    linear-gradient(90deg, #06dba7, #55ffc2);
  background-size: 56px 100%, 100% 100%;
  box-shadow: 0 0 20px rgba(46,242,174,.4);
  animation: progressMove 1.7s linear infinite;
}
.progress-row strong {
  color: var(--mint);
  font-size: clamp(22px, 2.2vw, 31px);
}

.youtube-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 320px;
  padding: 18px 30px;
  border-radius: 12px;
  text-decoration: none;
  color: #02140f;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 900;
  background: linear-gradient(180deg, #58ffc7, #29efaa);
  box-shadow: 0 14px 35px rgba(39,239,170,.25), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.youtube-button:hover {
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.06);
  box-shadow: 0 20px 46px rgba(39,239,170,.36);
}
.youtube-button:focus-visible {
  outline: 3px solid white;
  outline-offset: 5px;
}
.youtube-icon {
  width: 34px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #00110c;
}
.youtube-icon svg { width: 25px; height: 25px; fill: var(--mint); }
.arrow { font-size: 28px; line-height: 1; }

@keyframes progressMove {
  to { background-position: 56px 0, 0 0; }
}

@media (max-width: 700px) {
  .hero {
    background-position: 50% center;
  }
  .shade {
    background: rgba(0, 7, 10, .46);
  }
  .content {
    width: 94vw;
    padding: 28px 10px;
  }
  .brand { gap: 10px; }
  .prompt { font-size: clamp(40px, 12vw, 58px); }
  h1 { font-size: clamp(34px, 10.5vw, 54px); }
  .construction-title { width: 90vw; gap: 10px; }
  .construction-title p { white-space: normal; line-height: 1.3; }
  .progress-row { width: 88vw; gap: 10px; }
  .progress-track { height: 24px; }
  .youtube-button { min-width: min(300px, 86vw); padding: 16px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
