@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* ── 基础重置 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body.dark-glass-theme {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  background-color: #261717;
  color: #f0e6e6;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── 背景光晕 ── */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.orb-red {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #ff0000 0%, transparent 70%);
  top: -120px; left: -100px;
}
.orb-purple {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #8b00ff 0%, transparent 70%);
  top: 10%; right: -120px;
}
.orb-red2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #ff0000 0%, transparent 70%);
  bottom: 5%; left: 30%;
  opacity: 0.2;
}

/* ── 页头 ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(38, 23, 23, 0.75);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  width: 40px;
  height: 40px;
}
.logo-mark {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.logo-text-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff0000, #8b00ff);
  border-radius: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
}

/* ── 导航 nav > ol > li > a ── */
.main-nav {
  flex: 1;
  overflow: hidden;
}
.main-nav ol {
  list-style: none;
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0;
  margin: 0;
}
.main-nav ol::-webkit-scrollbar { display: none; }

.main-nav ol li {
  flex-shrink: 0;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 10px;
  min-height: 44px;
  color: rgba(240, 230, 230, 0.85);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link:focus-visible {
  background: rgba(255, 0, 0, 0.18);
  color: #fff;
  outline: none;
}
.nav-icon {
  font-size: 12px;
  opacity: 0.7;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 12px;
  min-height: 44px;
  color: rgba(240, 230, 230, 0.8);
  text-decoration: none;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.header-contact:hover {
  background: rgba(139, 0, 255, 0.25);
  border-color: rgba(139, 0, 255, 0.5);
  color: #fff;
}
.contact-icon { font-size: 14px; }

/* ── Hero ── */
.hero-section {
  position: relative;
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 60px;
  overflow: hidden;
  z-index: 1;
}
.hero-layout {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 48px 24px 32px;
}

/* 左：错位拼贴图 */
.hero-media {
  flex: 0 0 42%;
  position: relative;
  min-height: 260px;
}
.hero-collage {
  position: relative;
  width: 100%;
  height: 280px;
}
.hero-img, .hero-img-placeholder {
  position: absolute;
  border-radius: 10px;
  object-fit: cover;
}
.hero-img-1, .hero-img-placeholder.hero-img-1 {
  width: 60%;
  height: 210px;
  top: 0; left: 0;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(255,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
}
.hero-img-2, .hero-img-placeholder.hero-img-2 {
  width: 58%;
  height: 200px;
  bottom: 0; right: 0;
  z-index: 3;
  box-shadow: 0 8px 32px rgba(139,0,255,0.35);
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-img-placeholder {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-glow-red {
  position: absolute;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,0,0,0.5) 0%, transparent 70%);
  top: 20px; left: 20px;
  z-index: 1;
  filter: blur(30px);
  pointer-events: none;
}
.hero-glow-purple {
  position: absolute;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(139,0,255,0.5) 0%, transparent 70%);
  bottom: 10px; right: 10px;
  z-index: 1;
  filter: blur(28px);
  pointer-events: none;
}

/* 右：文案右对齐 */
.hero-text {
  flex: 1;
  text-align: right;
  padding-left: 40px;
  position: relative;
}
.hero-slash {
  position: absolute;
  top: -20px; left: -20px;
  width: 4px;
  height: calc(100% + 40px);
  background: linear-gradient(180deg, #ff0000, #8b00ff);
  border-radius: 2px;
  opacity: 0.7;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #ff0000;
  margin-bottom: 10px;
  background: rgba(255,0,0,0.12);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,0,0,0.3);
}
.hero-text h1 {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 30%, #ff9999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 15px;
  color: rgba(240,230,230,0.75);
  margin-bottom: 22px;
  line-height: 1.6;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  min-height: 44px;
  background: linear-gradient(135deg, #ff0000, #c00);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(255,0,0,0.4);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  min-height: 44px;
  background: rgba(255,255,255,0.08);
  color: #f0e6e6;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s, transform 0.2s;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(139,0,255,0.2); transform: translateY(-1px); }
.hero-date {
  display: block;
  font-size: 12px;
  color: rgba(240,230,230,0.45);
  margin-top: 14px;
}

/* 斜切分割线 */
.hero-divider {
  width: 100%;
  line-height: 0;
  margin-top: auto;
}
.hero-divider svg {
  width: 100%;
  height: 40px;
  display: block;
}

/* ── 内容区（aside 左 + 正文右）── */
.content-wrapper-section {
  position: relative;
  z-index: 1;
  padding: 48px 24px 60px;
}
.content-with-aside {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

/* aside 在左 */
.site-aside {
  flex: 0 0 220px;
  position: sticky;
  top: 72px;
}
.aside-glass {
  background: rgba(255,255,255,0.07);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 20px 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.aside-eyebrow {
  display: block;
  font-size: 11px;
  color: #8b00ff;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 6px;
}
.aside-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.aside-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aside-link {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  min-height: 40px;
  font-size: 13.5px;
  color: rgba(240,230,230,0.8);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  line-height: 1.4;
}
.aside-link:hover {
  background: rgba(255,0,0,0.15);
  color: #fff;
}
.aside-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 16px 0 12px;
}
.aside-kw {
  font-size: 12px;
  color: rgba(240,230,230,0.45);
  line-height: 1.6;
}

/* 主内容区 */
.main-content-area {
  flex: 1;
  min-width: 0;
}

/* ── article 内容样式 ── */
.main-content-area article {
  scroll-margin-top: 72px;
  margin-bottom: 48px;
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.main-content-area article::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff0000, #8b00ff);
  opacity: 0.6;
}

.main-content-area h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}
.main-content-area h3 {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin: 20px 0 10px;
}
.main-content-area p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(240,230,230,0.85);
  margin-bottom: 14px;
}
.main-content-area ul, .main-content-area ol {
  padding-left: 20px;
  margin-bottom: 14px;
}
.main-content-area li {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(240,230,230,0.82);
  margin-bottom: 6px;
}
.main-content-area a {
  color: #ff6666;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.main-content-area a:hover { color: #ff9999; }
.main-content-area strong { color: #fff; font-weight: 600; }

/* 问答样式 */
.main-content-area dl dt {
  font-size: 16px;
  font-weight: 600;
  color: #ff9999;
  margin: 16px 0 6px;
}
.main-content-area dl dd {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(240,230,230,0.82);
  margin-left: 0;
  padding-left: 16px;
  border-left: 2px solid rgba(139,0,255,0.4);
}

/* ── 页脚 footer 极简 ── */
.site-footer {
  position: relative;
  z-index: 1;
  background: rgba(20,10,10,0.85);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy {
  font-size: 14px;
  color: rgba(240,230,230,0.55);
}
.footer-copy span { color: rgba(240,230,230,0.75); font-weight: 500; }
.footer-note {
  font-size: 13px;
  color: rgba(240,230,230,0.4);
}
.footer-link {
  color: rgba(240,230,230,0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
  display: inline-block;
  padding: 4px 2px;
  min-height: 40px;
  line-height: 32px;
}
.footer-link:hover { color: #ff6666; }

/* ── 回顶按钮 ── */
.scroll-top-wrap {
  position: fixed;
  bottom: 28px;
  right: 22px;
  z-index: 200;
}
.scroll-top-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff0000, #8b00ff);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,0,0,0.4);
  transition: opacity 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* ── Scroll Reveal 动效 ── */
@media (prefers-reduced-motion: no-preference) {
  .main-content-area article {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .main-content-area article.revealed {
    opacity: 1;
    transform: none;
  }
  .aside-glass {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
  }
  .aside-glass.revealed {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .main-content-area article,
  .aside-glass {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── 响应式 ── */
@media (max-width: 960px) {
  .hero-layout {
    flex-direction: column;
    padding: 36px 20px 24px;
    gap: 28px;
  }
  .hero-media { flex: none; width: 100%; min-height: 200px; }
  .hero-collage { height: 220px; }
  .hero-text {
    text-align: right;
    padding-left: 0;
  }
  .hero-slash { display: none; }
  .content-with-aside {
    flex-direction: column;
  }
  .site-aside {
    flex: none;
    width: 100%;
    position: static;
  }
  .aside-list { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .aside-link { font-size: 13px; padding: 8px 10px; min-height: 40px; }
}

@media (max-width: 600px) {
  .header-inner { padding: 0 12px; gap: 8px; }
  .nav-link {
    font-size: 12px;
    padding: 12px 7px;
    min-height: 44px;
    gap: 3px;
  }
  .nav-icon { display: none; }
  .contact-label { display: none; }
  .header-contact { padding: 12px 12px; min-height: 44px; }
  .hero-layout { padding: 28px 16px 20px; }
  .hero-text h1 { font-size: 22px; }
  .hero-cta-row { gap: 8px; }
  .btn-primary, .btn-ghost { padding: 12px 18px; font-size: 14px; min-height: 44px; }
  .content-wrapper-section { padding: 28px 14px 40px; }
  .main-content-area article { padding: 22px 16px; }
  .main-content-area h2 { font-size: 19px; }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 16px;
  }
  .footer-note {
    font-size: 13px;
    line-height: 2;
  }
  .footer-link {
    padding: 6px 2px;
    min-height: 44px;
    line-height: 32px;
  }
}

@media (max-width: 375px) {
  .main-nav ol { gap: 2px; }
  .nav-link { padding: 12px 6px; font-size: 11.5px; min-height: 44px; }
}
