:root {
  --night: #431043;
  --deep: #741e57;
  --berry: #b33672;
  --cream: #fffaf0;
  --muted: rgba(255, 250, 240, 0.72);
  --gold: #dda23e;
  --gold-light: #f2cd73;
  --line: rgba(242, 205, 115, 0.38);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--cream);
  background: var(--night);
  font-family: var(--sans);
}

a {
  color: inherit;
  text-decoration: none;
}

.notice-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 58px 20px 95px;
}

.backdrop,
.shade,
.grain {
  position: fixed;
  inset: 0;
}

.backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: settle 8s ease forwards;
}

.shade {
  background:
    linear-gradient(90deg, rgba(67, 16, 67, 0.97), rgba(139, 43, 98, 0.73), rgba(90, 22, 69, 0.88)),
    linear-gradient(0deg, rgba(67, 16, 67, 0.95), transparent 48%, rgba(67, 16, 67, 0.7));
}

.grain {
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
}

.notice-card {
  position: relative;
  z-index: 1;
  width: min(710px, 100%);
  padding: 43px clamp(25px, 6vw, 64px) 41px;
  border: 1px solid rgba(247, 219, 145, 0.54);
  text-align: center;
  background: linear-gradient(145deg, rgba(139, 43, 98, 0.96), rgba(67, 16, 67, 0.96));
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(13px);
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s 0.18s ease forwards;
}

.notice-card::before,
.notice-card::after {
  position: absolute;
  width: 28px;
  height: 28px;
  content: "";
}

.notice-card::before {
  top: 11px;
  left: 11px;
  border-top: 1px solid var(--gold-light);
  border-left: 1px solid var(--gold-light);
}

.notice-card::after {
  right: 11px;
  bottom: 11px;
  border-right: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.announcement,
.change-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.announcement {
  margin: 0 0 27px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.announcement span,
.change-mark i {
  display: block;
  width: 35px;
  height: 1px;
  background: var(--line);
}

.old-brand p,
.old-brand span {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.old-brand h1 {
  margin: 7px 0 2px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--serif);
  font-size: clamp(42px, 8vw, 61px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.change-mark {
  margin: 21px 0 17px;
}

.change-mark b {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.logo-wrap {
  display: flex;
  justify-content: center;
}

.brand-logo {
  width: min(420px, 88%);
  height: auto;
  filter: drop-shadow(0 9px 15px rgba(52, 8, 49, 0.22));
  animation: logo-glow 3s ease-in-out infinite;
}

.slogan {
  margin: 28px 0 12px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 29px;
  font-style: italic;
  line-height: 1;
}

.message {
  max-width: 575px;
  margin: 0 auto 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.76;
}

.message strong {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
}

.redirect-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  color: #0a302d;
  background: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease;
}

.redirect-button:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

.redirect-button b {
  font-size: 19px;
  line-height: 0;
}

.url {
  display: block;
  width: max-content;
  margin: 14px auto 0;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  opacity: 0.82;
  transition: opacity 0.25s ease;
}

.url:hover {
  opacity: 1;
}

footer {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 24px;
  left: 20px;
  text-align: center;
}

footer p,
footer span {
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

footer span {
  display: block;
  margin-top: 8px;
  color: rgba(247, 219, 145, 0.72);
  font-size: 8px;
}

footer small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@keyframes settle {
  from {
    transform: scale(1.09);
  }

  to {
    transform: scale(1);
  }
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-glow {
  50% {
    filter: drop-shadow(0 9px 20px rgba(242, 205, 115, 0.3));
  }
}

@media (max-width: 560px) {
  .notice-page {
    min-height: 100svh;
    padding: 17px 14px 72px;
  }

  .backdrop img {
    object-position: 58% center;
  }

  .notice-card {
    padding: 29px 20px 27px;
  }

  .announcement {
    margin-bottom: 21px;
    font-size: 8px;
    letter-spacing: 0.22em;
  }

  .old-brand h1 {
    font-size: 42px;
  }

  .old-brand span {
    display: block;
    max-width: 260px;
    margin: auto;
    font-size: 8px;
    line-height: 1.7;
  }

  .change-mark {
    margin: 13px 0;
  }

  .brand-logo {
    width: min(330px, 96%);
  }

  .slogan {
    margin-top: 24px;
    font-size: 25px;
  }

  .message {
    margin-bottom: 22px;
    font-size: 12px;
    line-height: 1.67;
  }

  .redirect-button {
    gap: 14px;
    padding: 15px 17px;
    font-size: 9px;
  }

  footer {
    bottom: 15px;
  }

  footer p {
    display: none;
  }

  footer span {
    display: block;
    margin-top: 0;
    font-size: 7px;
  }

  footer small {
    margin-top: 6px;
    font-size: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
