@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700&family=Instrument+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface2: #161616;
  --border: #1e1e1e;
  --border2: #282828;
  --text: #ede9e3;
  --muted: #5a5a5a;
  --muted2: #888;
  --accent: #c8f135;
  --tag-bg: #151f00;
  --tag-text: #b8e025;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
  font-weight: 300;
}

/* ── NAV ─────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 54px;
  gap: 0;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding-right: 1.5rem;
  border-right: 1px solid var(--border2);
}

.logo-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(.75); }
}

.nav-tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border2);
}

/* ── TICKER ──────────────────────────────────────────────────── */
.ticker-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  margin: 0 0;
}

.ticker {
  display: flex;
  width: max-content;
  animation: scroll-ticker 40s linear infinite;
}

.ticker:hover { animation-play-state: paused; cursor: default; }

@keyframes scroll-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 1.25rem;
  border-right: 1px solid var(--border2);
  white-space: nowrap;
  font-size: 0.75rem;
}

.ticker-symbol { color: var(--muted2); font-weight: 500; letter-spacing: 0.04em; }
.ticker-price  { color: var(--text); font-weight: 400; }
.ticker-change.up   { color: #4ade80; }
.ticker-change.down { color: #f87171; }
.ticker-loading { font-size: 0.75rem; color: var(--muted); padding: 0 1rem; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero-banner {
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--accent);
}

.hero-banner h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -1px;
  max-width: 600px;
  margin-bottom: 0.9rem;
}

.hero-banner h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  color: var(--muted2);
  font-size: 0.92rem;
  font-weight: 300;
  max-width: 400px;
  line-height: 1.6;
}

/* ── PAGE WRAP ───────────────────────────────────────────────── */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

/* ── FEATURED + GRID LAYOUT ──────────────────────────────────── */
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.5rem;
  transition: background 0.12s;
  min-height: 220px;
}

.featured-card:hover { background: var(--surface2); }
.featured-card:hover .card-arrow { transform: translate(3px,-3px); }

.featured-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-accent {
  width: 100%;
  background: linear-gradient(135deg, #151f00 0%, #0f1a00 100%);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.featured-accent::before {
  content: '₿';
  font-size: 8rem;
  color: var(--accent);
  opacity: 0.07;
  font-family: 'Syne', sans-serif;
  position: absolute;
}

.featured-accent-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  position: relative;
}

.featured-card h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--text);
  margin: 0.75rem 0 1rem;
}

/* regular article grid — always 2 cols, clean */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.article-card {
  background: var(--surface);
  padding: 1.6rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: background 0.12s;
}

.article-card:hover { background: var(--surface2); }
.article-card:hover .card-arrow { transform: translate(2px,-2px); }

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tag {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 3px 9px;
  border-radius: 3px;
}

.card-arrow {
  font-size: 0.9rem;
  color: var(--muted);
  transition: transform 0.18s;
}

.article-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  flex: 1;
}

.card-meta { font-size: 0.73rem; color: var(--muted); font-weight: 300; }

/* ── AD BANNER ───────────────────────────────────────────────── */
.ad-banner {
  margin-bottom: 2rem;
  min-height: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.ad-sidebar {
  min-height: 250px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

/* ── ARTICLE PAGE ────────────────────────────────────────────── */
.article-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem 6rem;
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.sidebar { position: sticky; top: 72px; }

.sidebar-label {
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.article-inner { max-width: 680px; }

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.article-inner h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.75px;
  margin-bottom: 0.5rem;
}

.article-divider {
  height: 1px;
  background: var(--border2);
  margin: 1.5rem 0 2rem;
}

.content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2.25rem 0 0.65rem;
  color: var(--text);
  letter-spacing: -0.3px;
}

.content p {
  margin-bottom: 1.25rem;
  color: #b8b3ab;
  font-weight: 300;
  line-height: 1.82;
  font-size: 1rem;
}

.content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(200,241,53,0.35);
  transition: text-decoration-color 0.15s;
}

.content a:hover { text-decoration-color: var(--accent); }
.content strong { color: var(--text); font-weight: 500; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.12s;
  font-weight: 400;
}
.back-link:hover { color: var(--text); }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-copy { font-size: 0.75rem; color: var(--muted); font-weight: 300; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-tag { display: none; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-accent { display: none; }
  .article-grid { grid-template-columns: 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero-banner, .page-wrap, .article-wrap { padding-left: 1rem; padding-right: 1rem; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}
