:root {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  color: #fff7dc;
  background: #102b22;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --cream: #fff1c9;
  --gold: #ffc43a;
  --green: #315d35;
  --green-deep: #123425;
  --card: rgba(20, 37, 29, 0.84);
  --line: rgba(255, 225, 132, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: #fff7dc;
  background:
    linear-gradient(180deg, rgba(10, 29, 23, 0.2), rgba(9, 28, 22, 0.88)),
    url("/assets/talkidino/backgrounds/bg_main.png") center / cover fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 24, 19, 0.62), transparent 24%, transparent 76%, rgba(7, 24, 19, 0.62)),
    radial-gradient(circle at 50% 45%, transparent 0 30rem, rgba(6, 20, 17, 0.42) 52rem);
}

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

.page-shell {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffd852;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 1000;
  text-shadow: 0 3px 0 #704114, 0 8px 18px rgba(0, 0, 0, 0.3);
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.back-home {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 230, 150, 0.38);
  border-radius: 999px;
  padding: 10px 14px;
  color: #fff7dc;
  background: rgba(49, 56, 23, 0.62);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14), 0 12px 28px rgba(0, 0, 0, 0.2);
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.hero-card,
.content-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-card {
  padding: clamp(28px, 5vw, 54px);
}

.eyebrow {
  margin: 0 0 10px;
  color: #ffe58f;
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  color: #fff8e5;
  font-size: clamp(34px, 6.4vw, 64px);
  line-height: 1.06;
  font-weight: 1000;
  letter-spacing: 0;
  text-shadow: 0 5px 0 rgba(39, 35, 17, 0.54), 0 14px 34px rgba(0, 0, 0, 0.35);
}

.lead {
  width: min(760px, 100%);
  margin: 18px 0 0;
  color: #fff3cc;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
  font-weight: 850;
}

.updated {
  margin: 18px 0 0;
  color: rgba(255, 247, 220, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.quick-links a,
.mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 230, 150, 0.38);
  border-radius: 999px;
  padding: 10px 14px;
  color: #3b2a12;
  background: linear-gradient(180deg, #ffe987, #f5bd3e);
  font-weight: 1000;
  box-shadow: 0 10px 22px rgba(255, 196, 58, 0.18);
}

.content-card {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 38px);
}

.section {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 225, 132, 0.18);
}

.section:first-child {
  border-top: 0;
  padding-top: 0;
}

h2 {
  margin: 0 0 12px;
  color: #ffe58f;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  font-weight: 1000;
}

h3 {
  margin: 18px 0 8px;
  color: #fff8e5;
  font-size: 18px;
  font-weight: 1000;
}

p,
li {
  color: rgba(255, 247, 220, 0.9);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 760;
}

ul {
  margin: 0;
  padding-left: 1.3rem;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.notice {
  min-height: 132px;
  border: 1px solid rgba(255, 230, 150, 0.28);
  border-radius: 20px;
  padding: 16px;
  color: #3b2a12;
  background: rgba(255, 239, 194, 0.94);
}

.notice strong {
  display: block;
  color: #243722;
  font-size: 17px;
  font-weight: 1000;
}

.notice span {
  display: block;
  margin-top: 8px;
  color: rgba(59, 42, 18, 0.8);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 850;
}

.support-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.support-item {
  border: 1px solid rgba(255, 230, 150, 0.24);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 250, 232, 0.1);
}

.support-item strong {
  color: #ffe58f;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  color: rgba(255, 247, 220, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .notice-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .content-card {
    border-radius: 22px;
  }
}
