
:root {
  --primary: #8B6B42;
  --primary-dark: #705332;
  --primary-light: #EDE3D4;
  --ink: #40372D;
  --muted: #938575;
  --line: #E7DED1;
  --surface: #FFFCF7;
  --page: #F5F1EA;
  --white: #FFFFFF;
  --green: #65745B;
  --shadow: 0 12px 36px rgba(75, 57, 35, 0.07);
  --shadow-hover: 0 18px 42px rgba(75, 57, 35, 0.13);
  font-family: "Noto Sans KR", Pretendard, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

button,
select,
input,
textarea {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(139, 107, 66, 0.35);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 0 max(32px, calc((100vw - 1200px) / 2));
  background: rgba(255, 252, 247, 0.94);
  border-bottom: 1px solid rgba(139, 107, 66, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 11px;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  color: var(--surface);
  background: var(--primary);
  border-radius: 14px;
  font-size: 27px;
  line-height: 1;
  box-shadow: 0 5px 14px rgba(139, 107, 66, 0.2);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.header-nav a {
  color: #6D6255;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: var(--primary);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.1px;
  white-space: nowrap;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #7E946D;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(126, 148, 109, 0.12);
}

#languageSelect {
  max-width: 120px;
  padding: 9px 25px 9px 11px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1fr 0.94fr;
  align-items: center;
  gap: 58px;
  padding-top: 66px;
  padding-bottom: 70px;
}

.hero-copy {
  padding: 15px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.eyebrow-line {
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.hero h1 {
  margin: 22px 0 18px;
  color: var(--ink);
  font-size: clamp(38px, 4.4vw, 59px);
  font-weight: 800;
  line-height: 1.27;
  letter-spacing: -2.8px;
}

.hero h1 > span:first-of-type {
  color: var(--primary);
}

.hero-plane {
  display: inline-block;
  color: #B79A70;
  font-size: 0.54em;
  transform: rotate(-12deg) translateY(-8px);
}

.hero-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 29px;
}

.hero-highlights > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #716556;
  font-size: 11px;
  font-weight: 600;
}

.highlight-icon {
  color: var(--primary);
  font-size: 15px;
}

.hero-art {
  position: relative;
  min-height: 335px;
  overflow: hidden;
  background: #D7C8B3;
  border: 7px solid rgba(255, 252, 247, 0.88);
  border-radius: 9px 90px 9px 9px;
  box-shadow: var(--shadow);
}

.hero-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(33, 29, 23, 0.02) 15%,
    rgba(33, 29, 23, 0.08) 42%,
    rgba(33, 29, 23, 0.67) 100%
  );
}

.hero-note {
  position: absolute;
  right: 24px;
  bottom: 32px;
  left: 25px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.hero-note-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(255, 252, 247, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  font-size: 24px;
  backdrop-filter: blur(8px);
}

.hero-note > span:last-child {
  display: flex;
  flex-direction: column;
}

.hero-note small {
  margin-bottom: 5px;
  color: #F3DFC1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.hero-note strong {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.5px;
}

.hero-art-caption {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 7px 10px;
  color: white;
  background: rgba(45, 40, 31, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.6px;
  backdrop-filter: blur(8px);
}

/* Section headings */

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.section-heading h2,
.course-heading h2 {
  margin: 7px 0 5px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -1.2px;
}

.section-heading p,
.course-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.section-number {
  padding-bottom: 7px;
  color: #AA9B88;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

/* Travel workspace */

.travel-section {
  padding-bottom: 85px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(340px, 0.83fr);
  align-items: stretch;
  gap: 20px;
}

.panel {
  background: var(--surface);
  border: 1px solid rgba(139, 107, 66, 0.13);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.map-card,
.control-card {
  min-width: 0;
  padding: 25px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.panel-kicker {
  color: #A38A67;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.panel-heading h2,
.control-title-row h2 {
  margin: 5px 0 3px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.panel-heading p,
.control-title-row p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  padding: 6px 10px;
  color: #82735F;
  background: #F5EFE5;
  border: 1px solid #EDE2D2;
  border-radius: 30px;
  font-size: 9px;
  font-weight: 700;
}

.status-pill::before {
  width: 6px;
  height: 6px;
  content: "";
  background: #BBA17A;
  border-radius: 50%;
}

.status-pill.ready {
  color: #58724D;
  background: #EEF3E9;
  border-color: #DDE8D5;
}

.status-pill.ready::before {
  background: #739362;
}

.status-pill.warning {
  color: #9A6D3E;
  background: #FBF1E3;
  border-color: #F1DFC4;
}

.status-pill.warning::before {
  background: #C78C49;
}

#map {
  width: 100%;
  height: 405px;
  margin-top: 20px;
  overflow: hidden;
  background: #E9E5DB;
  border: 1px solid #E4DCCD;
  border-radius: 13px;
  z-index: 1;
}

.leaflet-container {
  font-family: inherit;
  background: #E9E5DB;
}

.leaflet-control-zoom a {
  color: var(--primary-dark) !important;
}

.map-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
}

.map-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #887C6B;
  font-size: 10px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  background: #BD8E55;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #BD8E55;
}

.legend-line {
  width: 17px;
  height: 2px;
  margin-left: 7px;
  background: #8B6B42;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  color: var(--primary);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
}

.text-button:hover {
  background: #F4EBDD;
}

.text-button span {
  font-size: 17px;
}

.map-notice {
  min-height: 16px;
  margin: 9px 0 0;
  color: #A29584;
  font-size: 10px;
  line-height: 1.6;
}

/* Destination controls */

.control-card {
  display: flex;
  flex-direction: column;
}

.control-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.control-title-row h2 {
  font-size: 22px;
}

.dice-badge {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  flex-shrink: 0;
  background: #F0E5D4;
  border: 1px solid #E6D5BD;
  border-radius: 15px;
  font-size: 25px;
  transform: rotate(4deg);
}

.control-group {
  margin-bottom: 21px;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #594D3F;
  font-size: 12px;
  font-weight: 800;
}

.field-icon {
  color: var(--primary);
  font-size: 16px;
}

.field-select {
  width: 100%;
  min-height: 45px;
  padding: 0 13px;
  color: #514536;
  background: #FAF6EF;
  border: 1px solid #E9DECE;
  border-radius: 10px;
  font-size: 12px;
  outline-color: var(--primary);
  cursor: pointer;
}

.theme-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.theme-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  padding: 8px 5px;
  color: #7B6D5A;
  background: #FBF8F2;
  border: 1px solid #EAE1D5;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  transition: 0.2s ease;
}

.theme-button > span {
  font-size: 14px;
}

.theme-button:hover {
  border-color: #C8AD87;
  transform: translateY(-1px);
}

.theme-button.active {
  color: var(--primary-dark);
  background: #F0E4D2;
  border-color: #C7A77A;
  box-shadow: inset 0 0 0 1px rgba(139, 107, 66, 0.04);
}

.party-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.party-chip {
  min-height: 39px;
  padding: 7px 4px;
  color: #8C7D6B;
  background: #FBF8F3;
  border: 1px solid #EAE1D5;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  transition: 0.2s ease;
}

.party-chip:hover {
  border-color: #C8AD87;
}

.party-chip.active {
  color: var(--primary-dark);
  background: #F0E4D2;
  border-color: #C7A77A;
  font-weight: 800;
}

.draw-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 56px;
  margin-top: auto;
  padding: 13px 18px;
  color: #FFFDF8;
  background: linear-gradient(135deg, #9B7A4E, #785A35);
  border: 1px solid #8B6B42;
  border-radius: 12px;
  box-shadow: 0 7px 16px rgba(112, 83, 50, 0.17);
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.draw-button:hover {
  box-shadow: 0 11px 22px rgba(112, 83, 50, 0.23);
  transform: translateY(-2px);
}

.draw-button:active {
  transform: translateY(0);
}

.draw-button-icon {
  font-size: 19px;
}

.draw-button-arrow {
  margin-left: auto;
  font-size: 20px;
}

.draw-status {
  min-height: 19px;
  margin: 12px 0 0;
  color: #9B8B76;
  font-size: 10px;
  text-align: center;
  line-height: 1.7;
}

/* Result card */

.result-card {
  margin-top: 22px;
  padding: 29px;
  border-top: 3px solid var(--primary);
  animation: result-enter 0.4s ease both;
}

@keyframes result-enter {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.result-label {
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.result-label span {
  margin-right: 5px;
  font-size: 15px;
}

.result-type {
  padding: 5px 10px;
  color: #887458;
  background: #F3EADB;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
}

.result-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 23px 0 25px;
}

.result-overline {
  color: #AA987F;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.result-copy h2 {
  margin: 4px 0 7px;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 37px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -1.3px;
  overflow-wrap: anywhere;
}

.result-copy > p {
  max-width: 680px;
  margin: 0;
  color: #847765;
  font-size: 12px;
  line-height: 1.9;
}

.result-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  color: var(--primary);
  background: #F6EFE4;
  border: 1px solid #E6D8C3;
  border-radius: 50%;
  outline: 1px dashed #C8AE88;
  outline-offset: -7px;
}

.result-stamp > span {
  font-size: 31px;
  line-height: 1.1;
}

.result-stamp small {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

.result-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.result-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.detail-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  background: #F4EBDD;
  border-radius: 10px;
  font-size: 16px;
}

.result-detail > div {
  min-width: 0;
}

.result-detail small {
  color: #9A8B79;
  font-size: 10px;
}

.result-detail p {
  margin: 3px 0 0;
  color: #5E5142;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 19px;
}

.secondary-button,
.draw-again-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #E5D9C8;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  transition: 0.2s ease;
}

.secondary-button {
  color: #766248;
  background: #FBF7F0;
}

.secondary-button:hover {
  background: #F2E6D5;
  border-color: #CDB28D;
}

.draw-again-button {
  color: white;
  background: var(--primary);
  border-color: var(--primary);
}

.draw-again-button:hover {
  background: var(--primary-dark);
}

/* Travel inspiration */

.ideas-section {
  padding: 73px 0 79px;
  background: #EEE7DC;
  border-top: 1px solid #E8DED0;
  border-bottom: 1px solid #E4D9C9;
}

.inspiration-grid {
  display: grid;
  grid-template-columns: 1.28fr 1fr 1fr;
  gap: 17px;
}

.inspiration-card {
  position: relative;
  display: block;
  min-width: 0;
  height: 265px;
  overflow: hidden;
  background: #D8C8B4;
  border: 4px solid rgba(255, 252, 247, 0.8);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(75, 57, 35, 0.06);
  isolation: isolate;
}

.inspiration-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: -2;
}

.inspiration-card:hover > img {
  transform: scale(1.06);
}

.inspiration-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(25, 24, 20, 0.02) 10%,
    rgba(25, 24, 20, 0.12) 40%,
    rgba(25, 24, 20, 0.76) 100%
  );
  z-index: -1;
}

.inspiration-content {
  position: absolute;
  right: 19px;
  bottom: 21px;
  left: 19px;
  display: flex;
  flex-direction: column;
  color: white;
}

.inspiration-content small {
  margin-bottom: 8px;
  color: #F0D7B2;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.inspiration-content strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.inspiration-content > span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
}

.course-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  margin-bottom: 22px;
}

.course-heading-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  color: var(--primary);
  background: rgba(255, 252, 247, 0.75);
  border: 1px solid #E0D2BE;
  border-radius: 13px;
  font-size: 23px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.course-card {
  min-width: 0;
  min-height: 153px;
  padding: 21px;
  background: rgba(255, 252, 247, 0.93);
  border: 1px solid #E4D8C7;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
  box-shadow: 0 10px 24px rgba(75, 57, 35, 0.07);
  transform: translateY(-3px);
}

.course-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  background: #F1E7D8;
  border-radius: 11px;
  font-size: 18px;
}

.course-card h3 {
  margin: 13px 0 5px;
  color: #544636;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.course-card p {
  margin: 0;
  color: #948574;
  font-size: 11px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

/* Business advertising */

.advertise-section {
  padding-top: 78px;
  padding-bottom: 75px;
}

.advertise-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: 375px;
  overflow: hidden;
  color: #FFFCF7;
  background: #4D493D;
  border: 1px solid rgba(139, 107, 66, 0.25);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(56, 46, 34, 0.12);
  isolation: isolate;
}

.advertise-copy {
  position: relative;
  z-index: 2;
  padding: 47px 20px 45px 48px;
}

.advertise-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #D9C29E;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.advertise-kicker > span {
  width: 20px;
  height: 2px;
  background: #D9C29E;
}

.advertise-copy h2 {
  margin: 18px 0 15px;
  color: #FFFCF7;
  font-size: clamp(28px, 3.7vw, 43px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -1.6px;
}

.advertise-copy > p {
  max-width: 450px;
  margin: 0;
  color: #D3CBBE;
  font-size: 12px;
  line-height: 2;
  word-break: keep-all;
}

.advertise-button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 45px;
  margin-top: 24px;
  padding: 11px 17px;
  color: #4C4030;
  background: #E6D3B6;
  border: 1px solid #E6D3B6;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
  transition: 0.2s ease;
}

.advertise-button:hover {
  background: #F5E9D7;
  transform: translateY(-2px);
}

.advertise-button span {
  font-size: 17px;
}

.advertise-disclaimer {
  display: block;
  max-width: 440px;
  margin-top: 15px;
  color: #BFB6A8;
  font-size: 9px;
  line-height: 1.8;
}

.advertise-visual {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 340px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(218, 190, 147, 0.15), transparent 48%);
}

.advertise-decoration {
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(229, 206, 169, 0.13);
  border-radius: 50%;
}

.advertise-decoration-one {
  top: -115px;
  right: -50px;
}

.advertise-decoration-two {
  bottom: -145px;
  left: -65px;
  width: 300px;
  height: 300px;
}

.ad-orbit {
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(226, 206, 174, 0.35);
  border-radius: 50%;
}

.orbit-two {
  width: 185px;
  height: 185px;
  border-style: dashed;
  border-color: rgba(226, 206, 174, 0.25);
}

.ad-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 145px;
  height: 145px;
  color: #4F4739;
  background: linear-gradient(145deg, #F3E5CE, #D7BC92);
  border: 1px solid #EAD7B9;
  border-radius: 50%;
  box-shadow: 0 0 0 9px rgba(228, 205, 171, 0.08),
    0 15px 40px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.ad-center > span {
  color: #927044;
  font-size: 24px;
  line-height: 1;
}

.ad-center strong {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 1px;
}

.ad-center small {
  margin-top: 6px;
  color: #866F50;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.ad-floating {
  position: absolute;
  padding: 10px 13px;
  color: #F0E2CC;
  background: rgba(255, 252, 247, 0.08);
  border: 1px solid rgba(238, 219, 188, 0.24);
  border-radius: 9px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.5;
  backdrop-filter: blur(7px);
}

.ad-floating-top {
  top: 52px;
  right: 16px;
}

.ad-floating-bottom {
  bottom: 48px;
  left: 7px;
}

.advertiser-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 23px 26px;
  box-shadow: none;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--primary);
  background: #F0E5D5;
  border-radius: 14px;
  font-size: 22px;
}

.contact-copy {
  flex: 1;
  min-width: 0;
}

.contact-copy h3 {
  margin: 3px 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.contact-status {
  padding: 8px 12px;
  color: #88765F;
  background: #F6EFE4;
  border: 1px solid #E9DDCB;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

/* Footer */

.site-footer {
  padding: 27px 0 20px;
  background: #EDE5D9;
  border-top: 1px solid #E3D7C6;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 23px;
}

.footer-brand .brand-icon {
  width: 37px;
  height: 37px;
  border-radius: 12px;
  font-size: 23px;
}

.footer-brand .brand-copy strong {
  font-size: 14px;
}

.footer-brand .brand-copy small {
  font-size: 8px;
}

.footer-inner > p {
  margin: 0;
  color: #8C7C69;
  font-size: 11px;
}

.footer-copyright {
  color: #A39482;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

.footer-note {
  padding-top: 15px;
  color: #A19381;
  border-top: 1px solid #DFD3C1;
  font-size: 9px;
}

/* Map markers */

.destination-marker {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #FFFCF7;
  border: 2px solid #8B6B42;
  border-radius: 50% 50% 50% 4px;
  box-shadow: 0 3px 10px rgba(51, 40, 27, 0.22);
  transform: rotate(-45deg);
}

.destination-marker span {
  display: block;
  font-size: 16px;
  transform: rotate(45deg);
}

.leaflet-popup-content-wrapper {
  border-radius: 10px !important;
}

.leaflet-popup-content {
  font-size: 12px;
  line-height: 1.8;
}

/* Responsive: tablets */

@media (max-width: 1050px) {
  .site-header {
    padding-inline: 24px;
  }

  .header-nav {
    gap: 18px;
  }

  .header-tag {
    display: none;
  }

  .hero {
    gap: 30px;
    padding-top: 50px;
    padding-bottom: 55px;
  }

  .hero-art {
    min-height: 300px;
  }

  .workspace {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
    gap: 14px;
  }

  .map-card,
  .control-card {
    padding: 19px;
  }

  #map {
    height: 365px;
  }

  .theme-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-details {
    gap: 8px;
  }

  .result-detail {
    gap: 7px;
  }

  .advertise-copy {
    padding-left: 32px;
  }
}

/* Responsive: mobile */

@media (max-width: 760px) {
  html {
    scroll-padding-top: 75px;
  }

  .page-container {
    width: min(100% - 34px, 540px);
  }

  .site-header {
    position: relative;
    min-height: 70px;
    padding: 12px 17px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .brand {
    gap: 8px;
  }

  .brand-icon {
    width: 37px;
    height: 37px;
    border-radius: 12px;
    font-size: 23px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 8px;
    letter-spacing: 1.4px;
  }

  .header-tools {
    margin-left: auto;
  }

  #languageSelect {
    max-width: 105px;
    padding: 8px 7px;
    font-size: 11px;
  }

  .header-nav {
    order: 3;
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    padding-top: 9px;
    border-top: 1px solid #EEE4D7;
  }

  .header-nav a {
    font-size: 11px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 38px;
    padding-bottom: 48px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    margin: 15px 0 12px;
    font-size: clamp(35px, 9vw, 48px);
    letter-spacing: -1.8px;
  }

  .hero-copy > p {
    font-size: 12px;
  }

  .hero-highlights {
    gap: 8px 12px;
    margin-top: 20px;
  }

  .hero-highlights > span {
    font-size: 10px;
  }

  .hero-art {
    min-height: 260px;
    border-radius: 8px 55px 8px 8px;
  }

  .hero-note {
    right: 17px;
    bottom: 21px;
    left: 17px;
  }

  .hero-note strong {
    font-size: 18px;
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .section-heading h2,
  .course-heading h2 {
    font-size: 24px;
  }

  .section-heading p,
  .course-heading p {
    max-width: 330px;
    font-size: 11px;
  }

  .section-number {
    display: none;
  }

  .travel-section {
    padding-bottom: 55px;
  }

  .workspace {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .map-card,
  .control-card {
    padding: 17px;
    border-radius: 16px;
  }

  .panel-heading h2,
  .control-title-row h2 {
    font-size: 18px;
  }

  .panel-heading p,
  .control-title-row p {
    font-size: 10px;
  }

  .status-pill {
    padding: 5px 7px;
    font-size: 8px;
  }

  #map {
    height: 330px;
    margin-top: 15px;
  }

  .map-legend {
    gap: 6px;
    font-size: 9px;
  }

  .control-title-row {
    margin-bottom: 18px;
  }

  .theme-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .theme-button {
    font-size: 10px;
  }

  .control-group {
    margin-bottom: 17px;
  }

  .draw-button {
    min-height: 52px;
  }

  .result-card {
    margin-top: 15px;
    padding: 19px 16px;
    border-radius: 16px;
  }

  .result-main {
    gap: 10px;
    padding: 19px 0;
  }

  .result-copy h2 {
    font-size: 28px;
  }

  .result-copy > p {
    font-size: 11px;
  }

  .result-stamp {
    width: 66px;
    height: 66px;
  }

  .result-stamp > span {
    font-size: 23px;
  }

  .result-stamp small {
    font-size: 7px;
  }

  .result-details {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .result-detail {
    align-items: center;
    gap: 10px;
  }

  .result-actions > * {
    flex: 1 1 auto;
  }

  .ideas-section {
    padding: 50px 0;
  }

  .inspiration-grid {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }

  .inspiration-card {
    height: 210px;
    border-width: 3px;
    border-radius: 11px;
  }

  .inspiration-large {
    grid-column: 1 / -1;
    height: 235px;
  }

  .inspiration-content {
    right: 12px;
    bottom: 14px;
    left: 12px;
  }

  .inspiration-content strong {
    font-size: 14px;
  }

  .inspiration-content > span {
    font-size: 9px;
  }

  .inspiration-content small {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .course-heading {
    margin-top: 43px;
    margin-bottom: 16px;
  }

  .course-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .course-card {
    min-height: auto;
    padding: 17px;
  }

  .course-card h3 {
    margin-top: 10px;
  }

  .advertise-section {
    padding-top: 48px;
    padding-bottom: 50px;
  }

  .advertise-card {
    grid-template-columns: 1fr;
    border-radius: 17px;
  }

  .advertise-copy {
    padding: 31px 22px 0;
  }

  .advertise-copy h2 {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .advertise-copy > p {
    font-size: 11px;
  }

  .advertise-visual {
    min-height: 255px;
  }

  .ad-orbit {
    width: 205px;
    height: 205px;
  }

  .orbit-two {
    width: 160px;
    height: 160px;
  }

  .ad-floating-top {
    top: 29px;
    right: 24px;
  }

  .ad-floating-bottom {
    bottom: 24px;
    left: 19px;
  }

  .advertiser-contact {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 17px;
  }

  .contact-icon {
    width: 41px;
    height: 41px;
    font-size: 18px;
  }

  .contact-copy {
    flex-basis: calc(100% - 60px);
  }

  .contact-copy p {
    font-size: 10px;
  }

  .contact-status {
    margin-left: 53px;
    font-size: 9px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-inner > p {
    order: 3;
    flex-basis: 100%;
    font-size: 10px;
  }

  .footer-copyright {
    margin-left: auto;
    font-size: 8px;
  }

  .footer-note {
    font-size: 8px;
  }
}

@media (max-width: 380px) {
  .page-container {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: 34px;
  }

  .header-nav a {
    font-size: 10px;
  }

  .hero-art {
    min-height: 220px;
  }

  .theme-options {
    gap: 6px;
  }

  .theme-button {
    gap: 3px;
    padding-inline: 3px;
    font-size: 9px;
  }

  .party-options {
    gap: 5px;
  }

  .party-chip {
    font-size: 10px;
  }

  .result-stamp {
    width: 56px;
    height: 56px;
  }

  .result-copy h2 {
    font-size: 24px;
  }

  .inspiration-card {
    height: 190px;
  }

  .inspiration-large {
    height: 220px;
  }

  .inspiration-content strong {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}/* ========================================
   RANDOM KOREA
   Premium Travel Background
   Warm Beige + Mountain + Sea + Airplane
   ======================================== */

:root {
  --rk-bg: #F7F4EE;
  --rk-mountain-1: #E9E2D5;
  --rk-mountain-2: #DDD3C2;
  --rk-mountain-3: #CEC1AB;
  --rk-sea: #B8C9C2;
  --rk-green: #7B8B78;
  --rk-brown: #8B6B42;
}


/* ========================================
   1. 전체 배경
   ======================================== */

body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 50% 10%,
      rgba(255, 255, 255, 0.75) 0%,
      rgba(255, 255, 255, 0) 48%
    ),
    var(--rk-bg);

  margin: 0;
  padding: 0;
}


/* ========================================
   2. 상단 하늘빛 분위기
   ======================================== */

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 560px;

  z-index: 0;
  pointer-events: none;

  background:

    /* 먼 산 */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 500' preserveAspectRatio='none'%3E%3Cpath d='M0 330 C140 250 230 270 350 300 C470 330 570 220 700 270 C850 330 930 210 1080 270 C1220 325 1370 220 1600 290 L1600 500 L0 500 Z' fill='%23EAE4D9'/%3E%3C/svg%3E"),

    /* 가까운 산 */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 500' preserveAspectRatio='none'%3E%3Cpath d='M0 390 L180 220 L300 310 L470 170 L650 320 L820 190 L1000 330 L1190 170 L1370 300 L1500 220 L1600 280 L1600 500 L0 500 Z' fill='%23DDD3C2'/%3E%3C/svg%3E"),

    /* 가장 가까운 산 */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 500' preserveAspectRatio='none'%3E%3Cpath d='M0 440 C150 350 250 360 390 410 C520 450 650 320 790 390 C940 460 1050 330 1200 390 C1350 450 1450 350 1600 400 L1600 500 L0 500 Z' fill='%23CEC1AB'/%3E%3C/svg%3E");

  background-size: 100% 100%;
  background-position: center top;
  background-repeat: no-repeat;

  opacity: 0.72;
}


/* ========================================
   3. 바다 느낌의 하단 곡선
   ======================================== */

body::after {
  content: "";
  position: fixed;

  right: -8%;
  bottom: -100px;

  width: 58%;
  height: 300px;

  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at center,
      rgba(184, 201, 194, 0.32) 0%,
      rgba(184, 201, 194, 0.16) 42%,
      rgba(184, 201, 194, 0) 72%
    );

  transform: rotate(-4deg);
}


/* ========================================
   4. 콘텐츠 영역
   ======================================== */

.site-header,
main,
.site-footer,
.hero {
  position: relative;
  z-index: 2;
}


/* ========================================
   5. 여행 비행기
   ======================================== */

main::before {
  content: "✈";

  position: fixed;

  top: 125px;
  right: 12%;

  z-index: 1;
  pointer-events: none;

  font-family: Arial, sans-serif;
  font-size: 46px;
  font-weight: 400;

  color: rgba(112, 83, 50, 0.24);

  transform: rotate(-12deg);
}


/* ========================================
   6. 비행운
   ======================================== */

main::after {
  content: "";

  position: fixed;

  top: 153px;
  right: 14%;

  width: 170px;
  height: 55px;

  z-index: 1;
  pointer-events: none;

  border-top: 2px dashed rgba(112, 83, 50, 0.13);
  border-radius: 50%;

  transform: rotate(-12deg);
}


/* ========================================
   7. 여행지 핀 장식
   ======================================== */

.hero::after {
  content: "●";

  position: absolute;

  right: 7%;
  bottom: 10%;

  width: 32px;
  height: 32px;

  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid rgba(123, 139, 120, 0.25);
  border-radius: 50%;

  color: rgba(123, 139, 120, 0.35);

  font-size: 9px;

  transform: rotate(-8deg);

  pointer-events: none;
}


/* ========================================
   8. 은은한 구름
   ======================================== */

.hero {
  position: relative;
}

.hero::before {
  content: "";

  position: absolute;

  top: 40px;
  left: -40px;

  width: 130px;
  height: 42px;

  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at center,
      rgba(255,255,255,0.65) 0%,
      rgba(255,255,255,0) 70%
    );

  filter: blur(4px);

  opacity: 0.6;
}


/* ========================================
   9. 지도/카드가 배경보다 선명하게
   ======================================== */

.map-card,
.result-card,
.idea-card,
.course-card,
.ad-card,
.travel-controls {
  position: relative;
  z-index: 2;
}


/* ========================================
   10. 모바일 최적화
   ======================================== */

@media (max-width: 760px) {

  body::before {
    height: 420px;
    opacity: 0.62;
  }

  body::after {
    width: 80%;
    height: 220px;
    right: -15%;
    bottom: -80px;
  }

  main::before {
    top: 105px;
    right: 8%;

    font-size: 34px;

    opacity: 0.20;
  }

  main::after {
    top: 128px;
    right: 10%;

    width: 110px;
  }

  .hero::after {
    right: 4%;
    bottom: 5%;

    transform: scale(0.8);
  }
}


/* ========================================
   11. 작은 화면에서 장식 최소화
   ======================================== */

@media (max-width: 480px) {

  body::before {
    height: 350px;
    opacity: 0.55;
  }

  main::before {
    font-size: 28px;
    top: 100px;
  }

  main::after {
    width: 80px;
    top: 120px;
  }
}


/* ========================================
   12. 모션 민감 사용자 대응
   ======================================== */

@media (prefers-reduced-motion: reduce) {

  body::before,
  body::after,
  main::before,
  main::after,
  .hero::before,
  .hero::after {
    animation: none !important;
    transition: none !important;
  }
}/* ========================================
   RANDOM KOREA
   좌우 광고 영역
   ======================================== */

.side-ad {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);

  width: 180px;

  z-index: 5;
  pointer-events: none;
}

/* 왼쪽 */
.side-ad-left {
  left: 20px;
}

/* 오른쪽 */
.side-ad-right {
  right: 20px;
}


/* 광고 카드 */
.side-ad-box {
  position: relative;

  width: 100%;
  box-sizing: border-box;

  padding: 24px 18px;

  background: rgba(255, 252, 247, 0.88);

  border: 1px solid rgba(139, 107, 66, 0.18);

  border-radius: 18px;

  box-shadow:
    0 12px 35px rgba(64, 55, 45, 0.08);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  text-align: center;

  pointer-events: auto;
}


/* AD 표시 */
.side-ad-label {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 30px;
  height: 18px;

  margin-bottom: 12px;

  border-radius: 5px;

  background: rgba(139, 107, 66, 0.10);

  color: #8B6B42;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}


/* 광고 제목 */
.side-ad-box strong {
  display: block;

  margin-bottom: 9px;

  color: #40372D;

  font-size: 15px;
  line-height: 1.45;
}


/* 광고 설명 */
.side-ad-box p {
  margin: 0 0 16px;

  color: #938575;

  font-size: 11px;
  line-height: 1.65;
}


/* 문의 버튼 */
.side-ad-box a {
  display: block;

  padding: 10px 8px;

  border-radius: 10px;

  background: #8B6B42;

  color: #FFFFFF;

  font-size: 11px;
  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}


/* 버튼 hover */
.side-ad-box a:hover {
  background: #705332;

  transform: translateY(-2px);

  box-shadow:
    0 6px 14px rgba(112, 83, 50, 0.18);
}


/* ========================================
   화면이 좁아지면 광고 숨김
   ======================================== */

@media (max-width: 1450px) {
  .side-ad {
    display: none;
  }
}


/* ========================================
   모바일
   ======================================== */

@media (max-width: 760px) {
  .side-ad {
    display: none;
  }
}/* ========================================
   RANDOM KOREA
   은은한 실제 이미지 배경
   Mountain + Sea
   ======================================== */

body {
  position: relative;
  overflow-x: hidden;
  background: var(--page);
}


/* ========================================
   1. 전체 배경 분위기
   ======================================== */

body::before {
  content: "";
  position: fixed;
  inset: 0;

  z-index: 0;
  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(245, 241, 234, 0.94) 0%,
      rgba(245, 241, 234, 0.88) 45%,
      rgba(245, 241, 234, 0.76) 100%
    ),
    url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=2200&q=75");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.20;
  filter: saturate(0.55) blur(0.7px);
}


/* ========================================
   2. 왼쪽 하단 산
   ======================================== */

body::after {
  content: "";
  position: fixed;

  left: -6%;
  bottom: -80px;

  width: 58%;
  height: 330px;

  z-index: 0;
  pointer-events: none;

  background:
    linear-gradient(
      to top,
      rgba(245, 241, 234, 0.05),
      rgba(245, 241, 234, 0.45)
    ),
    url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=1600&q=75");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.13;
  filter: saturate(0.45) blur(0.8px);

  border-radius: 50% 50% 0 0;
}


/* ========================================
   3. 사이트 콘텐츠를 배경보다 위로
   ======================================== */

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}


/* ========================================
   4. 여행 비행기
   ======================================== */

main::before {
  content: "✈";

  position: fixed;

  top: 125px;
  right: 12%;

  z-index: 1;
  pointer-events: none;

  font-family: Arial, sans-serif;
  font-size: 46px;
  font-weight: 400;

  color: rgba(112, 83, 50, 0.20);

  transform: rotate(-12deg);
}


/* ========================================
   5. 비행운
   ======================================== */

main::after {
  content: "";

  position: fixed;

  top: 153px;
  right: 14%;

  width: 170px;
  height: 55px;

  z-index: 1;
  pointer-events: none;

  border-top: 2px dashed rgba(112, 83, 50, 0.10);
  border-radius: 50%;

  transform: rotate(-12deg);
}


/* ========================================
   6. 여행지 핀 장식
   ======================================== */

.hero::after {
  content: "●";

  position: absolute;

  right: 7%;
  bottom: 10%;

  width: 32px;
  height: 32px;

  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid rgba(123, 139, 120, 0.20);
  border-radius: 50%;

  color: rgba(123, 139, 120, 0.28);

  font-size: 9px;

  transform: rotate(-8deg);

  pointer-events: none;
}


/* ========================================
   7. 은은한 구름
   ======================================== */

.hero {
  position: relative;
}

.hero::before {
  content: "";

  position: absolute;

  top: 40px;
  left: -40px;

  width: 130px;
  height: 42px;

  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at center,
      rgba(255, 255, 255, 0.60) 0%,
      rgba(255, 255, 255, 0) 70%
    );

  filter: blur(4px);

  opacity: 0.55;
}


/* ========================================
   8. 카드 영역은 선명하게
   ======================================== */

.map-card,
.result-card,
.course-card,
.advertiser-contact {
  position: relative;
  z-index: 2;
}


/* ========================================
   9. 모바일
   ======================================== */

@media (max-width: 760px) {

  body::before {
    opacity: 0.15;
    background-position: center;
  }

  body::after {
    left: -18%;
    bottom: -70px;
    width: 85%;
    height: 230px;

    opacity: 0.10;
  }

  main::before {
    top: 105px;
    right: 8%;
    font-size: 34px;
    opacity: 0.17;
  }

  main::after {
    top: 128px;
    right: 10%;
    width: 110px;
  }

  .hero::after {
    right: 4%;
    bottom: 5%;
    transform: scale(0.8);
  }
}


/* ========================================
   10. 작은 화면
   ======================================== */

@media (max-width: 480px) {

  body::before {
    opacity: 0.12;
  }

  body::after {
    opacity: 0.08;
  }

  main::before {
    font-size: 28px;
    top: 100px;
  }

  main::after {
    width: 80px;
    top: 120px;
  }
}


/* ========================================
   11. 모션 민감 사용자 대응
   ======================================== */

@media (prefers-reduced-motion: reduce) {

  body::before,
  body::after,
  main::before,
  main::after,
  .hero::before,
  .hero::after {
    animation: none !important;
    transition: none !important;
  }
}
/* 양옆 광고 배너: 스크롤해도 화면에 고정 */
.side-ad {
  position: fixed;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 5;
}

.side-ad-left {
  left: 20px;
}

.side-ad-right {
  right: 20px;
}

/* 좁은 화면에서는 본문을 가리지 않도록 숨김 */
@media (max-width: 1450px) {
  .side-ad {
    display: none;
  }
}
/* 스크롤을 부드럽게 따라오는 광고 배너 */
.side-ad {
  transform: translateY(calc(-50% + var(--ad-offset, 0px)));
  will-change: transform;
}
