:root {
  color-scheme: light;
  --brand: #00874a;
  --brand-deep: #056238;
  --brand-soft: #dff4ea;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-border: rgba(0, 135, 74, 0.12);
  --text-main: #153126;
  --text-muted: #587065;
  --shadow: 0 26px 60px rgba(0, 77, 42, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans TC", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(0, 135, 74, 0.18), transparent 32%),
    radial-gradient(circle at right bottom, rgba(0, 135, 74, 0.12), transparent 24%),
    linear-gradient(135deg, #f3fbf7 0%, #eef7f1 55%, #f8fcf9 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(0, 135, 74, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 135, 74, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 78%);
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  pointer-events: none;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.notice {
  width: min(100%, 860px);
  padding: 44px 38px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: left;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.brand-logo {
  display: block;
  width: clamp(260px, 82vw, 680px);
  height: auto;
  margin: 0 auto 22px;
}

.brand-logo-wide {
  max-width: 100%;
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.eyebrow span {
  display: block;
  margin-top: 6px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

h1 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-align: center;
}

h1 span {
  display: block;
  margin-top: 10px;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}

.message {
  margin: 0;
  /* max-width: 38rem; */
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.message-eng {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 135, 74, 0.12);
  font-size: 1rem;
  color: #6f8178;
}

.action-stack {
  display: grid;
  justify-items: center;
  gap: 22px;
  margin-top: 28px;
}

.message p {
  margin: 0;
}

.message p + p {
  margin-top: 10px;
}

.countdown-wrap {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 100%;
}

.countdown-ring {
  --ring-size: 94px;
  position: relative;
  width: var(--ring-size);
  height: var(--ring-size);
  display: grid;
  place-items: center;
}

.countdown-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.countdown-track,
.countdown-progress {
  fill: none;
  stroke-width: 5;
}

.countdown-track {
  stroke: rgba(0, 135, 74, 0.18);
}

.countdown-progress {
  stroke: var(--brand);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}

.countdown-dot {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 135, 74, 0.1);
  transform-origin: 50% 44px;
  transition: transform 1s linear;
}

.countdown-number {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
}

.countdown-text {
  margin: 0;
  font-size: 0.95rem;
  color: #8a918d;
  text-align: center;
}

.countdown-text span {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 540px;
  min-height: 64px;
  padding: 18px 28px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button-copy {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.button-copy span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 77, 42, 0.14);
  outline: none;
}

.button-primary {
  background: var(--brand);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-deep);
}

.button-arrow {
  font-size: 1.2rem;
  line-height: 1;
}

.status {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

.status span {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.status.is-static {
  margin-top: 12px;
}

@media (max-width: 640px) {
  .page {
    padding: 16px;
  }

  .notice {
    padding: 34px 22px;
    border-radius: 22px;
  }

  .actions {
    width: 100%;
  }

  .button {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}