@font-face {
  font-family: "Pigsty Script";
  src: url("./assets/fonts/caveat-pigsty.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pigsty Welcome";
  src: url("./assets/fonts/zcool-welcome.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fff5ee;
  --cream-deep: #f9eee6;
  --ink: #50362f;
  --ink-soft: #795e55;
  --pink: #d9787f;
  --pink-soft: #f3b6b2;
  --pink-pale: #fbe4df;
  --sky: #dbeeff;
  --sage: #dce7cf;
  --paper: rgba(255, 255, 255, 0.72);
  --shadow: 0 28px 70px rgba(109, 70, 59, 0.12);
  --radius-xl: clamp(28px, 4vw, 56px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  isolation: isolate;
  background: linear-gradient(180deg, #fff8f0, var(--cream) 55%, #fffaf5);
  font-family: ui-rounded, "Arial Rounded MT Bold", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: -12vmax;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 14%, rgba(203, 224, 247, 0.82), transparent 43%),
    radial-gradient(ellipse at 82% 28%, rgba(255, 204, 198, 0.72), transparent 46%),
    radial-gradient(ellipse at 48% 85%, rgba(255, 229, 184, 0.58), transparent 45%);
  animation: ambience-drift 28s ease-in-out infinite alternate;
}

@keyframes ambience-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.06) rotate(2deg); }
}

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

a {
  color: inherit;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(1rem, 5vw, 5rem);
  width: min(1480px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 6vw, 6rem);
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: clamp(0rem, 2vw, 2rem);
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
  font-size: clamp(0.72rem, 1vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.035em;
  opacity: 0.68;
  animation: welcome-in 850ms 80ms both;
}

h1 {
  margin: 0;
  line-height: 0.98;
}

.wordmark,
.welcome {
  display: block;
}

.wordmark {
  color: var(--pink);
  font-family: "Pigsty Script", "Chalkboard SE", ui-rounded, cursive;
  font-size: clamp(6rem, 12vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  transform: rotate(-3deg);
  transform-origin: left center;
  text-shadow: 0 5px 18px rgba(243, 182, 178, 0.25);
  animation: wordmark-in 1000ms 150ms both;
}

.welcome {
  margin-top: clamp(0.7rem, 1.6vw, 1.5rem);
  color: var(--ink);
  font-family: "Pigsty Welcome", ui-rounded, "PingFang SC", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.35;
  animation: welcome-in 900ms 320ms both;
}

.welcome-wave {
  display: inline-block;
  margin-left: 0.08em;
  color: var(--pink);
  font-family: ui-rounded, sans-serif;
  font-size: 0.8em;
  transform: rotate(-9deg);
}

.scroll-hint {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-top: clamp(2.4rem, 5vw, 4.5rem);
  color: var(--pink);
  opacity: 0.8;
  animation: float-hint 2.6s ease-in-out infinite;
}

.scroll-hint svg {
  width: 1.6rem;
  height: 1.6rem;
}

.scroll-hint svg,
.card-icon {
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-art {
  position: relative;
  margin: 0;
  isolation: isolate;
  animation: artwork-in 1200ms 250ms both;
}

.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -8%;
  background: radial-gradient(ellipse, rgba(243, 182, 178, 0.3), rgba(255, 222, 196, 0.18) 45%, transparent 70%);
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: auto;
  max-width: min(78svh, 860px);
  margin: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 24%;
  -webkit-mask-image: radial-gradient(ellipse 69% 69% at 50% 50%, #000 53%, rgba(0, 0, 0, 0.92) 63%, transparent 72%);
  mask-image: radial-gradient(ellipse 69% 69% at 50% 50%, #000 53%, rgba(0, 0, 0, 0.92) 63%, transparent 72%);
}

.floating-hearts {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.heart {
  position: absolute;
  color: var(--pink);
  line-height: 1;
  opacity: 0.55;
  animation: float-heart 5.6s ease-in-out infinite;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.heart-one { top: 12%; right: 15%; font-size: clamp(1.7rem, 3vw, 2.7rem); }
.heart-two { top: 53%; left: 7%; font-size: clamp(1.1rem, 2vw, 1.7rem); animation-delay: -2s; }
.heart-three { bottom: 15%; right: 7%; font-size: clamp(1rem, 1.7vw, 1.5rem); animation-delay: -3.8s; }
.heart-four { top: 26%; left: 18%; font-size: clamp(1rem, 1.7vw, 1.5rem); animation-duration: 6.8s; animation-delay: -1.3s; }
.heart-five { top: 8%; left: 38%; font-size: clamp(0.7rem, 1.1vw, 1rem); opacity: 0.3; animation-duration: 7.4s; animation-delay: -4.2s; }
.heart-six { top: 34%; right: 4%; font-size: clamp(1.2rem, 2.2vw, 2rem); animation-duration: 6.2s; animation-delay: -2.8s; }
.heart-seven { bottom: 9%; left: 20%; font-size: clamp(0.9rem, 1.4vw, 1.3rem); animation-duration: 8.1s; animation-delay: -5.5s; }
.heart-eight { top: 72%; left: 2%; font-size: clamp(0.65rem, 1vw, 0.9rem); opacity: 0.32; animation-duration: 7s; animation-delay: -3.2s; }
.heart-nine { top: 2%; right: 35%; font-size: clamp(1rem, 1.6vw, 1.4rem); animation-duration: 6.5s; animation-delay: -0.7s; }

@keyframes welcome-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes wordmark-in {
  from { opacity: 0; transform: translateY(14px) rotate(-5deg); }
  to { opacity: 1; transform: translateY(0) rotate(-3deg); }
}

@keyframes artwork-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float-heart {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-9px) rotate(6deg); }
}

.destinations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.5rem);
  width: min(1320px, calc(100% - 3rem));
  min-height: 86svh;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(7rem, 12vw, 11rem);
  align-content: center;
}

.destination-card {
  position: relative;
  min-height: clamp(360px, 42vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
  text-decoration: none;
  transform-origin: center;
  transition: transform 450ms ease, box-shadow 450ms ease;
}

.destination-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2, .72, .18, 1);
}

.destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 31, 27, 0.02) 45%, rgba(43, 31, 27, 0.34) 100%);
  pointer-events: none;
}

.card-label {
  position: absolute;
  z-index: 2;
  left: clamp(1.5rem, 3vw, 2.8rem);
  bottom: clamp(1.5rem, 3vw, 2.6rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 250, 246, 0.86);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(66, 43, 36, 0.12);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.card-icon {
  width: 0.95em;
  height: 0.95em;
  flex-shrink: 0;
  color: var(--pink);
  transition: transform 450ms ease;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .destination-card:hover .card-icon { transform: translateX(3px); }
  .destination-card:hover .card-icon-travel { transform: translate(2px, -2px); }
}

.destination-card:hover img,
.destination-card:focus-visible img {
  transform: scale(1.035);
}

.destination-card:focus-visible {
  outline: 4px solid rgba(217, 120, 127, 0.52);
  outline-offset: 6px;
}

.js [data-reveal] {
  opacity: 0;
  transition: opacity 760ms ease, transform 700ms cubic-bezier(.2, .75, .2, 1), box-shadow 450ms ease;
  will-change: opacity, transform;
}

.js .reveal-left {
  transform: translate3d(-72px, 20px, 0) rotate(-1deg);
}

.js .reveal-right {
  transform: translate3d(72px, 20px, 0) rotate(1deg);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .destination-card:hover,
  .js [data-reveal].is-visible:hover {
    transform: translateY(-6px) rotate(-0.4deg);
    box-shadow: 0 34px 75px rgba(109, 70, 59, 0.17);
  }

  .destination-card.reveal-right:hover,
  .js [data-reveal].reveal-right.is-visible:hover {
    transform: translateY(-6px) rotate(0.4deg);
  }
}

@keyframes float-hint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2rem;
    padding: 4.2rem 1.25rem 3rem;
  }

  .hero-copy { padding-left: 0.35rem; }
  .wordmark { font-size: clamp(6rem, 27vw, 8rem); }
  .welcome { font-size: clamp(1.65rem, 7vw, 2.8rem); }
  .scroll-hint { display: none; }
  .hero-art { width: min(100%, 620px); justify-self: center; }
  .hero-art img { max-width: none; }

  .destinations {
    grid-template-columns: 1fr;
    width: min(100% - 2rem, 680px);
    min-height: auto;
    padding: 5rem 0 7rem;
  }

  .destination-card { min-height: min(72vw, 510px); }
  .js .reveal-left { transform: translate3d(-42px, 18px, 0); }
  .js .reveal-right { transform: translate3d(42px, 18px, 0); }
}

@media (max-width: 480px) {
  .hero { min-height: 100svh; }
  .eyebrow { margin-bottom: 0.75rem; font-size: 0.66rem; }
  .destination-card { border-radius: 28px; }
  .card-label { left: 1rem; bottom: 1rem; font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .js [data-reveal], .js .reveal-left, .js .reveal-right, .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}
