/* ============================================================
   PARA TOUR CLUB — Greeting Page Stylesheet
   파라여행클럽 홈페이지 인사말 스타일시트
   ============================================================ */

/* === CSS VARIABLES === */
:root {
  --purple-deep:  #3d2b6b;
  --purple-mid:   #5a3e8f;
  --purple-light: #7a5fb5;
  --purple-pale:  #c4b3e0;
  --gold:         #c9a84c;
  --gold-light:   #e8d48a;
  --cream:        #faf8f4;
  --warm-white:   #fff9f2;
  --text-dark:    #1e1a2e;
  --text-mid:     #4a3f6b;
  --text-light:   #7a6fa0;
}

/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === BASE === */
body {
  background: var(--cream);
  font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================================
   BACKGROUND
   ============================================================ */
.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    160deg,
    #f5f0ea 0%,
    #ede6f8 35%,
    #f8f4ff 60%,
    #faf7ed 100%
  );
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.bg-orb.one {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #a07cd0, transparent);
  top: -100px;
  left: -150px;
}

.bg-orb.two {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #d4c4f0, transparent);
  bottom: 50px;
  right: -100px;
}

.bg-orb.three {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #c9a84c44, transparent);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
}

/* Grain overlay */
.bg-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================================
   LAYOUT — MAIN CONTAINER
   ============================================================ */
.container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 52px;
  animation: fadeUp 0.9s ease both;
}

.logo-wrap {
  margin-bottom: 28px;
}

.logo-wrap img {
  height: 64px;
  width: auto;
  display: block;
}

/* Ornamental divider */
.divider-ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  animation: fadeUp 0.9s 0.1s ease both;
}

.divider-ornament .line {
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.divider-ornament .line.right {
  background: linear-gradient(to left, transparent, var(--gold));
}

.divider-ornament .diamond {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Page title */
.headline {
  font-family: 'Noto Serif KR', serif;
  font-size: 2.15rem;
  font-weight: 600;
  color: var(--purple-deep);
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.3;
  animation: fadeUp 0.9s 0.15s ease both;
}

.sub-line {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-top: 8px;
  text-align: center;
  animation: fadeUp 0.9s 0.2s ease both;
}

/* ============================================================
   CONTENT CARD
   ============================================================ */
.card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(160, 124, 208, 0.18);
  border-radius: 4px;
  padding: 56px 64px;
  position: relative;
  box-shadow:
    0 2px 4px rgba(61, 43, 107, 0.04),
    0 8px 32px rgba(61, 43, 107, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  animation: fadeUp 0.9s 0.25s ease both;
}

/* Corner accents — top-left & bottom-right */
.card::before,
.card::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.55;
}

.card::before {
  top: 20px;
  left: 20px;
  border-width: 1.5px 0 0 1.5px;
}

.card::after {
  bottom: 20px;
  right: 20px;
  border-width: 0 1.5px 1.5px 0;
}

/* Inner wrapper — top-right & bottom-left corners */
.card-inner {
  position: relative;
}

.card-inner::before,
.card-inner::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.55;
}

.card-inner::before {
  top: -36px;
  right: -44px;
  border-width: 1.5px 1.5px 0 0;
}

.card-inner::after {
  bottom: -36px;
  left: -44px;
  border-width: 0 0 1.5px 1.5px;
}

/* ============================================================
   TYPOGRAPHY — CONTENT ELEMENTS
   ============================================================ */

/* Section label */
.greeting-label {
  font-family: 'Noto Serif KR', serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--purple-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.greeting-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--purple-pale);
}

/* Opening paragraph */
.intro-text {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 2.05;
  color: var(--text-dark);
  margin-bottom: 28px;
  word-break: keep-all;
}

/* Gold accent block */
.highlight-block {
  border-left: 3px solid var(--gold);
  padding: 18px 24px;
  background: rgba(201, 168, 76, 0.06);
  margin: 32px 0;
  border-radius: 0 2px 2px 0;
}

.highlight-block p {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--purple-deep);
  font-weight: 500;
  word-break: keep-all;
}

/* Dot divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0;
  opacity: 0.5;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--purple-pale), transparent);
}

.section-divider .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-pale);
}

/* Body paragraphs */
.body-text {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 2.1;
  color: #3a3050;
  margin-bottom: 22px;
  word-break: keep-all;
}

/* Closing / signature */
.closing-block {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(160, 124, 208, 0.18);
  text-align: right;
}

.closing-block p {
  font-family: 'Noto Serif KR', serif;
  font-size: 0.97rem;
  line-height: 2.0;
  color: var(--text-mid);
  word-break: keep-all;
}

.closing-block .signature {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--purple-deep);
  margin-top: 10px;
  letter-spacing: 0.03em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  animation: fadeUp 0.9s 0.4s ease both;
}

.footer-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
}

.footer-line .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--purple-pale);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 700px) {
  .container {
    padding: 36px 20px 60px;
  }

  .card {
    padding: 40px 28px;
  }

  .headline {
    font-size: 1.55rem;
  }

  .card-inner::before,
  .card-inner::after {
    display: none;
  }
}
