:root {
  --bg: #0b1020;
  --bg-soft: #111a33;
  --text: #f5f7fb;
  --muted: #aab3c5;
  --primary: #c7a76a;
  --primary-dark: #f2d59c;
  --water: #4dd7ff;
  --land: #ff9f5c;
  --card: rgba(16, 23, 45, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(77, 215, 255, 0.2), transparent 22%),
    radial-gradient(circle at right top, rgba(255, 159, 92, 0.16), transparent 18%),
    radial-gradient(circle at 20% 80%, rgba(198, 134, 255, 0.12), transparent 18%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  letter-spacing: 0.01em;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(77, 215, 255, 0.18), transparent 16%),
    radial-gradient(circle at 72% 76%, rgba(255, 159, 92, 0.16), transparent 16%),
    linear-gradient(135deg, rgba(12, 16, 34, 0.92), rgba(20, 43, 74, 0.88)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23ffffff' stop-opacity='0.12'/%3E%3Cstop offset='1' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23a)' stroke-width='2'%3E%3Cpath d='M80 120c70-70 140-70 210 0s140 70 210 0 140-70 210 0 140 70 210 0 140-70 210 0'/%3E%3Cpath d='M40 620c90-60 180-60 270 0s180 60 270 0 180-60 270 0 180 60 270 0'/%3E%3C/g%3E%3C/svg%3E") center/cover;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  mix-blend-mode: screen;
  filter: saturate(1.15) contrast(1.08);
}

.hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.6;
  animation: float 8s ease-in-out infinite;
}

.hero__glow--one {
  width: 280px;
  height: 280px;
  background: rgba(77, 215, 255, 0.22);
  top: 10%;
  left: 8%;
}

.hero__glow--two {
  width: 360px;
  height: 360px;
  background: rgba(255, 159, 92, 0.18);
  right: 4%;
  bottom: 8%;
  animation-delay: -2s;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  color: white;
  text-align: center;
}

.hero__content,
.detail-page__shell {
  position: relative;
  z-index: 1;
}

.eyebrow,
.zone__tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  color: #fff2d9;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.05;
}

.lead {
  width: min(100%, 680px);
  margin: 18px auto 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(245, 247, 251, 0.9);
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.btn--primary {
  background: linear-gradient(135deg, #f4d8a0, #c8a15e);
  color: #1a1a1a;
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  background: rgba(255, 255, 255, 0.04);
}

main {
  width: min(1100px, calc(100% - 32px));
  margin: -48px auto 0;
  padding-bottom: 56px;
}

.intro,
.zones,
.map-section {
  margin-top: 24px;
}

.card,
.zone {
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.card {
  padding: 24px;
}

.card--wide {
  padding: 28px;
}

.intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat {
  padding: 20px 16px;
  text-align: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.stat span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.zones {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.zone {
  padding: 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.zone--water {
  border-top: 6px solid var(--water);
}

.zone--land {
  border-top: 6px solid var(--land);
}

.zone h2,
.card h2 {
  margin-top: 0;
  font-size: 1.6rem;
}

.zone p,
.card p,
.feature-list {
  color: var(--muted);
  line-height: 1.8;
}

.zone__subcard,
.card--info {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.zone__subcard h3,
.mini-label {
  margin: 0 0 10px;
  color: var(--primary-dark);
  letter-spacing: 0.06em;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.detail-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.feature-list {
  margin: 0;
  padding-left: 20px;
}

.map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}

.map__pin {
  min-height: 180px;
  border: 0;
  border-radius: 24px;
  color: white;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 20px;
}

.map__pin--water {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.map__pin--land {
  background: linear-gradient(135deg, #fb923c, #ea580c);
}

.map__info {
  min-height: 180px;
  padding: 24px;
  border-radius: 24px;
  border: 1px dashed rgba(31, 41, 55, 0.2);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.8;
  color: var(--muted);
}

.map__pin span {
  font-size: 1.35rem;
  line-height: 1.1;
}

.map__pin small {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
}

.detail-page {
  margin-top: 24px;
}

.detail-page__shell {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.detail-page__shell--water {
  background:
    radial-gradient(circle at 15% 20%, rgba(77, 215, 255, 0.24), transparent 20%),
    radial-gradient(circle at 85% 22%, rgba(255, 255, 255, 0.1), transparent 16%),
    linear-gradient(135deg, rgba(9, 38, 64, 0.96), rgba(10, 67, 92, 0.94));
}

.detail-page__shell--land {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 159, 92, 0.22), transparent 20%),
    radial-gradient(circle at 78% 18%, rgba(255, 214, 161, 0.12), transparent 18%),
    linear-gradient(135deg, rgba(46, 17, 24, 0.96), rgba(73, 29, 20, 0.95));
}

.detail-page__hero {
  width: min(100%, 760px);
  margin-bottom: 22px;
}

.detail-page__hero h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.detail-page__hero p {
  color: rgba(245, 247, 251, 0.9);
  line-height: 1.8;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.detail-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.detail-card p {
  margin: 0;
  color: rgba(245, 247, 251, 0.82);
  line-height: 1.8;
}

.detail-note {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: #fff2d9;
}

.back-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  background: linear-gradient(135deg, #f4d8a0, #c8a15e);
  color: #1a1a1a;
  cursor: pointer;
  margin-bottom: 18px;
}

.detail-page.is-active {
  display: block;
}

@keyframes float {
  0% {
    transform: translateY(0px) scale(1);
  }
  100% {
    transform: translateY(-14px) scale(1.03);
  }
}

@keyframes drift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(12deg);
  }
}

.footer {
  padding: 26px 20px 40px;
  text-align: center;
  color: var(--muted);
}

.contact-form {
  width: min(100%, 620px);
  margin: 24px auto 0;
  padding: 18px;
  text-align: left;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.contact-form__field {
  display: grid;
  gap: 10px;
}

.contact-form__label {
  display: block;
  margin-bottom: 10px;
  color: #fff2d9;
  font-weight: 700;
}

.contact-form__row {
  display: flex;
  gap: 12px;
}

.contact-form__input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
}

.contact-form__input::placeholder {
  color: rgba(245, 247, 251, 0.5);
}

.contact-form__input:focus {
  border-color: rgba(244, 216, 160, 0.7);
  box-shadow: 0 0 0 3px rgba(244, 216, 160, 0.16);
}

.contact-form__button {
  border: 0;
  border-radius: 14px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #f4d8a0, #c8a15e);
  color: #1a1a1a;
  font-weight: 800;
  cursor: pointer;
}

.contact-form__button--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-form__textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
  resize: vertical;
  min-height: 120px;
  margin-bottom: 14px;
}

.contact-form__textarea::placeholder {
  color: rgba(245, 247, 251, 0.5);
}

.contact-form__textarea:focus {
  border-color: rgba(244, 216, 160, 0.7);
  box-shadow: 0 0 0 3px rgba(244, 216, 160, 0.16);
}

.contact-form__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-form__hint {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .intro,
  .zones,
  .map {
    grid-template-columns: 1fr;
  }

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

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

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

  .contact-form__row {
    flex-direction: column;
  }

  .contact-form__grid,
  .contact-form__actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero {
    min-height: 62vh;
  }
}
