@font-face {
  font-family: "Rubik";
  src: url("./assets/rubik-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("./assets/rubik-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("./assets/rubik-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("./assets/rubik-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./assets/montserrat-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("./assets/dm-serif-display-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Rubik", sans-serif;
  font-synthesis: none;
  --primary: #ffc600;
  --neutral-950: #2d2827;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  background: #151313;
}

button,
a {
  font: inherit;
}

.landing {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px;
  color: var(--white);
}

.landing__backdrop {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url("./assets/background-desktop.png") center center / cover no-repeat;
}

.notice-card {
  display: flex;
  width: min(746px, 100%);
  flex-direction: column;
  align-items: center;
  gap: 57px;
  padding: 48px;
  border: 1px solid rgba(249, 249, 249, 0.77);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.57);
  box-shadow: 0 0 20.3px rgba(255, 212, 120, 0.64);
}

.notice-card__logo {
  display: block;
  width: 151px;
  height: 58px;
  object-fit: contain;
}

.notice-card__content,
.notice-card__body,
.notice-card__copy,
.notice-card__intro,
.notice-card__cta {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.notice-card__content {
  width: 648px;
  max-width: 100%;
  gap: 40px;
}

.notice-card__body {
  gap: 32px;
}

.notice-card__copy {
  min-height: 184px;
  gap: 28px;
}

.notice-card__intro {
  gap: 24px;
}

h1,
p {
  margin: 0;
}

h1,
.notice-card__message,
.notice-card__redirect,
.notice-card__button {
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}

h1,
.notice-card__message,
.notice-card__redirect {
  width: 100%;
  text-align: center;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}

h1 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.notice-card__message {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.notice-card__divider {
  display: flex;
  width: 550px;
  max-width: 100%;
  height: 10px;
  align-items: center;
  gap: 16px;
}

.notice-card__divider span {
  height: 1px;
  flex: 1;
}

.notice-card__divider span:first-child {
  background: linear-gradient(90deg, rgba(201, 168, 76, 0), rgba(201, 168, 76, 0.5));
}

.notice-card__divider span:last-child {
  background: linear-gradient(270deg, rgba(201, 168, 76, 0), rgba(201, 168, 76, 0.5));
}

.notice-card__divider img {
  display: block;
  width: 10px;
  height: 10px;
}

.notice-card__redirect {
  min-height: 58px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  text-transform: uppercase;
}

.notice-card__redirect-copy,
.notice-card__redirect strong {
  display: block;
}

.notice-card__redirect-copy--mobile {
  display: none;
}

.notice-card__redirect strong {
  color: var(--primary);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 2.4px;
}

.feature-list {
  display: flex;
  width: 550px;
  max-width: 100%;
  align-items: stretch;
  gap: 12px;
}

.feature-tile {
  display: flex;
  min-width: 0;
  height: 99px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(201, 168, 76, 0.18);
  background: #0c0804;
}

.feature-tile__icon {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
}

.feature-tile__icon img {
  display: block;
  width: 22px;
  height: 22px;
}

.feature-tile__icon img.feature-tile__icon--lightning {
  width: 13px;
  height: 20px;
}

.feature-tile__icon img.feature-tile__icon--shield {
  width: 18px;
  height: 20px;
}

.feature-tile__label {
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: 2.2px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.feature-tile--double-line {
  gap: 8px;
  padding: 18px 12px;
}

.feature-tile--double-line .feature-tile__label {
  white-space: normal;
}

.notice-card__cta {
  width: min(424px, 100%);
  justify-content: center;
}

.notice-card__button {
  position: relative;
  display: inline-flex;
  width: 214px;
  height: 56px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  padding: 10px 28px;
  border-radius: 39px;
  background: var(--primary);
  color: var(--neutral-950);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, filter 160ms ease;
}

.notice-card__button::after {
  position: absolute;
  inset: -35% auto -35% -34%;
  width: 22%;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.72),
    rgba(255, 255, 255, 0)
  );
  filter: blur(1px);
  transform: skewX(-18deg) translateX(-180%);
  animation: button-light-sweep 3s ease-in-out infinite;
}

.notice-card__button:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.notice-card__button:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .landing {
    min-height: 100svh;
    align-items: stretch;
    padding: 0;
  }

  .landing__backdrop {
    background:
      linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
      url("./assets/background-mobile.png") center center / cover no-repeat;
  }

  .notice-card {
    width: 100%;
    min-height: 100svh;
    padding: 40px 24px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    filter: none;
  }

  .notice-card__content {
    flex: 1;
    gap: 0;
  }

  .notice-card__body {
    gap: 32px;
  }

  .notice-card__copy {
    gap: 20px;
  }

  h1,
  .notice-card__message,
  .notice-card__redirect {
    text-shadow: none;
  }

  h1 {
    font-size: 28px;
    min-height: 54px;
  }

  .notice-card__message {
    line-height: 22px;
  }

  .notice-card__redirect {
    font-size: 16px;
    min-height: 80px;
  }

  .notice-card__redirect-copy--desktop {
    display: none;
  }

  .notice-card__redirect-copy--mobile {
    display: block;
  }

  .notice-card__redirect strong {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.42;
    letter-spacing: 2.24px;
  }

  .notice-card__divider,
  .feature-list {
    width: 100%;
  }

  .feature-list {
    gap: 8px;
  }

  .feature-tile {
    height: auto;
    min-height: 114px;
    justify-content: flex-start;
  }

  .feature-tile__label {
    width: 68px;
    white-space: normal;
  }

  .feature-tile--double-line {
    gap: 12px;
    padding: 24px;
  }

  .feature-tile--double-line .feature-tile__label {
    width: 86px;
    font-size: 9px;
    letter-spacing: 1px;
  }

  .notice-card__cta {
    width: 100vw;
    margin-top: auto;
    margin-inline: calc(50% - 50vw);
    padding: 24px;
    background: #000000;
  }
}

@keyframes button-light-sweep {
  0% {
    transform: skewX(-18deg) translateX(-180%);
  }

  67%,
  100% {
    transform: skewX(-18deg) translateX(720%);
  }
}

@media (max-width: 374px) {
  .notice-card {
    padding-inline: 18px;
  }

  h1 {
    font-size: 25px;
  }

  .feature-tile {
    min-height: 108px;
    padding: 18px 10px;
  }

  .feature-tile__label {
    width: 100%;
    font-size: 9px;
    letter-spacing: 1.5px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .notice-card__button {
    transition: none;
  }

  .notice-card__button::after {
    animation: none;
  }
}
