:root {
  --navy: #071426;
  --navy-soft: #0b1b32;
  --gold: #d8b86a;
  --gold-light: #f2d989;
  --gold-deep: #c5a059;
  --ivory: #f7f3ec;
  --card: #fffdf9;
  --ink: #132033;
  --muted: #6c7280;
  --line: rgba(197, 160, 89, 0.34);
  --cover-image: url("./images/cover.jpg");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, "Noto Sans KR", "Pretendard", sans-serif;
  color: var(--ink);
  background: var(--ivory);
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* =========================
   LEFT COVER
========================= */

.cover-panel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--navy);
}

.cover-bg {
  position: absolute;
  inset: 0;
  background-image: var(--cover-image);
  background-size: cover;
  background-position: center;
  transform: scale(1);
  animation: slowZoom 9s ease-out forwards;
}

.cover-dim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.05), transparent 34%),
    linear-gradient(180deg, rgba(4, 12, 27, 0.68), rgba(4, 12, 27, 0.88)),
    linear-gradient(90deg, rgba(4, 12, 27, 0.86), rgba(4, 12, 27, 0.48));
  animation: softFade 1.6s ease forwards;
}

.cover-grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    radial-gradient(rgba(255,255,255,0.16) 0.7px, transparent 0.7px);
  background-size: 4px 4px;
  mix-blend-mode: screen;
  pointer-events: none;
}

.cover-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 7vh 8vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* 상단 금색 로고 이미지 */
.cover-logo {
  width: clamp(130px, 11vw, 190px);
  height: auto;
  margin-bottom: 34px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(216, 184, 106, 0.26))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
}

.brand-title {
  margin: 0;
  font-size: clamp(48px, 5.2vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 900;
  background: linear-gradient(135deg, #ffe9a6 0%, #d8b86a 35%, #f6d88b 62%, #b8903f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 22px rgba(216, 184, 106, 0.22));
  animation: goldGlow 3.8s ease-in-out infinite alternate;
}

.main-title {
  margin: 16px 0 0;
  font-size: clamp(34px, 3vw, 54px);
  line-height: 1.1;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 14px 28px rgba(0,0,0,0.3);
}

.invoice-block {
  margin-top: 46px;
}

.invoice-title {
  margin: 0;
  font-size: clamp(18px, 1.35vw, 24px);
  letter-spacing: 0.36em;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.gold-divider {
  width: 0;
  height: 1px;
  margin: 22px auto 22px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: lineDraw 1.35s ease forwards;
  animation-delay: 1.9s;
}

.invoice-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.1vw, 22px);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.notice-block {
  margin-top: 52px;
}

.notice-label {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 0.34em;
  font-weight: 900;
}

.notice-text {
  margin: 0;
  color: #fff9ed;
  font-size: clamp(17px, 1.08vw, 21px);
  line-height: 1.8;
  font-weight: 700;
  text-shadow: 0 10px 26px rgba(0,0,0,0.45);
}

.bottom-logo {
  position: absolute;
  bottom: 11vh;
  margin: 0;
  color: rgba(255,255,255,0.22);
  font-size: 12px;
  letter-spacing: 0.18em;
}

/* =========================
   RIGHT GUIDE
========================= */

.guide-panel {
  min-height: 100vh;
  padding: 38px 4.8vw;
  background:
    radial-gradient(circle at 80% 12%, rgba(216, 184, 106, 0.14), transparent 28%),
    #f5f1eb;
  overflow-y: auto;
}

.guide-inner {
  width: min(100%, 720px);
  margin: 0 auto;
}

.guide-heading {
  margin-bottom: 24px;
}

.guide-heading p {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font-size: 12px;
  letter-spacing: 0.42em;
  font-weight: 900;
}

.guide-heading div {
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.info-card,
.refund-card {
  position: relative;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(197, 160, 89, 0.26);
  border-radius: 20px;
  box-shadow:
    0 24px 52px rgba(19, 32, 51, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.85);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.info-card:hover,
.refund-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 160, 89, 0.46);
  box-shadow:
    0 30px 72px rgba(19, 32, 51, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.info-card {
  padding: 30px 28px 28px;
  min-height: 600px;
}

.refund-card {
  margin-top: 24px;
  padding: 30px 28px 32px;
}

.info-card::before,
.refund-card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.72;
}

.card-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(197,160,89,0.18) 0%, rgba(197,160,89,0.04) 45%, transparent 46%);
}

.card-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.icon-circle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(197, 160, 89, 0.52);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  font-size: 18px;
  background: rgba(255,255,255,0.55);
  transition: transform 0.35s ease;
}

.info-card:hover .icon-circle,
.refund-card:hover .icon-circle {
  transform: scale(1.06);
}

.card-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 15px;
  color: #394457;
  font-size: 15.4px;
  line-height: 1.74;
  word-break: keep-all;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  background: var(--gold-deep);
  border-radius: 50%;
}

.sub-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(19, 32, 51, 0.10);
}

.sub-note strong {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 900;
}

.sub-note ol {
  margin: 0;
  padding-left: 17px;
}

.sub-note li {
  margin-bottom: 8px;
  color: #394457;
  font-size: 14px;
  line-height: 1.55;
}

.refund-image-wrap {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.refund-image-wrap img {
  width: 100%;
  display: block;
  height: auto;
}

.guide-footer {
  margin-top: 28px;
  text-align: center;
  color: rgba(19, 32, 51, 0.28);
  font-size: 12px;
  letter-spacing: 0.28em;
}

/* =========================
   ANIMATION
========================= */

.animate-delay-1,
.animate-delay-2,
.animate-delay-3,
.animate-delay-4,
.animate-delay-5,
.animate-delay-6 {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 1.1s ease forwards;
}

.animate-delay-1 { animation-delay: 0.18s; }
.animate-delay-2 { animation-delay: 0.38s; }
.animate-delay-3 { animation-delay: 0.58s; }
.animate-delay-4 { animation-delay: 0.82s; }
.animate-delay-5 { animation-delay: 1.15s; }
.animate-delay-6 { animation-delay: 1.45s; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.065);
  }
}

@keyframes softFade {
  from {
    opacity: 0.25;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineDraw {
  from {
    width: 0;
  }
  to {
    width: 150px;
  }
}

@keyframes goldGlow {
  from {
    filter: drop-shadow(0 0 14px rgba(216, 184, 106, 0.16));
  }
  to {
    filter: drop-shadow(0 0 28px rgba(216, 184, 106, 0.30));
  }
}

/* =========================
   RESPONSIVE
========================= */

@media screen and (max-width: 1180px) {
  .page-shell {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .cover-panel {
    min-height: 92vh;
  }

  .cover-content {
    min-height: 92vh;
    padding: 80px 24px;
  }

  .guide-panel {
    min-height: auto;
    overflow: visible;
    padding: 44px 22px 54px;
  }

  .guide-inner {
    width: min(100%, 860px);
  }

  .info-card {
    min-height: auto;
  }
}

@media screen and (max-width: 760px) {
  .cover-panel {
    min-height: 86vh;
  }

  .cover-content {
    min-height: 86vh;
    padding: 68px 22px;
  }

  .cover-logo {
    width: 130px;
    margin-bottom: 26px;
  }

  .brand-title {
    font-size: 48px;
  }

  .main-title {
    font-size: 34px;
  }

  .invoice-block {
    margin-top: 38px;
  }

  .invoice-title {
    font-size: 17px;
    letter-spacing: 0.26em;
  }

  .invoice-subtitle {
    font-size: 16px;
  }

  .notice-block {
    margin-top: 40px;
  }

  .notice-text {
    font-size: 16px;
    line-height: 1.75;
  }

  .bottom-logo {
    bottom: 40px;
    font-size: 10px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .refund-card {
    border-radius: 18px;
  }

  .info-card {
    padding: 26px 22px;
  }

  .refund-card {
    padding: 26px 20px;
  }

  .bullet-list li {
    font-size: 14.4px;
    line-height: 1.68;
  }

  .guide-heading p {
    font-size: 10px;
    letter-spacing: 0.28em;
  }

  .guide-footer {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cover-bg {
    transform: scale(1.03);
  }
}