/* ============================================================
   CRYPTO NATION TV — Main Stylesheet
   Dreamweaver-friendly: all images use class="page-image"
   To swap any image: select it in Dreamweaver > Properties panel > Src
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --black:      #0a0a0f;
  --dark:       #12121a;
  --darker:     #1a1a28;
  --panel:      #1e1e2e;
  --border:     #2a2a40;
  --gold:       #f5c518;
  --gold-dim:   #c9a010;
  --red:        #e63946;
  --green:      #06d6a0;
  --blue:       #118ab2;
  --text:       #e8e8f0;
  --muted:      #8888a8;
  --font-head:  'Oswald', 'Impact', sans-serif;
  --font-body:  'Source Sans Pro', 'Helvetica Neue', sans-serif;
  --font-mono:  'Roboto Mono', 'Courier New', monospace;
  --ticker-h:   44px;
  --header-h:   80px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* ── Utility ── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  border-left: 4px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 20px;
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 2px;
}
.badge-live   { background: var(--red);   color: #fff; animation: pulse-badge 1.4s infinite; }
.badge-new    { background: var(--gold);  color: #000; }
.badge-market { background: var(--blue);  color: #fff; }
.btn {
  display: inline-block;
  padding: 10px 24px;
  font-family: var(--font-head);
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  color: var(--gold);
  cursor: pointer;
  transition: background .2s, color .2s;
  background: transparent;
}
.btn:hover { background: var(--gold); color: #000; }
.btn-solid  { background: var(--gold); color: #000; }
.btn-solid:hover { background: var(--gold-dim); color: #000; }
.btn-red    { border-color: var(--red); color: var(--red); }
.btn-red:hover { background: var(--red); color: #fff; }

/* ── Animations ── */
@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50%       { opacity: .5; }
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ============================================================
   CRYPTO TICKER BAR
   ============================================================ */
#crypto-ticker {
  height: var(--ticker-h);
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 200;
}
.ticker-label {
  flex-shrink: 0;
  background: var(--gold);
  color: #000;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  z-index: 2;
}
.ticker-label::after {
  content: '';
  position: absolute;
  left: 96px;
  top: 0; bottom: 0;
  width: 24px;
  background: linear-gradient(to right, var(--dark), transparent);
}
.ticker-track-wrap {
  overflow: hidden;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 60s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  font-family: var(--font-mono);
  font-size: .82rem;
  border-right: 1px solid var(--border);
  height: var(--ticker-h);
}
.ticker-symbol {
  font-weight: 700;
  color: #fff;
  letter-spacing: .05em;
}
.ticker-price { color: var(--text); }
.ticker-change { font-weight: 600; }
.ticker-change.up   { color: var(--green); }
.ticker-change.down { color: var(--red); }
.ticker-change.up::before   { content: '▲ '; font-size: .7rem; }
.ticker-change.down::before { content: '▼ '; font-size: .7rem; }

/* ============================================================
   SITE HEADER
   ============================================================ */
#site-header {
  height: var(--header-h);
  background: var(--dark);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 48px; height: 48px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 900;
  color: #000;
  letter-spacing: -.05em;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text .brand { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: #fff; letter-spacing: .05em; line-height: 1; }
.logo-text .tagline { font-size: .65rem; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }

/* Main Nav */
#main-nav ul { display: flex; gap: 0; }
#main-nav ul li { position: relative; }
#main-nav ul li a {
  display: block;
  padding: 0 18px;
  height: var(--header-h);
  line-height: var(--header-h);
  font-family: var(--font-head);
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  transition: color .2s, background .2s;
}
#main-nav ul li a:hover,
#main-nav ul li a.active { color: var(--gold); background: rgba(245,197,24,.05); }
#main-nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--darker);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  min-width: 200px;
  z-index: 300;
}
#main-nav ul li:hover > ul { display: block; }
#main-nav ul li ul li a {
  height: auto;
  line-height: 1.4;
  padding: 12px 18px;
  font-size: .82rem;
  border-bottom: 1px solid var(--border);
}

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-cta .btn-solid { white-space: nowrap; padding: 9px 18px; font-size: .82rem; letter-spacing: .06em; line-height: 1; display: inline-flex; align-items: center; gap: 6px; }
.header-search {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: .85rem;
  width: 200px;
  outline: none;
  transition: border-color .2s;
}
.header-search:focus { border-color: var(--gold); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--text);
  transition: all .3s;
}
#mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--ticker-h) + var(--header-h));
  left: 0; right: 0; bottom: 0;
  background: var(--darker);
  z-index: 99;
  overflow-y: auto;
  padding: 20px;
}
#mobile-menu.open { display: block; }
#mobile-menu ul { flex-direction: column; }
#mobile-menu ul li a { height: auto; line-height: 1; padding: 14px 0; border-bottom: 1px solid var(--border); }

/* ============================================================
   BREAKING NEWS BAR
   ============================================================ */
#breaking-bar {
  background: var(--red);
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.breaking-label {
  flex-shrink: 0;
  background: #fff;
  color: var(--red);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
}
.breaking-scroll {
  overflow: hidden;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
}
.breaking-inner {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
}
.breaking-inner span { padding: 0 10px; border-left: 1px solid rgba(255,255,255,.3); }

/* ============================================================
   HERO / FEATURED STORY
   ============================================================ */
#hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2px;
  background: var(--border);
  min-height: 520px;
}
.hero-main {
  position: relative;
  overflow: hidden;
  background: var(--darker);
}
/* ── IMAGE SWAP GUIDE (Dreamweaver) ──
   Select img.page-image > Properties > Src to change hero image
   Recommended size: 860x520px
   ─────────────────────────────────── */
.hero-main img.page-image {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.hero-main:hover img.page-image { transform: scale(1.02); }
.hero-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
}
.hero-main-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 30px;
}
.hero-main-content .badge { margin-bottom: 12px; }
.hero-main-content h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.8);
  margin-bottom: 12px;
}
.hero-main-content .excerpt {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-meta { display: flex; gap: 16px; align-items: center; font-size: .8rem; color: rgba(255,255,255,.6); }
.hero-meta .author { color: var(--gold); font-weight: 600; }

/* Hero Sidebar Stories */
.hero-sidebar { display: flex; flex-direction: column; gap: 2px; }
.hero-side-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--darker);
  cursor: pointer;
}
/* ── IMAGE SWAP (Dreamweaver) ──
   img.page-image inside .hero-side-item
   Recommended size: 340x170px
   ─────────────────────────────── */
.hero-side-item img.page-image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.hero-side-item:hover img.page-image { transform: scale(1.05); }
.hero-side-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px;
}
.hero-side-overlay h4 { font-size: .95rem; color: #fff; line-height: 1.3; }
.hero-side-overlay .cat { font-size: .7rem; color: var(--gold); font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }

/* ============================================================
   MAIN CONTENT GRID
   ============================================================ */
#main-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  padding: 30px 0;
}
.content-feed { display: flex; flex-direction: column; gap: 24px; }
.sidebar { display: flex; flex-direction: column; gap: 28px; }

/* ── News Card ── */
.news-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
  overflow: hidden;
}
.news-card:hover { border-color: var(--gold); transform: translateY(-2px); }
/* ── IMAGE SWAP (Dreamweaver) ──
   img.page-image inside .news-card-thumb
   Recommended size: 200x140px
   ─────────────────────────────── */
.news-card-thumb {
  position: relative;
  overflow: hidden;
  height: 140px;
}
.news-card-thumb img.page-image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.news-card:hover .news-card-thumb img.page-image { transform: scale(1.07); }
.news-card-body { padding: 16px 16px 16px 0; display: flex; flex-direction: column; justify-content: space-between; }
.news-card-cat {
  font-family: var(--font-head);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.news-card h3 { font-size: 1rem; color: #fff; line-height: 1.35; margin-bottom: 8px; }
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--gold); }
.news-card .excerpt { font-size: .85rem; color: var(--muted); flex: 1; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-meta { font-size: .75rem; color: var(--muted); display: flex; gap: 12px; }
.news-card-meta .author { color: var(--gold); }

/* ── Featured Card (full width in feed) ── */
.news-card-featured {
  grid-template-columns: 1fr;
  position: relative;
  height: 260px;
}
.news-card-featured .news-card-thumb { height: 100%; }
.news-card-featured .news-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9), transparent);
  padding: 20px;
}
.news-card-featured h3 { font-size: 1.3rem; }

/* ── Load More ── */
.load-more-area { text-align: center; padding: 20px 0; }

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.widget {
  background: var(--panel);
  border: 1px solid var(--border);
}
.widget-header {
  background: var(--darker);
  padding: 12px 16px;
  border-bottom: 2px solid var(--gold);
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.widget-body { padding: 16px; }

/* Market Widget */
.market-table { width: 100%; border-collapse: collapse; }
.market-table th {
  font-family: var(--font-head);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.market-table td {
  padding: 10px 6px;
  font-size: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  vertical-align: middle;
}
.market-table td:first-child { font-weight: 700; color: #fff; }
.market-table .price-col { font-family: var(--font-mono); font-size: .82rem; }
.market-table .chg { font-weight: 600; font-size: .8rem; }
.market-table .chg.up   { color: var(--green); }
.market-table .chg.down { color: var(--red); }
.coin-icon { display: inline-flex; align-items: center; gap: 6px; }
.coin-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* Trending Widget */
.trending-list { display: flex; flex-direction: column; }
.trending-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.trending-item:last-child { border-bottom: none; }
.trending-num {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--border);
  min-width: 28px;
  line-height: 1;
}
.trending-item:first-child .trending-num { color: var(--gold); }
.trending-item:nth-child(2) .trending-num { color: rgba(245,197,24,.5); }
.trending-text { flex: 1; }
.trending-text a { font-size: .88rem; color: var(--text); font-weight: 600; line-height: 1.3; display: block; margin-bottom: 4px; }
.trending-text a:hover { color: var(--gold); }
.trending-meta { font-size: .72rem; color: var(--muted); }

/* RSS Feed Widget */
.rss-list { display: flex; flex-direction: column; }
.rss-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.rss-item:last-child { border-bottom: none; }
.rss-item a { font-size: .85rem; color: var(--text); display: block; margin-bottom: 4px; font-weight: 500; }
.rss-item a:hover { color: var(--gold); }
.rss-item .rss-source { font-size: .72rem; color: var(--gold); font-family: var(--font-head); letter-spacing: .06em; }
.rss-item .rss-time { font-size: .72rem; color: var(--muted); }
.rss-status { font-size: .78rem; color: var(--muted); text-align: center; padding: 12px 0; }

/* Newsletter Widget */
.newsletter-widget { background: var(--darker); border-color: var(--gold); }
.newsletter-widget .widget-body { padding: 20px; text-align: center; }
.newsletter-widget p { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.newsletter-widget input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: .88rem;
  margin-bottom: 10px;
  outline: none;
  transition: border-color .2s;
}
.newsletter-widget input:focus { border-color: var(--gold); }
.newsletter-widget .btn { width: 100%; }

/* Social Widget */
.social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.social-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px;
  font-family: var(--font-head);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
  text-decoration: none;
}
.social-btn:hover { opacity: .85; }
.social-btn.youtube  { background: #FF0000; color: #fff; }
.social-btn.twitter  { background: #1DA1F2; color: #fff; }
.social-btn.facebook { background: #1877F2; color: #fff; }
.social-btn.telegram { background: #229ED9; color: #fff; }
.social-btn.rumble   { background: #85C742; color: #fff; }
.social-btn.discord  { background: #5865F2; color: #fff; }

/* Ad/Banner Widget */
/* ── IMAGE SWAP (Dreamweaver) ──
   img.page-image inside .ad-widget
   Recommended size: 300x250px
   ─────────────────────────────── */
.ad-widget img.page-image { width: 100%; display: block; }

/* ============================================================
   CATEGORY SECTIONS
   ============================================================ */
.category-section { padding: 40px 0; border-top: 1px solid var(--border); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Small News Card ── */
.news-card-sm {
  background: var(--panel);
  border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
  overflow: hidden;
}
.news-card-sm:hover { border-color: var(--gold); transform: translateY(-2px); }
/* ── IMAGE SWAP (Dreamweaver) ──
   img.page-image inside .news-card-sm-thumb
   Recommended size: 380x200px
   ─────────────────────────────── */
.news-card-sm-thumb { height: 180px; overflow: hidden; position: relative; }
.news-card-sm-thumb img.page-image { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-card-sm:hover .news-card-sm-thumb img.page-image { transform: scale(1.06); }
.news-card-sm-body { padding: 14px; }
.news-card-sm-cat { font-family: var(--font-head); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.news-card-sm h4 { font-size: .95rem; color: #fff; line-height: 1.35; margin-bottom: 8px; }
.news-card-sm h4 a { color: inherit; }
.news-card-sm h4 a:hover { color: var(--gold); }
.news-card-sm-meta { font-size: .72rem; color: var(--muted); }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section { background: var(--darker); padding: 40px 0; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.video-card { background: var(--panel); border: 1px solid var(--border); overflow: hidden; }
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
}
/* ── IMAGE SWAP (Dreamweaver) ──
   img.page-image inside .video-thumb
   Recommended size: 580x326px
   ─────────────────────────────── */
.video-thumb img.page-image { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.video-card:hover .video-thumb img.page-image { transform: scale(1.04); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.4);
  transition: background .2s;
}
.video-play-btn:hover { background: rgba(0,0,0,.6); }
.play-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.play-circle:hover { transform: scale(1.1); }
.play-circle::after {
  content: '';
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #000;
  margin-left: 4px;
}
.video-info { padding: 14px; }
.video-info .cat { font-family: var(--font-head); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.video-info h4 { font-size: 1rem; color: #fff; line-height: 1.3; margin-bottom: 6px; }
.video-info h4 a { color: inherit; }
.video-info h4 a:hover { color: var(--gold); }
.video-info .meta { font-size: .75rem; color: var(--muted); }

/* Embed container for YouTube */
.video-embed { position: relative; aspect-ratio: 16/9; display: none; }
.video-embed iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   MARKET DATA SECTION (Full Width)
   ============================================================ */
.market-section { background: var(--darker); padding: 30px 0; border-top: 2px solid var(--gold); }
.market-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 2px; background: var(--border); }
.market-card {
  background: var(--panel);
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: background .2s;
}
.market-card:hover { background: var(--darker); }
.market-card .symbol { font-family: var(--font-head); font-size: .9rem; font-weight: 700; color: #fff; letter-spacing: .05em; margin-bottom: 4px; }
.market-card .price { font-family: var(--font-mono); font-size: .95rem; color: var(--text); margin-bottom: 4px; }
.market-card .change { font-size: .82rem; font-weight: 700; }
.market-card .change.up   { color: var(--green); }
.market-card .change.down { color: var(--red); }
.market-card .chart-spark { height: 40px; margin-top: 8px; }

/* ============================================================
   CHART SECTION
   ============================================================ */
.chart-section { padding: 24px 0; }
.chart-wrapper {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 16px 20px;
}
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.chart-coin-select {
  background: var(--darker);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: .88rem;
  outline: none;
  cursor: pointer;
}
.chart-range { display: flex; gap: 6px; }
.chart-range button {
  background: var(--darker);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 12px;
  font-family: var(--font-head);
  font-size: .75rem;
  letter-spacing: .06em;
  cursor: pointer;
  transition: all .2s;
}
.chart-range button.active,
.chart-range button:hover { background: var(--gold); border-color: var(--gold); color: #000; }
#price-chart { width: 100%; height: 220px; max-height: 220px; }

/* ============================================================
   OPINION / ANALYSIS SECTION
   ============================================================ */
.opinion-section { padding: 40px 0; }
.opinion-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.opinion-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 20px;
  transition: border-color .2s;
}
.opinion-card:hover { border-color: var(--gold); border-left-color: var(--gold); }
.opinion-author { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
/* ── IMAGE SWAP (Dreamweaver) ──
   img.page-image inside .author-avatar
   Recommended size: 48x48px (square)
   ─────────────────────────────── */
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: var(--darker);
  flex-shrink: 0;
}
.author-avatar img.page-image { width: 100%; height: 100%; object-fit: cover; }
.author-info .name { font-weight: 700; color: #fff; font-size: .92rem; }
.author-info .title { font-size: .75rem; color: var(--gold); }
.opinion-card blockquote {
  font-size: .92rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 12px;
  border: none;
  padding: 0;
}
.opinion-card .topic { font-size: .78rem; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--darker);
  border-top: 2px solid var(--gold);
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-text .brand { font-size: 1.6rem; color: #fff; }
.footer-brand .tagline { color: var(--muted); font-size: .88rem; margin: 14px 0; line-height: 1.6; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: .85rem;
  font-family: var(--font-head);
  font-weight: 700;
  transition: all .2s;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #000; }
.footer-col h5 {
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.footer-col ul li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.footer-col ul li a {
  font-size: .88rem;
  color: var(--muted);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   PAGE BANNERS (Inner Pages)
   ============================================================ */
.page-banner {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end;
  background: var(--darker);
}
/* ── IMAGE SWAP (Dreamweaver) ──
   img.page-image inside .page-banner
   Recommended size: 1240x220px
   ─────────────────────────────── */
.page-banner img.page-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .4;
}
.page-banner-content {
  position: relative;
  padding: 30px 0;
  width: 100%;
}
.page-banner-content h1 { color: #fff; margin-bottom: 6px; }
.breadcrumb { display: flex; gap: 8px; font-size: .82rem; color: var(--muted); }
.breadcrumb a { color: var(--gold); }
.breadcrumb span::before { content: '›'; margin-right: 8px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 0; align-items: center; }
/* ── IMAGE SWAP (Dreamweaver) ──
   img.page-image inside .about-img
   Recommended size: 580x400px
   ─────────────────────────────── */
.about-img { overflow: hidden; border: 2px solid var(--gold); }
.about-img img.page-image { width: 100%; display: block; }
.about-content h2 { margin-bottom: 16px; }
.about-content p { color: var(--muted); margin-bottom: 14px; line-height: 1.75; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.stat-box { background: var(--panel); border: 1px solid var(--border); padding: 20px; text-align: center; }
.stat-box .num { font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--gold); }
.stat-box .label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 0; }
.team-card { background: var(--panel); border: 1px solid var(--border); text-align: center; overflow: hidden; }
/* ── IMAGE SWAP (Dreamweaver) ──
   img.page-image inside .team-card-img
   Recommended size: 280x280px (square)
   ─────────────────────────────── */
.team-card-img { height: 200px; overflow: hidden; }
.team-card-img img.page-image { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.team-card:hover .team-card-img img.page-image { transform: scale(1.06); }
.team-card-info { padding: 16px; }
.team-card-info .name { font-size: 1rem; color: #fff; font-weight: 700; margin-bottom: 4px; }
.team-card-info .role { font-size: .78rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 0; }
.contact-form { background: var(--panel); border: 1px solid var(--border); padding: 30px; }
.contact-form h3 { margin-bottom: 20px; color: var(--gold); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 6px; letter-spacing: .06em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--darker);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { height: 140px; resize: vertical; }
.contact-info h3 { margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--panel);
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text .label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-info-text .value { font-size: .95rem; color: #fff; }

/* ============================================================
   LIVE TV PAGE
   ============================================================ */
.live-section { padding: 40px 0; }
.live-player {
  background: #000;
  border: 2px solid var(--red);
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
/* ── IMAGE SWAP (Dreamweaver) ──
   img.page-image inside .live-player (poster/thumbnail)
   Recommended size: 1240x697px
   Replace src with YouTube embed or stream URL in JS
   ─────────────────────────────── */
.live-player img.page-image { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.live-player-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px;
}
.live-indicator {
  display: flex; align-items: center; gap: 8px;
  background: var(--red);
  padding: 8px 18px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
}
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: pulse-badge 1s infinite; }
.live-player h2 { color: #fff; text-align: center; }
.watch-btn { font-size: 1.1rem; padding: 14px 36px; }

/* ============================================================
   SCHEDULE TABLE
   ============================================================ */
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th {
  background: var(--darker);
  padding: 12px 16px;
  font-family: var(--font-head);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  text-align: left;
}
.schedule-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  vertical-align: middle;
}
.schedule-table tr:hover td { background: var(--panel); }
.schedule-table .time-col { font-family: var(--font-mono); color: var(--gold); white-space: nowrap; }
.schedule-table .show-name { font-weight: 700; color: #fff; }
.schedule-table .show-desc { color: var(--muted); font-size: .82rem; }
.schedule-table .live-now { color: var(--red); font-weight: 700; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-grid { display: grid; grid-template-columns: 1fr 320px; gap: 30px; padding: 30px 0; }
.article-body { background: var(--panel); border: 1px solid var(--border); padding: 30px; }
/* ── IMAGE SWAP (Dreamweaver) ──
   img.page-image inside .article-featured-img
   Recommended size: 860x460px
   ─────────────────────────────── */
.article-featured-img { margin: -30px -30px 30px; overflow: hidden; height: 360px; }
.article-featured-img img.page-image { width: 100%; height: 100%; object-fit: cover; }
.article-kicker { font-family: var(--font-head); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.article-body h1 { margin-bottom: 12px; }
.article-byline { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.article-byline .author { color: var(--gold); font-weight: 600; font-size: .88rem; }
.article-byline .date { color: var(--muted); font-size: .82rem; }
.article-byline .share { margin-left: auto; display: flex; gap: 8px; }
.share-btn { padding: 5px 12px; font-size: .75rem; font-family: var(--font-head); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--border); color: var(--muted); cursor: pointer; background: transparent; transition: all .2s; }
.share-btn:hover { background: var(--gold); border-color: var(--gold); color: #000; }
.article-content p { color: var(--muted); line-height: 1.8; margin-bottom: 18px; font-size: .97rem; }
.article-content h2 { color: #fff; margin: 28px 0 12px; font-size: 1.4rem; }
.article-content h3 { color: var(--gold); margin: 22px 0 10px; font-size: 1.1rem; }
.article-content blockquote {
  border-left: 4px solid var(--gold);
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--darker);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
}
.article-tags { margin-top: 30px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  padding: 5px 12px;
  background: var(--darker);
  border: 1px solid var(--border);
  font-size: .75rem;
  color: var(--muted);
  font-family: var(--font-head);
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .2s;
  cursor: pointer;
}
.tag:hover { background: var(--gold); border-color: var(--gold); color: #000; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  #main-content { grid-template-columns: 1fr 280px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .opinion-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  #main-nav, .header-search, .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  #hero { grid-template-columns: 1fr; }
  .hero-sidebar { display: none; }
  #main-content { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .news-card { grid-template-columns: 120px 1fr; }
  .news-card-thumb { height: 100px; }
  .category-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .market-cards { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .news-card { grid-template-columns: 1fr; }
  .news-card-thumb { height: 180px; }
  .social-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
}
