/*
 * Creador del código fuente: Maximiliano Muñiz.
 * © 2026 Maximiliano Muñiz. Todos los derechos reservados.
 * Queda terminantemente prohibida la copia parcial o total del código fuente.
 * Contacto: maxmunarg@gmail.com
 */
:root {
  --hdlv-welcome-ivory: #f2ecdd;
  --hdlv-welcome-muted: #c4beae;
  --hdlv-welcome-gold: #c9aa69;
  --hdlv-welcome-gold-bright: #ecd38e;
}

html.hdlv-welcome-active,
body.hdlv-welcome-active {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.hdlv-welcome,
.hdlv-welcome * {
  box-sizing: border-box;
}

.hdlv-welcome {
  isolation: isolate;
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: grid;
  width: 100vw !important;
  max-width: none !important;
  height: 100vh !important;
  height: 100svh !important;
  margin: 0 !important;
  padding: clamp(24px, 5vw, 72px) !important;
  overflow: hidden;
  place-items: center;
  background: #070a0b;
  color: var(--hdlv-welcome-ivory);
  font-family: Georgia, "Times New Roman", serif;
}

.hdlv-welcome-scene {
  position: absolute;
  inset: -2%;
  z-index: -5;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(.72) contrast(1.05) brightness(.56);
  transform: scale(1.025);
  animation: hdlv-welcome-breathe 14s ease-in-out infinite alternate;
}

.hdlv-welcome-vignette {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 50% 45%, rgba(6,11,13,.18) 0%, rgba(4,7,8,.34) 35%, rgba(1,3,4,.78) 108%),
    linear-gradient(180deg, rgba(1,3,4,.34), transparent 35%, rgba(1,3,4,.56));
}

.hdlv-welcome-card {
  width: min(94vw, 760px);
  border: 1px solid rgba(201,170,105,.46);
  border-radius: 3px;
  padding: clamp(32px, 5.5vw, 64px);
  background: linear-gradient(145deg, rgba(8,14,15,.91), rgba(5,9,10,.78));
  box-shadow: 0 36px 110px rgba(0,0,0,.62), inset 0 0 90px rgba(201,170,105,.035);
  text-align: center;
  backdrop-filter: blur(14px);
  animation: hdlv-welcome-reveal .9s ease both;
}

.hdlv-welcome-ornament {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  width: min(230px, 70%);
  margin: 0 auto 25px;
  color: var(--hdlv-welcome-gold);
}

.hdlv-welcome-ornament span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,170,105,.85));
}

.hdlv-welcome-ornament span:last-child {
  background: linear-gradient(90deg, rgba(201,170,105,.85), transparent);
}

.hdlv-welcome-ornament b { font-size: .8rem; font-weight: normal; }

.hdlv-welcome-eyebrow {
  margin: 0 0 13px;
  color: var(--hdlv-welcome-gold-bright);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.hdlv-welcome h1 {
  margin: 0;
  color: var(--hdlv-welcome-ivory);
  font-size: clamp(2.2rem, 5.4vw, 4.5rem);
  font-weight: 400;
  line-height: .98;
  text-wrap: balance;
}

.hdlv-welcome h1 strong {
  color: #f6e5b5;
  font-weight: 400;
}

.hdlv-welcome-copy {
  max-width: 540px;
  margin: 22px auto 0;
  color: var(--hdlv-welcome-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(.9rem, 1.6vw, 1.05rem);
  line-height: 1.6;
}

.hdlv-newsletter-form {
  max-width: 610px;
  margin: 31px auto 0;
}

.hdlv-newsletter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.hdlv-newsletter-row input {
  min-width: 0;
  border: 1px solid rgba(242,236,221,.3);
  border-radius: 999px;
  padding: 15px 20px;
  background: rgba(255,255,255,.055);
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.hdlv-newsletter-row input::placeholder { color: rgba(242,236,221,.52); }

.hdlv-newsletter-row input:focus {
  border-color: var(--hdlv-welcome-gold-bright);
  background: rgba(255,255,255,.085);
  box-shadow: 0 0 0 3px rgba(236,211,142,.12);
}

.hdlv-newsletter-row button {
  border: 1px solid var(--hdlv-welcome-gold-bright);
  border-radius: 999px;
  padding: 15px 24px;
  background: var(--hdlv-welcome-gold-bright);
  color: #15140f;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
  transition: background .25s ease, transform .25s ease, opacity .25s ease;
}

.hdlv-newsletter-row button:hover { background: #f5e2ad; transform: translateY(-2px); }
.hdlv-newsletter-row button:disabled { cursor: wait; opacity: .62; transform: none; }

.hdlv-consent {
  margin: 13px auto 0;
  color: rgba(242,236,221,.52);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .68rem;
  line-height: 1.45;
}

.hdlv-form-status {
  min-height: 21px;
  margin: 12px 0 0;
  color: var(--hdlv-welcome-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  line-height: 1.5;
}

.hdlv-form-status.is-success { color: #d7e8b0; }
.hdlv-form-status.is-error { color: #f0b7aa; }

.hdlv-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.hdlv-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

.hdlv-welcome-stars i {
  position: absolute;
  top: 12%;
  left: 24%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #f3dda1;
  box-shadow: 0 0 9px #e6c67d;
  animation: hdlv-star-pulse 4s ease-in-out infinite;
}

.hdlv-welcome-stars i:nth-child(2) { top: 21%; left: 39%; animation-delay: 1.2s; }
.hdlv-welcome-stars i:nth-child(3) { top: 14%; left: 65%; animation-delay: 2.1s; }
.hdlv-welcome-stars i:nth-child(4) { top: 27%; left: 77%; animation-delay: .6s; }

@keyframes hdlv-welcome-reveal {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hdlv-welcome-breathe {
  from { transform: scale(1.025); }
  to { transform: scale(1.06); }
}

@keyframes hdlv-star-pulse {
  0%,100% { opacity: .25; transform: scale(.7); }
  50% { opacity: .9; transform: scale(1.25); }
}

@media (max-width: 680px) {
  .hdlv-welcome { padding: 18px !important; }
  .hdlv-welcome-card { padding: 30px 20px; }
  .hdlv-welcome-scene { background-position: 50% center; }
  .hdlv-newsletter-row { grid-template-columns: 1fr; }
  .hdlv-newsletter-row button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hdlv-welcome *,
  .hdlv-welcome *::before,
  .hdlv-welcome *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
