/* Midnight Misfits entry portal */
.entry-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 20% 40%, #6a17432b, transparent 55%), #090609;
}
.entry-header {
  max-width: 1240px;
  margin: auto;
  padding: 22px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #4b253c;
}
.entry-header img {
  width: 145px;
  height: 58px;
  object-fit: contain;
}
.entry-header > span,
.entry-footer {
  font: 500 8px var(--font-body);
  letter-spacing: 2px;
  color: #aa859e;
}
.entry-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 65px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 50px 40px 45px;
}
.entry-identity {
  text-align: center;
  position: relative;
  isolation: isolate;
  padding: 20px 0;
}
.entry-identity .small-label {
  font-size: 9px;
  letter-spacing: 3px;
}
.entry-crest {
  display: block;
  width: 280px;
  margin: 17px auto 0;
  filter: drop-shadow(0 0 35px #ed2a9f25);
}
.entry-orbit {
  position: absolute;
  left: 50%;
  top: 53px;
  transform: translateX(-50%);
  height: 290px;
  width: 290px;
  border: 1px solid #77335450;
  border-radius: 50%;
  box-shadow:
    0 0 0 22px #6722470b,
    0 0 0 52px #6722470a;
  z-index: -1;
}
.entry-spark {
  position: absolute;
  right: 30px;
  top: 90px;
  color: #ff9fe8;
  font-size: 26px;
  text-shadow: 0 0 20px #fc45cd;
}
.entry-identity h1 {
  font:
    600 clamp(32px, 3.6vw, 48px)/1.25 "Cinzel",
    Georgia,
    serif;
  letter-spacing: -1.5px;
  margin: 13px 0 17px;
}
.entry-identity h1 em,
.entry-agreement h2 em {
  font-style: normal;
  color: #f694d8;
}
.entry-identity > p {
  color: #c3a9b9;
  font-size: 12px;
  line-height: 1.9;
}
.entry-boot {
  max-width: 260px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 8px;
  letter-spacing: 2.5px;
  color: #a67f98;
}
.entry-loading-line {
  height: 2px;
  position: relative;
  overflow: hidden;
  background: #48233d;
}
.entry-loading-line:after {
  content: "";
  position: absolute;
  inset: 0;
  background: #f276ce;
  transform: translateX(-100%);
  animation: entry-loading 1s ease-in-out infinite;
  box-shadow: 0 0 10px #f276ce;
}
.is-ready .entry-loading-line:after {
  animation: none;
  transform: none;
  background: linear-gradient(90deg, transparent, #f276ce, transparent);
}
.entry-agreement {
  padding: 30px 32px;
  border: 1px solid #703151;
  background: linear-gradient(145deg, #27102060, #0f090f);
  box-shadow: inset 0 0 0 5px #0c080d;
  position: relative;
}
.entry-agreement:before {
  content: "◆";
  position: absolute;
  top: -10px;
  left: 50%;
  color: #e779c7;
  font-size: 15px;
  text-shadow: 0 0 16px #f54dd0;
}
.entry-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #dc7cbb;
}
.entry-card-heading .small-label {
  font-size: 8px;
  letter-spacing: 2px;
}
.entry-agreement h2 {
  font:
    600 30px/1.25 "Cinzel",
    Georgia,
    serif;
  letter-spacing: -0.7px;
  margin: 18px 0 13px;
}
.entry-lead {
  color: #b99eaf;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.entry-code {
  padding: 0;
  margin: 0;
  list-style: none;
}
.entry-code > li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid #422235;
}
.entry-code > li > span {
  font: 600 10px var(--font-tech);
  color: #d275b3;
}
.entry-code h3 {
  font-size: 12px;
  color: #edd6e5;
  font-weight: 600;
  margin: 0 0 6px;
}
.entry-code p {
  font-size: 12px;
  line-height: 1.85;
  color: #bca0b2;
  margin: 0;
}
.entry-terms {
  border-block: 1px solid #51273e;
  margin: 2px 0 20px;
}
.entry-terms summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #e4b7d3;
  padding: 15px 0;
}
.entry-terms summary::-webkit-details-marker {
  display: none;
}
.entry-terms summary span {
  font-size: 17px;
  color: #e482c4;
}
.entry-terms[open] summary span {
  transform: rotate(45deg);
}
.entry-terms > div {
  padding: 0 0 12px;
}
.entry-terms p {
  font-size: 11px;
  color: #bba0af;
  line-height: 1.9;
  margin: 0 0 12px;
}
.entry-terms a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #e8b6d5;
}
.entry-consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  cursor: pointer;
  color: #e3c7d7;
  font-size: 11px;
  line-height: 1.8;
}
.entry-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  accent-color: #f075cc;
  margin: 2px 0 0;
}
.entry-agreement .btn {
  margin-top: 17px;
  width: 100%;
  min-height: 63px;
  font-size: 12px;
  padding-block: 22px;
}
.entry-agreement .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.entry-message {
  margin: 12px 0 0;
  text-align: center;
  font-size: 9px;
  line-height: 1.8;
  color: #a9879e;
}
.entry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  max-width: 1170px;
  margin: auto;
  padding: 22px 35px 27px;
  border-top: 1px solid #402032;
  font-size: 7px;
  letter-spacing: 1.6px;
}
@keyframes entry-loading {
  to {
    transform: translateX(100%);
  }
}
@media (max-width: 1000px) {
  .entry-shell {
    gap: 30px;
    padding-inline: 30px;
  }
  .entry-agreement {
    padding: 27px;
  }
  .entry-crest {
    width: 240px;
  }
  .entry-identity h1 {
    font-size: 37px;
  }
  .entry-orbit {
    width: 250px;
    height: 250px;
  }
  .entry-agreement h2 {
    font-size: 27px;
  }
}
@media (max-width: 700px) {
  .entry-header {
    padding: 14px 24px;
  }
  .entry-header img {
    width: 125px;
    height: 48px;
  }
  .entry-header > span {
    font-size: 6px;
    letter-spacing: 1.5px;
    max-width: 125px;
    text-align: right;
    line-height: 1.8;
  }
  .entry-shell {
    grid-template-columns: 1fr;
    padding: 25px 24px 30px;
    gap: 24px;
    max-width: 530px;
  }
  .entry-identity {
    padding: 10px 0;
  }
  .entry-crest {
    width: 145px;
    margin-top: 10px;
  }
  .entry-identity h1 {
    font-size: 29px;
    margin: 8px 0 12px;
    letter-spacing: -0.8px;
  }
  .entry-identity > p {
    font-size: 11px;
    margin: 0;
  }
  .entry-orbit {
    width: 155px;
    height: 155px;
    top: 35px;
    box-shadow: 0 0 0 18px #6722470b;
  }
  .entry-spark {
    right: 15%;
    top: 70px;
    font-size: 17px;
  }
  .entry-boot {
    margin-top: 20px;
    font-size: 7px;
    gap: 9px;
    max-width: 210px;
  }
  .entry-agreement {
    padding: 25px 22px;
  }
  .entry-agreement h2 {
    font-size: 27px;
  }
  .entry-code h3 {
    font-size: 12px;
  }
  .entry-code p {
    font-size: 12px;
  }
  .entry-footer {
    padding: 20px 24px;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.8;
    text-align: center;
    font-size: 6px;
  }
  .entry-footer > span:nth-child(2) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .entry-loading-line:after {
    animation: none;
    transform: none;
  }
}
