.hackathon-page {
  background: #0a001e;
  color: #efeaf8;
}

.hk-banner {
  background: #0a001e;
  line-height: 0;
}

.hk-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.hk-intro {
  padding: 40px 0 8px;
}

.hk-kicker {
  margin: 0 0 10px;
  color: #c4b5fd;
  font-size: 0.95rem;
  font-weight: 700;
}

.hackathon-page h1 {
  margin: 0 0 14px;
  max-width: 18ch;
  color: #ffffff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
}

.hk-lead {
  margin: 0;
  max-width: 62ch;
  color: #ddd6ee;
  font-size: 1.05rem;
  line-height: 1.65;
}

.hk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.hk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  background: #8233e0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.hk-btn .hk-wa {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform 0.2s ease;
}

a.hk-btn,
a.hk-btn-ghost {
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a.hk-btn:hover,
a.hk-btn:focus-visible {
  background: #6b22c4;
  color: #ffffff;
  transform: translateY(-2px);
}

a.hk-btn:hover .hk-wa,
a.hk-btn:focus-visible .hk-wa {
  fill: #ffffff;
  transform: scale(1.08);
}

.hk-btn:focus-visible,
.hk-btn-ghost:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.hk-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-weight: 700;
  background: transparent;
}

a.hk-btn-ghost:hover,
a.hk-btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

#regras {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.hk-facts {
  padding: 28px 0 4px;
}

.hk-facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hk-facts-grid article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hk-facts-grid h2,
.hk-rules h3,
.hk-schedule h3 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
}

.hk-facts-grid p,
.hk-rules p,
.hk-schedule li > p,
.hk-steps p,
.hk-signup-card p {
  margin: 0;
  color: #d4cbe4;
  font-size: 0.98rem;
  line-height: 1.55;
}

.hk-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  color: #c4b5fd;
  transition: color 0.2s ease, transform 0.2s ease;
}

.hk-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hk-block {
  padding: 36px 0;
}

.hk-heading {
  margin-bottom: 8px;
}

.hk-heading h2,
.hk-signup h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
}

.hk-schedule,
.hk-rules,
.hk-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hk-schedule {
  display: grid;
  margin-top: 8px;
}

.hk-schedule li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.25s ease;
}

.hk-when {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
  color: #c4b5fd;
  font-size: 0.95rem;
  font-weight: 700;
}

.hk-when span {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
}

.hk-schedule li > p:last-child {
  margin-top: 8px;
}

.hk-rules {
  display: grid;
  margin-top: 8px;
}

.hk-rules li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hk-signup {
  display: grid;
  gap: 28px;
  align-items: start;
}

.hk-signup .hk-lead {
  margin-top: 12px;
}

.hk-steps {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.hk-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.hk-steps span {
  width: 28px;
  flex: 0 0 28px;
  color: #c4b5fd;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
}

.hk-signup-card {
  padding: 8px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hk-card-label {
  margin: 0;
  color: #c4b5fd;
  font-size: 0.95rem;
  font-weight: 700;
}

.hk-card-phone {
  margin: 6px 0 8px;
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
}

.hk-signup-card .hk-btn {
  margin-top: 18px;
}

@media (min-width: 800px) {
  .hk-facts-grid {
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hk-facts-grid article {
    border-bottom: 0;
    padding: 20px 18px 20px 0;
  }

  .hk-facts-grid article + article {
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hk-rules {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }

  .hk-schedule {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 36px;
  }

  .hk-schedule li {
    border-bottom: 0;
    border-top: 2px solid #8233e0;
    padding: 18px 0 0;
  }

  .hk-signup {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 48px;
  }

  .hk-signup-card {
    padding: 0 0 0 36px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hk-block {
    padding: 52px 0;
  }
}

@media (max-width: 767px) {
  .hk-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hk-btn,
  .hk-btn-ghost {
    width: 100%;
  }

  .hackathon-page h1 {
    max-width: none;
  }
}

.hk-facts-grid article:hover .hk-icon,
.hk-rules li:hover .hk-icon,
.hk-schedule li:hover .hk-icon {
  color: #7ef6ff;
  transform: translateY(-2px);
}

.hk-schedule li:hover {
  border-color: #c4b5fd;
}

.hk-motion .hk-facts-grid > article,
.hk-motion .hk-schedule > li,
.hk-motion .hk-rules > li,
.hk-motion .hk-steps > li,
.hk-motion .hk-heading,
.hk-motion .hk-signup-card {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease var(--hk-delay, 0ms),
    transform 0.55s ease var(--hk-delay, 0ms);
}

.hk-motion .hk-facts-grid > article.is-in,
.hk-motion .hk-schedule > li.is-in,
.hk-motion .hk-rules > li.is-in,
.hk-motion .hk-steps > li.is-in,
.hk-motion .hk-heading.is-in,
.hk-motion .hk-signup-card.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hk-banner img {
    animation: hk-fade 0.8s ease both;
  }

  .hk-intro .container > * {
    animation: hk-rise 0.65s ease both;
  }

  .hk-intro .container > *:nth-child(2) {
    animation-delay: 0.08s;
  }

  .hk-intro .container > *:nth-child(3) {
    animation-delay: 0.16s;
  }

  .hk-intro .container > *:nth-child(4) {
    animation-delay: 0.24s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hk-motion .hk-facts-grid > article,
  .hk-motion .hk-schedule > li,
  .hk-motion .hk-rules > li,
  .hk-motion .hk-steps > li,
  .hk-motion .hk-heading,
  .hk-motion .hk-signup-card,
  .hk-motion .is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes hk-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hk-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
