:root {
  --accent: #d9a441;        /* 골드 */
  --accent-2: #e8c268;      /* 밝은 골드 */
  --copper: #b5713a;        /* 코퍼(테두리) */
  --cream: #f2e6cf;         /* 크림(글자) */
  --brown-dark: #241812;    /* 진한 우드 브라운 */
  --brown-mid: #3b271a;     /* 중간 브라운 */
  --brown-soft: #2e1f16;    /* 섹션 배경 */
  --dark: var(--brown-dark);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
  color: #fff;
  background: var(--brown-dark);
}

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

/* 스크린리더/SEO 전용 (화면에는 안 보이지만 검색엔진·리더가 읽음) */
.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;
}

/* ===================== Header ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 100;
  background: linear-gradient(180deg, rgba(36, 24, 18, 0.82) 0%, rgba(36, 24, 18, 0.35) 60%, rgba(36, 24, 18, 0) 100%);
  border-bottom: 1px solid rgba(217, 164, 65, 0.18);
  backdrop-filter: blur(3px);
  transition: background 0.3s ease;
}

.site-header__inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  display: flex;
  align-items: center;
}

.site-header__logo-img {
  height: 50px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s ease;
}

.site-header__logo:hover .site-header__logo-img {
  transform: translateY(-1px);
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-header__nav {
  display: flex;
  gap: 8px;
}

.site-header__login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brown-dark);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.site-header__login svg {
  width: 17px;
  height: 17px;
}

.site-header__login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 164, 65, 0.4);
}

.site-header__nav a {
  position: relative;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-header__nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-header__nav a:hover {
  color: #fff;
  background: rgba(217, 164, 65, 0.12);
}

.site-header__nav a:hover::after {
  transform: scaleX(1);
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-h) 24px 60px;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 24, 18, 0.45) 0%, rgba(36, 24, 18, 0.3) 45%, rgba(36, 24, 18, 0.9) 100%);
  z-index: -1;
}

.hero__inner {
  max-width: 720px;
  animation: heroIn 0.9s ease both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__logo {
  width: min(460px, 82vw);
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.6));
}

.hero__tagline {
  margin-top: 22px;
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  color: var(--cream);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* 서버 IP 박스 */
.ip-box {
  margin: 30px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 18px;
  background: rgba(36, 24, 18, 0.7);
  border: 1.5px solid var(--copper);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ip-box:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ip-box__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.ip-box__ip {
  font-family: "Consolas", monospace;
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  font-weight: 700;
  color: #fff;
}

.ip-box__copy {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brown-dark);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  padding: 6px 12px;
  border-radius: 8px;
}

/* 버튼 */
.hero__actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  color: var(--brown-dark);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 22px rgba(217, 164, 65, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 164, 65, 0.5);
}

.btn--ghost {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(242, 230, 207, 0.4);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cream);
}

/* 서버 상태 */
.hero__status {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(242, 230, 207, 0.8);
}

.hero__status-sep {
  opacity: 0.4;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #58d364;
  box-shadow: 0 0 0 0 rgba(88, 211, 100, 0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(88, 211, 100, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(88, 211, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 211, 100, 0); }
}

/* 스크롤 인디케이터 */
.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(242, 230, 207, 0.6);
  border-radius: 14px;
}

.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0%   { opacity: 0; transform: translateY(0); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ===================== Sections ===================== */
.section {
  padding: 100px 24px;
  background: var(--brown-dark);
}

.section--alt {
  background: var(--brown-soft);
}

.section__head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  color: #fff;
}

.section__sub {
  margin-top: 14px;
  font-size: 1.05rem;
  color: rgba(242, 230, 207, 0.7);
  line-height: 1.6;
}

/* 특징 카드 */
.cards {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.card {
  background: linear-gradient(180deg, var(--brown-mid), var(--brown-soft));
  border: 1px solid rgba(181, 113, 58, 0.35);
  border-radius: 16px;
  padding: 32px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
}

.card__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.card__title {
  font-size: 1.25rem;
  color: var(--accent-2);
  margin-bottom: 10px;
}

.card__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(242, 230, 207, 0.72);
}

/* 접속 방법 스텝 */
.steps {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step {
  position: relative;
  background: rgba(36, 24, 18, 0.6);
  border: 1px solid rgba(181, 113, 58, 0.3);
  border-radius: 16px;
  padding: 40px 26px 30px;
  text-align: center;
}

.step__num {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brown-dark);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(217, 164, 65, 0.4);
}

.step__title {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.step__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(242, 230, 207, 0.72);
}

.step__ip {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-family: "Consolas", monospace;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--copper);
  border-radius: 10px;
}

.step__ip span {
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  color: var(--brown-dark);
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 6px;
}

/* ===================== CTA ===================== */
.cta {
  padding: 90px 24px;
  text-align: center;
  background:
    linear-gradient(rgba(36, 24, 18, 0.86), rgba(36, 24, 18, 0.92)),
    radial-gradient(circle at 50% 0%, rgba(217, 164, 65, 0.25), transparent 60%);
  border-top: 2px solid var(--copper);
}

.cta__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #fff;
}

.cta__sub {
  margin-top: 12px;
  font-size: 1.05rem;
  color: rgba(242, 230, 207, 0.75);
}

.ip-box--cta {
  margin-top: 28px;
}

/* ===================== 풀페이지 스냅 패널 ===================== */
.snap {
  min-height: 100vh;
}

.section.snap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section.snap .section__head {
  margin-bottom: 44px;
}

.panel-end {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ===================== Footer ===================== */
.site-footer {
  background: linear-gradient(180deg, var(--brown-mid) 0%, var(--brown-dark) 100%);
  border-top: 2px solid var(--copper);
  color: rgba(242, 230, 207, 0.72);
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer__brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.site-footer__brand::first-letter {
  color: var(--accent);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer__nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(242, 230, 207, 0.7);
  transition: color 0.2s ease;
}

.site-footer__nav a:hover {
  color: var(--accent);
}

.site-footer__meta {
  text-align: right;
  line-height: 1.7;
  font-size: 0.9rem;
}

.site-footer__contact {
  color: var(--cream);
}

.site-footer__copy {
  color: rgba(242, 230, 207, 0.45);
}

/* ===================== 접속 방법 버튼 ===================== */
.join__more {
  margin-top: 40px;
  text-align: center;
}

/* ===================== 접속 방법 페이지 ===================== */
.page {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(181, 113, 58, 0.18), transparent 70%),
    var(--brown-dark);
  min-height: 100vh;
}

.connect {
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 64px) 24px 96px;
}

.connect__head {
  text-align: center;
  margin-bottom: 56px;
}

.connect__title {
  font-size: clamp(2rem, 5vw, 2.9rem);
  color: #fff;
  margin-top: 10px;
}

.connect__sub {
  margin: 14px auto 0;
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(242, 230, 207, 0.7);
}

/* 상단 도메인 배지 */
.connect__ip {
  margin: 26px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  background: rgba(20, 12, 8, 0.55);
  border: 1px solid var(--copper);
  border-radius: 999px;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.connect__ip:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.connect__ip-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.connect__ip-addr {
  font-family: "Consolas", monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.connect__ip-copy {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brown-dark);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  padding: 5px 12px;
  border-radius: 999px;
}

.connect__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

/* 스크린샷 윈도우 프레임 */
.shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #1c120c;
  border: 1px solid rgba(181, 113, 58, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.shot__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(181, 113, 58, 0.35);
}

.shot__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(242, 230, 207, 0.28);
}

.shot__dot:nth-child(1) { background: #e0685c; }
.shot__dot:nth-child(2) { background: #e6b84f; }
.shot__dot:nth-child(3) { background: #5fae62; }

.shot__cap {
  margin-left: 8px;
  font-size: 0.8rem;
  color: rgba(242, 230, 207, 0.6);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* 타임라인 단계 */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 8px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--copper), rgba(181, 113, 58, 0.15));
}

.tstep {
  position: relative;
  display: flex;
  gap: 20px;
  padding-bottom: 30px;
}

.tstep:last-child {
  padding-bottom: 0;
}

.tstep__dot {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brown-dark);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--brown-dark), 0 5px 14px rgba(217, 164, 65, 0.4);
}

.tstep__content {
  padding-top: 3px;
}

.tstep__title {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 7px;
}

.tstep__desc {
  font-size: 0.97rem;
  line-height: 1.65;
  color: rgba(242, 230, 207, 0.72);
}

.tstep__desc b {
  color: var(--accent-2);
  font-weight: 700;
}

.tstep__ip {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 14px;
  font-family: "Consolas", monospace;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--copper);
  border-radius: 10px;
}

.tstep__ip span {
  font-family: system-ui, sans-serif;
  font-size: 0.74rem;
  color: var(--brown-dark);
  background: var(--accent);
  padding: 3px 9px;
  border-radius: 6px;
}

.connect__cta {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .connect__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .shot {
    position: static;
  }
}

/* ===================== 캐시 충전 페이지 ===================== */
.charge {
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 64px) 24px 96px;
}

.charge__head {
  text-align: center;
  margin-bottom: 52px;
}

/* 직접 금액 입력 */
.custom {
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 26px 28px;
  background: linear-gradient(180deg, var(--brown-mid), var(--brown-soft));
  border: 1px solid var(--copper);
  border-radius: 18px;
}

.custom__head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.custom__head svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.custom__row {
  display: flex;
  gap: 12px;
}

.custom__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: rgba(0, 0, 0, 0.32);
  border: 1.5px solid rgba(181, 113, 58, 0.5);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.custom__field:focus-within {
  border-color: var(--accent);
}

.custom__won {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

.custom__input {
  flex: 1;
  width: 100%;
  padding: 15px 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: none;
  outline: none;
  font-family: "Consolas", monospace;
}

.custom__input::placeholder {
  font-family: system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 400;
  color: rgba(242, 230, 207, 0.4);
}

.custom__unit {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(242, 230, 207, 0.7);
}

.custom__btn {
  flex: 0 0 auto;
  padding: 0 30px;
}

.custom__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.custom__chip {
  padding: 7px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(242, 230, 207, 0.2);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.custom__chip:hover {
  background: rgba(217, 164, 65, 0.14);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.custom__hint {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(242, 230, 207, 0.55);
}

.custom__hint.error {
  color: #e0685c;
}

.plans__label {
  max-width: 720px;
  margin: 0 auto 16px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* 30일 패키지 카드 */
.pkgs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  align-items: start;
}

.pkg {
  --pkg: var(--accent);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  background: linear-gradient(180deg, var(--brown-mid), var(--brown-soft));
  border: 1px solid rgba(181, 113, 58, 0.35);
  border-top: 3px solid var(--pkg);
  border-radius: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pkg:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.pkg--gold { --pkg: #e6b84f; }
.pkg--diamond { --pkg: #5cc9e6; }
.pkg--emerald { --pkg: #4fbf7a; }

.pkg--popular {
  box-shadow: 0 0 0 1px var(--pkg), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.pkg__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brown-dark);
  background: var(--pkg);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pkg__head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.pkg__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--pkg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--pkg);
  border-radius: 12px;
}

.pkg__icon svg {
  width: 26px;
  height: 26px;
}

.pkg__name {
  font-size: 1.2rem;
  color: #fff;
}

.pkg__period {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pkg);
}

.pkg__price {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.pkg__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 24px;
  flex: 1;
}

.pkg__perks li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(242, 230, 207, 0.8);
}

.pkg__perks li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid var(--pkg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pkg__perks code {
  font-family: "Consolas", monospace;
  font-size: 0.85em;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  padding: 1px 6px;
  border-radius: 5px;
}

.pkg__btn {
  width: 100%;
  padding: 12px 0;
  text-align: center;
}

/* 닉네임 검증 UI */
.paybox__verify {
  display: flex;
  gap: 8px;
}

.paybox__verify .paybox__input {
  flex: 1;
}

.paybox__verify-btn {
  flex: 0 0 auto;
  padding: 0 20px;
}

.paybox__status {
  margin: 8px 0 0;
  min-height: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(242, 230, 207, 0.6);
}

.paybox__status.ok { color: #5fae62; }
.paybox__status.error { color: #e0685c; }

.paybox__status svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 560px) {
  .custom__row {
    flex-direction: column;
  }
  .custom__btn {
    padding: 13px 0;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 24px 26px;
  background: linear-gradient(180deg, var(--brown-mid), var(--brown-soft));
  border: 1px solid rgba(181, 113, 58, 0.35);
  border-radius: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.plan--popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 40px rgba(217, 164, 65, 0.18);
}

.plan--best {
  border-color: var(--copper);
}

.plan__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brown-dark);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(217, 164, 65, 0.4);
  white-space: nowrap;
}

.plan__amount {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.plan__coin {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.plan__amount em {
  font-size: 0.9rem;
  font-weight: 600;
  font-style: normal;
  color: rgba(242, 230, 207, 0.7);
}

.plan__bonus {
  margin-top: 8px;
  min-height: 22px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-2);
}

.plan__price {
  margin: 14px 0 20px;
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(242, 230, 207, 0.85);
}

.plan__btn {
  width: 100%;
  padding: 12px 0;
  text-align: center;
}

/* 결제 수단 */
.pay {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px;
  background: rgba(20, 12, 8, 0.5);
  border: 1px solid rgba(181, 113, 58, 0.3);
  border-radius: 14px;
}

.pay__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.pay__methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pay__method {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(242, 230, 207, 0.18);
  border-radius: 999px;
}

.pay__method svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* 안내 */
.notes {
  margin-top: 40px;
  padding: 30px 32px;
  background: var(--brown-soft);
  border: 1px solid rgba(181, 113, 58, 0.3);
  border-radius: 16px;
}

.notes__title {
  font-size: 1.15rem;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.notes__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.notes__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(242, 230, 207, 0.75);
}

.notes__list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--accent);
  font-weight: 800;
}

.notes__list b {
  color: var(--accent-2);
}

.notes__list code {
  font-family: "Consolas", monospace;
  font-size: 0.88rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 7px;
  border-radius: 6px;
}

.notes__list a {
  color: var(--accent-2);
  text-decoration: underline;
}

.charge__cta {
  margin-top: 52px;
  text-align: center;
}

@media (max-width: 640px) {
  .charge {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* ===================== 결제 모달 (paybox) ===================== */
.paybox {
  width: min(420px, 92vw);
  background: linear-gradient(180deg, var(--brown-mid), var(--brown-soft));
  border: 1px solid var(--copper);
  border-radius: 18px;
  padding: 30px 28px 26px;
  text-align: left;
}

.paybox__title {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 20px;
}

.paybox__summary {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(181, 113, 58, 0.3);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.paybox__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  color: rgba(242, 230, 207, 0.75);
}

.paybox__row + .paybox__row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(181, 113, 58, 0.3);
}

.paybox__row b {
  color: #fff;
  font-weight: 700;
}

.paybox__row em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--accent-2);
}

.paybox__price {
  color: var(--accent-2) !important;
  font-size: 1.05rem;
}

.paybox__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.paybox__input {
  width: 100%;
  padding: 13px 15px;
  font-size: 1rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(181, 113, 58, 0.5);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease;
}

.paybox__input::placeholder {
  color: rgba(242, 230, 207, 0.4);
}

.paybox__input:focus {
  border-color: var(--accent);
}

.paybox__hint {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #e0685c;
  opacity: 0;
  height: 0;
  transition: opacity 0.2s ease;
}

.paybox__hint.show {
  opacity: 1;
  height: auto;
}

.paybox__submit {
  width: 100%;
  margin-top: 18px;
  padding: 14px 0;
  text-align: center;
}

.paybox__note {
  margin-top: 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(242, 230, 207, 0.55);
  text-align: center;
}

/* ===================== 결제 완료(success) 페이지 ===================== */
.success {
  max-width: 560px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 70px) 24px 90px;
  text-align: center;
}

.success__icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  color: #5fae62;
  background: rgba(95, 174, 98, 0.12);
  border: 2px solid rgba(95, 174, 98, 0.5);
  border-radius: 50%;
  animation: popIn 0.4s ease both;
}

.success__icon svg {
  width: 40px;
  height: 40px;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

.success__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #fff;
}

.success__sub {
  margin: 14px auto 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(242, 230, 207, 0.72);
}

.success__sub b {
  color: var(--accent-2);
}

.countdown {
  margin: 26px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  background: rgba(20, 12, 8, 0.5);
  border: 1px solid var(--copper);
  border-radius: 999px;
  font-size: 0.95rem;
  color: rgba(242, 230, 207, 0.8);
}

.countdown__ico {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.countdown b {
  font-family: "Consolas", monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.countdown.expired {
  border-color: #e0685c;
}

.countdown.expired b {
  color: #e0685c;
}

.depo {
  margin-top: 30px;
  text-align: left;
  background: linear-gradient(180deg, var(--brown-mid), var(--brown-soft));
  border: 1px solid rgba(181, 113, 58, 0.4);
  border-radius: 16px;
  overflow: hidden;
}

.depo__bank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(181, 113, 58, 0.3);
}

.depo__bank-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.depo__bank-name {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
}

.depo__account {
  font-family: "Consolas", monospace;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
}

.depo__holder {
  font-size: 0.85rem;
  color: rgba(242, 230, 207, 0.6);
}

.depo__copy {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brown-dark);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.depo__copy:hover {
  transform: translateY(-1px);
}

.depo__copy svg {
  width: 16px;
  height: 16px;
}

.depo__list {
  padding: 8px 24px;
}

.depo__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.depo__item + .depo__item {
  border-top: 1px solid rgba(181, 113, 58, 0.18);
}

.depo__item dt {
  font-size: 0.92rem;
  color: rgba(242, 230, 207, 0.6);
}

.depo__item dd {
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
}

.depo__price {
  color: var(--accent-2) !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
}

.depo__bonus {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--accent-2);
}

.success__warn {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(242, 230, 207, 0.72);
  background: rgba(224, 104, 92, 0.08);
  border: 1px solid rgba(224, 104, 92, 0.3);
  border-radius: 12px;
}

.success__warn svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: #e0685c;
  margin-top: 1px;
}

.success__warn b {
  color: var(--cream);
}

.success__cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===================== Modal (스크린샷) ===================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.modal.open {
  display: flex;
  animation: modalFade 0.2s ease both;
}

@keyframes modalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 8, 0.85);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

.modal__box {
  position: relative;
  max-width: min(1000px, 92vw);
  max-height: 88vh;
  border: 2px solid var(--copper);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.modal__img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--brown-dark);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
  z-index: 2;
}

.modal__close svg {
  width: 18px;
  height: 18px;
}

/* 준비중 모달 */
.soonbox {
  width: min(400px, 92vw);
  padding: 40px 32px 30px;
  text-align: center;
  background: linear-gradient(180deg, var(--brown-mid), var(--brown-soft));
  border: 1px solid var(--copper);
  border-radius: 18px;
}

.soonbox__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(217, 164, 65, 0.12);
  border: 2px solid rgba(217, 164, 65, 0.5);
  border-radius: 50%;
}

.soonbox__icon svg {
  width: 32px;
  height: 32px;
}

.soonbox__title {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 10px;
}

.soonbox__desc {
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(242, 230, 207, 0.72);
  margin-bottom: 24px;
}

.soonbox__ok {
  padding: 12px 40px;
}

.modal__close:hover {
  transform: scale(1.08);
}

/* ===================== Toast ===================== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 20, 14, 0.94);
  border: 1px solid rgba(217, 164, 65, 0.45);
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 11px 20px 11px 14px;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast__check {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--brown-dark);
}

.toast__check svg {
  width: 12px;
  height: 12px;
}

/* 버튼 안 아이콘 */
.btn svg {
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.45em;
  vertical-align: -0.16em;
}

/* ===================== Responsive ===================== */
@media (max-width: 640px) {
  .site-header__right {
    gap: 10px;
  }
  .site-header__nav a {
    padding: 8px 8px;
    font-size: 0.85rem;
  }
  .site-header__login {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .section {
    padding: 72px 20px;
  }
  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }
  .site-footer__meta {
    text-align: center;
  }
}
