:root {
  --bg: #090b10;
  --surface: rgba(20, 23, 31, 0.86);
  --surface-strong: #14171f;
  --surface-soft: #191d27;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f6f7f9;
  --muted: #969dac;
  --accent: #f7931a;
  --accent-soft: rgba(247, 147, 26, 0.14);
  --positive: #48d597;
  --negative: #ff6b75;
  --warning: #f1c75b;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 0%, rgba(247, 147, 26, 0.08), transparent 34%),
    linear-gradient(180deg, #090b10 0%, #0c0f15 100%);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.28;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(100px);
  pointer-events: none;
}
.ambient-one { top: -240px; right: -140px; background: rgba(247, 147, 26, .12); }
.ambient-two { bottom: -300px; left: -180px; background: rgba(66, 95, 255, .08); }

a { color: inherit; }

.site-header,
.page-shell,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffae3d, var(--accent));
  color: #17100a;
  font-size: 26px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(247, 147, 26, .23);
}

.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 17px; letter-spacing: -.02em; }
.brand-copy small { color: var(--muted); font-size: 11px; }

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  color: #c7ccd5;
  font-size: 12px;
  font-weight: 700;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 5px rgba(72, 213, 151, .1);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(72, 213, 151, 0); } }

.page-shell { padding: 48px 0 30px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr);
  align-items: end;
  gap: 52px;
  padding: 44px 4px 54px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: .98;
  letter-spacing: -.06em;
}

.hero-text {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.75;
}

.hero-price {
  display: grid;
  justify-items: end;
  gap: 10px;
  padding-bottom: 8px;
  text-align: right;
}
.metric-label { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.hero-price > strong { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.05em; }
.change-pill {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.positive { color: var(--positive) !important; }
.negative { color: var(--negative) !important; }
.change-pill.positive { background: rgba(72, 213, 151, .1); }
.change-pill.negative { background: rgba(255, 107, 117, .1); }
.change-pill.neutral { background: rgba(255,255,255,.06); color: var(--muted); }

.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr);
  gap: 20px;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.052), rgba(255,255,255,.018));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 100% 0%, rgba(247,147,26,.075), transparent 36%);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.panel-heading h2 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.asset-symbol,
.info-badge {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #b4bac5;
  background: rgba(255,255,255,.025);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.metric-card {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  padding: 19px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: var(--radius-md);
  background: rgba(8, 10, 15, .34);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.metric-card:hover { transform: translateY(-2px); border-color: rgba(247,147,26,.24); background: rgba(13, 15, 21, .58); }
.metric-card span { color: var(--muted); font-size: 12px; font-weight: 700; }
.metric-card strong { font-size: clamp(18px, 2.5vw, 27px); letter-spacing: -.04em; overflow-wrap: anywhere; }
.metric-card small { color: #707785; font-size: 10px; }
.metric-card-wide { grid-column: 1 / -1; min-height: 115px; }

.sentiment-panel { display: flex; flex-direction: column; }
.chart-area { flex: 1; display: grid; place-items: center; align-content: center; gap: 24px; min-height: 360px; }
.chart-wrapper { position: relative; width: min(100%, 270px); aspect-ratio: 1; }
.chart-wrapper canvas { width: 100% !important; height: 100% !important; }
.chart-center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 3px;
  text-align: center;
  pointer-events: none;
}
.chart-center strong { font-size: 48px; line-height: 1; letter-spacing: -.06em; }
.chart-center span { max-width: 110px; color: var(--muted); font-size: 11px; font-weight: 700; }
.sentiment-note { max-width: 270px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; text-align: center; }

.update-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 15px 4px;
  color: #6f7581;
  font-size: 11px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 40px;
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.site-footer div { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.site-footer strong { color: var(--text); }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer p { grid-column: 1 / -1; margin: 0; color: #606672; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero-price { justify-items: start; text-align: left; }
  .dashboard { grid-template-columns: 1fr; }
  .chart-area { min-height: 320px; }
}

@media (max-width: 560px) {
  .site-header, .page-shell, .site-footer { width: min(100% - 28px, 1180px); }
  .site-header { padding: 20px 0; }
  .brand-copy small { display: none; }
  .live-status { padding: 9px 11px; }
  .page-shell { padding-top: 18px; }
  .hero { padding: 28px 0 42px; }
  .hero h1 { font-size: 46px; }
  .panel { padding: 20px; border-radius: 22px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card-wide { grid-column: auto; }
  .metric-card { min-height: 112px; }
  .update-strip { align-items: flex-start; flex-direction: column; gap: 7px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav, .site-footer p { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
