:root {
  --paper: #f4ead7;
  --paper-deep: #e7d3b0;
  --ink: #27180f;
  --muted: #765f49;
  --line: rgba(91, 62, 34, 0.18);
  --accent: #9e3f21;
  --accent-deep: #692512;
  --gold: #d0a64a;
  --white: #fffaf0;
  --shadow: 0 24px 60px rgba(60, 35, 15, 0.22);
  --serif: "Noto Serif KR", "Gowun Batang", Georgia, serif;
  --sans: "Gowun Dodum", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(158, 63, 33, 0.10), transparent 34%),
    radial-gradient(circle at 90% 20%, rgba(208, 166, 74, 0.14), transparent 34%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.event-page {
  overflow-x: hidden;
}

.event-success-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(39, 24, 15, 0.48);
  backdrop-filter: blur(10px);
}

.event-success-card,
.signup-complete-card {
  text-align: center;
}

.event-success-card {
  position: relative;
  width: min(100%, 380px);
  padding: 30px 24px 24px;
  border: 1px solid rgba(208, 166, 74, 0.55);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.event-success-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(39, 24, 15, 0.07);
  color: var(--muted);
  font-size: 22px;
}

.event-success-emoji {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 10px;
}

.event-success-card h2,
.signup-complete-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  color: var(--ink);
}

.event-success-card p,
.signup-complete-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 44px);
  background: rgba(244, 234, 215, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: 22px;
  font-style: italic;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
  white-space: nowrap;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0.12em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.6);
}

.lang-toggle button {
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.lang-toggle button.active {
  background: var(--ink);
  color: var(--paper);
}

.nav-cta,
.primary-btn,
.submit-btn {
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(158, 63, 33, 0.24);
  animation: guideCtaPulse 1.4s ease-in-out infinite;
}

.nav-cta {
  padding: 10px 16px;
  white-space: nowrap;
}

.nav-close {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.6);
  color: var(--ink);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease;
}

.nav-close:hover {
  background: rgba(255, 250, 240, 0.95);
}

main {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.hero {
  display: block;
  padding: clamp(24px, 5vw, 56px) clamp(18px, 4vw, 44px) 16px;
}

.hero-copy {
  max-width: 620px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(29px, 5vw, 57px);
}

.hero h1 span,
.hero h1 strong {
  display: block;
  white-space: pre-line;
  word-break: keep-all;
}

.hero h1 strong {
  margin-top: 8px;
  color: var(--accent);
}

.hero p {
  margin: 22px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(17px, 2.1vw, 21px);
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn,
.submit-btn {
  padding: 15px 22px;
  font-size: 16px;
}

@keyframes guideCtaPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 12px 28px rgba(158, 63, 33, 0.24), 0 0 0 0 rgba(158, 63, 33, 0.22);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 16px 36px rgba(158, 63, 33, 0.32), 0 0 0 8px rgba(158, 63, 33, 0);
  }
}

.primary-btn:hover,
.submit-btn:hover,
.nav-cta:hover {
  background: var(--accent-deep);
}

.ghost-link {
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.52);
  color: var(--ink);
}

.note-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.note-row span {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(158, 63, 33, 0.18);
  background: rgba(255, 250, 240, 0.58);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
}

.hero-art {
  position: relative;
  min-height: 540px;
}

.hero-main-img {
  width: 88%;
  height: 540px;
  margin-left: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.book-float {
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 42%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border: 10px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(44, 24, 12, 0.28);
}

.quantity-card {
  position: absolute;
  right: 0;
  top: 32px;
  min-width: 132px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.quantity-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.quantity-card strong {
  display: block;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.free-banner {
  margin: 0 clamp(18px, 4vw, 44px) 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(158, 63, 33, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.66);
}

.free-banner strong {
  color: var(--accent);
  font-size: 20px;
}

.free-banner span {
  color: var(--muted);
  text-align: right;
}

.section {
  padding: 62px clamp(18px, 4vw, 44px);
}

.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.section h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card,
.cast-card,
.faq-card,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.66);
  box-shadow: 0 16px 42px rgba(60, 35, 15, 0.10);
}

.step-card {
  padding: 22px;
}

.step-card span {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 700;
}

.step-card h3,
.cast-card h3,
.faq-card h3 {
  margin: 10px 0 6px;
  font-family: var(--serif);
  font-size: 22px;
}

.step-card p,
.cast-card p,
.faq-card p,
.book-copy p,
.signup-copy p {
  margin: 0;
  color: var(--muted);
  word-break: keep-all;
}

.sticker-section {
  text-align: center;
}

.sticker-section .section-head {
  margin: 0 auto 14px;
  max-width: 640px;
}

.sticker-visual {
  max-width: 520px;
  margin: 0 auto 14px;
}

.sticker-visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(60, 35, 15, 0.10);
  border: 1px solid var(--line);
  background: var(--white);
  display: block;
}

.sticker-benefits {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px 0 10px;
}

.sticker-badge {
  padding: 8px 16px;
  background: rgba(255, 250, 240, 0.66);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.sticker-badge-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.sticker-note {
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  max-width: 540px;
  text-align: center;
}

.book-section {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 34px;
}

.book-section.book-section-images-only {
  display: block;
  padding-bottom: 24px;
}

.book-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.book-image-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(60, 35, 15, 0.16);
}

.book-image-grid img.spread-crop {
  object-position: center;
}

.book-image-grid img:first-child {
  grid-row: span 2;
  height: 472px;
}

.book-copy {
  padding: 10px 0;
}

.book-copy h2 {
  margin-bottom: 16px;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  max-width: 480px;
  margin: 0 auto;
}

.cast-card {
  padding: 6px;
  text-align: center;
}

.cast-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.35);
}

.cast-card h3 {
  margin-top: 6px;
  font-size: 13px;
}

.cast-card p {
  font-size: 10px;
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  align-items: start;
  gap: 28px;
}

.signup-copy {
  position: sticky;
  top: 100px;
}

.signup-form {
  padding: 24px;
}

.signup-form label {
  display: block;
  margin-bottom: 14px;
}

.signup-form label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.signup-form input[type="email"],
.signup-form input[type="password"] {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(91, 62, 34, 0.24);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.signup-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(158, 63, 33, 0.10);
}

.consent-line {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
}

.consent-line input {
  margin-top: 5px;
  accent-color: var(--accent);
}

.form-message {
  margin: 4px 0 14px;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 14px;
}

.form-message.success {
  background: rgba(77, 130, 59, 0.14);
  color: #365f25;
}

.form-message.error {
  background: rgba(158, 63, 33, 0.12);
  color: var(--accent-deep);
}

.submit-btn {
  width: 100%;
  margin-top: 4px;
}

.submit-btn:disabled {
  opacity: 0.64;
  cursor: wait;
}

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

.faq-card {
  padding: 18px 20px;
}

.faq-card h3 {
  font-size: 20px;
}

.footer {
  padding: 34px 18px 46px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .top-nav {
    align-items: flex-start;
  }

  .nav-actions {
    flex-direction: column;
    align-items: flex-end;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .book-section,
  .signup-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-art {
    min-height: 430px;
  }

  .hero-main-img {
    width: 100%;
    height: 430px;
  }

  .book-float {
    width: 40%;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .cast-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .signup-copy {
    position: static;
  }

  .free-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .free-banner span {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .lang-toggle button {
    padding: 7px 9px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-art {
    min-height: 360px;
  }

  .hero-main-img {
    height: 360px;
  }

  .book-float {
    width: 46%;
    border-width: 7px;
  }

  .quantity-card {
    top: 14px;
    right: 10px;
    min-width: 108px;
    padding: 12px;
  }

  .quantity-card strong {
    font-size: 34px;
  }

  .book-image-grid {
    grid-template-columns: 1fr;
  }

  .book-image-grid img,
  .book-image-grid img:first-child {
    height: 260px;
  }

  .cast-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .section {
    padding-top: 46px;
    padding-bottom: 46px;
  }
}

/* ========== Plans Section (구독 가격 카드) ========== */
.plans-section {
  text-align: center;
}

.plans-section .section-head {
  margin: 0 auto 20px;
  max-width: 640px;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.66);
  text-align: left;
}

.plan-card-featured {
  border-color: var(--accent);
  background: rgba(255, 250, 240, 0.95);
  box-shadow: 0 14px 34px rgba(60, 35, 15, 0.12);
}

.plan-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  padding: 4px 10px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.plan-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 20px;
}

.plan-price {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.plan-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.plan-kr-bonus {
  margin-top: 8px !important;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 12px !important;
}

.plans-policy-note {
  margin: 16px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* ========== Goods Section (분기 카드 안내) ========== */
.goods-section {
  text-align: center;
}

.goods-section .section-head {
  margin: 0 auto 16px;
  max-width: 640px;
}

.goods-categories {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 8px 0 14px;
}

.goods-cat {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.6);
  font-size: 14px;
  font-weight: 600;
}

.goods-schedule {
  margin: 8px auto;
  color: var(--muted);
  font-size: 13px;
  max-width: 540px;
}

.goods-kr-bonus {
  margin: 10px auto;
  padding: 10px 16px;
  max-width: 560px;
  background: rgba(255, 250, 240, 0.8);
  border: 1px dashed var(--accent);
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
}

.goods-privacy-note {
  margin: 14px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}
