.afterparty-page {
  position: relative;
  isolation: isolate;
  background: #050806;
}

.ap-men-background {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 940px;
  background: url('/afterparty-men-bg-v2.png') center 12% / cover no-repeat;
}

.ap-men-background::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 6, 4, .28), rgba(3, 6, 4, .05) 50%, rgba(3, 6, 4, .28)),
    linear-gradient(180deg, rgba(3, 6, 4, .08) 0%, rgba(3, 6, 4, .20) 48%, #050806 100%);
  content: "";
}

.afterparty-page .ap-card {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .82);
}

.afterparty-page .ap-details,
.afterparty-page .ap-form,
.afterparty-page .ap-thanks,
.afterparty-page .ap-extra-card {
  box-shadow: 0 18px 50px rgba(0, 0, 0, .34);
  backdrop-filter: blur(5px);
}

.ap-extras {
  width: min(100%, 760px);
  margin: 48px auto 0;
}

.ap-extras-eyebrow {
  margin: 0 0 18px;
  color: #bca47b;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .28em;
  text-align: center;
}

.ap-extra-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ap-extra-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 23px 12px 20px;
  border: 1px solid rgba(203, 168, 103, .32);
  background:
    linear-gradient(155deg, rgba(203, 168, 103, .10), transparent 55%),
    rgba(9, 14, 10, .82);
  text-align: center;
}

.ap-extra-card::after {
  position: absolute;
  right: -23px;
  bottom: -38px;
  color: rgba(202, 165, 95, .055);
  content: "♦";
  font-family: Georgia, serif;
  font-size: 115px;
  line-height: 1;
}

.ap-dancer-card::after {
  content: "♠";
}

.ap-extra-icon {
  position: relative;
  z-index: 1;
  width: 102px;
  height: 102px;
  margin: 0 auto 10px;
  color: #d3ad68;
}

.ap-extra-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: currentColor;
  stroke: none;
}

.ap-extra-icon .ap-icon-line,
.ap-extra-icon .ap-card-shape {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.ap-extra-icon text {
  fill: currentColor;
  stroke: none;
  font-family: Georgia, serif;
  font-size: 13px;
}

.ap-extra-icon .ap-suit-mark {
  font-size: 18px;
}

.ap-extra-card strong,
.ap-extra-card span {
  position: relative;
  z-index: 1;
  display: block;
}

.ap-extra-card strong {
  color: #eee3cf;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.45;
}

.ap-extra-card span {
  margin-top: 7px;
  color: #9e9585;
  font-size: 13px;
}

@media (max-width: 600px) {
  .ap-men-background {
    height: 780px;
    background-position: center top;
    background-size: auto 780px;
  }

  .ap-men-background::after {
    background:
      linear-gradient(90deg, rgba(3, 6, 4, .20), rgba(3, 6, 4, .03) 50%, rgba(3, 6, 4, .20)),
      linear-gradient(180deg, rgba(3, 6, 4, .05) 0%, rgba(3, 6, 4, .22) 50%, #050806 100%);
  }

  .ap-extras {
    margin-top: 40px;
  }

  .ap-extra-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ap-extra-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    align-items: center;
    min-height: 116px;
    padding: 12px 24px 12px 14px;
    text-align: left;
  }

  .ap-extra-icon {
    grid-row: 1 / 3;
    width: 82px;
    height: 82px;
    margin: 0;
  }

  .ap-extra-card strong {
    align-self: end;
    font-size: 10px;
  }

  .ap-extra-card span {
    align-self: start;
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ap-extra-icon {
    animation: ap-float 4s ease-in-out infinite;
  }

  .ap-extra-card:nth-child(2) .ap-extra-icon { animation-delay: -.9s; }
  .ap-extra-card:nth-child(3) .ap-extra-icon { animation-delay: -1.8s; }
}

@keyframes ap-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
