/* Reset & Base */
* {
  box-sizing: border-box;
}

:root {
  --band-height: 110px;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
  color: #ffffff;
  background: #0a1c22;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--band-height) + 48px) 18px calc(var(--band-height) + 56px);
  overflow: visible;
}

.bg {
  position: absolute;
  inset: 0;
  background: url("/images/background.png") center/cover no-repeat;
  filter: saturate(1.05);
  z-index: 0;
}

.top-band,
.bottom-band {
  width: 100%;
  height: var(--band-height);
  background: rgba(32, 132, 140, 0.95);
  position: fixed;
  left: 0;
  z-index: 3;
  border: 4px solid #f5f5f5;
  border-left: 0;
  border-right: 0;
}

.top-band {
  top: 0;
}

.bottom-band {
  bottom: 0;
}

.hero-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--band-height);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
}

.logo {
  width: 320px;
  max-width: 58vw;
  max-height: calc(var(--band-height) - 20px);
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.card {
  position: relative;
  z-index: 2;
  width: min(1140px, 96vw);
  background: #18797f;
  border-radius: 14px;
  border: 4px solid #f5f5f5;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.card-banner {
  background: #18797f;
  padding: 34px 30px 16px;
  text-align: center;
}

.card-banner h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 1px;
}

.card-banner .subheading {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: #f1f1f1;
}

.card-body {
  position: relative;
  background: #3a3434;
  padding: 38px 26px 40px;
  text-align: center;
}

.closed-tag-wrap {
  position: absolute;
  right: 38px;
  top: -110px;
}

.closed-tag {
  width: 140px;
  transform: rotate(-8deg);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.4));
}

.date {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 1px;
}

.title {
  margin: 12px 0 0;
  font-size: 36px;
  font-weight: 800;
  color: #e6c879;
}

.card-text {
  text-align: center;
  padding: 40px 40px 44px;
  font-size: 18px;
  line-height: 1.7;
  color: #eef2f2;
}

.card-text p {
  margin: 8px 0;
}

.highlight {
  color: #f6a13a;
  font-weight: 700;
}

.cta-wrap {
  padding: 20px 0 40px;
  display: flex;
  justify-content: center;
  background: #18797f;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 64px;
  padding: 0 26px;
  background: #ffffff;
  color: #1c6f76;
  font-size: 24px;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.4);
  filter: brightness(1.02);
}

.cta:active {
  transform: translateY(0);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.card-text-mobile {
  display: none;
}

@media (max-width: 900px) {
  :root {
    --band-height: 90px;
  }

  .top-band,
  .bottom-band {
    border-width: 3px;
  }

  .logo {
    width: 260px;
  }

  .closed-tag-wrap {
    right: 4px;
    top: -100px;
  }

  .closed-tag {
    width: 110px;
  }

  .date {
    font-size: 28px;
  }

  .title {
    font-size: 30px;
  }

  .card-text {
    font-size: 16px;
    padding: 32px 28px 36px;
  }

  .cta {
    height: 58px;
    min-width: 210px;
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  :root {
    --band-height: 72px;
  }

  .page {
    padding: calc(var(--band-height) + 32px) 12px calc(var(--band-height) + 32px);
  }

  .card {
    border-width: 3px;
  }

  .card-banner {
    padding: 24px 16px 12px;
  }

  .card-body {
    padding: 30px 16px 28px;
  }

  .date {
    font-size: 24px;
  }

  .title {
    font-size: 26px;
  }

  .cta {
    width: 100%;
    max-width: 260px;
  }

  .card-text {
    display: none;
  }
  .card-text.card-text-mobile {
    display: block;
  }
}
