/* DESTINO -- landing (index.html) */

.page {
  width: 100%;
  background: #06130e;
  color: #f4e9cf;
  font-family: 'Manrope', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.col {
  width: 100%;
  max-width: 460px;
  position: relative;
}

/* ---------- Animaciones ---------- */
@keyframes tw {
  0%,
  100% {
    opacity: 0.1;
    transform: rotate(45deg) scale(0.5);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}
@keyframes tw2 {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.4);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes sweep {
  0% {
    background-position: 150% 0;
  }
  55%,
  100% {
    background-position: -50% 0;
  }
}
@keyframes gl {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.3) rotate(0);
  }
  45% {
    opacity: 1;
    transform: scale(1) rotate(20deg);
  }
  70% {
    opacity: 0;
    transform: scale(0.4) rotate(45deg);
  }
}
@keyframes ring {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(226, 166, 44, 0.35);
  }
  50% {
    box-shadow: 0 8px 38px rgba(255, 214, 110, 0.75);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 16px 20px 30px;
}

.hero-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  opacity: 0.5;
}

.hero-shade {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 19, 14, 0.7) 0%, rgba(6, 19, 14, 0.2) 30%, rgba(6, 19, 14, 0.55) 70%, #06130e 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Destellos de fondo (rombos) */
.sp {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #ffd978;
  box-shadow: 0 0 10px 2px rgba(255, 200, 90, 0.8);
  transform: rotate(45deg);
  animation: tw 3.4s ease-in-out infinite;
}
.sp-1 { left: 12%; top: 18%; animation-delay: 0.2s; }
.sp-2 { left: 82%; top: 12%; animation-delay: 1.1s; width: 5px; height: 5px; }
.sp-3 { left: 30%; top: 34%; animation-delay: 2s; width: 5px; height: 5px; }
.sp-4 { left: 90%; top: 38%; animation-delay: 0.7s; }
.sp-5 { left: 6%; top: 52%; animation-delay: 1.6s; width: 5px; height: 5px; }
.sp-6 { left: 70%; top: 55%; animation-delay: 2.6s; }
.sp-7 { left: 48%; top: 8%; animation-delay: 1.9s; width: 4px; height: 4px; }
.sp-8 { left: 20%; top: 72%; animation-delay: 0.4s; width: 4px; height: 4px; }
.sp-9 { left: 86%; top: 76%; animation-delay: 1.3s; width: 5px; height: 5px; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.badge-18 {
  display: inline-block;
  border: 1px solid rgba(232, 185, 80, 0.6);
  color: #ffd978;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(6, 19, 14, 0.6);
}

/* ---------- Logo ---------- */
.logo-block {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  position: relative;
  width: 100%;
  max-width: 340px;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 200, 90, 0.35));
}

.logo-shine {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: url(../assets/destino-logo.webp);
  mask-image: url(../assets/destino-logo.webp);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.95) 50%, transparent 60%);
  background-size: 300% 100%;
  background-position: 150% 0;
  mix-blend-mode: screen;
  animation: sweep 12s ease-in-out infinite;
}

/* Destellos sobre el logo (estrellas) */
.gl {
  position: absolute;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  opacity: 0;
  animation: gl 3s ease-in-out infinite;
  pointer-events: none;
}
.gl::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
}
.gl::after {
  content: '';
  position: absolute;
  left: -7px;
  top: -7px;
  right: -7px;
  bottom: -7px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 225, 140, 0.75), transparent 65%);
}
.gl-1 { left: 8%; top: 24%; animation-delay: 0s; }
.gl-2 { left: 35%; top: 17%; animation-delay: 0.5s; }
.gl-3 { left: 50%; top: 14%; animation-delay: 1.1s; }
.gl-4 { left: 66%; top: 19%; animation-delay: 1.7s; }
.gl-5 { left: 86%; top: 17%; animation-delay: 0.3s; }
.gl-6 { left: 93%; top: 30%; animation-delay: 2.2s; }
.gl-7 { left: 28%; top: 86%; animation-delay: 1.4s; }
.gl-8 { left: 72%; top: 84%; animation-delay: 2.7s; }
.gl-9 { left: 15%; top: 70%; animation-delay: 0.9s; }

.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  width: 80%;
  max-width: 300px;
}
.divider-line {
  flex-grow: 1;
  height: 1px;
}
.divider-line-l { background: linear-gradient(90deg, transparent, #e6b43f); }
.divider-line-r { background: linear-gradient(270deg, transparent, #e6b43f); }
.divider-diamond {
  width: 8px;
  height: 8px;
  background: #ffd978;
  transform: rotate(45deg);
}

.tagline {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d9c48a;
  font-weight: 600;
}

.hook {
  text-align: center;
  margin-top: 22px;
}
.hook p {
  margin: 0;
  font-size: 16px;
  color: #f4e9cf;
}

/* ---------- Entrada al chat ---------- */
.entry {
  padding: 0 20px;
}

.entry-card {
  margin-top: 24px;
  background: rgba(10, 45, 33, 0.78);
  border: 1px solid rgba(232, 185, 80, 0.4);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.entry-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.entry-head svg {
  flex-shrink: 0;
}
.entry-name {
  font-weight: 800;
  font-size: 16px;
}
.entry-head .status {
  margin-top: 2px;
}

.entry-bubble {
  margin-top: 14px;
  padding: 12px 14px;
  line-height: 1.45;
  color: #f4e9cf;
}

.cta-play {
  gap: 10px;
  height: 60px;
  margin-top: 16px;
  border-radius: 14px;
  font-size: 18px;
  letter-spacing: 0.08em;
}
.ring {
  animation: ring 2.8s ease-in-out infinite;
}

.entry-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  color: #aab8ad;
}

/* ---------- Confianza ---------- */
.trust {
  padding: 18px 20px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.trust-item {
  border: 1px solid rgba(232, 185, 80, 0.25);
  background: rgba(10, 45, 33, 0.45);
  border-radius: 14px;
  padding: 12px 6px;
  text-align: center;
}
.trust-label {
  font-size: 12px;
  font-weight: 800;
  margin-top: 6px;
}

/* ---------- Pasos ---------- */
.steps {
  padding: 34px 20px 0;
}
.steps-title {
  margin: 0 0 16px;
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd978;
  text-align: center;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(10, 45, 33, 0.45);
  border: 1px solid rgba(232, 185, 80, 0.2);
  border-radius: 16px;
  padding: 14px;
}
.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe58a, #c98a1b);
  color: #2a1600;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-title {
  font-weight: 800;
  font-size: 15px;
}
.step-text {
  font-size: 13px;
  color: #b9c4bb;
  margin-top: 2px;
}

/* ---------- Grupo de sorteos (WhatsApp) ---------- */
.group {
  padding: 30px 20px 0;
}
.group-card {
  border: 1px solid rgba(232, 185, 80, 0.45);
  border-radius: 20px;
  padding: 20px;
  background: linear-gradient(160deg, #5a0f1f, #2a0711);
  text-align: center;
}
.group-title {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 20px;
  color: #ffd978;
}
.group-text {
  margin: 8px 0 14px;
  font-size: 14px;
  color: #ecdcc0;
}
.group-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  border: 2px solid #e6b43f;
  color: #ffd978;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* ---------- Pie ---------- */
.footer {
  margin: 34px 20px 0;
  padding: 22px 0 40px;
  border-top: 1px solid rgba(232, 185, 80, 0.2);
  text-align: center;
}
.badge-18-sm {
  display: inline-block;
  border: 1px solid rgba(232, 185, 80, 0.6);
  color: #ffd978;
  font-weight: 800;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
}
.footer-legal {
  margin: 12px 0 4px;
  font-size: 12px;
  color: #aab8ad;
}
.footer-copy {
  margin: 0;
  font-size: 12px;
  color: #7f8e83;
}

@media (prefers-reduced-motion: reduce) {
  .ring {
    animation: none;
  }
  .logo-shine,
  .gl {
    display: none;
  }
  .sp {
    animation: none !important;
    opacity: 0.7;
  }
}

/* Escritorio: la columna queda centrada (máx. 460px) y el fondo cubre la pantalla */
@media (min-width: 521px) {
  body {
    background: radial-gradient(1100px 620px at 50% -8%, rgba(14, 59, 44, 0.7), #06130e 70%) fixed;
  }
  .page {
    background: transparent;
  }
  .col {
    background: #06130e;
    box-shadow: 0 0 0 1px rgba(232, 185, 80, 0.15), 0 24px 80px rgba(0, 0, 0, 0.6);
  }
}
