:root {
  color-scheme: light;
  --ink: #20202b;
  --muted: #6c6d7c;
  --purple: #6d28a8;
  --purple-dark: #542080;
  --purple-pale: #f4eef9;
  --purple-glow: #6d28a822;
  --line: #e7e5eb;
  --surface: #fff;
  --bg: #f7f7f9;
  --mint: #078b75;
  --radius-card: 18px;
  --shadow-card: 0 8px 28px #2521380a, 0 1px 3px #25213808;
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  /* subtle gradient background */
  background-image: radial-gradient(ellipse 70% 36% at 50% 0%, #f0eaf6 0%, transparent 65%);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}


.site-header {
  height: 76px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* frosted glass header */
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231, 229, 235, 0.9);
  max-width: 100%;
  padding: 0 clamp(18px, 4vw, 48px);
}



.brand-logo {
  display: block;
  width: 160px;
  height: 58px;
  overflow: hidden;
  border-radius: 12px;
  background: #080808;
  box-shadow: 0 2px 12px #0005, 0 0 0 1px #ffffff12;
  flex-shrink: 0;
}
.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  /* contain muestra el logo completo; el fondo negro del contenedor
     tapa los márgenes laterales, quedando invisible la diferencia */
  object-fit: contain;
  object-position: center center;
}
.brand-logo-small {
  width: 100px;
  height: 38px;
  border-radius: 9px;
}
.brand-logo-small img {
  object-fit: contain;
  object-position: center center;
}
.header-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.18s, color 0.18s;
}
.header-link:hover {
  background: var(--purple-pale);
  color: var(--purple);
}
.header-nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.header-social-links { display: flex; align-items: center; gap: 4px; }
.header-social-links[hidden] { display: none; }
.header-social-links a, .header-contact { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 999px; color: var(--purple); font-size: 12px; font-weight: 700; text-decoration: none; }
.header-social-links a:nth-child(n + 4) { display: none; }
.header-social-links a:hover { background: var(--purple-pale); }
.header-contact { background: #eaf7f1; color: #167653; }
.header-contact:hover { background: #d8f0e5; }
main {
  max-width: 1160px;
  margin: auto;
  padding: 32px 28px 72px;
}
.intro {
  text-align: center;
  margin: 24px 0 38px;
}
.section-kicker {
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}



h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
}
.intro h1 {
  margin: 15px 0 9px;
  font-size: clamp(36px, 5vw, 53px);
  line-height: 1.08;
  letter-spacing: -2.5px;
}
.intro h1 span {
  color: var(--purple);
}
.hero-slogan { font-size: clamp(31px, 4.3vw, 48px); letter-spacing: -1.8px; }
.intro p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.draw-status {
  max-width: 820px;
  margin: 0 auto 28px;
  padding: 20px 24px;
  border: 1px solid #e6ddec;
  border-radius: 16px;
  background: linear-gradient(120deg, #fff 0%, #fbf8fd 100%);
  box-shadow: var(--shadow-card);
}
.draw-date-empty, .draw-countdown, .winner-announcement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.draw-date-empty[hidden], .draw-countdown[hidden], .winner-announcement[hidden] { display: none; }
.draw-status .section-kicker { margin: 0 0 5px; font-size: 9px; }
.draw-status h2 { margin: 0 0 4px; font-size: 17px; letter-spacing: -.35px; }
.draw-status p:not(.section-kicker) { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.draw-status-icon, .winner-trophy {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: var(--purple-pale);
  color: var(--purple);
  font-size: 24px;
}
.countdown-units { display: grid; grid-template-columns: repeat(4, minmax(58px, 1fr)); gap: 8px; }
.countdown-units div { display: grid; min-width: 58px; gap: 3px; justify-items: center; padding: 8px 9px; border: 1px solid #eee8f2; border-radius: 10px; background: #fff; }
.countdown-units strong { color: var(--purple); font-family: Manrope, sans-serif; font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown-units span { color: var(--muted); font-size: 9px; }
.winner-announcement { justify-content: flex-start; }
.winner-announcement > div p:last-child { margin-top: 7px !important; }
.winner-announcement > div p:last-child strong { color: var(--purple-dark); }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--purple);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 3px 9px #54208024;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.primary-button:hover:not(:disabled) {
  background: var(--purple-dark);
  box-shadow: 0 6px 20px #6046d855;
  transform: translateY(-2px);
}
.primary-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px #6046d840;
}
.primary-button:disabled {
  background: #cec9db;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.8;
}
.how-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 35px;
  align-items: center;
  margin-top: 57px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.how-title h2 {
  font-size: 24px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  display: flex;
  gap: 10px;
}
.step-number {
  color: #b0a2ef;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 800;
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0e8fb, #ede9ff);
  border-radius: 8px;
  font-size: 11px;
  color: var(--purple);
  flex-shrink: 0;
}
.step h3 {
  margin: 1px 0 5px;
  font-size: 12px;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.site-footer {
  width: 100%;
  margin-top: 10px;
  padding: 34px max(28px, calc((100% - 1104px) / 2)) 18px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(150px, .75fr) minmax(190px, 1fr) minmax(240px, 1.2fr) minmax(170px, .8fr);
  gap: clamp(20px, 3vw, 42px);
  max-width: 1160px;
  margin: 0 auto;
  padding-bottom: 27px;
}
.footer-brand-block p {
  margin: 13px 0 0;
  color: #777583;
  font-size: 12px;
}
.footer-social { margin-top: 18px; }
.footer-social[hidden] { display: none; }
.footer-social h2 { margin: 0 0 8px; color: var(--ink); font: 700 13px Manrope, sans-serif; }
.social-link-list { display: flex; flex-wrap: wrap; gap: 7px; }
.social-link-list a { color: var(--purple); font-size: 11px; font-weight: 700; text-decoration: none; }
.social-link-list a:hover { text-decoration: underline; }
.footer-column h2 {
  margin: 2px 0 10px;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 13px;
  letter-spacing: -.2px;
}
.footer-column p {
  max-width: 340px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}
.footer-column a,
.footer-bottom a {
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.footer-column a:hover,
.footer-bottom a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 15px;
  border-top: 1px solid #eeedf1;
  color: #85838e;
  font-size: 10px;
}


