:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: rgba(17, 17, 17, 0.65);
  --topbar-height: 64px;
  --edge-padding: 24px;
  --brand-transition-ms: 650ms;
  --side-nav-offset-x: 22px;
  --side-nav-hero-offset-y: 92px;
  --side-nav-hero-min-width: 360px;
  --side-nav-radius: 22px;
  --side-nav-padding-y: 18px;
  --side-nav-padding-x: 18px;
  --side-nav-divider: rgba(0, 0, 0, 0.12);
  --guide-pill-radius: 999px;
  --guide-pill-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  --guide-pill-border: rgba(0, 0, 0, 0.08);
  --slot-dot-size: 44px;
  --slot-dot-color: #cfcfcf;
  --slot-dot-mini-size: 12px;
  --slot-dot-close-color: #e04646;
  --extra-dot-size: var(--slot-dot-size);
  --extra-dot-border: rgba(0, 0, 0, 0.35);
  --extra-dot-gap: 14px;
  --extra-dot-overlap: 4px;
  --extra-dot-overlap-mini: 3px;
  --pricing-top-padding: 92px;
  --pricing-content-offset-top: 160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

.login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login__card {
  width: min(420px, 100%);
  padding: 22px 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.login__title {
  margin: 0 0 16px;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.login__warning {
  margin: 0 0 14px;
  color: rgba(20, 20, 20, 0.65);
  font-size: 12px;
  line-height: 1.6;
}

.login__discord {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  color: rgba(20, 20, 20, 0.92);
  font-weight: 700;
}

.login__discord:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.login__discordIcon {
  width: 18px;
  height: 18px;
  display: block;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate3d(-50%, 12px, 0);
  opacity: 0;
  pointer-events: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.92);
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  letter-spacing: 0.02em;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 9999;
}

.toast.is-visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.manage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.manage__card {
  width: min(860px, 100%);
  padding: 22px 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.manage__title {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.manage__meta {
  margin: 0 0 12px;
  color: rgba(20, 20, 20, 0.65);
  font-size: 12px;
}

.manage__warning {
  margin: 0 0 12px;
  color: rgba(20, 20, 20, 0.65);
  font-size: 12px;
  line-height: 1.6;
}

.manage__warning ul {
  margin: 8px 0 8px 18px;
  padding: 0;
}

.manage__form {
  display: grid;
  gap: 10px;
  padding: 12px 0 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
}

.manage__label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: rgba(20, 20, 20, 0.75);
}

.manage__select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

.manage__btn {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  cursor: pointer;
}

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

.manage__subtitle {
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(20, 20, 20, 0.9);
}

.manage__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.manage__item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.manage__thumbLink {
  display: block;
  text-decoration: none;
}

.manage__thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.03);
}

.manage__key {
  margin: 8px 0 10px;
  font-size: 11px;
  color: rgba(20, 20, 20, 0.72);
  word-break: break-all;
  line-height: 1.3;
}

.manage__delete {
  display: flex;
  justify-content: flex-end;
}

.manage__deleteBtn {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 12px;
}

.manage__deleteBtn:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.footer {
  display: flex;
  justify-content: center;
}

.footer--contact {
  margin-top: 10px;
  padding: 10px 16px;
}

.footer--section {
  padding: 10px 16px;
}

.section--footer {
  background: radial-gradient(
    900px 700px at 50% 30%,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0) 55%
  );
}

.footer-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 16px 22px;
}

.footer__inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(20, 20, 20, 0.62);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.footer__dev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(20, 20, 20, 0.72);
}

.footer__dev:hover {
  color: rgba(20, 20, 20, 0.92);
}

.footer__devIcon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.footer__sep {
  color: rgba(20, 20, 20, 0.28);
}

.topbar {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto 0;
  height: var(--topbar-height);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  transition: opacity 250ms ease, transform 250ms ease;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0)
  );
}

.topbar.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.topbar__inner {
  height: 100%;
}

.brand {
  position: fixed;
  z-index: 30;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  transform-origin: left top;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(28px, 6vw, 72px);
  color: var(--fg);
  user-select: none;
  transition: left var(--brand-transition-ms) cubic-bezier(0.2, 0.8, 0.2, 1),
    top var(--brand-transition-ms) cubic-bezier(0.2, 0.8, 0.2, 1),
    transform var(--brand-transition-ms) cubic-bezier(0.2, 0.8, 0.2, 1),
    font-size var(--brand-transition-ms) cubic-bezier(0.2, 0.8, 0.2, 1),
    color var(--brand-transition-ms) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand.is-docked {
  left: var(--edge-padding);
  top: calc(var(--topbar-height) / 2);
  transform: translate3d(0, -50%, 0);
  font-size: 16px;
  color: var(--muted);
}

.side-nav {
  position: fixed;
  z-index: 25;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, calc(-50% + var(--side-nav-hero-offset-y)), 0);
  transition: left var(--brand-transition-ms) cubic-bezier(0.2, 0.8, 0.2, 1),
    top var(--brand-transition-ms) cubic-bezier(0.2, 0.8, 0.2, 1),
    transform var(--brand-transition-ms) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.side-nav.is-docked {
  left: calc(100% - var(--side-nav-offset-x));
  top: 50%;
  transform: translate3d(-100%, -50%, 0);
}

.side-nav__list {
  list-style: none;
  margin: 0;
  padding: var(--side-nav-padding-y) var(--side-nav-padding-x);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--side-nav-radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  text-align: center;
}

/* 메인(#main)에서는 가로형: 안내 | 가격표 | 샘플 | 문의 */
.side-nav:not(.is-docked) .side-nav__list {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  min-width: var(--side-nav-hero-min-width);
}

.side-nav__item + .side-nav__item {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--side-nav-divider);
}

/* 메인(#main)에서는 각 항목을 동일 폭으로 만들어, 선(구분선) 사이 정중앙에 텍스트 위치 */
.side-nav:not(.is-docked) .side-nav__item {
  flex: 1 1 0;
}

.side-nav:not(.is-docked) .side-nav__item + .side-nav__item {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  border-left: 1px solid var(--side-nav-divider);
}

.side-nav:not(.is-docked) .side-nav__link {
  width: 100%;
  padding: 4px 10px;
  white-space: nowrap;
}

.side-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(20, 20, 20, 0.92);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-align: center;
}

/* 도킹(세로) 상태에서는 항목 폭을 통일해서 중앙 정렬이 보이게 */
.side-nav.is-docked .side-nav__item {
  width: 100%;
}

.side-nav.is-docked .side-nav__link {
  width: 100%;
}

.side-nav__item.active .side-nav__link {
  color: rgba(20, 20, 20, 1);
  font-weight: 600;
}

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

/* fullpage.js 슬라이드 사용 시에도 중앙 정렬 유지 */
#fullpage .slide,
#fullpage .fp-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* slide navigation bullets 중앙 정렬 */
.fp-slidesNav.fp-bottom {
  left: 50% !important;
  right: auto !important;
  transform: translate3d(-50%, 0, 0);
}

/* guide 섹션: fp-overflow 스크롤 래퍼 "풀기" (스크롤 숨김이 아니라, 오버플로우 자체 제거) */
.section--guide .fp-overflow {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.section--hero {
  background: radial-gradient(
    1200px 700px at 50% 30%,
    rgba(0, 0, 0, 0.06),
    rgba(0, 0, 0, 0) 60%
  );
}

.section--next {
  background: radial-gradient(
    900px 700px at 50% 30%,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0) 55%
  );
}

.section--guide,
.section--pricing,
.section--samples,
.section--contact {
  background: radial-gradient(
    900px 700px at 50% 30%,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0) 55%
  );
}

.section--pricing {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 0;
  position: relative;
}

.section--samples {
  padding-top: 0;
  position: relative;
}

.pricing {
  display: flex;
  justify-content: center;
}

.samples {
  display: flex;
  justify-content: center;
}

.contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section--pricing .guide-notice__pill {
  box-shadow: none;
}

.section--pricing .slide,
.section--pricing .fp-slide {
  align-items: center !important;
  justify-content: flex-start !important;
}

/* guide/pricing 슬라이드 화살표 숨김 */
.section--guide .fp-controlArrow,
.section--pricing .fp-controlArrow,
.section--samples .fp-controlArrow {
  display: none !important;
}

.pricing-fixed {
  position: absolute;
  top: var(--pricing-top-padding);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.pricing-fixed .guide-notice__pill {
  pointer-events: auto;
}

.pricing-slide {
  width: min(920px, calc(100vw - 48px));
  margin: 0 auto;
  text-align: center;
  padding-top: var(--pricing-content-offset-top);
}

.pricing__pill {
  margin: 0 auto 22px;
}

.pricing-slide__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - var(--pricing-content-offset-top) - 40px);
  object-fit: contain;
  border-radius: 0;
}

.pricing-slide__empty {
  margin: 0;
  color: rgba(20, 20, 20, 0.6);
  font-size: 14px;
}

.section--samples .guide-notice__pill,
.section--contact .guide-notice__pill {
  box-shadow: none;
}

.contact__desc {
  margin: 0;
  text-align: center;
  color: rgba(20, 20, 20, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.contact__spacer {
  height: 18px;
}

.contact__icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.contact__iconLink {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  color: rgba(20, 20, 20, 0.92);
}

.contact__iconLink:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.contact__icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.samples-fixed {
  position: absolute;
  top: var(--pricing-top-padding);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.samples-fixed .guide-notice__pill {
  pointer-events: auto;
}

.section--samples .slide,
.section--samples .fp-slide {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.sample-slide {
  width: min(920px, calc(100vw - 48px));
  margin: 0 auto;
  padding-top: var(--pricing-content-offset-top);
  text-align: center;
}

.sample-slide__title {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  letter-spacing: 0.04em;
  font-size: 13px;
}

.sample-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: rgba(20, 20, 20, 0.68);
  font-size: inherit;
  letter-spacing: inherit;
}

.sample-tab.is-active,
.sample-tab[aria-current="true"] {
  color: rgba(20, 20, 20, 0.92);
  font-weight: 700;
}

.sample-tab__divider {
  width: 1px;
  height: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.sample-gallery {
  max-height: calc(100vh - var(--pricing-content-offset-top) - 80px);
  overflow: auto;
  padding: 0 8px;
}

.sample-gallery__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 0 18px;
}

.sample-gallery__empty {
  margin: 0;
  color: rgba(20, 20, 20, 0.6);
  font-size: 14px;
}

.page {
  text-align: center;
  padding: 0 24px;
}

.page__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: 0.06em;
}

.page__desc {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.guide {
  width: min(520px, calc(100vw - 48px));
  margin: 0 auto;
  text-align: center;
}

.guide__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--guide-pill-radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--guide-pill-border);
  box-shadow: var(--guide-pill-shadow);
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 14px;
  color: rgba(20, 20, 20, 0.9);
}

.guide__headline {
  margin: 18px 0 0;
  color: rgba(20, 20, 20, 0.7);
  letter-spacing: 0.04em;
  font-size: 20px;
}

.guide__lines {
  margin: 18px auto 0;
  width: min(420px, 100%);
}

.guide__line {
  margin: 6px 0;
  font-size: 18px;
  line-height: 1.25;
  color: rgba(20, 20, 20, 0.6);
  letter-spacing: 0.02em;
  white-space: pre-line;
}

.guide__spacer {
  height: 100px;
}

.guide__slots {
  margin: 22px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.slot__dot {
  width: var(--slot-dot-size);
  height: var(--slot-dot-size);
  border-radius: 999px;
  background: var(--slot-dot-color);
}

.slot__dot--mini {
  width: var(--slot-dot-mini-size);
  height: var(--slot-dot-mini-size);
  display: inline-block;
  vertical-align: -1px;
  margin: 0 6px;
}

.slot__dot_close {
  background: var(--slot-dot-close-color);
}

.slot__dot--extra {
  width: var(--extra-dot-size);
  height: var(--extra-dot-size);
  background: var(--slot-dot-color);
  border: 1px solid rgba(0, 0, 0, 0.12);
  position: relative;
}

.slot__dot--extra.slot__dot_close {
  background: var(--slot-dot-close-color);
}

.slot__dot--extra.slot__dot--mini {
  width: var(--slot-dot-mini-size);
  height: var(--slot-dot-mini-size);
  background: var(--slot-dot-color);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.slot__dot--extra.slot__dot--mini.slot__dot_close {
  background: var(--slot-dot-close-color);
}

.over__dot {
  position: absolute;
  inset: calc(var(--extra-dot-overlap) * -1);
  border: 1px solid var(--extra-dot-border);
  border-radius: 999px;
}

.slot__dot--extra.slot__dot_close .over__dot {
  border-color: var(--slot-dot-close-color);
}

.slot__dot--extra.slot__dot--mini .over__dot {
  inset: calc(var(--extra-dot-overlap-mini) * -1);
}

.guide__footnote {
  margin: 18px 0 0;
  font-size: 12px;
  color: rgba(20, 20, 20, 0.6);
  letter-spacing: 0.02em;
}

/* guide 슬라이드(Notice) */
.guide-notice {
  width: min(760px, calc(100vw - 48px));
  margin: 0 auto;
  text-align: center;
}

.guide-notice__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--guide-pill-radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--guide-pill-border);
  box-shadow: var(--guide-pill-shadow);
  letter-spacing: 0.03em;
  font-weight: 700;
  font-size: 20px;
  color: rgba(20, 20, 20, 0.88);
}

.guide-notice__divider {
  width: 1px;
  height: 90px;
  background: rgba(0, 0, 0, 0.35);
  margin: 26px auto 26px;
}

.guide-notice__card {
  width: min(860px, calc(100vw - 48px));
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  padding: 36px 36px 42px;
  text-align: left;
}

.fp-overflow .guide-notice__card {
  border-radius: 0;
}

.guide-notice__header {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.guide-notice__bullet {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #d0d0d0;
}

.guide-notice__title {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: rgba(20, 20, 20, 0.92);
}

.guide-notice__list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(20, 20, 20, 0.7);
  font-size: 14px;
  line-height: 1.9;
}

.guide-notice__list li {
  margin: 10px 0;
}

.guide-notice__list li::before {
  content: "";
  font-weight: 700;
  color: rgba(20, 20, 20, 0.7);
}

