:root {
  color-scheme: light;
  --burgundy: #781338;
  --burgundy-dark: #4f0b25;
  --cream: #fbf7eb;
  --paper: #fffdf8;
  --gold: #c58f38;
  --ink: #31262a;
  --muted: #76676d;
}

* {
  box-sizing: border-box;
}

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

body {
  display: grid;
  place-items: center;
  padding: 32px 20px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 15%, rgba(197, 143, 56, 0.16) 0 2px, transparent 3px) 0 0 / 24px 24px,
    linear-gradient(145deg, #fffdf7 0%, var(--cream) 56%, #f0e5d4 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  content: "";
}

body::before {
  top: -250px;
  right: -170px;
  background: rgba(120, 19, 56, 0.1);
}

body::after {
  bottom: -280px;
  left: -180px;
  background: rgba(197, 143, 56, 0.13);
}

.transition-card {
  width: min(920px, 100%);
  overflow: hidden;
  border: 1px solid rgba(120, 19, 56, 0.14);
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 28px 80px rgba(79, 11, 37, 0.18);
}

.brand-strip {
  height: 10px;
  background: linear-gradient(90deg, var(--burgundy) 0 72%, var(--gold) 72% 100%);
}

.content {
  position: relative;
  padding: clamp(34px, 6vw, 68px);
  text-align: center;
}

.language-link {
  position: absolute;
  top: 22px;
  right: 28px;
  color: var(--burgundy);
  font-size: 15px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.official-logo {
  display: block;
  width: min(390px, 78%);
  height: auto;
  margin: 16px auto 40px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0 auto;
  color: var(--burgundy-dark);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

[lang="zh-Hans"] h1 {
  font-size: clamp(34px, 6vw, 57px);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.intro {
  max-width: 660px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2.4vw, 20px);
  line-height: 1.7;
}

.redirect-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 0;
  padding: 12px 18px;
  border: 1px solid rgba(120, 19, 56, 0.14);
  border-radius: 999px;
  color: var(--burgundy-dark);
  background: rgba(120, 19, 56, 0.055);
  font-size: 15px;
  font-weight: 700;
}

.countdown {
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--burgundy);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 25px;
  padding: 0 30px;
  border: 2px solid var(--burgundy);
  border-radius: 8px;
  color: #fff;
  background: var(--burgundy);
  box-shadow: 0 10px 25px rgba(120, 19, 56, 0.2);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--burgundy-dark);
  box-shadow: 0 14px 28px rgba(120, 19, 56, 0.28);
}

.button:focus-visible,
.language-link:focus-visible {
  outline: 3px solid rgba(197, 143, 56, 0.55);
  outline-offset: 4px;
}

.destination {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.destination a {
  color: var(--burgundy);
}

noscript p {
  margin: 22px auto 0;
  color: var(--burgundy-dark);
  font-weight: 700;
}

@media (max-width: 560px) {
  body {
    padding: 16px;
  }

  .transition-card {
    border-radius: 18px;
  }

  .content {
    padding-top: 52px;
  }

  .language-link {
    top: 18px;
    right: 20px;
  }

  .official-logo {
    width: min(310px, 90%);
    margin-bottom: 32px;
  }

  .redirect-status {
    border-radius: 14px;
    text-align: left;
  }
}

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