
:root {
  --black: #111215;
  --grey: #686b73;
  --line: rgba(255, 255, 255, 0.8);
  --blue: #0878ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #f5f6f8;
  color: var(--black);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: clamp(22px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.95), transparent 43%),
    linear-gradient(145deg, #f8f9fb 0%, #eff1f5 100%);
}

.glow {
  position: absolute;
  z-index: -1;
  width: min(55vw, 700px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.32;
  pointer-events: none;
}

.glow-one {
  top: -33%;
  right: -10%;
  background: #aacbff;
}

.glow-two {
  left: -15%;
  bottom: -45%;
  background: #d7c8ff;
}

.sale-card {
  width: min(1060px, 100%);
  min-height: min(650px, calc(100svh - 175px));
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 34px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.56);
  box-shadow:
    0 30px 80px rgba(54, 65, 84, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  overflow: hidden;
  animation: reveal 750ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.card-top,
.card-bottom {
  min-height: 76px;
  padding: 0 clamp(24px, 4vw, 50px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.card-top {
  border-bottom: 1px solid rgba(24, 28, 35, 0.07);
}

.card-bottom {
  border-top: 1px solid rgba(24, 28, 35, 0.07);
  color: #888b92;
  font-size: 11px;
}

.card-top p,
.card-bottom p {
  margin: 0;
}

.status,
.availability {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #60636a;
}

.status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #30bd69;
  box-shadow: 0 0 0 4px rgba(48, 189, 105, 0.1);
}

.availability {
  color: #9a9ca2;
}

.sale-content {
  width: min(790px, calc(100% - 48px));
  margin: auto;
  padding: 80px 0;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(64px, 10.5vw, 142px);
  font-weight: 560;
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.message {
  max-width: 570px;
  margin: 34px auto 38px;
  color: var(--grey);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  letter-spacing: -0.022em;
}

.email-button {
  min-height: 56px;
  padding: 0 22px 0 25px;
  border-radius: 980px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--black);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 590;
  box-shadow: 0 8px 22px rgba(17, 18, 21, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.email-button span {
  font-size: 18px;
  font-weight: 400;
}

.email-button:hover {
  background: #28292d;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 18, 21, 0.2);
}

.email-button:focus-visible,
.card-bottom a:focus-visible {
  outline: 3px solid rgba(8, 120, 255, 0.35);
  outline-offset: 4px;
}

.card-bottom a {
  color: #666970;
  text-decoration: none;
}

.card-bottom a:hover {
  color: var(--black);
}

footer {
  width: min(1060px, 100%);
  min-height: 54px;
  margin: 0 auto;
  padding: 20px 6px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #979aa1;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

@media (max-width: 660px) {
  main {
    padding: 16px;
  }

  .sale-card {
    min-height: calc(100svh - 90px);
    border-radius: 26px;
  }

  .card-top,
  .card-bottom {
    min-height: 64px;
    padding-inline: 20px;
  }

  .availability {
    display: none;
  }

  .sale-content {
    width: calc(100% - 40px);
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(52px, 17vw, 82px);
  }

  .message {
    margin: 28px auto 34px;
    font-size: 16px;
  }

  .email-button {
    width: 100%;
    justify-content: space-between;
  }

  .card-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
  }

  .card-bottom a {
    font-size: 10px;
    overflow-wrap: anywhere;
  }

  footer {
    padding: 16px 4px 0;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
