/* =========================================================
  BLACK DESERT — Cinematic Game Case Study — v3
========================================================= */
.blackdesert-case {
  --bd-gold: #e6b450;
  --bd-gold-soft: #f3d489;
  --bd-crimson: #b6332f;
  --bd-ink: #050405;
  --bd-display: "Cinzel", serif;
  position: relative;
  background: #050405;
  color: #f3ece0;
  font-family: var(--font);
  min-height: 100vh;
}

/* ---- Fixed cinematic atmosphere ---- */
.bd-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.bd-atmosphere-img {
  position: absolute;
  inset: -6%;
  background-image: url("../images/blackdesert/02_bg_mid_door.webp");
  background-size: cover;
  background-position: center;
  filter: brightness(0.42) saturate(1.05);
  transform: translateY(var(--atmos-y, 0));
  will-change: transform;
}
.bd-atmosphere-fog {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(230,180,80,0.18), transparent 55%),
    radial-gradient(100% 70% at 50% 120%, rgba(120,20,18,0.22), transparent 60%);
  mix-blend-mode: screen;
  animation: bd-fog 16s ease-in-out infinite alternate;
}
@keyframes bd-fog {
  from { opacity: 0.7; transform: translateX(-2%); }
  to   { opacity: 1;   transform: translateX(2%); }
}
.bd-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,4,5,0.55) 0%, rgba(5,4,5,0.2) 30%, rgba(5,4,5,0.78) 100%),
    radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(5,4,5,0.92) 100%);
}
.bd-embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---- Scroll progress / cursor ---- */
.blackdesert-case .scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: rgba(255,255,255,0.08); z-index: 55;
}
.blackdesert-case .scroll-progress::before {
  content: ""; display: block; width: 0; height: 100%;
  background: linear-gradient(90deg, var(--bd-crimson), var(--bd-gold), var(--bd-gold-soft));
  transform-origin: left;
}
.blackdesert-case .cursor-dot,
.blackdesert-case .cursor-ring {
  position: fixed; z-index: 999; pointer-events: none; opacity: 0;
}
.blackdesert-case .cursor-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--bd-gold); transform: translate(-50%, -50%);
}
.blackdesert-case .cursor-ring {
  width: 44px; height: 44px; border: 1.5px solid rgba(230,180,80,0.55);
  border-radius: 50%; transform: translate(-50%, -50%);
}

.blackdesert-main { position: relative; z-index: 1; }

/* ---- Side section index ---- */
.bd-section-index {
  position: fixed; right: 26px; top: 50%;
  transform: translateY(-50%); display: grid; gap: 16px; z-index: 30;
}
.bd-section-index a {
  display: flex; align-items: center; justify-content: center;
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(230,180,80,0.25); position: relative;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.bd-section-index a em {
  width: 6px; height: 6px; border-radius: 50%; background: transparent;
  transition: background 0.25s ease, transform 0.25s ease;
}
.bd-section-index a:hover { background: rgba(230,180,80,0.18); box-shadow: 0 0 14px rgba(230,180,80,0.5); }
.bd-section-index a:hover em { background: var(--bd-gold); }
.bd-section-index a.is-active {
  background: var(--bd-gold);
  border-color: var(--bd-gold);
  box-shadow: 0 0 0 4px rgba(230,180,80,0.18), 0 0 16px rgba(230,180,80,0.75);
  transform: scale(1.15);
}
.bd-section-index a.is-active em { background: #1a1106; transform: scale(0.9); }
.bd-section-index a span {
  position: absolute; right: 150%; white-space: nowrap;
  color: var(--bd-gold-soft); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(6px);
}
.bd-section-index a:hover span,
.bd-section-index a.is-active span { opacity: 1; transform: translateX(0); }

/* =========================================================
  HERO
========================================================= */
.bd-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.bd-hero-stage { position: absolute; inset: 0; z-index: 0; }
.bd-hero-layer { position: absolute; inset: -4%; will-change: transform; }
.bd-hero-key {
  background-image:
    linear-gradient(90deg, rgba(5,4,5,0.85) 0%, rgba(5,4,5,0.35) 45%, rgba(5,4,5,0.2) 100%),
    url("../images/blackdesert/hero-poster.jpg");
  background-size: cover;
  background-position: center 38%;
}
.bd-hero-eclipse {
  position: absolute;
  top: 6%; left: 50%; width: 360px; height: 360px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 38%, rgba(230,90,40,0.55) 46%, rgba(180,40,30,0.18) 60%, transparent 72%);
  filter: blur(2px);
  animation: bd-pulse 6s ease-in-out infinite;
}
@keyframes bd-pulse {
  0%, 100% { opacity: 0.65; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;    transform: translateX(-50%) scale(1.06); }
}
.bd-hero-grain {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,4,5,0.95) 100%);
}

.bd-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 140px clamp(20px, 5vw, 40px) 120px;
}

.bd-hero-inner > * { max-width: 760px; }

.bd-hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 26px; padding: 9px 16px;
  border: 1px solid rgba(230,180,80,0.4);
  border-radius: 999px;
  color: var(--bd-gold-soft);
  font-size: 12px; letter-spacing: 0.24em; font-weight: 700;
  background: rgba(20,12,6,0.45); backdrop-filter: blur(6px);
}
.bd-rune { color: var(--bd-gold); font-size: 0.85em; }

.bd-hero-title {
  margin: 0; font-family: var(--bd-display); font-weight: 700;
  font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02;
  letter-spacing: 0.01em; text-transform: none;
}
.bd-hero-title .bd-line { display: block; }
.bd-hero-title .bd-line-em {
  background: linear-gradient(100deg, var(--bd-gold-soft), var(--bd-gold) 45%, #b07a2c 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(230,180,80,0.25);
}
.bd-hero-sub {
  margin: 24px 0 0; font-size: clamp(16px, 2vw, 22px);
  color: var(--bd-gold-soft); letter-spacing: 0.02em; font-weight: 600;
}
.bd-hero-lead {
  margin: 18px 0 0; max-width: 580px;
  color: rgba(243,236,224,0.82); font-size: 16px; line-height: 1.95;
}
.bd-hero-lead em { color: var(--bd-gold-soft); font-style: normal; font-weight: 700; }

.bd-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.bd-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.bd-btn .material-symbols-rounded { font-size: 20px; }
.bd-btn-primary {
  color: #1a1106;
  background: linear-gradient(100deg, var(--bd-gold-soft), var(--bd-gold) 60%, #c98f30);
  box-shadow: 0 14px 40px rgba(230,180,80,0.35), inset 0 1px 0 rgba(255,255,255,0.5);
}
.bd-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 60px rgba(230,180,80,0.5); }
.bd-btn-ghost {
  color: var(--bd-gold-soft);
  border: 1px solid rgba(230,180,80,0.5);
  background: rgba(20,12,6,0.3); backdrop-filter: blur(6px);
}
.bd-btn-ghost:hover { transform: translateY(-3px); background: rgba(230,180,80,0.12); }

.bd-hero-meta {
  display: flex; flex-wrap: wrap; gap: 36px;
  margin: 46px 0 0; padding: 0; list-style: none;
  border-top: 1px solid rgba(230,180,80,0.18); padding-top: 26px;
}
.bd-hero-meta li {
  display: flex; flex-direction: column; gap: 6px;
  color: rgba(243,236,224,0.9); font-size: 14px;
}
.bd-hero-meta b {
  color: var(--bd-gold); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 700;
}

.bd-scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--bd-gold-soft); font-size: 10px; letter-spacing: 0.3em; z-index: 2;
}
.bd-scroll-cue span {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--bd-gold), transparent);
  position: relative; overflow: hidden;
}
.bd-scroll-cue span::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--bd-gold-soft); animation: bd-cue 1.8s ease-in-out infinite;
}
@keyframes bd-cue { 0% { top: -50%; } 100% { top: 110%; } }

/* =========================================================
  SECTION SHELL
========================================================= */
.bd-section { position: relative; }
.bd-block {
  width: min(100%, 1140px); margin: 0 auto;
  padding: clamp(80px, 11vw, 100px) clamp(20px, 5vw, 40px);
}

/* ---- Editorial lede (replaces PPT-style chapter header) ---- */
.bd-display {
  margin: 0; font-family: var(--bd-display); font-weight: 600;
  font-size: clamp(26px, 3.4vw, 42px); line-height: 1.18; letter-spacing: 0.005em;
  color: #f6efe2;
}
.bd-mark {
  display: block; margin-bottom: 24px;
  color: var(--bd-gold); font-size: 12px; letter-spacing: 0.26em;
  text-transform: uppercase; font-weight: 700;
}
.bd-lede {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: 56px; row-gap: 0; align-items: start; margin-bottom: 64px;
}
.bd-lede > .bd-mark { grid-column: 1 / -1; margin-bottom: 24px; }
.bd-lede-body { align-self: start; }
.bd-lede-body p { margin: 0 0 16px; font-size: 16px; }
.bd-lede-body p:last-child { margin-bottom: 0; }
.bd-lede:not(:has(.bd-lede-body)) { display: block; }
.bd-lede:not(:has(.bd-lede-body)) .bd-display { max-width: 18ch; }

.bd-section p { color: rgba(243,236,224,0.82); line-height: 1.95; }
.bd-section strong { color: var(--bd-gold-soft); }

.bd-list-label {
  margin: 0 0 28px; color: rgba(243,236,224,0.5);
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
}

/* ---- Wide editorial figure ---- */
.bd-wide-figure {
  margin: 0 0 88px; position: relative; border-radius: 4px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.bd-wide-figure img { width: 100%; display: block; aspect-ratio: 21 / 9; object-fit: cover; }
.bd-wide-figure figcaption {
  position: absolute; left: 24px; bottom: 20px;
  color: var(--bd-gold-soft); font-size: 13px; letter-spacing: 0.08em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

/* ---- Numbered editorial rows (problems / solutions) ---- */
.bd-row {
  position: relative;
  display: grid; grid-template-columns: 88px minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 28px; align-items: start;
  padding: 30px 0; border-top: 1px solid rgba(230,180,80,0.14);
  transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.bd-row:last-child { border-bottom: 1px solid rgba(230,180,80,0.14); }
.bd-row:hover { border-color: rgba(230,180,80,0.34); background-color: rgba(230,180,80,0.035); }
.bd-row-no {
  font-family: var(--bd-display); font-weight: 600; font-size: 22px;
  color: var(--bd-gold);
}
.bd-row-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(230,180,80,0.28);
  background:
    radial-gradient(circle at 35% 25%, rgba(230,180,80,0.24), transparent 58%),
    rgba(230,180,80,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 10px 24px rgba(0,0,0,0.28);
  font-size: 26px;
  color: var(--bd-gold-soft);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.bd-row h4 { margin: 0; font-size: clamp(18px, 2.2vw, 24px); color: #f6efe2; line-height: 1.3; }
.bd-row p { margin: 0; font-size: 15px; color: rgba(243,236,224,0.74); }
.bd-row:has(.bd-row-icon) {
  grid-template-columns: 64px 44px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 12px;
  padding: 26px 24px;
  border: 1px solid rgba(230,180,80,0.14);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(24,16,9,0.42), rgba(10,8,6,0.24));
  overflow: hidden;
}
.bd-row:has(.bd-row-icon) > div {
  display: grid;
  gap: 8px;
}
.bd-row:has(.bd-row-icon)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(230,180,80,0.16), transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.bd-row:has(.bd-row-icon):hover {
  transform: translateY(-5px);
  border-color: rgba(230,180,80,0.38);
  background: linear-gradient(145deg, rgba(30,19,10,0.6), rgba(12,9,7,0.34));
  box-shadow: 0 22px 46px rgba(0,0,0,0.34), 0 0 0 1px rgba(230,180,80,0.08);
}
.bd-row:has(.bd-row-icon):hover::before { opacity: 1; }
.bd-row:has(.bd-row-icon):hover .bd-row-icon {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(230,180,80,0.58);
  background:
    radial-gradient(circle at 35% 25%, rgba(246,218,142,0.34), transparent 58%),
    rgba(230,180,80,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 14px 30px rgba(230,180,80,0.18);
}

/* ---- Project info ---- */
.bd-info-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 30px; align-items: stretch; }
.bd-card {
  padding: 40px; border-radius: 22px;
  border: 1px solid rgba(230,180,80,0.2);
  background: linear-gradient(160deg, rgba(24,16,9,0.78), rgba(10,8,6,0.78));
  backdrop-filter: blur(4px);
}
.bd-card-title { margin: 0 0 24px; font-size: 20px; color: #f6efe2; display: flex; align-items: center; gap: 10px; }
.bd-card dl { display: grid; gap: 18px; margin: 0; }
.bd-card dt { color: var(--bd-gold); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.bd-card dd { margin: 6px 0 0; color: rgba(243,236,224,0.92); font-size: 16px; line-height: 1.7; }
.bd-stack-label { margin: 26px 0 14px; color: var(--bd-gold); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.bd-tools { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.bd-tools li {
  padding: 7px 14px; border-radius: 999px; font-size: 13px;
  color: var(--bd-gold-soft); border: 1px solid rgba(230,180,80,0.3);
  background: rgba(230,180,80,0.06);
}

.bd-sword-card {
  margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 36px; border-radius: 22px; text-align: center;
  border: 1px solid rgba(230,180,80,0.2);
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(230,120,40,0.18), transparent 70%),
    linear-gradient(160deg, rgba(20,12,8,0.85), rgba(8,6,5,0.9));
  perspective: 800px;
}
.bd-sword-card img {
  width: auto; height: 280px; max-width: 70%;
  filter: drop-shadow(0 0 28px rgba(230,120,40,0.45));
  animation: bd-float 5s ease-in-out infinite; will-change: transform;
  transition: transform 0.2s ease;
}
@keyframes bd-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
.bd-sword-card figcaption {
  margin-top: 22px; font-family: var(--bd-display); font-size: 16px;
  color: var(--bd-gold-soft); line-height: 1.6;
}

/* ---- Goals (editorial numbered list) ---- */
.bd-goal-list {
  list-style: none; margin: 0; padding: 0;
  counter-reset: goal;
}
.bd-goal-list li {
  counter-increment: goal;
  display: grid; grid-template-columns: 88px minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 28px; align-items: baseline;
  padding: 32px 0; border-top: 1px solid rgba(230,180,80,0.14);
  transition: padding-left 0.35s ease;
}
.bd-goal-list li:last-child { border-bottom: 1px solid rgba(230,180,80,0.14); }
.bd-goal-list li:hover { padding-left: 12px; }
.bd-goal-list li::before {
  content: "0" counter(goal);
  font-family: var(--bd-display); font-weight: 600; font-size: 22px;
  color: transparent; -webkit-text-stroke: 1px rgba(230,180,80,0.65);
}
.bd-goal-list strong { font-size: clamp(18px, 2.2vw, 24px); color: var(--bd-gold-soft); line-height: 1.3; }
.bd-goal-list span { font-size: 15px; color: rgba(243,236,224,0.74); line-height: 1.85; }

/* ---- Insight pull quote ---- */
.bd-pull {
  max-width: 880px; margin: 0 0 80px; padding-left: 0;
}
.bd-pull-pre { margin: 0 0 18px; font-size: 17px; color: rgba(243,236,224,0.6); }
.bd-pull-quote {
  margin: 0 0 22px; padding: 0;
  font-family: var(--bd-display); font-weight: 600;
  font-size: clamp(26px, 4vw, 50px); line-height: 1.28;
  color: var(--bd-gold-soft);
  text-shadow: 0 0 60px rgba(230,180,80,0.22);
}
.bd-pull-post { margin: 0; font-size: 17px; max-width: 620px; }
.bd-solution-rows { margin-top: 8px; }

/* ---- Design system ---- */
.bd-system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 26px; }
.bd-system-grid h3 { margin: 0 0 18px; font-size: 16px; color: var(--bd-gold); letter-spacing: 0.04em; }
.bd-tag-list, .bd-swatch-list, .bd-type-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bd-tag-list li {
  padding: 11px 16px; border-radius: 12px; font-size: 15px;
  border: 1px solid rgba(230,180,80,0.18); background: rgba(230,180,80,0.05);
  color: rgba(243,236,224,0.9);
}
.bd-swatch-list li { display: flex; align-items: center; gap: 12px; color: rgba(243,236,224,0.9); font-size: 15px; }
.bd-swatch-list i {
  width: 22px; height: 22px; border-radius: 7px; background: var(--c);
  border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}
.bd-type-list li {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px;
  border-radius: 12px; border: 1px solid rgba(230,180,80,0.18); background: rgba(230,180,80,0.05);
}
.bd-type-list span { font-size: 18px; color: #f6efe2; }
.bd-type-list em { font-style: normal; font-size: 12px; color: rgba(243,236,224,0.55); }
.bd-type-list .bd-cinzel span { font-family: var(--bd-display); color: var(--bd-gold-soft); }

.bd-system-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bd-system-cards article {
  padding: 32px; border-radius: 18px;
  border: 1px solid rgba(230,180,80,0.16);
  background: linear-gradient(160deg, rgba(22,15,9,0.6), rgba(10,8,6,0.6));
}
.bd-system-cards h4 { margin: 0 0 18px; font-size: 17px; color: var(--bd-gold-soft); display: flex; align-items: center; gap: 8px; }
.bd-system-cards ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.bd-system-cards li {
  position: relative; padding-left: 20px; color: rgba(243,236,224,0.84); font-size: 15px; line-height: 1.6;
}
.bd-system-cards li::before { content: "◆"; position: absolute; left: 0; color: rgba(230,180,80,0.7); font-size: 9px; top: 5px; }

/* ---- Classes ---- */
.bd-class-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bd-class-card {
  position: relative; min-height: 380px; border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; isolation: isolate;
  border: 1px solid rgba(230,180,80,0.14);
  background-size: cover;
  background-position: center top;
  filter: saturate(0.85) brightness(0.88);
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s ease, border-color 0.4s ease, filter 0.4s ease;
}
.bd-class-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5,4,5,0.55) 62%, rgba(5,4,5,0.95) 100%);
}
.bd-class-card > * { position: relative; z-index: 1; }
.bd-class-card:hover {
  transform: translateY(-8px); border-color: rgba(230,180,80,0.55);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6), 0 0 0 1px rgba(230,180,80,0.2);
  filter: saturate(1.1) brightness(1);
}
.bd-class-meta span {
  display: inline-block; color: var(--bd-gold); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; margin-bottom: 6px;
}
.bd-class-meta strong {
  display: block; font-family: var(--bd-display); font-weight: 600;
  font-size: 26px; color: #f6efe2; line-height: 1.1;
}
.bd-class-card p {
  margin: 14px 0 0; font-size: 14px; color: rgba(243,236,224,0.85); line-height: 1.6;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}
.bd-class-card:hover p { max-height: 80px; opacity: 1; }

/* ---- Result ---- */
.bd-result-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.bd-result-shot {
  margin: 0; position: relative; border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(230,180,80,0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.bd-result-shot img { width: 100%; display: block; transition: transform 0.6s ease; }
.bd-result-shot:hover img { transform: scale(1.04); }
.bd-result-shot figcaption {
  position: absolute; left: 18px; bottom: 16px; right: 18px;
  color: var(--bd-gold-soft); font-size: 14px; font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}
.bd-result-copy {
  padding: 36px; border-radius: 18px;
  border: 1px solid rgba(230,180,80,0.22);
  background: linear-gradient(160deg, rgba(24,16,9,0.8), rgba(10,8,6,0.85));
  display: flex; flex-direction: column; justify-content: center;
}
.bd-result-copy strong {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-family: var(--bd-display); font-size: 22px; color: var(--bd-gold-soft);
}
.bd-result-copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.bd-result-copy li {
  position: relative; padding-left: 22px; color: rgba(243,236,224,0.88); font-size: 15px; line-height: 1.6;
}
.bd-result-copy li::before { content: "◆"; position: absolute; left: 0; top: 4px; color: var(--bd-gold); font-size: 9px; }

/* ---- Review ---- */
.bd-section--review {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}
.bd-section--review::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 50%, rgba(230,180,80,0.07), transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 80%, rgba(182,51,47,0.08), transparent 55%);
  pointer-events: none;
}
.bd-section--review .bd-mark { margin-bottom: 40px; }

.bd-review-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* 왼쪽 */
.bd-review-left { position: sticky; top: 120px; }
.bd-review-title {
  font-size: clamp(32px, 4vw, 56px) !important;
  line-height: 1.1 !important;
  margin-bottom: 36px !important;
}
.bd-review-em {
  font-style: normal;
  background: linear-gradient(100deg, var(--bd-gold-soft), var(--bd-gold) 50%, #b07a2c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bd-review-deco {
  display: flex; align-items: center; gap: 14px;
  color: rgba(230,180,80,0.4); font-size: 10px; letter-spacing: 0.2em;
}
.bd-rune-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(230,180,80,0.4), transparent);
}

/* 오른쪽 */
.bd-review-right { padding-top: 8px; }

.bd-review-quote {
  position: relative;
  margin: 0 0 36px; padding: 28px 28px 28px 36px;
  border-radius: 0 16px 16px 0;
  border-left: 3px solid var(--bd-gold);
  background: linear-gradient(100deg, rgba(230,180,80,0.1) 0%, rgba(230,180,80,0.03) 100%);
  font-family: var(--bd-display);
  font-size: clamp(15px, 1.8vw, 20px);
  line-height: 1.65; color: var(--bd-gold-soft);
}
.bd-review-quote::before {
  content: "\201C";
  position: absolute; top: -10px; left: 14px;
  font-size: 64px; line-height: 1; font-family: var(--bd-display);
  color: rgba(230,180,80,0.25);
}

.bd-review-right p {
  font-size: 15.5px; line-height: 1.9;
  color: rgba(243,236,224,0.78);
  margin: 0 0 18px;
}

.bd-review-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 28px 0 36px;
}
.bd-review-tags li {
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(230,180,80,0.3);
  background: rgba(230,180,80,0.06);
  color: var(--bd-gold-soft);
  font-size: 12px; letter-spacing: 0.08em;
}

.bd-review-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.bd-back-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Reveal ---- */
.bd-reveal, .fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.85s cubic-bezier(.2,.7,.2,1), transform 0.85s cubic-bezier(.2,.7,.2,1);
}
.bd-reveal.is-visible, .fade-up.is-visible { opacity: 1; transform: none; }

/* ---- Scroll to top ---- */
.bd-top-btn {
  position: fixed;
  right: clamp(18px, 3vw, 36px);
  bottom: clamp(18px, 3vw, 36px);
  z-index: 60;
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  color: #1a1106;
  background: linear-gradient(100deg, var(--bd-gold-soft), var(--bd-gold) 60%, #c98f30);
  border: 1px solid rgba(230,180,80,0.5);
  box-shadow: 0 14px 36px rgba(0,0,0,0.5), 0 0 18px rgba(230,180,80,0.35);
  opacity: 0; pointer-events: none;
  transform: translateY(14px) scale(0.94);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.bd-top-btn.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.bd-top-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 20px 46px rgba(0,0,0,0.55), 0 0 26px rgba(230,180,80,0.55); }
.bd-top-btn .material-symbols-rounded { font-size: 24px; }

/* =========================================================
  RESPONSIVE
========================================================= */
@media (max-width: 1080px) {
  .bd-section-index { display: none; }
  .bd-lede { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .bd-info-grid,
  .bd-system-grid,
  .bd-system-cards,
  .bd-result-grid { grid-template-columns: 1fr; }
  .bd-class-grid { grid-template-columns: repeat(2, 1fr); }
  .bd-class-card { min-height: 300px; }
  .bd-class-card p { max-height: 80px; opacity: 1; }
  .bd-review-layout { grid-template-columns: 1fr; gap: 48px; }
  .bd-review-left { position: static; }
}

@media (max-width: 680px) {
  .bd-hero-inner { padding: 120px 22px 100px; }
  .bd-hero-meta { gap: 22px; }
  .bd-class-grid { grid-template-columns: 1fr; }
  .bd-card, .bd-result-copy, .bd-sword-card { padding: 26px; }
  .bd-sword-card img { height: 220px; }
  .bd-row,
  .bd-goal-list li {
    grid-template-columns: 48px 1fr; gap: 6px 18px;
  }
  .bd-row p,
  .bd-goal-list span { grid-column: 2; }
  .bd-row:has(.bd-row-icon) {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px 16px;
    padding: 22px 18px;
  }
  .bd-row:has(.bd-row-icon) .bd-row-no {
    grid-column: 1;
    grid-row: 1;
  }
  .bd-row:has(.bd-row-icon) .bd-row-icon {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 23px;
  }
  .bd-row:has(.bd-row-icon) > div {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .bd-wide-figure img { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  .bd-atmosphere-fog, .bd-hero-eclipse, .bd-sword-card img, .bd-scroll-cue span::after { animation: none; }
}
