* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f1e8;
  --paper: #fffaf2;
  --ink: #1f2522;
  --muted: #68706b;
  --line: rgba(31, 37, 34, 0.14);
  --green: #163f35;
  --green-2: #245c4f;
  --gold: #c6933d;
  --gold-soft: #f0d6a3;
  --red-soft: #f5d7d7;
  --blue-soft: #dce9f6;
  --violet-soft: #eadcf6;
  --shadow: 0 18px 40px rgba(31, 37, 34, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(198, 147, 61, 0.25), transparent 28rem),
    linear-gradient(180deg, #f9f3ea 0%, var(--bg) 45%, #efe6d8 100%);
  line-height: 1.6;
}

a {
  color: var(--green);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green-2);
}

.site-header {
  padding: 1rem;
}

.topbar {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text {
  font-weight: 750;
  letter-spacing: 0.02em;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem;
  background: rgba(255, 250, 242, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-link {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.language-link.active {
  background: var(--green);
  color: #fff;
}

.hero {
  max-width: 1120px;
  margin: 2rem auto 1.5rem;
  padding: clamp(2rem, 5vw, 4.8rem);
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(22, 63, 53, 0.96), rgba(36, 92, 79, 0.92)),
    radial-gradient(circle at 85% 15%, rgba(198, 147, 61, 0.45), transparent 22rem);
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "欧洲";
  position: absolute;
  right: -0.35em;
  bottom: -0.65em;
  font-size: clamp(8rem, 22vw, 18rem);
  font-weight: 900;
  line-height: 1;
  opacity: 0.06;
  pointer-events: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow {
  color: var(--gold-soft);
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-subtitle {
  max-width: 790px;
  margin: 1.35rem 0 0;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: #fff;
  color: var(--green);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.review-note {
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.intro-grid,
.explain-grid,
.topic-grid {
  display: grid;
  gap: 1rem;
}

.intro-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1rem 0 2rem;
}

.intro-card,
.explain-card,
.topic-card,
.plain-box,
details {
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 1.25rem;
  box-shadow: 0 10px 26px rgba(31, 37, 34, 0.05);
}

.intro-card h2,
.explain-card h3,
.topic-card h3,
.plain-box h3 {
  margin: 0 0 0.45rem;
  line-height: 1.2;
}

.intro-card p,
.explain-card p,
.topic-card p,
.plain-box p {
  margin: 0;
  color: var(--muted);
}

.notice-box {
  margin: 2.2rem 0 0;
  padding: 1.4rem;
  border-radius: 1.35rem;
  background: rgba(198, 147, 61, 0.14);
  border: 1px solid rgba(198, 147, 61, 0.32);
  box-shadow: 0 10px 26px rgba(31, 37, 34, 0.05);
}

.notice-box h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.notice-box p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
}

.notice-box .section-kicker {
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.section {
  margin-top: 3rem;
}

.section-heading {
  max-width: 830px;
  margin-bottom: 1.2rem;
}

.section-kicker {
  color: var(--gold);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p {
  color: var(--muted);
}

.explain-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plain-box {
  margin-top: 1rem;
  border-left: 0.45rem solid var(--gold);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.legend span {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.45rem 0.7rem;
  background: rgba(255, 250, 242, 0.84);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

th,
td {
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: #efe2cf;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: rgba(198, 147, 61, 0.08);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
}

.visa-free {
  background: #d8ecdf;
  color: #17412b;
}

.visa-required {
  background: var(--red-soft);
  color: #7a2525;
}

.special {
  background: var(--violet-soft);
  color: #51336b;
}

.evisa {
  background: var(--blue-soft);
  color: #244e76;
}

.table-note {
  color: var(--muted);
  margin: 0.9rem 0 0;
}

.topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-section {
  padding: 1.4rem;
  border-radius: 1.4rem;
  background: rgba(198, 147, 61, 0.08);
  border: 1px solid rgba(198, 147, 61, 0.16);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  padding: 0;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
}

.source-section {
  padding: 1.4rem;
  border-radius: 1.4rem;
  background: rgba(22, 63, 53, 0.06);
  border: 1px solid rgba(22, 63, 53, 0.12);
}

.source-list {
  padding-left: 1.2rem;
  color: var(--muted);
}

.source-list li + li {
  margin-top: 0.35rem;
}

.site-footer {
  background: var(--green);
  color: rgba(255, 255, 255, 0.86);
  padding: 2rem 1rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  margin-left: 1rem;
}

@media (max-width: 900px) {
  .intro-grid,
  .explain-grid,
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer a {
    margin-left: 0;
    margin-right: 1rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.75rem;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    margin-top: 1rem;
    border-radius: 1.45rem;
  }

  .hero h1 {
    letter-spacing: -0.045em;
  }

  .intro-grid,
  .explain-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .language-switch {
    width: 100%;
    justify-content: space-between;
  }

  .language-link {
    flex: 1;
    text-align: center;
  }

  .button {
    width: 100%;
  }

  th,
  td {
    padding: 0.85rem;
  }
}

/* Prepared ad area for future Google AdSense display ads.
   The class is not used on the live page yet, so no empty box is shown.
   When advertising is enabled, wrap the ad code in:
   <section class="ad-section" aria-label="Advertisement">...</section>
*/
.ad-section {
  max-width: 970px;
  min-height: 90px;
  margin: 2.2rem auto;
  padding: 0.75rem;
  border-radius: 1.15rem;
  background: rgba(255, 250, 242, 0.7);
  border: 1px solid rgba(31, 37, 34, 0.10);
  text-align: center;
  overflow: hidden;
}

.ad-section::before {
  content: "Advertisement";
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-section ins.adsbygoogle {
  display: block;
}

@media (max-width: 640px) {
  .ad-section {
    max-width: 100%;
    min-height: 250px;
    margin: 1.6rem auto;
  }
}

