/* =========================================================================
   /copytrade/ — OKX 카피트레이딩 랜딩 전용 스타일 (클래스 접두 ct-)
   - 히어로 뒤 파티클 캔버스(.ct-scene)는 assets/js/copytrade-scene.js 가 그린다.
     JS·WebGL 이 없거나 저사양이면 캔버스 없이 정적 배경(html.ct-no-webgl)만 남고, 글은 어떤 상태에서도 그대로 보인다.
   - 히어로 아래 섹션(대표 이력 → 실전 기록 → 실제 계좌 결과 → 운용 원칙 → 참여 방법 → 미팅)은
     카드 레일·분할선 헤드라인·대형 숫자와 계좌 대시보드·구분선 컬럼으로 짠다. 스크롤 리빌은 JS 가
     html.ct-rv-on 을 붙였을 때만 숨기므로 JS 가 없거나 reduced-motion 이면 처음부터 다 보인다.
   - 롤백은 copytrade/index.php 의 <link> 한 줄.
   ========================================================================= */

:root {
  --ct-nav-h: 58px;            /* include/main-nav.php 데스크톱 내비 높이 */
  --ct-up: #3182f6;
  --ct-cyan: #6dd5ff;
  --ct-bg: #05070d;
  --ct-bg-2: #080b13;
  --ct-card: #0b1019;
  --ct-line: #1d2533;
  --ct-line-2: #2c3647;
  --ct-text: #eef2f8;
  --ct-sub: #aab4c2;
  --ct-mute: #8b95a1;
  --ct-ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 768px) {
  :root { --ct-nav-h: 70px; } /* main-nav.php 모바일(13px 18px 패딩 + 44px 버튼) */
}

/* 공용 CSS의 html scroll-padding-top(120px)과 섹션 scroll-margin-top이 겹치지 않게 */
:root:has(.ct-body) { scroll-padding-top: 0; }

/* .sub-body 의 60/100px 패딩을 없애고(히어로가 내비 영역을 패딩으로 품는다),
   body overflow-x:hidden 대신 clip 으로 가로 넘침만 자른다(스크롤 컨테이너를 만들지 않는다) */
body.ct-body {
  padding-top: 0;
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); /* 하단 고정 미팅 바가 푸터 끝을 가리지 않게 */
  overflow-x: clip;
  overflow-y: visible;
  background: var(--ct-bg);
}
@supports not (overflow: clip) {
  body.ct-body { overflow-x: visible; }
}

.ct-page {
  color: var(--ct-text);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  background: var(--ct-bg);
}
.ct-page p,
.ct-page h1,
.ct-page h2,
.ct-page h3,
.ct-page ul,
.ct-page ol,
.ct-page figure { margin: 0; }

.ct-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 769px) {
  .ct-wrap { padding: 0 32px; }
}

#ct-hero,
#ct-founder,
#ct-story,
#ct-result,
#ct-strategy,
#ct-join,
#ct-risk { scroll-margin-top: calc(var(--ct-nav-h) + 16px); }

.ct-sec { padding: 88px 0; }
@media (max-width: 768px) {
  .ct-sec { padding: 64px 0; }
}

.ct-eyebrow {
  margin-bottom: 14px !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ct-cyan);
}
.ct-h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ct-text);
}
.ct-sub {
  margin-top: 14px !important;
  max-width: 640px;
  font-size: 16px;
  color: var(--ct-sub);
}
@media (max-width: 768px) {
  .ct-h2 { font-size: 28px; }
  .ct-sub { font-size: 15px; }
}

/* ---------- 버튼 ---------- */
.ct-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ct-ease), border-color 0.2s var(--ct-ease), color 0.2s var(--ct-ease), transform 0.2s var(--ct-ease);
}
.ct-cta--primary {
  background: var(--ct-up);
  color: #fff;
  box-shadow: 0 10px 30px rgba(49, 130, 246, 0.28);
}
.ct-cta--primary:hover {
  background: #4a93ff;
  color: #fff;
  transform: translateY(-1px);
}
.ct-cta--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--ct-line-2);
  color: var(--ct-text);
}
.ct-cta--ghost:hover {
  border-color: #46536a;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* 공용 CSS의 *{outline:none!important} 보완 */
.ct-cta:focus-visible,
.ct-copy:focus-visible,
.ct-link:focus-visible,
.ct-bar a:focus-visible {
  box-shadow: 0 0 0 3px rgba(109, 213, 255, 0.7);
}

/* ---------- 히어로 ----------
   전체 화면 높이. 글은 왼쪽, 파티클 띠는 오른쪽 위로 흘러간다(캔버스는 히어로 안에만, 아래 섹션은 깨끗하게).
   캔버스가 뜨기 전·정적 폴백에서도 같은 자리에 은은한 빛이 깔려 있어 화면이 비어 보이지 않는다. */
.ct-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--ct-nav-h) + 40px) 20px 64px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 60% at 80% 38%, rgba(49, 130, 246, 0.12), transparent 70%),
    radial-gradient(ellipse 45% 40% at 8% 100%, rgba(109, 213, 255, 0.05), transparent 70%),
    var(--ct-bg);
}
/* 아래 섹션으로 자연스럽게 이어지도록 바닥을 배경색으로 덮는다 */
.ct-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 120px;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0), var(--ct-bg));
  pointer-events: none;
}
.ct-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--ct-ease);
}
.ct-scene.is-on { opacity: 1; }
html.ct-no-webgl .ct-scene { display: none; }
/* 정적 폴백: 파티클 띠가 있을 오른쪽 위에 빛을 조금 더 */
html.ct-no-webgl .ct-hero {
  background:
    radial-gradient(ellipse 42% 30% at 78% 34%, rgba(109, 213, 255, 0.10), transparent 70%),
    radial-gradient(ellipse 60% 55% at 82% 40%, rgba(49, 130, 246, 0.18), transparent 72%),
    radial-gradient(ellipse 45% 40% at 8% 100%, rgba(109, 213, 255, 0.06), transparent 70%),
    var(--ct-bg);
}
.ct-hero .ct-wrap { position: relative; z-index: 2; padding: 0; }
@media (min-width: 769px) {
  .ct-hero { padding-left: 32px; padding-right: 32px; }
}
.ct-hero-copy { max-width: 640px; }
.ct-hero-title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.16;
  color: #fff;
  text-shadow: 0 2px 24px rgba(5, 7, 13, 0.6);
}
.ct-hero-lead {
  margin-top: 24px !important;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ct-sub);
  text-shadow: 0 1px 12px rgba(5, 7, 13, 0.8);
}
.ct-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
@media (min-width: 901px) {
  .ct-hero-title { font-size: 60px; }
  .ct-hero-lead { font-size: 17px; }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .ct-hero-copy { max-width: 560px; }
  .ct-hero-title { font-size: 50px; }
  .ct-hero-lead { font-size: 16px; }
}
@media (min-width: 901px) and (max-width: 1023px) {
  .ct-hero-title { font-size: 44px; }
}
/* 좁은 화면: 글은 위에서 시작하고, 아래 빈 자리로 파티클 띠가 흐른다(띠 위치는 JS가 글 아래 여백에 맞춘다) */
@media (max-width: 900px) {
  .ct-hero {
    align-items: flex-start;
    padding-top: calc(var(--ct-nav-h) + 40px);
    padding-bottom: 48px;
  }
  .ct-hero-title { font-size: 48px; }
}
@media (max-width: 768px) {
  .ct-hero { padding-top: calc(var(--ct-nav-h) + 28px); padding-bottom: 40px; }
  .ct-hero-title { font-size: 40px; }
  .ct-hero-lead { margin-top: 16px !important; font-size: 16px; }
  .ct-hero-actions { margin-top: 24px; }
}
@media (max-width: 480px) {
  .ct-hero { padding-top: calc(var(--ct-nav-h) + 20px); padding-bottom: 32px; }
  .ct-hero .ct-eyebrow { margin-bottom: 8px !important; font-size: 12px; }
  .ct-hero-title { font-size: 32px; line-height: 1.22; }
  .ct-hero-lead { margin-top: 12px !important; font-size: 15px; line-height: 1.6; }
  .ct-hero-actions { gap: 8px; margin-top: 20px; }
  .ct-hero-actions .ct-cta { flex: 1 1 100%; min-height: 48px; }
}

/* ---------- 스크롤 리빌 ----------
   copytrade.js 가 reduced-motion 이 아닐 때만 html.ct-rv-on 을 붙인다.
   화면 아래 8% 선을 넘은 요소는 .is-in 을 받아 제자리로 온다(스크롤마다 위치 검사). --ct-d 는 같은 줄 안의 순서(지연). */
.ct-rv {
  transition: opacity 0.9s var(--ct-ease), transform 0.9s var(--ct-ease);
  transition-delay: calc(var(--ct-d, 0) * 90ms);
}
html.ct-rv-on .ct-rv:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
}

/* ---------- 대표 이력: 카드 레일 + 대형 배경 타이포 ----------
   1025px 이상은 카드 3장이 글 폭을 나눠 채우고, 그 아래는 가로로 넘겨 보는 레일(scroll-snap)이다. */
.ct-founder {
  position: relative;
  padding-top: 112px;
  background: linear-gradient(180deg, var(--ct-bg) 0%, #0a0d18 100%);
}
.ct-founder-inner {
  position: relative;
  padding-bottom: clamp(96px, 12vw, 176px);
  overflow: hidden;
}
.ct-founder-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
}
.ct-founder-head .ct-sub { max-width: 420px; margin-top: 0 !important; }
.ct-rail {
  position: relative;
  z-index: 2;
  margin-top: 44px;
  padding-bottom: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--ct-line-2) transparent;
  border-radius: 4px;
}
.ct-rail:focus-visible { box-shadow: inset 0 0 0 2px rgba(109, 213, 255, 0.6); }
.ct-rail-track {
  display: flex;
  gap: 20px;
  width: max-content;
  margin: 0 !important;
  padding: 0 20px !important;
}
@media (min-width: 769px) {
  /* 레일의 첫 카드를 .ct-wrap 글 시작선에 맞춘다(패딩 % 는 레일 폭 기준) */
  .ct-rail-track { padding: 0 max(32px, calc((100% - 1200px) / 2 + 32px)) !important; }
  .ct-rail { scroll-padding-inline: max(32px, calc((100% - 1200px) / 2 + 32px)); }
}
.ct-card {
  position: relative;
  flex: 0 0 auto;
  width: 340px;
  height: clamp(320px, 46vh, 440px);
  border: 1px solid var(--ct-line);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(49, 130, 246, 0.16), transparent 70%),
    linear-gradient(180deg, #0f1628, #090d18);
  overflow: hidden;
  scroll-snap-align: start;
  isolation: isolate;
}
.ct-card-visual {
  position: absolute;
  inset: 0 0 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-card-visual img {
  display: block;
  transition: transform 0.8s var(--ct-ease);
}
.ct-card:hover .ct-card-visual img { transform: scale(1.05); }
.ct-card--logo .ct-card-visual img { width: auto; max-width: 62%; height: auto; max-height: 64px; }
.ct-card--book .ct-card-visual { inset: 28px 0 112px; }
.ct-card--book .ct-card-visual img {
  width: auto;
  height: 100%;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.55));
}
.ct-card--photo .ct-card-visual { inset: 0; }
.ct-card--photo .ct-card-visual img { width: 100%; height: 100%; object-fit: cover; }
.ct-card--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.05) 30%, rgba(5, 7, 13, 0.88) 100%);
}
.ct-card-body {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 2;
}
.ct-card-k {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ct-cyan);
}
.ct-card-t {
  margin-top: 8px !important;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
.ct-card-d {
  margin-top: 10px !important;
  font-size: 14px;
  line-height: 1.6;
  color: #d5deeb;
}
.ct-card--photo .ct-card-d { color: #e6ebf3; }
.ct-marquee {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  display: flex;
  margin: 0;
  white-space: nowrap;
  font-size: clamp(72px, 11vw, 176px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(49, 130, 246, 0.1);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.ct-marquee span {
  flex: 0 0 auto;
  padding-right: 0.3em;
  animation: ct-marquee 40s linear infinite;
}
@keyframes ct-marquee {
  to { transform: translate3d(-100%, 0, 0); }
}

@media (min-width: 1025px) {
  .ct-rail { overflow-x: visible; scroll-snap-type: none; padding-bottom: 0; }
  .ct-rail-track { width: 100%; }
  .ct-card { flex: 1 1 0; width: auto; min-width: 0; }
}

@media (max-width: 768px) {
  .ct-founder { padding-top: 80px; }
  .ct-rail { margin-top: 32px; }
  .ct-rail-track { gap: 14px; }
  .ct-rail { scroll-padding-inline: 20px; }
  .ct-card { width: 264px; height: 340px; border-radius: 18px; }
  .ct-card-visual { bottom: 104px; }
  .ct-card-body { left: 20px; right: 20px; bottom: 22px; }
  .ct-card-t { font-size: 19px; }
  .ct-card--photo { width: 300px; }
}

/* ---------- 실전 기록: 분할선 헤드라인 ---------- */
.ct-story { background: #0a0d18; }
.ct-splits { margin-top: 20px !important; }
.ct-split {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.ct-split-a { flex: 0 0 auto; color: #fff; }
.ct-split-b { flex: 0 0 auto; color: var(--ct-sub); }
.ct-hl { font-style: normal; color: var(--ct-cyan); }
.ct-split-line {
  flex: 1 1 auto;
  min-width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(109, 213, 255, 0.75), rgba(49, 130, 246, 0.2));
  transform-origin: left center;
  transition: transform 1.2s var(--ct-ease) 0.2s;
}
html.ct-rv-on .ct-split:not(.is-in) .ct-split-line { transform: scaleX(0); }
.ct-proof {
  padding: 32px 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ct-proof-k {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(109, 213, 255, 0.4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ct-cyan);
}
.ct-proof-big {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-top: 16px !important;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}
.ct-proof-big b { font-weight: 800; }
.ct-proof-arrow { color: var(--ct-sub); font-weight: 400; }
.ct-proof-desc {
  max-width: 760px;
  margin-top: 14px !important;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ct-sub);
}
.ct-story-close {
  margin-top: 40px !important;
  font-size: 20px;
  font-weight: 600;
  color: var(--ct-sub);
}
@media (max-width: 1199px) {
  .ct-split { font-size: 28px; gap: 22px; }
}
@media (max-width: 900px) {
  .ct-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 26px 0;
  }
  .ct-split-a { font-size: 26px; }
  .ct-split-b { font-size: 18px; font-weight: 600; }
  .ct-split-line { flex: 0 0 auto; width: 72px; }
  .ct-story-close { font-size: 17px; }
  .ct-proof { padding: 26px 0 30px; }
  .ct-proof-big { font-size: 30px; gap: 2px 10px; }
  .ct-proof-desc { font-size: 16px; }
}

/* ---------- 실제 계좌 결과: 넓어지는 카드 + 대형 숫자 + 대시보드 ---------- */
.ct-result { padding-top: 24px; background: #0a0d18; }
.ct-res-card {
  position: relative;
  padding: 120px 0 96px;
  background:
    radial-gradient(ellipse 55% 70% at 88% 0%, rgba(49, 130, 246, 0.38), transparent 62%),
    radial-gradient(ellipse 45% 60% at 0% 100%, rgba(109, 213, 255, 0.12), transparent 62%),
    linear-gradient(160deg, #0d1b3a 0%, #081022 55%, #05070d 100%);
  overflow: hidden;
}
/* 얇은 격자: 데이터 화면 느낌만 남기고 오른쪽 위에서 흐려진다 */
.ct-res-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 75% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}
.ct-res-inner { position: relative; z-index: 1; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ct-res-card {
      animation: ct-expand linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
  }
}
@keyframes ct-expand {
  from { clip-path: inset(0 6% round 32px); }
  to { clip-path: inset(0 0 round 0); }
}
.ct-res-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
}
.ct-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 72px 0 0 !important;
}
.ct-stat {
  min-width: 0;
  padding: 4px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.ct-stat:first-child { padding-left: 0; border-left: 0; }
.ct-stat dt {
  font-size: 15px;
  font-weight: 600;
  color: #b9c6dc;
}
.ct-stat dd {
  display: flex;
  align-items: baseline;
  margin: 14px 0 0;
  font-size: 68px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ct-stat dd small {
  margin-left: 4px;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0;
  color: #cfe0ff;
}
.ct-stat dd small:first-child { margin: 0 2px 0 0; }
.ct-stat dd small.ct-dec { margin-left: 0; }
@media (max-width: 1199px) {
  .ct-stat dd { font-size: 54px; }
  .ct-stat dd small { font-size: 24px; }
}
@media (max-width: 900px) {
  .ct-res-card { padding: 88px 0 72px; }
  .ct-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 0; margin-top: 48px !important; }
  .ct-stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ct-stat:nth-child(even) { padding-left: 24px; padding-right: 0; }
  .ct-stat dd { font-size: 48px; }
}
@media (max-width: 480px) {
  .ct-res-card { padding: 72px 0 56px; }
  .ct-stat dt { font-size: 13px; }
  .ct-stat:nth-child(even) { padding-left: 18px; }
  .ct-stat dd { font-size: 38px; }
  .ct-stat dd small { font-size: 18px; }
}

.ct-res-src {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.35);
  font-size: 14px;
  font-weight: 600;
  color: #d5deeb;
}
.is-up { color: #2fd88a; }
.is-down { color: #ff5c6c; }

/* OKX 앱 Analysis 화면을 옮긴 계좌 대시보드 */
.ct-dash {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.ct-panel {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(5, 7, 13, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.ct-panel--cal { grid-column: 1 / -1; }
.ct-panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}
.ct-panel-t { font-size: 20px; font-weight: 800; color: #fff; }
.ct-panel-sub { font-size: 13px; font-weight: 600; color: var(--ct-mute); }
.ct-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 20px !important;
}
.ct-legend li { display: flex; flex-direction: column; gap: 4px; }
.ct-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ct-sub);
}
.ct-legend span::before { content: ''; width: 9px; height: 9px; border-radius: 50%; }
.ct-legend .is-me span::before { background: var(--ct-up); }
.ct-legend .is-btc span::before { background: #f5b83d; }
.ct-legend b { font-size: 28px; font-weight: 700; color: #2fd88a; font-variant-numeric: tabular-nums; }
.ct-chart { position: relative; margin-top: 20px !important; }
.ct-chart svg { display: block; width: 100%; height: 240px; overflow: visible; }
.ct-chart-grid line { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ct-chart-grid .is-zero { stroke: rgba(255, 255, 255, 0.2); stroke-dasharray: 4 4; }
.ct-chart-area { fill: url(#ct-chart-fill); }
.ct-chart-btc,
.ct-chart-me {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.6s var(--ct-ease) 0.2s;
}
.ct-chart-btc { stroke: #f5b83d; stroke-width: 2; }
.ct-chart-me { stroke: #4a93ff; stroke-width: 3; transition-delay: 0.45s; }
.ct-chart-area { transition: opacity 1s var(--ct-ease) 1.2s; }
html.ct-rv-on .ct-panel--perf:not(.is-in) .ct-chart-btc,
html.ct-rv-on .ct-panel--perf:not(.is-in) .ct-chart-me { stroke-dashoffset: 1; }
html.ct-rv-on .ct-panel--perf:not(.is-in) .ct-chart-area { opacity: 0; }
.ct-chart-x {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ct-mute);
  font-variant-numeric: tabular-nums;
}
.ct-insight {
  margin-top: 18px !important;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 15px;
  font-weight: 600;
  color: var(--ct-text);
}
.ct-insight b { color: #2fd88a; }
.ct-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0 !important;
}
.ct-flow dt, .ct-kv dt { font-size: 13px; font-weight: 600; color: var(--ct-mute); }
.ct-flow dd, .ct-kv dd {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.ct-kv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
  margin: 24px 0 0 !important;
}
.ct-kv dd { font-size: 24px; }
.ct-kv dd.is-up { color: #2fd88a; }
.ct-pl {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.ct-pl-row { display: flex; justify-content: space-between; gap: 16px; }
.ct-pl-row > div:last-child { text-align: right; }
.ct-pl-row span { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.ct-pl-row b { display: block; margin-top: 4px; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ct-pl-bar {
  position: relative;
  height: 8px;
  margin: 14px 0 12px;
  border-radius: 999px;
  background: #ff5c6c;
  overflow: hidden;
}
.ct-pl-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px 0 0 999px;
  background: #2fd88a;
  box-shadow: 3px 0 0 #05070d;
  transform-origin: left center;
  transition: transform 1.2s var(--ct-ease) 0.3s;
}
html.ct-rv-on .ct-panel--fut:not(.is-in) .ct-pl-bar i { transform: scaleX(0); }
.ct-pl-sub div { font-size: 13px; line-height: 1.6; color: var(--ct-sub); }
.ct-cal {
  width: 100%;
  margin-top: 20px;
  border-collapse: separate;
  border-spacing: 6px;
  table-layout: fixed;
}
.ct-cal th {
  padding: 4px 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ct-mute);
  text-align: center;
}
.ct-cal td {
  height: 64px;
  border-radius: 10px;
  text-align: center;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}
.ct-cal td:empty { background: none; }
.ct-cal-d { display: block; font-size: 16px; font-weight: 700; color: #e6ebf3; }
.ct-cal-v { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; letter-spacing: -0.02em; }
.ct-cal td.is-up { background: rgba(47, 216, 138, 0.13); }
.ct-cal td.is-up .ct-cal-v { color: #2fd88a; }
.ct-cal td.is-down { background: rgba(255, 92, 108, 0.16); }
.ct-cal td.is-down .ct-cal-v { color: #ff7b88; }
.ct-cal td.is-future .ct-cal-d { color: #4b5566; }
@media (max-width: 1024px) {
  .ct-dash { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
}
@media (max-width: 600px) {
  .ct-panel { padding: 22px 16px; border-radius: 18px; }
  .ct-legend b { font-size: 24px; }
  .ct-chart svg { height: 180px; }
  .ct-flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ct-flow > div:last-child { grid-column: 1 / -1; }
  .ct-kv dd { font-size: 20px; }
  .ct-pl-row b { font-size: 19px; }
  .ct-cal { border-spacing: 3px; }
  .ct-cal td { height: 50px; border-radius: 8px; }
  .ct-cal-d { font-size: 14px; }
  .ct-cal-v { font-size: 12px; letter-spacing: -0.04em; }
  .ct-cal th { font-size: 12px; letter-spacing: 0; }
}

/* ---------- 운용 원칙: 가운데 제목 + 구분선 컬럼 ---------- */
.ct-strategy { background: var(--ct-bg); }
.ct-strat-card {
  padding: 72px 56px 40px;
  border: 1px solid var(--ct-line);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(49, 130, 246, 0.18), transparent 70%),
    #0a0f1a;
  text-align: center;
}
.ct-strat-head { max-width: 780px; margin: 0 auto; }
.ct-strat-head .ct-sub { margin-left: auto; margin-right: auto; }
.ct-h2-soft { font-size: 0.8em; font-weight: 600; color: var(--ct-sub); }
.ct-rules {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 56px !important;
  border-top: 1px solid var(--ct-line-2);
  text-align: left;
}
.ct-rule {
  min-width: 0;
  padding: 28px 22px 8px;
  border-left: 1px solid var(--ct-line);
}
.ct-rule:first-child { padding-left: 0; border-left: 0; }
.ct-rule:last-child { padding-right: 0; }
/* 규칙 아이콘(gpt-image 네온 라인, 투명 배경 128px → 52px 표시) */
.ct-rule-ico {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 0 14px -4px;
}
.ct-rule-k {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ct-cyan);
}
.ct-rule-t {
  display: block;
  margin-top: 10px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}
.ct-rule p {
  margin-top: 10px !important;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ct-sub);
}
.ct-strat-note {
  margin-top: 28px !important;
  font-size: 13px;
  color: var(--ct-mute);
}
@media (max-width: 1024px) {
  .ct-strat-card { padding: 56px 32px 32px; }
  .ct-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 0; }
  .ct-rule,
  .ct-rule:first-child,
  .ct-rule:last-child { padding: 24px 0 20px; border-left: 0; border-top: 1px solid var(--ct-line); }
}
@media (max-width: 600px) {
  .ct-strat-card { padding: 44px 20px 24px; border-radius: 22px; }
  .ct-rules { grid-template-columns: minmax(0, 1fr); margin-top: 36px !important; }
  .ct-rule-t { font-size: 18px; }
  .ct-strat-head .ct-h2 { font-size: 24px; }
}

/* ---------- 참여 방법 4단계: 휴대폰 화면 카드 ---------- */
.ct-join { background: var(--ct-bg-2); }
.ct-join-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--ct-line-2);
}
.ct-join-head .ct-sub { max-width: 440px; margin-top: 0 !important; }
.ct-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px !important;
}
.ct-step {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--ct-line);
  border-radius: 22px;
  background: #0b1019;
}
.ct-step--go {
  border-color: rgba(47, 216, 138, 0.4);
  background: linear-gradient(180deg, rgba(47, 216, 138, 0.08), #0b1019 60%);
}
.ct-step--go .ct-step-no { color: #2fd88a; }
.ct-step-body { display: flex; flex-direction: column; gap: 10px; }
.ct-steps:focus-visible { outline: 2px solid rgba(109, 213, 255, 0.7) !important; outline-offset: -2px; border-radius: 22px; }

/* 아이폰 프레임(장식): 티타늄 테두리 + 검은 베젤 + 다이내믹 아일랜드 + 상태 표시줄 + 홈 인디케이터 + 옆 버튼.
   안의 화면은 assets/images/copytrade/stepN.webp(600×1300, 9:19.5) 예시 이미지다. */
.ct-iphone {
  position: relative;
  width: 100%;
  max-width: 216px;
  margin: 0 auto;
  aspect-ratio: 9 / 19.5;
  box-sizing: border-box;
  padding: 8px;
  border-radius: 40px;
  background: #0b0d12;
  box-shadow:
    inset 0 0 0 1.5px #5a606c,
    inset 0 0 0 3px #22262e,
    0 24px 50px rgba(0, 0, 0, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.4);
}
/* 왼쪽 동작 버튼 + 음량 버튼 두 개 */
.ct-iphone::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 88px;
  width: 3px;
  height: 22px;
  border-radius: 2px 0 0 2px;
  background: #3a3f49;
  box-shadow: 0 38px 0 0 #3a3f49, 0 80px 0 0 #3a3f49;
}
/* 오른쪽 측면 버튼 */
.ct-iphone::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 128px;
  width: 3px;
  height: 56px;
  border-radius: 0 2px 2px 0;
  background: #3a3f49;
}
.ct-iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
}
.ct-iphone.is-dark .ct-iphone-screen { background: #000; }
.ct-iphone-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.ct-iphone-island {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 3;
  width: 32%;
  height: 19px;
  border-radius: 12px;
  background: #000;
  transform: translateX(-50%);
}
.ct-iphone-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 35px;
  padding: 0 18px 0 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #000;
}
.ct-iphone.is-dark .ct-iphone-status { color: #fff; }
.ct-iphone-status svg { display: block; height: 9px; width: auto; fill: currentColor; }
.ct-iphone-status span:last-child { display: flex; align-items: center; gap: 4px; }
.ct-iphone-home {
  position: absolute;
  bottom: 6px;
  left: 50%;
  z-index: 2;
  width: 36%;
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.75);
  transform: translateX(-50%);
}
.ct-iphone.is-dark .ct-iphone-home { background: rgba(255, 255, 255, 0.85); }
/* 프레임 바로 아래 "예시 화면" 표시: 옆으로 넘기는 레일에서도 카드마다 보인다 */
.ct-shot { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ct-shot-tag {
  padding: 3px 10px;
  border: 1px solid var(--ct-line-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ct-mute);
}
.ct-steps-note { margin-top: 16px !important; font-size: 13px; color: var(--ct-mute); }

/* 추천 코드 + 가입: 쿠폰 티켓. 절취선 위·아래 반원 홈은 섹션 배경색 원으로 판다 */
.ct-join-bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 28px;
  border: 1px solid rgba(49, 130, 246, 0.42);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 55% 140% at 0% 0%, rgba(49, 130, 246, 0.24), transparent 60%),
    linear-gradient(135deg, #0f1a33 0%, #0a0f1a 75%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.ct-ticket-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 32px;
  padding: 28px 36px;
}
.ct-ticket-text { flex: 1 1 200px; }
.ct-ticket-k { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: var(--ct-cyan); }
.ct-ticket-t { margin-top: 6px !important; font-size: 18px; font-weight: 800; line-height: 1.4; color: #fff; }
.ct-ticket-act {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  padding: 28px 36px;
  border-left: 2px dashed rgba(255, 255, 255, 0.16);
}
.ct-ticket-act::before,
.ct-ticket-act::after {
  content: '';
  position: absolute;
  left: -12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ct-bg-2);
}
.ct-ticket-act::before { top: -12px; }
.ct-ticket-act::after { bottom: -12px; }
.ct-ticket-act .ct-cta { align-self: stretch; min-height: 52px; font-size: 16px; }
.ct-ticket-act .ct-link { font-size: 14px; }
.ct-step-no {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #6dabff;
  font-variant-numeric: tabular-nums;
}
.ct-step-title { font-size: 22px; font-weight: 800; line-height: 1.35; color: var(--ct-text); }
.ct-step-desc { font-size: 15px; color: var(--ct-sub); }
/* 코드와 복사 버튼을 한 덩어리로 묶은 점선 상자 */
.ct-ref {
  display: flex;
  align-items: stretch;
  border: 1.5px dashed rgba(109, 213, 255, 0.55);
  border-radius: 14px;
  background: rgba(5, 8, 15, 0.55);
  overflow: hidden;
}
.ct-ref-code {
  display: flex;
  align-items: center;
  padding: 0 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: none;
  -webkit-user-select: all;
  user-select: all;
}
.ct-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-left: 1.5px dashed rgba(109, 213, 255, 0.55);
  background: rgba(49, 130, 246, 0.16);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  color: #8fc0ff;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ct-copy:hover { background: rgba(49, 130, 246, 0.3); color: #fff; }
/* .ct-ref 가 overflow:hidden 이라 바깥 포커스 링이 잘리므로 안쪽에 그린다 */
.ct-ref .ct-copy:focus-visible { box-shadow: inset 0 0 0 3px rgba(109, 213, 255, 0.7); }
.ct-copy svg { flex: 0 0 auto; width: 16px; height: 16px; }
.ct-copy-msg {
  flex: 1 1 100%;
  margin-top: -6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ct-cyan);
  text-align: right;
}
.ct-copy-msg:empty { display: none; }
.ct-step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: auto;
}
.ct-step-actions .ct-cta { min-height: 48px; font-size: 15px; }
.ct-link {
  font-size: 14px;
  font-weight: 700;
  color: #6dabff;
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 4px;
}
.ct-link:hover { color: #9cc6ff; }
.ct-warn {
  padding: 14px 16px;
  border: 1px solid rgba(240, 68, 82, 0.32);
  border-radius: 12px;
  background: rgba(240, 68, 82, 0.07);
  font-size: 14px;
  line-height: 1.65;
  color: #e7c4c8;
}
.ct-warn p + p { margin-top: 6px !important; }
.ct-warn p:first-child { font-weight: 700; color: #ffd6da; }
/* 카드 안의 한 줄 경고(상세는 카드 아래 .ct-warn--wide) */
.ct-warn-mini {
  padding-left: 10px;
  border-left: 2px solid rgba(240, 68, 82, 0.6);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: #ffd6da;
}
.ct-warn-mini .ct-link { font-size: 13px; color: #ffb3ba; white-space: nowrap; }
.ct-warn-mini .ct-link:hover { color: #fff; }
/* 카드 묶음 아래 전폭 경고: 넓은 화면에서는 제목 | 문단 | 문단 한 줄 */
.ct-warn--wide {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 8px 28px;
  margin-top: 20px;
  padding: 18px 24px;
  scroll-margin-top: calc(var(--ct-nav-h) + 16px);
}
.ct-warn--wide p + p { margin-top: 0 !important; }
.ct-warn--wide p:first-child { font-weight: inherit; color: inherit; }
.ct-warn-title { font-size: 14px; font-weight: 800; color: #ff8f99; white-space: nowrap; }
.ct-warn--wide .ct-warn-title + p { font-weight: 700; color: #ffd6da; }
@media (max-width: 1199px) {
  .ct-warn--wide { grid-template-columns: minmax(0, 1fr); padding: 16px 18px; }
  .ct-warn-title { white-space: normal; }
}
.ct-step-note { font-size: 13px; color: var(--ct-mute); }
@media (max-width: 1199px) {
  .ct-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 좁은 화면: 카드를 옆으로 넘겨 본다(다음 카드가 살짝 보인다) */
@media (max-width: 768px) {
  .ct-steps {
    display: flex;
    gap: 14px;
    margin: 32px -20px 0 !important;
    padding: 0 20px 12px !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--ct-line-2) transparent;
    align-items: flex-start;
  }
  .ct-step { flex: 0 0 min(300px, 82vw); scroll-snap-align: start; }
}
@media (max-width: 480px) {
  .ct-step-actions .ct-cta--primary { flex: 1 1 100%; }
}

@media (max-width: 860px) {
  .ct-join-bar { grid-template-columns: minmax(0, 1fr); }
  .ct-ticket-main { padding: 24px 22px; }
  .ct-ticket-act { min-width: 0; padding: 22px; border-left: 0; border-top: 2px dashed rgba(255, 255, 255, 0.16); }
  .ct-ticket-act::before { top: -12px; left: -12px; }
  .ct-ticket-act::after { top: -12px; bottom: auto; left: auto; right: -12px; }
}
@media (max-width: 480px) {
  .ct-ref { flex: 1 1 100%; }
  .ct-ref-code { flex: 1 1 auto; padding: 0 16px; font-size: 22px; }
  .ct-copy-msg { text-align: left; }
}

/* ---------- 참여 흐름 애니메이션 + 계좌 연동 그림 ----------
   가입 → 테더 구매 → 입금 → 카피 버튼 네 칸이 차례로 켜지고, 빛 점이 선을 따라 흐른다.
   아래는 대표 계좌와 내 계좌가 따로 있고 주문만 넘어가는 모습. reduced-motion 이면 모두 정지(맨 아래 블록). */
.ct-howviz {
  margin: 40px 0 8px;
  padding: 40px 36px 32px;
  border: 1px solid rgba(49, 130, 246, 0.3);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(49, 130, 246, 0.16), transparent 70%),
    #070b14;
}
.ct-flowwrap { position: relative; }
.ct-flowline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
/* 점과 점을 잇는 선 */
.ct-flowline::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(49, 130, 246, 0.25), rgba(109, 213, 255, 0.45), rgba(49, 130, 246, 0.25));
}
.ct-fl {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.ct-fl-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  border: 2px solid rgba(49, 130, 246, 0.55);
  border-radius: 50%;
  background: #0b1222;
  font-size: 20px;
  font-weight: 800;
  color: #8fc0ff;
  animation: ct-fl-on 6s var(--ct-ease) infinite;
  animation-delay: calc(var(--i) * 1.5s);
}
.ct-fl b { font-size: 17px; font-weight: 800; color: #fff; }
.ct-fl span:last-child { font-size: 14px; color: var(--ct-sub); }
@keyframes ct-fl-on {
  0%, 24%, 100% { transform: none; background: #0b1222; border-color: rgba(49, 130, 246, 0.55); color: #8fc0ff; box-shadow: none; }
  3%, 12% { transform: scale(1.1); background: var(--ct-up); border-color: #9cd8ff; color: #fff; box-shadow: 0 0 0 8px rgba(49, 130, 246, 0.18), 0 0 30px rgba(49, 130, 246, 0.6); }
}
/* 선을 따라 흐르는 빛 점(6초에 한 바퀴, 점 켜짐과 같은 박자) */
.ct-fl-run {
  position: absolute;
  top: 22px;
  left: 12.5%;
  right: 12.5%;
  height: 12px;
  pointer-events: none;
}
.ct-fl-run i {
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: #bfe9ff;
  box-shadow: 0 0 14px 4px rgba(109, 213, 255, 0.8);
  animation: ct-fl-run 6s linear infinite;
}
@keyframes ct-fl-run {
  0% { left: 0; opacity: 0; }
  5% { opacity: 1; }
  75% { left: 100%; opacity: 1; }
  82%, 100% { left: 100%; opacity: 0; }
}

.ct-acct {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.8fr) minmax(0, 1fr);
  align-items: center;
  margin-top: 48px;
}
.ct-acct-card {
  padding: 22px 24px;
  border: 1px solid var(--ct-line-2);
  border-radius: 18px;
  background: #0b1120;
}
.ct-acct--me {
  border-color: rgba(47, 216, 138, 0.45);
  background: linear-gradient(135deg, rgba(47, 216, 138, 0.1), #0b1120 70%);
}
.ct-acct-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ct-cyan);
}
.ct-acct--me .ct-acct-k { color: #2fd88a; }
.ct-acct-card strong { display: block; margin-top: 8px; font-size: 20px; font-weight: 800; color: #fff; }
.ct-acct-card p { margin-top: 4px !important; font-size: 15px; color: var(--ct-sub); }
.ct-live {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fd88a;
}
.ct-live::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid #2fd88a;
  border-radius: 50%;
  animation: ct-live 1.6s ease-out infinite;
}
@keyframes ct-live {
  from { transform: scale(0.6); opacity: 1; }
  to { transform: scale(1.8); opacity: 0; }
}
/* 두 계좌 사이: 계좌는 이어져 있지 않고(점선) 주문 점만 지나간다 */
.ct-acct-wire {
  position: relative;
  height: 64px;
}
.ct-acct-wire::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 2px dashed rgba(109, 213, 255, 0.35);
}
.ct-acct-wire i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin: -4px 0 0 -5px; /* 2px 점선의 가운데(50% + 1px)에 맞춘다 */
  border-radius: 50%;
  background: #6dd5ff;
  box-shadow: 0 0 10px 3px rgba(109, 213, 255, 0.6);
  animation: ct-wire 2.4s linear infinite;
}
.ct-acct-wire i:nth-child(2) { animation-delay: 0.8s; }
.ct-acct-wire i:nth-child(3) { animation-delay: 1.6s; }
@keyframes ct-wire {
  0% { left: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.ct-acct-wire span {
  position: absolute;
  left: 50%;
  bottom: calc(50% + 12px);
  transform: translateX(-50%);
  padding: 4px 10px;
  border: 1px solid rgba(109, 213, 255, 0.35);
  border-radius: 999px;
  background: #0b1222;
  font-size: 12px;
  font-weight: 700;
  color: var(--ct-cyan);
  white-space: nowrap;
}
.ct-acct-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px !important;
}
.ct-acct-points li {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ct-sub);
}
.ct-acct-points b { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 800; color: #fff; }
@media (max-width: 900px) {
  .ct-howviz { padding: 28px 20px 22px; border-radius: 20px; }
  /* 흐름은 세로로: 선과 빛 점도 세로 */
  .ct-flowline { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ct-flowline::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .ct-fl {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 2px;
    align-items: center;
    text-align: left;
  }
  .ct-fl-dot { grid-row: 1 / 3; margin: 0; }
  .ct-fl b { align-self: end; }
  .ct-fl span:last-child { align-self: start; }
  .ct-fl-run { top: 28px; bottom: 28px; left: 22px; right: auto; width: 12px; height: auto; }
  .ct-fl-run i { margin: -6px 0 0; animation-name: ct-fl-run-y; }
  .ct-acct { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .ct-acct-wire { height: 72px; }
  .ct-acct-wire::before { top: 0; bottom: 0; left: 50%; right: auto; border-top: 0; border-left: 2px dashed rgba(109, 213, 255, 0.35); }
  .ct-acct-wire i { top: 0; left: 50%; margin: -5px 0 0 -4px; animation-name: ct-wire-y; }
  .ct-acct-wire span { left: calc(50% + 16px); bottom: auto; top: 50%; transform: translateY(-50%); }
  .ct-acct-points { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@keyframes ct-fl-run-y {
  0% { top: 0; opacity: 0; }
  5% { opacity: 1; }
  75% { top: 100%; opacity: 1; }
  82%, 100% { top: 100%; opacity: 0; }
}
@keyframes ct-wire-y {
  0% { top: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ---------- 위험 고지 ---------- */
.ct-risk { padding-top: 56px; padding-bottom: 72px; }
.ct-risk-h { font-size: 16px; font-weight: 800; color: var(--ct-sub); }
.ct-risk-list {
  margin-top: 14px !important;
  padding-left: 20px !important;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ct-mute);
}
.ct-risk-list li { list-style: decimal; }
.ct-risk-ref { margin-top: 12px !important; font-size: 13px; color: var(--ct-mute); }

/* ---------- 하단 고정 미팅 바: 항상 보인다 ---------- */
.ct-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 10px 10px 18px;
  border: 1px solid rgba(109, 171, 255, 0.35);
  border-radius: 16px;
  background: rgba(10, 14, 22, 0.55); /* 반투명: 뒤 내용이 비치고 흐림으로 글자는 또렷하게 */
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  backdrop-filter: blur(6px) saturate(140%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
.ct-bar-txt {
  margin: 0;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ct-text);
  word-break: keep-all;
}
.ct-bar-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--ct-up);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.ct-bar-btn:hover { background: #4a93ff; color: #fff; }
.ct-short { display: none; }
@media (max-width: 480px) {
  .ct-long { display: none; }
  .ct-short { display: inline; }
  .ct-bar { padding-left: 14px; }
}

/* ---------- reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ct-scene { transition: none; }
  .ct-marquee span { animation: none; }
  .ct-page *,
  .ct-page *::before,
  .ct-page *::after,
  .ct-bar { animation: none !important; transition: none !important; }
  /* 움직여야 의미가 있는 빛 점은 멈추면 한쪽 끝에 뭉쳐 보이므로 숨긴다 */
  .ct-fl-run,
  .ct-acct-wire i { display: none; }
}
