:root {
  color-scheme: light;
  font-family: "Palatino Linotype", "Book Antiqua", "STKaiti", "KaiTi", serif;
  --paper: #efe3c7;
  --paper-soft: #f6edd9;
  --paper-deep: #e0d0ab;
  --ink-main: #2f241c;
  --ink-soft: #655445;
  --sea-deep: #1e5a61;
  --sea-muted: #41706c;
  --temple-red: #9f3d2f;
  --temple-red-deep: #7f2e24;
  --gold: #b7903e;
  --gold-soft: #d3b26b;
  --jade: #68846f;
  --line: rgba(74, 52, 35, 0.22);
  --line-strong: rgba(74, 52, 35, 0.38);
  --panel: rgba(249, 241, 224, 0.92);
  --panel-strong: rgba(241, 229, 203, 0.96);
  --shadow: 0 18px 40px rgba(60, 42, 25, 0.16);
  --shadow-soft: 0 10px 22px rgba(60, 42, 25, 0.1);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Palatino Linotype", "Book Antiqua", "STKaiti", "KaiTi", serif;
  color: var(--ink-main);
  background:
    radial-gradient(circle at 50% 0%, rgba(183, 144, 62, 0.2), transparent 24%),
    radial-gradient(circle at 12% 12%, rgba(65, 112, 108, 0.12), transparent 20%),
    radial-gradient(circle at 88% 16%, rgba(159, 61, 47, 0.12), transparent 18%),
    linear-gradient(180deg, #f7efdc 0%, #efe1c2 45%, #ead9b6 100%);
}

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

button,
input {
  font: inherit;
}

#root {
  min-height: 100vh;
}

.app-shell {
  position: relative;
  overflow: hidden;
}

.app-shell::before,
.app-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.app-shell::before {
  background:
    linear-gradient(90deg, rgba(183, 144, 62, 0.06) 0, rgba(183, 144, 62, 0.06) 1px, transparent 1px, transparent 72px),
    linear-gradient(rgba(183, 144, 62, 0.05) 0, rgba(183, 144, 62, 0.05) 1px, transparent 1px, transparent 72px);
  opacity: 0.35;
}

.app-shell::after {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 16%),
    radial-gradient(circle at 78% 18%, rgba(30, 90, 97, 0.08), transparent 20%),
    radial-gradient(circle at 50% 60%, rgba(159, 61, 47, 0.06), transparent 24%);
  z-index: -1;
}

.floating-orb {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(12px);
  opacity: 0.45;
  animation: drift 12s ease-in-out infinite;
}

.orb-one {
  top: 8rem;
  left: -4rem;
  width: 13rem;
  height: 13rem;
  background: rgba(183, 144, 62, 0.24);
}

.orb-two {
  top: 36rem;
  right: -3rem;
  width: 12rem;
  height: 12rem;
  background: rgba(30, 90, 97, 0.18);
  animation-delay: -4s;
}

.orb-three {
  top: 72rem;
  left: 32%;
  width: 14rem;
  height: 14rem;
  background: rgba(159, 61, 47, 0.15);
  animation-delay: -2.5s;
}

.section-frame,
.site-header {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.95rem 1.2rem;
  background:
    linear-gradient(180deg, rgba(250, 241, 222, 0.96), rgba(235, 220, 191, 0.94));
  border: 1px solid rgba(124, 92, 46, 0.38);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(183, 144, 62, 0.36);
  border-radius: 12px;
  pointer-events: none;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.15rem;
}

.brand-lockup strong {
  display: block;
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.brand-lockup p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.15;
}

.brand-seal {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 3.15rem;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 10px;
  background:
    linear-gradient(180deg, #b74b3b, #8e3025);
  border: 1px solid rgba(255, 236, 202, 0.28);
  color: #f9edd7;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 0 2px rgba(255, 236, 202, 0.14), 0 8px 18px rgba(90, 34, 26, 0.18);
}

.brand-seal-image,
.brand-logo,
.gate-emblem-art,
.social-icon {
  width: 100%;
  height: 100%;
  background-image: var(--asset-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.brand-seal-image {
  width: 2rem;
  height: 2rem;
}

.brand-logo {
  width: 8.5rem;
  height: 1.8rem;
  max-width: 100%;
}

.brand-logo:empty {
  display: none;
}

.main-nav,
.header-tools,
.hero-actions,
.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.main-nav a,
.about-link {
  position: relative;
  padding: 0.25rem 0.15rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.main-nav a::after,
.about-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.about-link:hover::after {
  transform: scaleX(1);
}

.lang-switch,
.ghost-pill,
.search-chip,
.primary-button,
.secondary-button,
.menu-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
}

.lang-switch,
.ghost-pill,
.menu-chip,
.search-chip,
.secondary-button {
  background:
    linear-gradient(180deg, rgba(249, 239, 216, 0.96), rgba(232, 216, 187, 0.94));
  color: var(--ink-main);
  box-shadow: inset 0 1px 0 rgba(255, 251, 242, 0.75), var(--shadow-soft);
}

.lang-switch,
.ghost-pill,
.menu-chip {
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.lang-switch:hover,
.ghost-pill:hover,
.menu-chip:hover,
.temple-card:hover,
.primary-button:hover,
.secondary-button:hover,
.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(65, 46, 27, 0.16);
}

.glass-card {
  position: relative;
  background:
    linear-gradient(180deg, var(--panel), var(--panel-strong));
  border: 1px solid rgba(119, 87, 47, 0.36);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(183, 144, 62, 0.28);
  border-radius: calc(var(--radius-xl) - 8px);
  pointer-events: none;
}

.hero-section,
.temples-section,
.activities-section,
.facts-section {
  padding-block: 4rem;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 1.5rem;
  align-items: stretch;
  padding-top: 5rem;
}

.hero-copy {
  padding: 2.5rem;
  background:
    radial-gradient(circle at top left, rgba(183, 144, 62, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(249, 240, 220, 0.98), rgba(237, 224, 195, 0.96));
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(183, 144, 62, 0.34);
  background: rgba(183, 144, 62, 0.12);
  color: var(--sea-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h2,
.section-heading h2 {
  margin: 0;
  line-height: 1.12;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.hero-copy p,
.section-heading p,
.feature-card p,
.preview-copy p,
.activity-card p,
.fact-card p,
.manifesto-card p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.hero-stage {
  display: grid;
  gap: 1rem;
}

.hero-illustration {
  position: relative;
  overflow: hidden;
  min-height: 34rem;
  padding: 2rem;
  background:
    radial-gradient(circle at 50% 18%, rgba(211, 178, 107, 0.24), transparent 20%),
    linear-gradient(180deg, rgba(34, 92, 96, 0.96), rgba(19, 62, 68, 0.98));
  border-color: rgba(233, 211, 165, 0.34);
}

.hero-illustration::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(237, 220, 180, 0.26);
  border-radius: 22px;
  pointer-events: none;
}

.halo-ring {
  position: absolute;
  inset: 3rem;
  border: 1px solid rgba(235, 211, 155, 0.46);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(235, 211, 155, 0.06);
  animation: pulse 6s ease-in-out infinite;
}

.mazu-placeholder {
  position: absolute;
  inset: 4rem 4rem 5rem;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(249, 239, 216, 0.46);
  border-radius: 24px;
  color: rgba(250, 241, 224, 0.92);
  background:
    var(--overlay-image),
    var(--asset-image),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02) 8px, transparent 8px, transparent 16px);
  background-position: center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-size: contain, cover, auto, auto;
}

.media-placeholder-label {
  position: relative;
  z-index: 1;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(47, 36, 28, 0.42);
  color: #f9eed9;
  font-size: 0.84rem;
}

.floating-stamp {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  background: rgba(143, 48, 37, 0.84);
  border: 1px solid rgba(240, 225, 189, 0.26);
  color: #f7e9cb;
  box-shadow: 0 12px 26px rgba(42, 16, 12, 0.2);
  animation: floatTag 5.5s ease-in-out infinite;
  background-image: var(--asset-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.floating-stamp span {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.stamp-a {
  top: 14%;
  left: 12%;
}

.stamp-b {
  right: 10%;
  top: 22%;
  animation-delay: -1.8s;
}

.stamp-c {
  bottom: 16%;
  left: 18%;
  animation-delay: -3.1s;
}

.manifesto-card {
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(247, 236, 213, 0.96), rgba(233, 218, 185, 0.94));
  border: 1px solid rgba(119, 87, 47, 0.28);
}

.manifesto-card span,
.activity-meta-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--temple-red);
}

.primary-button {
  background: linear-gradient(180deg, #b14838, #8f3025);
  color: #f9eed7;
  border-color: rgba(255, 232, 193, 0.18);
  box-shadow: 0 16px 28px rgba(104, 34, 24, 0.22);
}

.feature-grid,
.activity-grid,
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.activity-card,
.fact-card {
  padding: 1.45rem;
}

.fact-card {
  display: grid;
  gap: 0.65rem;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(183, 144, 62, 0.18), rgba(183, 144, 62, 0.08));
  border: 1px solid rgba(183, 144, 62, 0.28);
  color: #8a6729;
  font-weight: 700;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

.temple-table-shell {
  padding: 1rem 1rem 0.9rem;
}

.temple-table-wrap {
  overflow-x: auto;
}

.temple-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.92rem;
}

.temple-table th,
.temple-table td {
  padding: 0.9rem 0.8rem;
  border-bottom: 1px solid rgba(119, 87, 47, 0.18);
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.temple-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(239, 227, 199, 0.98);
  color: var(--sea-deep);
  font-size: 0.84rem;
  text-align: left;
}

.temple-table tbody tr:nth-child(even) td {
  background: rgba(249, 241, 224, 0.5);
}

.temple-table a {
  color: var(--sea-deep);
  text-decoration: underline;
  text-decoration-color: rgba(30, 90, 97, 0.4);
}

.temple-table-note {
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.temple-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 0.9rem;
}

.temple-layout {
  grid-template-columns: 0.78fr 1.22fr;
  gap: 0.75rem;
}

.temple-selector {
  display: grid;
  gap: 0.95rem;
  width: min(100%, 21rem);
}

.temple-card {
  position: relative;
  padding: 1rem 1.15rem;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(119, 87, 47, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(249, 239, 216, 0.96), rgba(234, 220, 190, 0.94));
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.temple-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(183, 144, 62, 0.26);
  border-radius: 10px;
  pointer-events: none;
}

.temple-card strong {
  display: block;
}

.temple-card strong {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.temple-card.active {
  transform: translateX(4px) scale(1.012);
  border-color: rgba(159, 61, 47, 0.42);
  background:
    linear-gradient(180deg, rgba(249, 234, 211, 0.98), rgba(240, 217, 184, 0.96));
  box-shadow: 0 18px 30px rgba(97, 55, 34, 0.16);
}

.temple-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.25rem;
  position: relative;
}

.copy-toast {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(30, 90, 97, 0.94);
  color: #f8eed7;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.about-media,
.partner-logo {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100%;
  border-radius: 20px;
  border: 1px dashed rgba(119, 87, 47, 0.32);
  background:
    var(--asset-image),
    radial-gradient(circle at top, rgba(183, 144, 62, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(239, 228, 203, 0.94), rgba(231, 216, 184, 0.88));
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: cover, auto, auto;
  color: var(--ink-soft);
}

.about-media {
  min-height: 11rem;
}

.media-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  background: rgba(30, 90, 97, 0.92);
  color: #f7edda;
  border: 1px solid rgba(236, 223, 189, 0.2);
}

.preview-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.temple-detail-copy {
  gap: 1rem;
}

.temple-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.temple-detail-item {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(119, 87, 47, 0.18);
  background: rgba(249, 241, 224, 0.5);
}

button.temple-detail-item {
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  appearance: none;
}

button.temple-detail-item:hover,
button.temple-detail-item:focus-visible {
  border-color: rgba(30, 90, 97, 0.36);
  background: rgba(243, 236, 219, 0.84);
  box-shadow: 0 12px 24px rgba(65, 46, 27, 0.12);
  transform: translateY(-1px);
}

button.temple-detail-item:focus-visible {
  outline: 2px solid rgba(30, 90, 97, 0.28);
  outline-offset: 2px;
}

.temple-detail-item span {
  color: var(--sea-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.temple-detail-item strong {
  font-weight: 600;
  line-height: 1.75;
}

.temple-detail-span {
  grid-column: 1 / -1;
}

.temple-copy-item strong {
  display: block;
}

.activity-card h3,
.feature-card h3,
.fact-card h3,
.preview-copy h3 {
  margin: 0 0 0.55rem;
}

.activity-card {
  display: grid;
  gap: 0.55rem;
}

.activity-card h3,
.activity-card p {
  margin: 0;
}

.activity-card .activity-meta-label {
  margin-top: 0.45rem;
}

.activity-card .activity-meta-label:first-child {
  margin-top: 0;
}

.facts-section {
  padding-bottom: 5rem;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.partner-logo {
  min-height: 8rem;
  padding: 1rem;
}

.social-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.2rem 1.4rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(249, 239, 216, 0.96), rgba(232, 216, 187, 0.94));
  border: 1px solid var(--line-strong);
}

.social-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 1.1rem;
}

.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(183, 144, 62, 0.12), transparent 18%),
    rgba(36, 25, 17, 0.34);
  transition: opacity 900ms ease, visibility 900ms ease;
}

.gate-panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(131, 44, 33, 0.98), rgba(92, 28, 22, 0.98)),
    repeating-linear-gradient(90deg, rgba(242, 222, 181, 0.06), rgba(242, 222, 181, 0.06) 2px, transparent 2px, transparent 30px);
  box-shadow: inset 0 0 0 1px rgba(242, 222, 181, 0.16);
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gate-panel::before,
.gate-panel::after {
  content: "";
  position: absolute;
  top: 4%;
  bottom: 4%;
  width: 10px;
  background: linear-gradient(180deg, rgba(211, 178, 107, 0.9), rgba(154, 118, 46, 0.9));
}

.gate-panel::before {
  left: 10%;
}

.gate-panel::after {
  right: 10%;
}

.gate-panel-left {
  left: 0;
}

.gate-panel-right {
  right: 0;
}

.gate-copy {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  padding: 1.5rem;
  text-align: center;
  color: #f9edd6;
}

.gate-copy h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.gate-copy p {
  margin: 0;
  color: rgba(249, 237, 214, 0.82);
}

.gate-emblem-art {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
  opacity: 0.18;
}

.gate-entry-text {
  margin-top: 1.35rem;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: #f8ead0;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-image: linear-gradient(90deg, rgba(248, 234, 208, 0.26), rgba(240, 213, 150, 1), rgba(248, 234, 208, 0.26));
  background-size: 200% 100%;
  background-position: 0% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gateHintPulse 2.1s ease-in-out infinite, gateHintShift 4.8s linear infinite;
}

.gate-open {
  opacity: 0;
  visibility: hidden;
}

.gate-open .gate-panel-left {
  transform: translateX(-100%);
}

.gate-open .gate-panel-right {
  transform: translateX(100%);
}

.gate-open .gate-copy {
  animation: fadeAway 600ms ease forwards;
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 700ms ease forwards;
  animation-play-state: paused;
}

.is-entered .reveal-up {
  animation-play-state: running;
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 220ms;
}

.delay-3 {
  animation-delay: 320ms;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-14px) translateX(8px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.82;
  }

  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes floatTag {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

@keyframes gateHintPulse {
  0%,
  100% {
    opacity: 0.28;
  }

  50% {
    opacity: 1;
  }
}

@keyframes gateHintShift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

@keyframes fadeAway {
  to {
    opacity: 0;
    transform: scale(0.92);
  }
}

@media (max-width: 1080px) {
  .site-header,
  .hero-section,
  .temple-layout,
  .temple-preview,
  .feature-grid,
  .activity-grid,
  .facts-grid,
  .partner-strip {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 16px;
  }

  .main-nav,
  .header-tools {
    flex-wrap: wrap;
  }

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    padding: 1rem;
  }

  .hero-copy,
  .hero-illustration,
  .feature-card,
  .activity-card,
  .fact-card,
  .temple-preview {
    border-radius: 18px;
  }

  .hero-section,
  .temples-section,
  .activities-section,
  .facts-section {
    padding-block: 3rem;
  }

  .hero-illustration {
    min-height: 24rem;
  }

  .mazu-placeholder {
    inset: 2.5rem;
  }


  .gate-center {
    width: 7.5rem;
    height: 7.5rem;
  }

}
