:root {
  --red: #781722;
  --red-deep: #3e0d15;
  --gold: #f0cf8c;
  --gold-deep: #bc8d42;
  --gold-soft: #fff1cf;
  --paper: #fff7ea;
  --paper-soft: #fffaf1;
  --ink: #2b1715;
  --muted: rgba(43, 23, 21, 0.72);
  --line: rgba(240, 207, 140, 0.22);
  --line-soft: rgba(188, 141, 66, 0.16);
  --shadow: 0 26px 58px rgba(24, 6, 11, 0.34);
  --panel-shadow: 0 14px 28px rgba(102, 44, 25, 0.08);
}

* {
  box-sizing: border-box;
}

h1,
h2,
h3,
p,
a,
span,
strong,
button,
input,
select,
textarea,
label,
small {
  font: inherit;
  text-wrap: pretty;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at top center, rgba(240, 207, 140, 0.14), transparent 20%),
    radial-gradient(circle at 10% 20%, rgba(255, 209, 145, 0.1), transparent 16%),
    linear-gradient(180deg, #7d141d 0%, #531018 42%, #26090d 100%);
  font-family: "STSong", "Songti SC", "Noto Serif CJK SC", "Microsoft YaHei", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 241, 207, 0.08), transparent 34%),
    linear-gradient(90deg, transparent 0 8%, rgba(255, 241, 207, 0.035) 8.2%, transparent 8.4%, transparent 91.6%, rgba(255, 241, 207, 0.035) 91.8%, transparent 92%);
}

body.modal-open {
  overflow: hidden;
}

.phone-page {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 16px 14px 40px;
}

.lux-topbar,
.grand-hero,
.panel,
.lux-footer,
.modal-card {
  box-shadow: var(--shadow);
}

.lux-topbar {
  position: sticky;
  top: 12px;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(66, 10, 18, 0.76);
  backdrop-filter: blur(14px);
}

.lux-topbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--gold-soft);
  text-decoration: none;
  background: rgba(255, 241, 207, 0.08);
  border: 1px solid rgba(255, 241, 207, 0.12);
  font-size: 0.94rem;
}

.lux-topbar__primary {
  color: #30140f !important;
  background: linear-gradient(135deg, #f0cf8c, #c68d42) !important;
  border: 0 !important;
}

.grand-hero,
.panel,
.lux-footer {
  margin-top: 16px;
  padding: 18px;
  border-radius: 30px;
  border: 1px solid var(--line);
}

.grand-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(115, 15, 26, 0.84), rgba(57, 8, 14, 0.92)),
    radial-gradient(circle at 50% 12%, rgba(240, 207, 140, 0.2), transparent 34%);
}

.grand-hero::before {
  content: "";
  position: absolute;
  top: -54px;
  right: -22px;
  width: 164px;
  height: 164px;
  border-radius: 50%;
  border: 1px solid rgba(240, 207, 140, 0.16);
  box-shadow:
    0 0 0 18px rgba(240, 207, 140, 0.06),
    0 0 0 42px rgba(240, 207, 140, 0.03);
}

h1,
h2,
h3,
p {
  margin: 0;
}

.hero-site-name {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  text-align: center;
}

.hero-copy h1 {
  margin-top: 10px;
  font-size: 1.92rem;
  line-height: 1.18;
  text-align: center;
}

.hero-carousel {
  margin-top: 18px;
}

.hero-carousel__track {
  position: relative;
  overflow: hidden;
  border-radius: 26px 26px 18px 18px;
  clip-path: inset(0 round 26px 26px 18px 18px);
  border: 1px solid rgba(240, 207, 140, 0.18);
  background: rgba(255, 245, 221, 0.05);
  min-height: 0;
  aspect-ratio: 16 / 9;
  touch-action: pan-y;
  cursor: grab;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.hero-slide__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 12px 20px 13px;
  color: #fff6e8;
  background:
    linear-gradient(180deg, rgba(115, 66, 42, 0.08), rgba(88, 47, 34, 0.58)),
    rgba(86, 43, 31, 0.22);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-slide__caption strong {
  display: block;
  color: #fff6e8;
  font-size: 1rem;
  line-height: 1.28;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 10px rgba(28, 8, 8, 0.24);
}

.hero-slide--placeholder {
  min-height: 240px;
}

.hero-slide__placeholder {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  min-height: 240px;
  padding: 28px 22px;
  text-align: center;
  color: var(--gold-soft);
  background:
    radial-gradient(circle at 50% 18%, rgba(240, 207, 140, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(97, 20, 29, 0.7), rgba(54, 11, 18, 0.92));
}

.hero-slide__placeholder span {
  max-width: 14em;
  color: rgba(255, 241, 207, 0.82);
  line-height: 1.72;
  font-size: 1.08rem;
}

.hero-entry-line {
  display: block;
  width: 100%;
  color: rgba(255, 241, 207, 0.82);
  line-height: 1.72;
  font-size: 1rem;
  text-decoration: none;
}

.hero-slide__placeholder .hero-entry-line {
  max-width: 14em;
}

.hero-entry-line:hover {
  color: var(--gold-soft);
}

.hero-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.hero-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 241, 207, 0.24);
}

.hero-carousel__dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0cf8c, #c68d42);
}

.hero-points,
.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-points {
  margin-top: 16px;
}

.hero-points article {
  flex: 1 1 100%;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 241, 207, 0.06);
  border: 1px solid rgba(255, 241, 207, 0.1);
}

.hero-points article .hero-entry-line + .hero-entry-line {
  margin-top: 6px;
}

.hero-points strong,
.footer-list strong {
  display: block;
  color: var(--gold-soft);
  font-size: 0.98rem;
}

.hero-points span,
.footer-list span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 241, 207, 0.74);
  line-height: 1.72;
  font-size: 0.92rem;
}

.panel {
  background:
    linear-gradient(180deg, rgba(255, 246, 226, 0.98), rgba(255, 236, 205, 0.96)),
    var(--paper);
  color: var(--ink);
}

.panel-head h2,
.lux-footer h2,
.modal-head h2 {
  margin-top: 8px;
  font-size: 1.42rem;
  line-height: 1.28;
}

.panel-head--center {
  text-align: center;
}

.section-title {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.section-title h2 {
  margin-top: 2px;
  color: #4a241d;
  font-size: 2rem;
  line-height: 1.12;
  letter-spacing: 0.04em;
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-weight: 600;
}

.section-title__line {
  width: 72px;
  height: 1px;
  margin-top: 2px;
  background: linear-gradient(90deg, rgba(188, 141, 66, 0), rgba(188, 141, 66, 0.75), rgba(188, 141, 66, 0));
}

.panel-subnote {
  margin-top: 2px;
  color: #8a6952;
  font-size: 0.84rem;
  line-height: 1.5;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 16px;
  gap: 10px 8px;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  color: #69202a;
  background: #fff7e8;
  border: 1px solid rgba(188, 141, 66, 0.18);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(176, 123, 53, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}

.service-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(188, 141, 66, 0.32);
  box-shadow: 0 14px 24px rgba(176, 123, 53, 0.1);
}

@media (max-width: 520px) {
  .service-pills {
    gap: 9px 7px;
  }

  .service-pill {
    min-height: 38px;
    padding: 0 13px;
  }
}

.spotlight-list,
.footer-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.spotlight-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 251, 240, 0.92);
  border: 1px solid var(--line-soft);
  box-shadow: var(--panel-shadow);
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.spotlight-card__image {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
}

.spotlight-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-card__copy h3,
.festival-month__content h3 {
  margin-top: 6px;
  font-size: 1.08rem;
}

.spotlight-card__copy p,
.festival-month__note {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.92rem;
}

.festival-timeline {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.festival-timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(188, 141, 66, 0.38), rgba(188, 141, 66, 0.06));
}

.festival-month {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  scroll-margin-top: 84px;
}

.festival-month__marker {
  position: relative;
  z-index: 1;
}

.festival-month__marker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-height: 92px;
  padding: 10px 0;
  border-radius: 999px;
  color: #fff7ea;
  font-size: 0.82rem;
  line-height: 1.05;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #d6a65e, #9f692b);
  box-shadow: 0 12px 20px rgba(159, 105, 43, 0.18);
}

.festival-month__content {
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(250, 244, 236, 0.96)),
    rgba(255, 252, 246, 0.88);
}

.festival-schedule-list {
  display: grid;
  gap: 12px;
}

.festival-schedule-item {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid rgba(188, 141, 66, 0.12);
}

.festival-schedule-item__meta {
  display: grid;
  align-content: start;
  gap: 4px;
}

.festival-schedule-item strong {
  color: #9f692b;
  font-size: 0.98rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.festival-schedule-item__body {
  display: grid;
  gap: 2px;
}

.festival-schedule-item__body a {
  color: #5c4031;
  font-size: 0.95rem;
  line-height: 1.78;
  text-decoration: none;
  transition: color 180ms ease;
}

.festival-schedule-item__body a:hover {
  color: #9f692b;
}

.festival-schedule-item__text {
  color: #5c4031;
  font-size: 0.95rem;
  line-height: 1.78;
}

.festival-schedule-item__note {
  color: #8a6952;
  font-size: 0.82rem;
  line-height: 1.5;
}

.festival-schedule-item__note span {
  display: block;
}

.festival-schedule-item__note span + span {
  margin-top: 2px;
}

@media (max-width: 520px) {
  .festival-schedule-item {
    grid-template-columns: 78px 1fr;
    gap: 10px;
  }

  .festival-schedule-item strong {
    font-size: 0.92rem;
  }

  .festival-schedule-item__body a,
  .festival-schedule-item__text {
    font-size: 0.92rem;
    line-height: 1.72;
  }
}

.lux-kicker,
.modal-kicker {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.lux-footer {
  background:
    linear-gradient(180deg, rgba(61, 10, 17, 0.94), rgba(28, 7, 10, 0.96)),
    rgba(44, 8, 12, 0.92);
}

.footer-list article {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 241, 207, 0.06);
  border: 1px solid rgba(255, 241, 207, 0.1);
}

.panel .lux-kicker {
  color: #9f692b;
}

.modal-root[hidden] {
  display: none;
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 8, 10, 0.7);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 24px), 430px);
  max-height: calc(100vh - 30px);
  margin: 15px auto;
  padding: 18px;
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(240, 207, 140, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 246, 226, 0.98), rgba(255, 236, 205, 0.96)),
    var(--paper);
  color: var(--ink);
}

  .modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.modal-close,
.form-button {
  min-height: 44px;
  border-radius: 14px;
  cursor: pointer;
}

.modal-close:disabled,
.form-button:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.modal-close {
  border: 1px solid rgba(188, 141, 66, 0.18);
  background: #fff7e8;
  color: #69202a;
  padding: 0 14px;
}

.booking-step {
  display: none;
  margin-top: 16px;
}

.booking-step.is-active {
  display: grid;
  gap: 14px;
}

.booking-summary {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(188, 141, 66, 0.16);
}

.booking-summary span,
.booking-summary small,
.anonymous-note,
.booking-info-box,
.form-field span,
.form-calendar-switch span,
.payment-card p,
.payment-card strong,
.qr-shell p {
  color: #5a4033;
}

.booking-summary strong {
  font-size: 1.12rem;
}

.anonymous-note,
.booking-info-box,
.payment-card {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(188, 141, 66, 0.16);
  background: rgba(255, 249, 238, 0.94);
}

.tier-list {
  display: grid;
  gap: 12px;
}

.tier-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(188, 141, 66, 0.18);
  background: rgba(255, 252, 247, 0.92);
  color: var(--ink);
  cursor: pointer;
}

.tier-card.is-active {
  border-color: rgba(198, 141, 66, 0.6);
  box-shadow: 0 0 0 2px rgba(198, 141, 66, 0.14);
}

.tier-card__label {
  color: #7b5730;
  font-size: 0.9rem;
}

.tier-card__amount {
  font-size: 1.18rem;
}

.tier-card__meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.hidden {
  display: none !important;
}

.custom-price-field,
.form-field,
.form-calendar-switch {
  display: grid;
  gap: 8px;
}

.custom-price-field input,
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(188, 141, 66, 0.18);
  background: rgba(255, 252, 247, 0.92);
  color: var(--ink);
}

.calendar-toggle {
  display: flex;
  gap: 14px;
  color: #5a4033;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.booking-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.form-button {
  border: 0;
  color: #30140f;
  background: linear-gradient(135deg, #f0cf8c, #c68d42);
}

.form-button--ghost {
  border: 1px solid rgba(188, 141, 66, 0.18);
  color: #69202a;
  background: #fff7e8;
}

.form-status {
  min-height: 22px;
  color: #7a4820;
  font-size: 0.92rem;
}

.qr-shell {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(188, 141, 66, 0.16);
  background: rgba(255, 252, 247, 0.92);
}

.qr-shell strong {
  font-size: 1rem;
}

.qr-placeholder {
  position: relative;
  width: 196px;
  aspect-ratio: 1;
  border-radius: 20px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px) 0 0 / 22px 22px,
    linear-gradient(#111 10px, transparent 10px) 0 0 / 22px 22px,
    linear-gradient(90deg, transparent 12px, #111 12px 18px, transparent 18px) 11px 11px / 22px 22px,
    linear-gradient(transparent 12px, #111 12px 18px, transparent 18px) 11px 11px / 22px 22px,
    #fff;
  box-shadow: inset 0 0 0 10px #fff;
  overflow: hidden;
}

.qr-placeholder__finder {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 8px solid #111;
  background: #fff;
}

.qr-placeholder__finder::after {
  content: "";
  position: absolute;
  inset: 10px;
  background: #111;
}

.qr-placeholder__finder--tl { left: 16px; top: 16px; }
.qr-placeholder__finder--tr { right: 16px; top: 16px; }
.qr-placeholder__finder--bl { left: 16px; bottom: 16px; }

.qr-placeholder__center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  border: 8px solid #111;
  background:
    linear-gradient(90deg, transparent 0 12px, #111 12px 20px, transparent 20px 28px, #111 28px 36px, transparent 36px 100%),
    linear-gradient(transparent 0 12px, #111 12px 20px, transparent 20px 28px, #111 28px 36px, transparent 36px 100%),
    #fff;
}

.detail-page {
  padding-bottom: 56px;
}

.detail-hero {
  display: grid;
  gap: 16px;
}

.back-chip {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--gold-soft);
  text-decoration: none;
  border: 1px solid rgba(255, 241, 207, 0.14);
  background: rgba(255, 241, 207, 0.08);
}

.detail-image-frame {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(240, 207, 140, 0.18);
  background: rgba(255, 245, 221, 0.05);
}

.detail-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.detail-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.detail-section {
  display: grid;
  gap: 16px;
}

.detail-paragraph {
  color: var(--muted);
  line-height: 1.82;
  font-size: 0.95rem;
}

.detail-paragraph--muted {
  margin-top: -6px;
}

.detail-info-grid {
  display: grid;
  gap: 12px;
}

.detail-info-card {
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(250, 244, 236, 0.96)),
    rgba(255, 252, 246, 0.88);
  box-shadow: var(--panel-shadow);
}

.detail-info-card h3 {
  font-size: 1.04rem;
}

.detail-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  line-height: 1.72;
  font-size: 0.93rem;
}

.detail-list li::marker {
  color: #9f692b;
}

.detail-booking-shell[hidden] {
  display: none;
}

.detail-booking-shell.is-open {
  animation: detail-rise 360ms ease both;
}

@keyframes detail-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

@media (min-width: 720px) {
  body {
    padding: 12px 0 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
