/* =========================================================
   Holy Seed — Main Page (index.html) Styles

   Color Palette: Sage Green
   Hero Style: Image Background
   ========================================================= */

/* =========================================================
   1. Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: brightness(0.7);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(240, 253, 244, 0.3), rgba(240, 253, 244, 0.85));
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 2;
  pointer-events: none;
}
.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: rgba(16, 185, 129, 0.2);
  top: -100px;
  left: -150px;
}
.hero-blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(20, 184, 166, 0.18);
  top: 200px;
  right: -100px;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 32px;
}
.hero-title {
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
}
.hero-title-en {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
}
.hero-title-ko {
  color: var(--text-main);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  margin: 0px 0px 32px;
  word-break: keep-all;
}

/* Verse — minimal editorial */
.verse {
  max-width: 760px;
  margin: 0 auto 72px;
  padding: 0;
  text-align: center;
  border: none;
  background: transparent;
}
.verse-mark {
  display: inline-block;
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.4em;
  padding-left: 0.4em;
}
.verse-text {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 500;
  word-break: keep-all;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.verse-ref {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.verse-rule {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* Rotating question CTA — soft glass pill */
.cta-row {
  position: absolute;
  z-index: 500;
  display: flex;
  gap: 14px;
  justify-content: center;
  bottom: 48px;
}
.btn-question {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 999px;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 260px;
  justify-content: space-between;
}
.btn-question:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.32);
}
.btn-q-text {
  flex: 1 1 auto;
  text-align: left;
  display: inline-block;
  transition: opacity 0.32s ease, transform 0.32s ease;
  white-space: nowrap;
}
.btn-q-text.swap-out {
  opacity: 0;
  transform: translateY(-6px);
}
.btn-question .btn-arrow {
  flex: 0 0 auto;
  font-size: 16px;
  color: var(--primary);
  transition: transform 0.2s ease;
}
.btn-question:hover .btn-arrow {
  transform: translateX(3px);
}

/* =========================================================
   2. Common Section Heading (메인 페이지 섹션들에서 사용)
   ========================================================= */
.eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.h2 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-main);
}

/* =========================================================
   3. About Section
   ========================================================= */
.about-section {
  padding: 100px 32px 0;
  max-width: 1400px;
  margin: 0 auto;
}

/* Top: intro text + image */
.about-section .top-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about-section .top-section .description {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 24px 0 24px;
  word-break: keep-all;
}
.about-section .top-section .description .tags {
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  word-spacing: 8px;
}
.about-section .top-section .description .tags span {
  white-space: nowrap;
}
.stance-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.stance-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.12);
  border-radius: 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-default);
  word-break: keep-all;
}
.stance-list li strong {
  color: var(--text-main);
  font-weight: 700;
}
.stance-mark {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  margin-top: 2px;
}
.stance-mark-no {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}
.stance-mark-yes {
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
}
.about-section .top-right {
  display: flex;
}
.about-section .top-right .image-box {
  position: relative;
  width: 100%;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  background-image: url("../../assets/images/holyseed-intro-001.jpg");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 60px -12px rgba(16, 185, 129, 0.28), 0 8px 24px -8px rgba(6, 78, 59, 0.14);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  isolation: isolate;
}
.about-section .top-right .image-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px -12px rgba(16, 185, 129, 0.36), 0 12px 32px -8px rgba(6, 78, 59, 0.2);
}

/* Bottom: meaning cards */
.about-section .bottom-section {
  padding-top: 120px;
}
.about-section .bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.meaning-card {
  padding: 36px 30px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.06);
  display: flex;
  flex-direction: column;
}
.meaning-card-icon {
  font-size: 36px;
  margin-bottom: 18px;
}
.meaning-card-eng {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.meaning-card-kor {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin-bottom: 14px;
}
.meaning-card-body {
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
  word-break: keep-all;
  margin: 0 0 16px;
  flex: 1;
}
.meaning-verses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.verse-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s ease;
}
.verse-chip:hover {
  background: rgba(16, 185, 129, 0.14);
  transform: translateY(-1px);
}

/* =========================================================
   4. Verse Modal
   ========================================================= */
.verse-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.verse-modal[hidden] {
  display: none;
}
.verse-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 78, 59, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: vm-fade 0.2s ease;
}
.verse-modal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 520px;
  width: 100%;
  max-height: 90dvh;
  padding: 40px 40px 32px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
  animation: vm-pop 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.verse-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: #475569;
  cursor: pointer;
}
.verse-modal-close:hover {
  background: rgba(15, 23, 42, 0.12);
}
.verse-modal-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.verse-modal-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-main);
}
.verse-modal-body {
  font-size: 17px;
  line-height: 1.85;
  color: #1e293b;
  word-break: keep-all;
  margin: 0 0 16px;
  white-space: pre-line;
  overflow-y: auto;
}
@keyframes vm-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes vm-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   5. Channels Section
   ========================================================= */
.channels-section {
  padding: 100px 32px 0;
  max-width: 1400px;
  margin: 0 auto;
}
.channels-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.channels-head {
  text-align: center;
  margin-bottom: 56px;
}
.channels-sub {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 20px auto 0;
  max-width: 560px;
  word-break: keep-all;
}
.channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.channel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 24px 26px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  text-decoration: none;
  color: var(--text-main);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.06);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.channel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--brand-tint, rgba(16, 185, 129, 0.08));
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}
.channel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -12px rgba(6, 78, 59, 0.18),
    0 10px 24px -10px var(--brand-shadow, rgba(16, 185, 129, 0.3));
  border-color: rgba(255, 255, 255, 1);
}
.channel-card:hover::before {
  opacity: 1;
}
.channel-card > * {
  position: relative;
  z-index: 1;
}
.channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--brand-bg, rgba(16, 185, 129, 0.1));
  color: var(--brand-fg, var(--primary));
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.28s ease, color 0.28s ease;
}
.channel-card:hover .channel-icon {
  transform: scale(1.05) rotate(-3deg);
  background: var(--brand-fg, var(--primary));
  color: #fff;
}
.channel-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.channel-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
}
.channel-handle {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  word-break: keep-all;
}
.channel-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 16px;
  color: var(--text-muted);
  opacity: 0.5;
  transition: transform 0.28s ease, opacity 0.28s ease, color 0.28s ease;
}
.channel-card:hover .channel-arrow {
  opacity: 1;
  color: var(--brand-fg, var(--primary));
  transform: translate(2px, -2px);
}

/* Brand tones */
.channel-card[data-brand="discord"] {
  --brand-fg: #5865f2;
  --brand-bg: rgba(88, 101, 242, 0.1);
  --brand-tint: rgba(88, 101, 242, 0.05);
  --brand-shadow: rgba(88, 101, 242, 0.28);
}
.channel-card[data-brand="x"] {
  --brand-fg: #0f172a;
  --brand-bg: rgba(15, 23, 42, 0.08);
  --brand-tint: rgba(15, 23, 42, 0.04);
  --brand-shadow: rgba(15, 23, 42, 0.22);
}
.channel-card[data-brand="youtube"] {
  --brand-fg: #ff0033;
  --brand-bg: rgba(255, 0, 51, 0.08);
  --brand-tint: rgba(255, 0, 51, 0.04);
  --brand-shadow: rgba(255, 0, 51, 0.25);
}
.channel-card[data-brand="instagram"] {
  --brand-fg: #e1306c;
  --brand-bg: linear-gradient(135deg, rgba(225, 48, 108, 0.12), rgba(245, 133, 41, 0.12));
  --brand-tint: linear-gradient(135deg, rgba(225, 48, 108, 0.05), rgba(245, 133, 41, 0.05));
  --brand-shadow: rgba(225, 48, 108, 0.28);
}
.channel-card[data-brand="instagram"]:hover .channel-icon {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}
.channel-card[data-brand="spotify"] {
  --brand-fg: #1db954;
  --brand-bg: rgba(29, 185, 84, 0.1);
  --brand-tint: rgba(29, 185, 84, 0.05);
  --brand-shadow: rgba(29, 185, 84, 0.28);
}

/* =========================================================
   6. Join Section
   ========================================================= */
.join {
  padding: 120px 32px 60px;
  max-width: 1400px;
  margin: 0 auto;
}
.join-inner {
  position: relative;
  padding: 80px 24px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(20, 184, 166, 0.92));
  border-radius: 36px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.25);
}
.join-inner::before,
.join-inner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.join-inner::before {
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.25);
  top: -120px;
  left: -100px;
}
.join-inner::after {
  width: 360px;
  height: 360px;
  background: rgba(6, 182, 212, 0.35);
  bottom: -160px;
  right: -120px;
}
.join-eyebrow {
  position: relative;
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.join-title {
  position: relative;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.join-body {
  position: relative;
  font-size: 17px;
  line-height: 1.75;
  opacity: 0.92;
  margin: 0 auto 36px;
  max-width: 540px;
  word-break: keep-all;
}
.join-cta {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-join {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  word-break: keep-all;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-join-primary {
  background: #fff;
  color: var(--text-main);
}
.btn-join-primary:hover {
  transform: translateY(-2px);
}
.btn-join-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-join-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.btn-join .btn-arrow {
  transition: transform 0.2s;
}
.btn-join:hover .btn-arrow {
  transform: translateX(3px);
}

/* =========================================================
   7. Notice Popup (single, non-modal, slideable)
   ========================================================= */
.notice-popups {
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none; /* background remains interactive */
}
.notice-popups[hidden] {
  display: none;
}

.notice-popup-card {
  pointer-events: auto;
  position: absolute;
  top: 96px;
  left: 40px;
  width: 340px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(6, 78, 59, 0.08);
  box-shadow: 0 22px 50px -18px rgba(6, 78, 59, 0.32), 0 8px 20px -10px rgba(16, 185, 129, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: np-pop 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s both;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.notice-popup-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px -18px rgba(6, 78, 59, 0.38), 0 10px 24px -10px rgba(16, 185, 129, 0.22);
}
.notice-popup-card.is-closing {
  animation: np-out 0.24s cubic-bezier(0.4, 0, 1, 1) forwards;
}
.notice-popup-card.is-dragging {
  cursor: grabbing;
  user-select: none;
}

/* Slide content (animates between notices) */
.notice-popup-slide {
  display: contents;
}
.notice-popup-slide.is-sliding-left .notice-popup-image,
.notice-popup-slide.is-sliding-left .notice-popup-body,
.notice-popup-slide.is-sliding-left .notice-popup-head .notice-popup-eyebrow {
  animation: np-slide-in-left 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.notice-popup-slide.is-sliding-right .notice-popup-image,
.notice-popup-slide.is-sliding-right .notice-popup-body,
.notice-popup-slide.is-sliding-right .notice-popup-head .notice-popup-eyebrow {
  animation: np-slide-in-right 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Image — inline in body, natural aspect, no crop */
.notice-popup-image {
  margin: 14px 0 4px;
  background: rgba(6, 78, 59, 0.04);
  border-radius: 12px;
  overflow: hidden;
}
.notice-popup-image[hidden] {
  display: none;
}
.notice-popup-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

/* Head */
.notice-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;
}
.notice-popup-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}
.notice-popup-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
  animation: np-pulse 1.8s ease-in-out infinite;
}
.notice-popup-counter {
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.notice-popup-counter[hidden] {
  display: none;
}
.notice-popup-close {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.05);
  color: #475569;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.notice-popup-close:hover {
  background: rgba(15, 23, 42, 0.1);
  color: var(--text-main);
}
.notice-popup-close:active {
  transform: scale(0.92);
}

/* Body */
.notice-popup-body {
  padding: 0 18px 16px;
  touch-action: pan-y;
  overflow-y: auto;
}
.notice-popup-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.notice-popup-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.notice-popup-date {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.notice-popup-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin: 0 0 10px;
  line-height: 1.35;
  word-break: keep-all;
  text-wrap: pretty;
}
.notice-popup-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-default);
  word-break: keep-all;
  text-wrap: pretty;
  margin: 0;
  white-space: pre-line;
}
.notice-popup-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 16px -6px rgba(16, 185, 129, 0.5);
}
.notice-popup-cta[hidden] {
  display: none;
}
.notice-popup-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -8px rgba(16, 185, 129, 0.55);
}
.notice-popup-cta .btn-arrow {
  font-size: 13px;
  transition: transform 0.2s ease;
}
.notice-popup-cta:hover .btn-arrow {
  transform: translateX(3px);
}

/* Nav (carousel arrows + dots) */
.notice-popup-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px 12px;
  border-top: 1px solid rgba(6, 78, 59, 0.06);
}
.notice-popup-nav[hidden] {
  display: none;
}
.notice-popup-arrow {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
  font-family: inherit;
}
.notice-popup-arrow:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.36);
}
.notice-popup-arrow:active {
  transform: scale(0.92);
}
.notice-popup-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.notice-popup-dots button {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: none;
  background: rgba(6, 78, 59, 0.16);
  padding: 0;
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
  font-family: inherit;
}
.notice-popup-dots button.is-active {
  width: 16px;
  background: var(--primary);
}

/* Foot */
.notice-popup-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px 11px 16px;
  background: #fafbfa;
  border-top: 1px solid rgba(6, 78, 59, 0.06);
}
.notice-popup-hide {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  padding: 4px 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.18s;
  font-family: inherit;
}
.notice-popup-hide:hover {
  color: var(--text-main);
}
.notice-popup-hide:hover .notice-popup-check {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
}
.notice-popup-check {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(6, 78, 59, 0.22);
  border-radius: 4px;
  color: transparent;
  transition: all 0.18s;
}
.notice-popup-hide.is-active .notice-popup-check {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.notice-popup-close-btn {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(6, 78, 59, 0.14);
  background: #fff;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}
.notice-popup-close-btn:hover {
  background: var(--text-main);
  border-color: var(--text-main);
  color: #fff;
}
.notice-popup-close-btn:active {
  transform: scale(0.97);
}

/* Animations */
@keyframes np-pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes np-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
}
@keyframes np-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.06);
  }
}
@keyframes np-slide-in-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes np-slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================================================
   7. Responsive (메인 페이지 전용)
   ========================================================= */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 72px;
  }
  .h2 {
    font-size: 44px;
  }
  .about-section .top-section {
    grid-template-columns: 1fr;
  }
  .about-section .top-right .image-box {
    min-height: 380px;
    background-position: bottom;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
  }
  .hero-title {
    font-size: 52px;
  }
  .verse {
    padding: 24px 28px;
  }
  .verse-text {
    font-size: 16px;
  }
  .btn-question {
    min-width: 0;
    font-size: 15px;
    padding: 13px 20px;
  }
  .h2 {
    font-size: 36px;
  }
  .about-section .bottom-grid {
    grid-template-columns: none;
  }
  .about-section .top-right .image-box {
    min-height: 300px;
    border-radius: 24px;
  }
}

@media (max-width: 720px) {
  .notice-popups {
    inset: auto 0 0 0;
    padding: 16px;
    display: flex;
    justify-content: center;
    pointer-events: none;
  }
  .notice-popup-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 420px;
    max-height: 90dvh;
  }
}

@media (max-width: 640px) {
  .channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .channel-card {
    padding: 22px 18px 20px;
    gap: 14px;
  }
  .channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}
