/* ── ETF 뉴스 점수 대시보드 portfolio UI ── */
:root {
  --ink: #07131c;
  --ink-2: #0c1f2e;
  --ink-3: #143049;
  --paper: #edf2f6;
  --paper-2: #d7e2ec;
  --fog: rgba(237, 242, 246, 0.72);
  --line: rgba(237, 242, 246, 0.12);
  --line-strong: rgba(237, 242, 246, 0.22);
  --muted: #8aa0b4;
  --text: #e8eef4;
  --text-inv: #0a1620;
  --signal: #3dffb0;
  --signal-2: #1ecf8a;
  --amber: #ffb020;
  --rose: #ff6b6b;
  --sky: #5ec8ff;
  --font-brand: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(61, 255, 176, 0.14), transparent 55%),
    radial-gradient(700px 480px at 88% 8%, rgba(94, 200, 255, 0.12), transparent 50%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 45%, #081722 100%);
}
a { color: var(--signal); text-decoration: none; }
a:hover { color: #7dffc8; }
img { max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.45em;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

/* ── Nav ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(7, 19, 28, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-brand:hover { color: var(--text); text-decoration: none; }
.nav-brand span { color: var(--signal); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.88rem;
  font-weight: 600;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* ── Hero (first viewport = one composition) ── */
.hero {
  position: relative;
  min-height: calc(100vh - 56px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-plane {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(7, 19, 28, 0.15) 0%, rgba(7, 19, 28, 0.82) 48%, rgba(7, 19, 28, 0.95) 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 47px,
      rgba(237, 242, 246, 0.035) 47px,
      rgba(237, 242, 246, 0.035) 48px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 47px,
      rgba(237, 242, 246, 0.035) 47px,
      rgba(237, 242, 246, 0.035) 48px
    );
}
.hero-chart {
  position: absolute;
  right: -4%;
  top: 12%;
  width: min(58vw, 720px);
  height: 70%;
  opacity: 0.9;
  pointer-events: none;
}
.hero-chart svg { width: 100%; height: 100%; }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 72px 20px 64px;
}
.hero-brand {
  font-family: var(--font-brand);
  font-size: clamp(2.2rem, 6.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 28px;
  max-width: 14ch;
  animation: rise 0.9s var(--ease) both;
}
.hero-brand em {
  font-style: normal;
  color: var(--signal);
}
.hero-headline {
  max-width: 18ch;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 700;
  margin-bottom: 14px;
  animation: rise 0.9s var(--ease) 0.08s both;
}
.hero-lead {
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  animation: rise 0.9s var(--ease) 0.16s both;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 0.9s var(--ease) 0.24s both;
}
.demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(61, 255, 176, 0.35);
  background: rgba(61, 255, 176, 0.08);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: rise 0.9s var(--ease) both;
}
.demo-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(61, 255, 176, 0.6);
  animation: pulse 2.2s ease infinite;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 255, 176, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(61, 255, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 255, 176, 0); }
}
@keyframes draw-line {
  from { stroke-dashoffset: 1200; }
  to { stroke-dashoffset: 0; }
}
.hero-chart path.line {
  fill: none;
  stroke: var(--signal);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1200;
  animation: draw-line 2.4s var(--ease) 0.3s both;
}
.hero-chart path.area {
  fill: url(#signalFill);
  opacity: 0;
  animation: rise 1.2s var(--ease) 0.8s both;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); color: var(--text); }
.btn-primary {
  background: var(--signal);
  color: var(--text-inv);
  border-color: var(--signal);
}
.btn-primary:hover {
  background: #6affc2;
  color: var(--text-inv);
  border-color: #6affc2;
}
.btn-ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
}
.btn-share {
  background: #fee500;
  color: #191600;
  border-color: #fee500;
  border-radius: 10px;
}
.btn-share:hover { filter: brightness(0.96); color: #191600; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; border-radius: 999px; }

/* ── Sections ── */
.section { margin-top: 56px; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 8px;
}
.section-title { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin: 0; }
.section-desc { color: var(--muted); max-width: 48ch; font-size: 0.95rem; }
.text-muted { color: var(--muted); }

/* How it works */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.flow-step {
  padding: 28px 22px 32px;
  border-right: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}
.flow-step:last-child { border-right: none; }
.flow-step:hover { background: rgba(61, 255, 176, 0.04); }
.flow-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--signal);
  margin-bottom: 14px;
}
.flow-step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.flow-step p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* About strip */
.about-strip {
  margin-top: 56px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-strip p { color: var(--muted); }
.about-meta {
  display: grid;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.about-meta strong { color: var(--text); font-weight: 600; }

/* Dashboard anchor banner */
.dash-intro {
  margin-top: 56px;
  padding-top: 8px;
}
.dash-intro .section-title { margin-bottom: 6px; }

/* ── HOT ── */
.hot-section { margin-top: 28px; }
.hot-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.hot-title {
  font-size: 1.35rem;
  margin: 0;
}
.hot-sub { color: var(--muted); font-size: 0.88rem; }
.hot-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.hot-card {
  text-align: center;
  padding: 18px 14px;
  border: 1px solid var(--line);
  background: rgba(12, 31, 46, 0.65);
  border-radius: var(--radius);
}
.hot-card-name { padding: 8px 8px 14px; }
.hot-etf-name {
  font-family: var(--font-brand);
  font-size: 1.55rem;
  font-weight: 800;
}
.hot-price { color: var(--muted); margin: 6px 0 14px; font-family: var(--font-mono); font-size: 0.85rem; }
.hot-card-label { font-size: 0.78rem; color: var(--muted); margin-bottom: 6px; }
.hot-card-value {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
}

/* ── Movers ── */
.movers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mover-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 8px;
  color: var(--text);
  background: rgba(12, 31, 46, 0.45);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.mover-card:hover {
  border-color: var(--signal);
  text-decoration: none;
  transform: translateX(2px);
  color: var(--text);
}
.mover-up { border-left: 3px solid var(--signal-2); }
.mover-down { border-left: 3px solid var(--rose); }
.mover-name { font-weight: 700; }
.mover-change { font-family: var(--font-mono); font-weight: 700; }
.mover-detail { color: var(--muted); font-size: 0.8rem; width: 100%; }

/* ── ETF grid (interaction containers) ── */
.etf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.etf-card {
  text-align: center;
  padding: 18px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(12, 31, 46, 0.55);
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s var(--ease), background 0.2s;
}
.etf-card:hover {
  border-color: var(--signal);
  background: rgba(61, 255, 176, 0.06);
  text-decoration: none;
  transform: translateY(-2px);
  color: var(--text);
}
.etf-card-name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1rem;
}
.etf-card-score {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  margin: 8px 0 4px;
}
.etf-card-status { font-weight: 600; font-size: 0.85rem; }
.etf-card-ai {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-top: 6px;
  color: var(--muted);
}

/* ── Tables ── */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th {
  background: rgba(20, 48, 73, 0.8);
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(61, 255, 176, 0.04); }

/* ── Detail ── */
.breadcrumb { margin: 20px 0; font-size: 0.88rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--signal); }
.breadcrumb strong { color: var(--text); }

.detail-header { margin: 8px 0 24px; }
.detail-title h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.detail-period {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.detail-metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.metric-card {
  flex: 1;
  min-width: 150px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(12, 31, 46, 0.65);
  text-align: center;
}
.metric-label { font-size: 0.78rem; color: var(--muted); margin-bottom: 6px; }
.metric-value {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
}
.metric-delta { font-weight: 600; font-size: 0.88rem; margin-top: 4px; }

.easy-comment {
  background: rgba(61, 255, 176, 0.06);
  padding: 16px 18px;
  border-radius: 12px;
  border-left: 3px solid var(--signal);
  margin: 8px 0 20px;
  font-size: 0.98rem;
  color: var(--paper);
}

.week-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.week-btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
  transition: all 0.15s;
}
.week-btn:hover { border-color: var(--signal); color: var(--text); text-decoration: none; }
.week-btn.active {
  background: var(--signal);
  color: var(--text-inv);
  border-color: var(--signal);
  font-weight: 700;
}

.profile-details {
  background: rgba(12, 31, 46, 0.55);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--line);
}
.profile-details:hover { border-color: var(--line-strong); }
.profile-details > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}
.profile-details > summary::-webkit-details-marker { display: none; }
.profile-details > summary .chevron {
  display: inline-block;
  transition: transform 0.2s ease;
  color: var(--signal);
  font-size: 0.85em;
}
.profile-details[open] > summary .chevron { transform: rotate(90deg); }
.profile-details > summary .click-cue {
  flex-basis: 100%;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--signal);
  font-weight: 600;
  font-family: var(--font-mono);
}
.profile-details[open] > summary .click-cue { display: none; }
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 14px;
}
.info-table { width: 100%; font-size: 0.9rem; }
.info-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
}
.info-table td:first-child {
  font-weight: 600;
  color: var(--muted);
  width: 40%;
}

.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chart-box {
  width: 100%;
  min-height: 300px;
  background: rgba(12, 31, 46, 0.65);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 8px;
}

.holdings-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.holding-card {
  position: relative;
  padding: 12px;
  border-radius: 12px;
  background: rgba(12, 31, 46, 0.55);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  transition: transform 0.18s var(--ease), border-color 0.18s;
}
.holding-card:hover {
  transform: translateY(-2px);
  border-color: var(--signal);
}
.holding-rank {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.65rem;
  color: var(--muted);
  font-family: var(--font-mono);
}
.holding-logo-wrap {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(237, 242, 246, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
}
.holding-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  background: #fff;
}
.holding-logo-fallback {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--muted);
  font-size: 0.8em;
}
.holding-info { flex: 1 1 auto; min-width: 0; }
.holding-ticker {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
}
.holding-name {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 2px 0 5px;
}
.holding-weight-bar {
  width: 100%;
  height: 4px;
  background: rgba(237, 242, 246, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 3px;
}
.holding-weight-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--signal-2), var(--signal));
  border-radius: 999px;
}
.holding-weight { font-size: 0.72rem; color: var(--muted); }
.holding-weight strong { color: var(--signal); }

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.analysis-card {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(12, 31, 46, 0.55);
  font-size: 0.88rem;
  line-height: 1.7;
}
.analysis-card h4 { margin-bottom: 8px; }

.topic-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.topic-tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.15s;
}
.topic-tab:hover { border-color: var(--signal); color: var(--text); }
.topic-tab.active {
  background: var(--signal);
  color: var(--text-inv);
  border-color: var(--signal);
}
.hidden { display: none; }

.click-hint { font-size: 0.88rem; margin: 4px 0 10px; color: var(--muted); }
.article-detail { margin-bottom: 8px; }
.article-detail summary {
  cursor: pointer;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(12, 31, 46, 0.45);
  font-size: 0.92rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  transition: border-color 0.15s, background 0.15s;
}
.article-detail summary::-webkit-details-marker { display: none; }
.article-detail summary:hover {
  border-color: var(--signal);
  background: rgba(61, 255, 176, 0.05);
}
.article-detail .chevron {
  display: inline-block;
  transition: transform 0.2s ease;
  color: var(--signal);
  font-size: 0.85em;
}
.article-detail[open] .chevron { transform: rotate(90deg); }
.article-detail .click-cue {
  flex-basis: 100%;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
}
.article-detail[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.article-detail[open] .click-cue { display: none; }
.article-body {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 12px 12px;
  background: rgba(7, 19, 28, 0.55);
}
.article-summary { margin-top: 8px; line-height: 1.7; color: var(--paper); }
.badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  white-space: nowrap;
  font-family: var(--font-mono);
}
.badge.trust { background: rgba(61, 255, 176, 0.15); color: var(--signal); }
.badge.untrust { background: rgba(255, 176, 32, 0.15); color: var(--amber); }

.alert {
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 176, 32, 0.1);
  border: 1px solid rgba(255, 176, 32, 0.35);
  margin: 16px 0;
  color: var(--amber);
}

/* ── Footer ── */
.footer {
  margin-top: 72px;
  padding: 36px 24px 48px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.footer-brand {
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.footer p { color: var(--muted); font-size: 0.88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.footer-links a { color: var(--muted); font-weight: 600; font-size: 0.88rem; }
.footer-links a:hover { color: var(--signal); }

/* Legacy info-banner (unused on new dash, keep safe) */
.info-banner {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  margin: 0 0 20px;
  background: rgba(94, 200, 255, 0.08);
  border: 1px solid rgba(94, 200, 255, 0.25);
  border-radius: 12px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow-step { border-right: none; border-bottom: 1px solid var(--line); }
  .flow-step:last-child { border-bottom: none; }
  .about-strip { grid-template-columns: 1fr; }
  .hero-chart { opacity: 0.35; width: 90%; right: -20%; }
}

@media (max-width: 768px) {
  .navbar { padding: 12px 16px; }
  .nav-links { gap: 12px; font-size: 0.8rem; }
  .hero-content { padding: 56px 16px 48px; }
  .hot-cards { grid-template-columns: 1fr 1fr; }
  .movers-grid { grid-template-columns: 1fr; }
  .etf-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .chart-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .detail-metrics { flex-direction: column; }
  .analysis-grid { grid-template-columns: 1fr; }
  .holdings-grid { grid-template-columns: 1fr 1fr; }
  .data-table { font-size: 0.8rem; }
  .container { padding: 0 16px 48px; }
}

@media (max-width: 480px) {
  .hot-cards { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .etf-card-score { font-size: 1.4rem; }
  .hot-card-value { font-size: 1.35rem; }
  .metric-value { font-size: 1.4rem; }
}
