:root {
  --ink: #17211f;
  --muted: #64716d;
  --line: #dde5e1;
  --paper: #fbfcfa;
  --soft: #eef4ef;
  --green: #123d38;
  --green-2: #1e6259;
  --gold: #b88a3d;
  --white: #fff;
  --shadow: 0 18px 45px rgba(18, 61, 56, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'NanumSquareNeo', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--green);
  color: var(--white);
  padding: 10px 14px;
}
.skip:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(221, 229, 225, .78);
  backdrop-filter: blur(16px);
}
.bar {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 232px; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
}
.brand strong { display: block; font-size: 17px; line-height: 1.2; }
.brand em { display: block; font-style: normal; color: var(--muted); font-size: 12px; }
.desktop-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.desktop-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #24312e;
  font-size: 15px;
  font-weight: 650;
}
.desktop-nav a:hover { background: var(--soft); color: var(--green); }
.header-call {
  padding: 10px 14px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  border-radius: 6px;
}
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
}
.menu-button span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--white); padding: 8px 20px 18px; }
.mobile-nav a { display: block; padding: 11px 0; font-weight: 700; border-bottom: 1px solid var(--line); }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #26322f;
}
.hero-media, .hero-media img, .hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img, .hero-media video {
  object-fit: cover;
  background: linear-gradient(135deg, #143f39, #d9d2c1);
}
.hero-media img:not([src]), .hero-media img[src=""] { display: none; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 23, 22, 0.85) 0%, rgba(17, 23, 22, 0.6) 50%, rgba(17, 23, 22, 0.4) 100%);
}
.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-text-wrap {
  flex: 1.2;
  min-width: 320px;
}
.eyebrow, .section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 4px 30px rgba(0, 0, 0, 0.4);
}
.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255,255,255,.95);
  font-size: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.5);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions a, .reservation-form button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 800;
}
.primary, .reservation-form button { background: var(--gold); color: #16120b; border: 0; }
.secondary { border: 1px solid rgba(255,255,255,.52); color: var(--white); }
.quick-strip {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  box-shadow: var(--shadow);
}
.quick-strip a { padding: 22px 24px; border-right: 1px solid var(--line); }
.quick-strip strong { display: block; font-size: 19px; color: var(--green); }
.quick-strip span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }

.section { padding: 96px 0; }
.section.alt { background: var(--soft); }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .8fr);
  gap: 52px;
  align-items: center;
}
.split.reverse { grid-template-columns: minmax(320px, .8fr) minmax(0, 1.1fr); }
h2 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 48px); line-height: 1.18; }
h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.3; }
.lead { color: #33413e; font-size: 18px; }
.section-head { max-width: 800px; margin-bottom: 34px; }

.summary-panel, .price-box, .rent-list, .fee-table {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
  box-shadow: var(--shadow);
}
.summary-panel dl { margin: 0; }
.summary-panel div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.summary-panel dt { color: var(--muted); font-weight: 700; }
.summary-panel dd { margin: 0; font-weight: 800; }
.summary-panel small { display: block; margin-top: 16px; color: var(--muted); }

.plan-grid, .location-grid, .gallery-grid {
  display: grid;
  gap: 22px;
}
.plan-grid.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.plan-grid.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.plan-category-group {
  margin-top: 48px;
}
.plan-category-group:first-of-type {
  margin-top: 32px;
}
.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.category-header h3 {
  margin: 0;
  font-size: 22px;
  color: var(--green);
  font-weight: 850;
}
.category-header .badge {
  background: var(--gold);
  color: #16120b;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 4px;
}
.plan-card, .location-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px;
}
.image-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  background: #fff;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.image-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 8px;
}
.plan-card p, .location-grid p { color: var(--muted); margin-bottom: 0; }

.price-box ul, .rent-list ol { margin: 0; padding-left: 22px; }
.price-box li, .rent-list li { margin: 10px 0; }
.location { background: #fff; }
.location-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.location-grid article {
  min-height: 232px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.location-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.location-grid span { color: var(--gold); font-weight: 900; }

.location-image-slot {
  position: relative;
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
  background: #f7f9f8;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.location-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7f9f8;
}
.location-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fee-table { padding: 0; overflow: hidden; }
.fee-table div {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-bottom: 1px solid var(--line);
}
.fee-table div:last-child { border-bottom: 0; }
.fee-table strong, .fee-table span { padding: 18px 20px; }
.fee-table strong { background: var(--green); color: var(--white); }

.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
figure { margin: 0; background: var(--white); border: 1px solid var(--line); }
figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #e6eee8, #cbd8d0);
}
figcaption { padding: 12px 14px; font-weight: 800; }

.faq-list { display: grid; gap: 12px; }
details {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0 22px;
}
summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 850;
}
details p { color: var(--muted); padding-bottom: 18px; margin-bottom: 0; }

.faq-talk-banner {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visit { background: var(--green); color: var(--white); }
.visit .section-kicker { color: #e7bc70; }
.visit-box {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1fr);
  gap: 42px;
  align-items: start;
}
.reservation-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  background: var(--white);
  color: var(--ink);
  padding: 36px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.reservation-form label { display: grid; gap: 8px; font-weight: 750; font-size: 15px; }
.reservation-form label.span-2 { grid-column: 1 / -1; }
.reservation-form input, .reservation-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #e1deda;
  background: #f7f5f2;
  border-radius: 8px;
  padding: 0 16px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.reservation-form input:focus, .reservation-form select:focus, .reservation-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.reservation-form textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid #e1deda;
  background: #f7f5f2;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.req {
  color: #e03e2f;
  margin-left: 2px;
  font-weight: bold;
}
.span-2 {
  grid-column: 1 / -1;
}
.field-group {
  display: grid;
  gap: 10px;
}
.channel-title {
  font-weight: 750;
  font-size: 15px;
}
.channel-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.channel-chip {
  cursor: pointer;
}
.channel-chip input {
  display: none;
}
.channel-chip span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #dde5e1;
  border-radius: 20px;
  font-size: 14px;
  background: var(--white);
  color: var(--muted);
  transition: all 0.2s ease;
}
.channel-chip input:checked + span {
  background: var(--gold);
  color: #16120b;
  border-color: var(--gold);
  font-weight: 800;
}
.reservation-form .agree {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}
.reservation-form .agree input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--gold);
}
.reservation-form button {
  background: var(--gold);
  color: #16120b;
  border: 0;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.reservation-form button:hover {
  background: #a37933;
}

.site-footer { padding: 42px 0 86px; background: #101816; color: rgba(255,255,255,.76); }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; }
.site-footer strong, .site-footer a { display: block; color: var(--white); font-size: 20px; font-weight: 850; }
.site-footer span, .site-footer small { color: rgba(255,255,255,.58); }
.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  box-shadow: var(--shadow);
}
.floating-cta a {
  padding: 13px 18px;
  background: var(--green);
  color: var(--white);
  font-weight: 850;
}
.floating-cta a + a { background: var(--gold); color: #18120a; }

@media (max-width: 980px) {
  .desktop-nav, .header-call { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .mobile-nav.is-open { display: block; }
  .hero { min-height: 720px; }
  .quick-strip { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse, .visit-box { grid-template-columns: 1fr; }
  .plan-grid.grid-3, .plan-grid.grid-2, .plan-grid, .location-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .bar { width: calc(100% - 24px); height: 64px; }
  .brand { min-width: 0; }
  .brand strong { font-size: 14px; white-space: nowrap; }
  .brand em { display: none; }
  .hero-content { width: calc(100% - 24px); padding: 100px 0 60px; }
  .hero-content h1 { font-size: clamp(24px, 7vw, 40px); word-break: keep-all; }
  .hero-lead { font-size: 17px; }
  .quick-strip { width: calc(100% - 24px); grid-template-columns: 1fr 1fr; }
  .quick-strip a { padding: 14px 12px; }
  .quick-strip strong { font-size: 16px; }
  .quick-strip span { font-size: 12px; }
  .section { padding: 68px 0; }
  .container { width: calc(100% - 24px); }
  .plan-grid.grid-3, .plan-grid.grid-2, .plan-grid, .location-grid, .gallery-grid { grid-template-columns: 1fr; }
  .summary-panel, .price-box, .rent-list, .fee-table { padding: 22px; }
  .fee-table { padding: 0; }
  .fee-table div { grid-template-columns: 1fr; }
  .reservation-form { grid-template-columns: 1fr; padding: 18px; }
  .footer-grid { display: grid; }
  .floating-cta { left: 0; right: 0; bottom: 0; }
  .floating-cta a { flex: 1; text-align: center; }
}

/* 관련 정보 더 알아보기 섹션 */
.info-links {
  background: var(--soft);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(18, 61, 56, .18);
  border-color: var(--gold);
}
.info-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e6eee8, #cbd8d0);
  overflow: hidden;
}
.info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.info-card:hover .info-image img {
  transform: scale(1.06);
}
.info-image .badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
}
.blog-badge {
  background: #2db400; /* 네이버 블로그 그린 */
}
.tv-badge {
  background: #00c73c; /* 네이버 TV 그린 */
}
.info-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.info-body h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--ink);
  transition: color 0.3s ease;
}
.info-card:hover .info-body h3 {
  color: var(--green);
}
.info-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}
.info-more {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.3s ease, color 0.3s ease;
}
.info-card:hover .info-more {
  gap: 10px;
  color: var(--green);
}

/* 반응형 처리 추가 */
@media (max-width: 980px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .info-image {
    aspect-ratio: 16 / 9;
  }
  .info-body {
    padding: 24px;
  }
}

/* Video Section */
.video-section {
  text-align: center;
  background: var(--paper);
}
.video-section .section-head {
  margin-inline: auto;
}
.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.video-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-link:hover img {
  transform: scale(1.03);
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(18, 61, 56, 0.9);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 2;
}
.play-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  margin-left: 4px;
}
.video-link:hover .play-btn {
  background: var(--gold);
  color: #16120b;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 32px rgba(184, 138, 61, 0.4);
}

/* Hero Inquiry Box & Responsiveness */
.hero-inquiry-box {
  flex: 0.8;
  min-width: 320px;
  max-width: 480px;
  background: rgba(18, 28, 26, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  color: var(--white);
  text-align: left;
}
.hero-inquiry-box h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--white);
}
.hero-inquiry-box .sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}
.inquiry-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.inquiry-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  text-decoration: none;
}
.inquiry-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
  transform: translateX(4px);
}
.inquiry-item .phone-icon {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.inquiry-item:hover .phone-icon {
  opacity: 1;
}
.direct-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #12b37b;
  color: var(--white);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(18, 179, 123, 0.3);
  transition: all 0.3s ease;
}
.direct-call-btn:hover {
  background: #0f9d6c;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(18, 179, 123, 0.5);
}

@media (max-width: 980px) {
  .hero-content {
    flex-direction: column;
    padding: 120px 0 60px;
    align-items: stretch;
    gap: 32px;
  }
  .hero-text-wrap {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-inquiry-box {
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
  }
}

/* Collapsible Detailed Guide Section */
.collapsible-guide {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.guide-toggle-wrapper {
  text-align: center;
  margin-bottom: 8px;
}
.guide-toggle-btn {
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.guide-toggle-btn:hover {
  background: var(--green);
  color: var(--white);
}
.guide-content-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s ease;
  padding: 0 16px;
}
.guide-content-wrapper.is-expanded {
  max-height: 3000px;
  padding: 24px 16px;
}
.guide-rich-text {
  max-width: 900px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.guide-rich-text h3 {
  color: var(--green);
  font-size: 18px;
  font-weight: 800;
  margin-top: 28px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.guide-rich-text p {
  margin-bottom: 16px;
}
.guide-rich-text ul {
  margin-bottom: 20px;
  padding-left: 20px;
}
.guide-rich-text li {
  margin-bottom: 8px;
}

/* Unit Tour Section */
.unit-tour {
  background: var(--paper);
}
.tour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.tour-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(18, 61, 56, .18);
  border-color: var(--gold);
}
.tour-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.tour-card:hover .tour-image img {
  transform: scale(1.06);
}
.tour-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(18, 61, 56, 0.9);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 2;
}
.tour-play-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  margin-left: 3px;
}
.tour-card:hover .tour-play-btn {
  background: var(--gold);
  color: #16120b;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 32px rgba(184, 138, 61, 0.4);
}
.tour-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.tour-body h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--ink);
  transition: color 0.3s ease;
}
.tour-card:hover .tour-body h3 {
  color: var(--green);
}
.tour-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}
.tour-more {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.3s ease, color 0.3s ease;
}
.tour-card:hover .tour-more {
  gap: 10px;
  color: var(--green);
}

@media (max-width: 980px) {
  .tour-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tour-image {
    aspect-ratio: 16 / 9;
  }
  .tour-body {
    padding: 24px;
  }
}

/* ==========================================================================
   모바일 룰렛 이벤트 모달
   ========================================================================== */
.roulette-backdrop {
  display: none !important; /* 기본적으로 데스크톱에서는 숨김 */
}

@media (max-width: 768px) {
  .roulette-backdrop.is-visible {
    display: flex !important;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
  }

  .roulette-modal {
    position: relative;
    width: 100%;
    max-width: 320px;
    background: var(--white);
    border: 2px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: rouletteModalFadeIn 0.3s ease-out;
  }

  .roulette-header {
    background: #0f233c;
    border-bottom: 2px solid var(--gold);
    padding: 16px;
    text-align: center;
  }

  .roulette-title {
    display: block;
    color: var(--gold);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 4px;
    font-family: system-ui, -apple-system, sans-serif;
  }

  .roulette-subtitle {
    margin: 0;
    color: var(--white);
    font-size: 11px;
    opacity: 0.9;
    font-weight: 400;
  }

  .roulette-close-btn {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    font-size: 20px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 50;
  }

  .roulette-close-btn:hover {
    background: rgba(0, 0, 0, 0.5);
  }

  .roulette-body {
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
  }

  .roulette-footer {
    display: flex;
    border-top: 1px solid var(--line);
    background: var(--white);
  }

  .roulette-footer-btn {
    flex: 1;
    height: 44px;
    background: none;
    border: none;
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    cursor: pointer;
    text-align: center;
  }

  .roulette-footer-btn:first-child {
    border-right: 1px solid var(--line);
  }

  .roulette-footer-btn:active {
    background: var(--soft);
  }

  .roulette-win-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }

  .roulette-win-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }

  .roulette-win-btn-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .roulette-win-cta-btn {
    width: 100%;
    height: 44px;
    background: var(--gold);
    border: none;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(184, 138, 61, 0.3);
    transition: background-color 0.2s;
  }

  .roulette-win-cta-btn:active {
    background: var(--green);
  }
}

@keyframes rouletteModalFadeIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes rouletteFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ==========================================================================
   전자책 서브페이지 (ebook.html) 전용 스타일
   ========================================================================== */

.ebook-container {
  width: min(1000px, calc(100% - 32px));
  margin: 120px auto 80px;
  padding: 0 16px;
}

.ebook-hero {
  text-align: center;
  margin-bottom: 48px;
}

.ebook-hero h1 {
  font-size: clamp(32px, 5vw, 46px);
  color: var(--green);
  font-weight: 850;
  margin-bottom: 16px;
  text-shadow: none;
  line-height: 1.2;
}

.ebook-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.ebook-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .ebook-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.ebook-cover-wrapper {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.ebook-cover-wrapper img {
  margin: 0 auto 24px;
  max-height: 480px;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(18, 61, 56, 0.15);
}

.ebook-cover-info {
  text-align: left;
}

.ebook-cover-info h3 {
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.ebook-cover-info ul {
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
}

.ebook-cover-info li {
  margin: 8px 0;
  font-size: 15px;
}

/* 데이트 피커(캘린더) 래퍼 스타일 */
.date-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.date-input-wrapper input[type="date"] {
  padding-right: 46px !important;
  position: relative;
}

.date-input-wrapper::after {
  content: "";
  position: absolute;
  right: 16px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2317211f' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Chrome, Safari 등의 기본 캘린더 선택기 아이콘을 오버레이화하여 영역 전체 클릭 가능하게 처리 */
.date-input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}


