/*
Theme Name: Coin680
Theme URI: https://coin680.com
Author: Coin680
Description: Custom news/education theme for Coin680 -- Bitcoin news, Bitcoin Academy and Exchange Hub, built on the FXM680 red/navy/cream brand palette. CoinDesk-style homepage layout.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: coin680
*/

/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */

:root {
  --c680-red: #c11510;
  --c680-red-dark: #9d110d;
  --c680-navy: #111c2d;
  --c680-cream: #fffbf2;
  --c680-white: #ffffff;
  --c680-gray: #666666;
  --c680-border: #eaeaea;
  --c680-font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--c680-font);
  color: #222222;
  background: var(--c680-white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c680-red); text-decoration: none; }
a:hover { text-decoration: underline; }
.c680-section-title {
  font-size: 22px; font-weight: 700; color: var(--c680-navy);
  margin: 0 0 16px 0; padding-bottom: 10px; border-bottom: 3px solid var(--c680-red);
  display: inline-block;
}
main { display: block; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ==========================================================================
   2. BREAKING BAR + HEADER
   ========================================================================== */

.c680-breaking-bar {
  background: var(--c680-red); color: #fff; padding: 8px 20px;
  display: flex; align-items: center; gap: 12px; font-size: 14px;
}
.c680-breaking-bar a { color: #fff; font-weight: 500; }
.c680-breaking-label {
  background: #fff; color: var(--c680-red); font-weight: 700; text-transform: uppercase;
  font-size: 11px; padding: 3px 8px; border-radius: 3px; letter-spacing: .5px; flex-shrink: 0;
}

.c680-header { background: var(--c680-white); border-bottom: 1px solid var(--c680-border); }
.c680-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.c680-logo-text { font-size: 26px; font-weight: 900; color: var(--c680-red); letter-spacing: -0.5px; }
.custom-logo-link { display: block; line-height: 0; }
.custom-logo { height: 56px; width: auto; max-width: none; }
.c680-primary-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.c680-menu {
  list-style: none; display: flex; flex-wrap: nowrap; gap: 14px; margin: 0; padding: 0;
  position: relative;
}
.c680-menu li { position: relative; }
.c680-menu > li > a {
  color: var(--c680-navy); font-weight: 500; font-size: 16px; text-decoration: none; padding: 8px 0;
  white-space: nowrap;
}
.c680-menu > li > a:hover { color: var(--c680-red); }
.c680-menu ul {
  list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--c680-border); border-radius: 6px; min-width: 220px;
  box-shadow: 0 8px 20px rgba(17,28,45,0.1); display: none; z-index: 100;
}
.c680-menu li:hover > ul { display: block; }
.c680-menu ul li a { display: block; padding: 8px 16px; font-size: 14px; color: var(--c680-navy); }
.c680-menu ul li a:hover { background: var(--c680-cream); color: var(--c680-red); }

.c680-nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 36px; padding: 0; border: none; background: transparent; cursor: pointer;
}
.c680-nav-toggle span { display: block; width: 100%; height: 3px; border-radius: 2px; background: var(--c680-navy); transition: transform .2s ease, opacity .2s ease; }
.c680-nav-toggle-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.c680-nav-toggle-open span:nth-child(2) { opacity: 0; }
.c680-nav-toggle-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Ticker (header + market strip) -- scrolling marquee of top coins by market cap */
.c680-ticker-scroll { overflow: hidden; width: 100%; height: 24px; line-height: 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.c680-ticker-track { display: inline-flex; flex-wrap: nowrap; gap: 28px; align-items: center; white-space: nowrap; animation: c680-ticker-scroll 45s linear infinite; will-change: transform; }
.c680-ticker-scroll:hover .c680-ticker-track { animation-play-state: paused; }
.c680-ticker-item { font-size: 13px; color: var(--c680-navy); white-space: nowrap; flex: 0 0 auto; }
.c680-ticker-item strong { color: var(--c680-red); margin-right: 4px; }
.c680-ticker-change { font-weight: 700; margin-left: 4px; }
.c680-ticker-up { color: #1a9c4a; }
.c680-ticker-down { color: var(--c680-red); }
@keyframes c680-ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.c680-header-ticker { max-width: 420px; overflow: hidden; }
.c680-header-ticker .c680-ticker-item { color: var(--c680-navy); }

/* X (Twitter) follow icon in header -- always visible on every page so
   visitors have one obvious, consistent way to find/contact us on X,
   without depending on the footer menu being configured. */
.c680-header-x {
  position: fixed; top: 16px; right: 16px; z-index: 999;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--c680-navy);
  color: #fff; flex-shrink: 0; margin-left: 12px; transition: background .2s, transform .2s;
  box-shadow: 0 2px 8px rgba(17,28,45,0.25);
}
.c680-header-x:hover { transform: scale(1.06); }
.c680-header-x svg { width: 24px; height: 24px; }
.c680-header-x:hover { background: var(--c680-red); text-decoration: none; }
.c680-footer-x { color: #cfd5de; }
.c680-footer-x:hover { color: #fff; }

/* ==========================================================================
   3. HOMEPAGE
   ========================================================================== */

.c680-hero-section { display: flex; gap: 24px; padding: 36px 0 44px; flex-wrap: wrap; }
.c680-hero-main { flex: 2 1 500px; }
.c680-hero-secondary { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }

.c680-market-strip {
  background: var(--c680-navy); color: #fff; padding: 18px 24px; border-radius: 8px;
  margin: 8px 0 44px; display: flex; flex-direction: column; gap: 10px;
}
.c680-market-strip .c680-section-title { color: #fff; border-bottom-color: var(--c680-red); font-size: 16px; margin: 0 0 4px 0; padding-bottom: 6px; }
.c680-market-strip .c680-ticker-scroll { width: 100%; }
.c680-market-strip .c680-ticker-item { color: #fff; }
.c680-market-strip .c680-ticker-item strong { color: #ffb3ae; }

.c680-news-columns { display: flex; gap: 30px; padding-bottom: 30px; flex-wrap: wrap; }
.c680-news-main { flex: 2 1 600px; }
.c680-news-sidebar { flex: 1 1 280px; background: var(--c680-cream); border-radius: 8px; padding: 20px; }

.c680-trending-item { display: flex; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--c680-border); }
.c680-trending-item:last-child { border-bottom: none; }
.c680-trending-num { font-weight: 900; color: var(--c680-red); font-size: 18px; flex-shrink: 0; }
.c680-trending-item a { color: var(--c680-navy); font-weight: 500; font-size: 14px; }
.c680-trending-item a:hover { color: var(--c680-red); }

.c680-learn-section, .c680-exchange-section, .c680-category-section { padding: 10px 0 56px; }
.c680-category-section .c680-section-title a { color: inherit; }
.c680-category-section .c680-section-title a:hover { color: var(--c680-red); text-decoration: none; }
.c680-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-bottom: 16px; }

.c680-more-link { display: inline-block; font-weight: 700; color: var(--c680-red); margin-top: 6px; }

.c680-affiliate-note { font-size: 13px; color: var(--c680-gray); font-style: italic; margin-top: -8px; margin-bottom: 16px; }

.c680-exchange-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.c680-exchange-card {
  border: 2px solid var(--c680-navy); border-radius: 8px; padding: 22px 16px; text-align: center;
  background: #fff; transition: border-color .2s, background .2s;
}
.c680-exchange-card:hover { border-color: var(--c680-red); background: var(--c680-cream); text-decoration: none; }
.c680-exchange-name { display: block; font-size: 18px; font-weight: 700; color: var(--c680-navy); margin-bottom: 6px; }
.c680-exchange-cta { display: block; font-size: 13px; color: var(--c680-red); font-weight: 600; }

/* ==========================================================================
   4. CARDS
   ========================================================================== */

.c680-card { background: #fff; }
.c680-card-thumb { display: block; border-radius: 6px; overflow: hidden; margin-bottom: 10px; background: var(--c680-cream); aspect-ratio: 16/9; }
.c680-card-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.c680-card-thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--c680-cream), var(--c680-border)); }
.c680-card-cat {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--c680-red); margin-bottom: 6px;
}
.c680-card-title { font-size: 17px; line-height: 1.35; margin: 0 0 8px 0; }
.c680-card-title a { color: var(--c680-navy); }
.c680-card-title a:hover { color: var(--c680-red); }
.c680-card-excerpt { font-size: 14px; color: var(--c680-gray); margin: 0 0 8px 0; }
.c680-card-meta { font-size: 12px; color: #999; }

.c680-card-hero .c680-card-title { font-size: 28px; }
.c680-card-hero .c680-card-excerpt { font-size: 15px; }

.c680-card-compact { display: flex; gap: 12px; }
.c680-card-compact .c680-card-thumb { flex: 0 0 100px; margin-bottom: 0; aspect-ratio: 1/1; }
.c680-card-compact .c680-card-title { font-size: 14px; margin: 0 0 4px 0; }

/* ==========================================================================
   5. SINGLE / PAGE / ARCHIVE
   ========================================================================== */

.c680-single-layout { display: flex; gap: 40px; padding: 30px 0 60px; flex-wrap: wrap; }
.c680-single-article { flex: 2 1 600px; }
.c680-single-sidebar { flex: 1 1 280px; }
.c680-single-title { font-size: 32px; color: var(--c680-navy); line-height: 1.25; margin: 8px 0 12px; }
.c680-single-meta { font-size: 13px; color: #999; margin-bottom: 20px; }
.c680-single-thumb { margin: 20px 0; border-radius: 8px; overflow: hidden; }

.c680-affiliate-banner {
  background: var(--c680-cream); border-left: 4px solid var(--c680-red); padding: 12px 16px;
  font-size: 13px; color: var(--c680-navy); margin-bottom: 24px; border-radius: 0 6px 6px 0;
}
.c680-affiliate-banner a { font-weight: 700; }

.c680-author-link { color: var(--c680-red); font-weight: 700; text-decoration: none; }
.c680-author-link:hover { text-decoration: underline; }

.c680-author-box {
  display: flex; gap: 16px; align-items: flex-start; margin: 32px 0 8px;
  padding: 18px; background: var(--c680-cream); border-radius: 8px;
}
.c680-author-avatar {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  background: var(--c680-navy); color: #fff; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.c680-author-name { font-weight: 700; color: var(--c680-navy); margin-bottom: 4px; }
.c680-author-desc { font-size: 14px; color: #555; margin: 0; }
.c680-author-desc a { color: var(--c680-red); font-weight: 600; }

/* Comments */
.c680-comments { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c680-border); }
.c680-comments-title { font-size: 22px; color: var(--c680-navy); margin: 0 0 20px; }
.c680-comments-closed { color: #888; font-size: 14px; }
.c680-comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.c680-comment-list .children { list-style: none; margin: 16px 0 0; padding: 0 0 0 30px; }
.comment { margin-bottom: 20px; }
.comment-body { padding: 16px 18px; background: #fafafa; border-radius: 8px; }
.comment-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.comment-author.vcard { display: flex; align-items: center; gap: 10px; }
.comment .avatar { border-radius: 50%; flex-shrink: 0; }
.comment-author .fn { font-style: normal; font-weight: 700; color: var(--c680-navy); font-size: 14px; }
.comment-metadata { font-size: 12px; color: #999; }
.comment-metadata a { color: inherit; }
.comment-content p { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: #333; }
.comment-reply-link {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--c680-red);
  text-decoration: none; margin-top: 4px;
}
.comment-reply-link:hover { text-decoration: underline; }
.comment-awaiting-moderation { display: block; font-size: 12px; font-style: italic; color: #b8860b; margin-bottom: 6px; }

#respond { background: var(--c680-cream); border-radius: 10px; padding: 22px 24px; }
.comment-reply-title { font-size: 18px; color: var(--c680-navy); margin: 0 0 14px; }
.comment-reply-title small a { font-size: 12px; font-weight: 400; margin-left: 8px; }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; font-size: 13px; font-weight: 600; color: var(--c680-navy); margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--c680-border); border-radius: 6px;
  font-size: 14px; font-family: inherit; box-sizing: border-box;
}
.comment-form textarea { resize: vertical; }
.c680-comment-submit {
  background: var(--c680-red); color: #fff; border: none; padding: 12px 26px;
  border-radius: 6px; font-weight: 700; font-size: 14px; cursor: pointer;
}
.c680-comment-submit:hover { opacity: .9; }

/* Share buttons */
.c680-share-buttons { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; flex-wrap: wrap; }
.c680-share-label { font-size: 13px; color: #888; font-weight: 600; margin-right: 2px; }
.c680-share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 32px; padding: 0 12px; border-radius: 6px;
  background: var(--c680-navy); color: #fff; font-size: 12px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer; letter-spacing: .3px;
}
.c680-share-btn:hover { background: var(--c680-red); color: #fff; }

/* Newsletter box */
.c680-newsletter-box {
  background: var(--c680-navy); border-radius: 10px; padding: 28px 24px;
  margin: 32px 0; text-align: center;
}
.c680-newsletter-title { color: #fff; font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.c680-newsletter-desc { color: #cbd2e0; font-size: 14px; margin: 0 0 18px; }
.c680-newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.c680-newsletter-input {
  flex: 1 1 220px; padding: 12px 14px; border-radius: 6px; border: none; font-size: 14px;
}
.c680-newsletter-submit {
  padding: 12px 20px; border-radius: 6px; border: none; background: var(--c680-red);
  color: #fff; font-weight: 700; cursor: pointer; font-size: 14px;
}
.c680-newsletter-submit:hover { opacity: .9; }
.c680-newsletter-submit:disabled { opacity: .6; cursor: default; }
.c680-newsletter-status { margin: 12px 0 0; font-size: 13px; }
.c680-newsletter-ok { color: #4ade80; }
.c680-newsletter-error { color: #ff8f8a; }
.c680-newsletter-section { margin: 48px 0; }

/* Fear & Greed Index widget */
.c680-fng-section { margin: 24px 0; }
.c680-fng-card {
  background: var(--c680-navy); border-radius: 12px; padding: 26px 28px;
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
  box-shadow: 0 6px 18px rgba(17,28,45,0.15);
}
.c680-fng-info { flex: 1 1 240px; }
.c680-fng-title { color: #fff; font-size: 20px; font-weight: 900; margin: 0 0 8px; }
.c680-fng-desc { color: #cbd2e0; font-size: 13px; margin: 0 0 6px; line-height: 1.5; }
.c680-fng-trend { color: #9aa5bd; font-size: 12px; margin: 0; font-weight: 600; }
.c680-fng-gauge { flex: 1 1 320px; display: flex; align-items: center; gap: 20px; }
.c680-fng-bar-wrap { flex: 1 1 220px; min-width: 180px; }
.c680-fng-bar {
  position: relative; height: 10px; border-radius: 6px;
  background: linear-gradient(90deg, #c11510 0%, #f97316 25%, #eab308 50%, #84cc16 75%, #22c55e 100%);
}
.c680-fng-marker {
  position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--c680-navy); box-shadow: 0 0 0 2px #fff;
  transform: translate(-50%, -50%); transition: left .3s ease;
}
.c680-fng-scale { display: flex; justify-content: space-between; font-size: 10px; color: #7c86a1; text-transform: uppercase; letter-spacing: .4px; margin-top: 8px; }
.c680-fng-readout { display: flex; flex-direction: column; align-items: center; min-width: 90px; }
.c680-fng-value { font-size: 34px; font-weight: 900; line-height: 1; }
.c680-fng-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; color: #cbd2e0; }
.c680-fng-extreme-fear .c680-fng-value { color: #ff6b63; }
.c680-fng-fear .c680-fng-value { color: #fb923c; }
.c680-fng-neutral .c680-fng-value { color: #facc15; }
.c680-fng-greed .c680-fng-value { color: #a3e635; }
.c680-fng-extreme-greed .c680-fng-value { color: #4ade80; }

@media (max-width: 600px) {
  .c680-fng-card { padding: 20px; gap: 20px; }
  .c680-fng-gauge { gap: 14px; }
}

/* Bitcoin Halving Countdown page */
.c680-halving-card {
  background: var(--c680-navy); border-radius: 12px; padding: 32px 24px; text-align: center;
  margin-bottom: 20px;
}
.c680-halving-countdown { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.c680-halving-unit {
  display: flex; flex-direction: column; align-items: center; min-width: 80px;
  background: rgba(255,255,255,0.06); border-radius: 8px; padding: 16px 10px;
}
.c680-halving-num { font-size: 40px; font-weight: 900; color: var(--c680-red); line-height: 1; }
.c680-halving-label { font-size: 11px; color: #cbd2e0; text-transform: uppercase; letter-spacing: .6px; margin-top: 6px; }
.c680-halving-eta { color: #cbd2e0; font-size: 13px; margin: 20px 0 0; }
.c680-halving-eta strong { color: #fff; }
.c680-halving-stats-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.c680-halving-stats-table th, .c680-halving-stats-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--c680-border); font-size: 14px; }
.c680-halving-stats-table th { color: var(--c680-navy); font-weight: 600; width: 55%; }

@media (max-width: 480px) {
  .c680-halving-unit { min-width: 64px; padding: 12px 6px; }
  .c680-halving-num { font-size: 28px; }
}

/* Altcoin Season Index page */
.c680-season-card {
  background: var(--c680-navy); border-radius: 12px; padding: 28px 24px; text-align: center;
  margin-bottom: 28px;
}
.c680-season-gauge-wrap { max-width: 480px; margin: 0 auto; }
.c680-season-bar {
  position: relative; height: 10px; border-radius: 6px;
  background: linear-gradient(90deg, #c11510 0%, #7c86a1 50%, #22c55e 100%);
}
.c680-season-marker {
  position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--c680-navy); box-shadow: 0 0 0 2px #fff;
  transform: translate(-50%, -50%); transition: left .3s ease;
}
.c680-season-scale { display: flex; justify-content: space-between; font-size: 11px; color: #cbd2e0; text-transform: uppercase; letter-spacing: .4px; margin-top: 10px; }
.c680-season-readout { display: flex; flex-direction: column; align-items: center; margin-top: 24px; }
.c680-season-value { font-size: 52px; font-weight: 900; line-height: 1; color: #fff; }
.c680-season-label { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-top: 6px; }
.c680-season-bitcoin-season .c680-season-label { color: #ff8f8a; }
.c680-season-neutral .c680-season-label { color: #cbd2e0; }
.c680-season-altcoin-season .c680-season-label { color: #4ade80; }
.c680-season-detail { color: #cbd2e0; font-size: 13px; margin: 18px 0 0; }
.c680-season-subtitle { font-size: 20px; color: var(--c680-navy); margin: 0 0 12px; }

/* Top Gainers & Losers tabs */
.c680-gl-tabs { display: flex; gap: 10px; margin-bottom: 16px; }
.c680-gl-tab {
  padding: 10px 22px; border-radius: 6px; border: 2px solid var(--c680-navy); background: transparent;
  color: var(--c680-navy); font-weight: 700; font-size: 14px; cursor: pointer;
}
.c680-gl-tab-active { background: var(--c680-navy); color: #fff; }
.c680-gl-panel[hidden] { display: none; }

.c680-archive-header { padding: 30px 0 10px; }
.c680-archive-title { font-size: 30px; color: var(--c680-navy); margin: 0 0 8px; }
.c680-archive-desc { color: var(--c680-gray); margin-bottom: 10px; }
.c680-archive { padding-bottom: 40px; }

.c680-page { max-width: 800px; margin: 0 auto; padding: 40px 20px 60px; }
.c680-page-title { font-size: 30px; color: var(--c680-navy); margin-bottom: 20px; }

.c680-widget-title { font-size: 15px; font-weight: 700; text-transform: uppercase; color: var(--c680-navy); margin: 0 0 12px; }

/* Live price pages */
.c680-prices-page { max-width: 960px; }
.c680-prices-intro { color: var(--c680-gray); margin-bottom: 20px; }
.c680-prices-table-wrap { overflow-x: auto; margin-bottom: 12px; }
.c680-prices-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.c680-prices-table th, .c680-prices-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--c680-border); white-space: nowrap; }
.c680-prices-table th { color: var(--c680-navy); text-transform: uppercase; font-size: 12px; letter-spacing: .5px; }
.c680-prices-table tbody tr:hover { background: var(--c680-cream); }
.c680-prices-name a { color: var(--c680-navy); font-weight: 600; text-decoration: none; }
.c680-prices-name a:hover { color: var(--c680-red); }
.c680-prices-row { cursor: pointer; }
.c680-prices-back { margin-bottom: 12px; }
.c680-prices-back a { color: var(--c680-red); font-weight: 600; text-decoration: none; }
.c680-prices-back a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .c680-prices-table th, .c680-prices-table td { padding: 12px 10px; }
  .c680-prices-table { font-size: 14px; }
}
.c680-prices-updated { font-size: 12px; color: var(--c680-gray); font-style: italic; }

.c680-coin-price-box { background: var(--c680-navy); border-radius: 8px; padding: 24px; margin-bottom: 20px; text-align: center; }
.c680-coin-price-main { font-size: 42px; font-weight: 900; color: #fff; }
.c680-coin-price-change { font-size: 16px; font-weight: 700; margin-top: 6px; }
.c680-coin-price-change.c680-ticker-up { color: #4ade80; }
.c680-coin-price-change.c680-ticker-down { color: #ff8f8a; }
.c680-coin-stats-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.c680-coin-stats-table th, .c680-coin-stats-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--c680-border); font-size: 14px; }
.c680-coin-stats-table th { color: var(--c680-gray); font-weight: 500; width: 45%; }
.c680-coin-stats-table td { color: var(--c680-navy); font-weight: 700; }

/* ==========================================================================
   6. FOOTER
   ========================================================================== */

.c680-footer { background: var(--c680-navy); color: #cfd5de; margin-top: 20px; }
.c680-footer-inner { max-width: 1200px; margin: 0 auto; padding: 30px 20px; text-align: center; }
.c680-footer-menu { list-style: none; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 0 0 16px; padding: 0; }
.c680-footer-menu a { color: #cfd5de; font-size: 14px; }
.c680-footer-menu a:hover { color: #fff; }
.c680-footer-disclaimer { font-size: 12px; color: #8b93a1; max-width: 700px; margin: 0 auto 12px; line-height: 1.6; }
.c680-footer-disclaimer a { color: #ffb3ae; }
.c680-footer-copy { font-size: 12px; color: #8b93a1; margin: 0; }

/* ==========================================================================
   7. RESPONSIVE
   ========================================================================== */

@media (max-width: 782px) {
  .c680-header-inner { position: relative; }
  .c680-nav-toggle { display: flex; }
  .c680-primary-nav {
    display: none; flex: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--c680-white); border-top: 1px solid var(--c680-border);
    box-shadow: 0 10px 20px rgba(17,28,45,0.1); max-height: 80vh; overflow-y: auto; z-index: 200;
  }
  .c680-primary-nav.c680-nav-open { display: block; }
  .c680-menu { flex-direction: column; gap: 0; }
  .c680-menu > li { width: 100%; border-bottom: 1px solid var(--c680-border); }
  .c680-menu > li > a { display: block; padding: 14px 20px; }
  .c680-menu ul {
    position: static; display: block; box-shadow: none; border: none; border-radius: 0;
    background: var(--c680-cream); padding: 4px 0; min-width: 0;
  }
  .c680-menu ul li a { padding-left: 34px; }
  .c680-header-ticker { display: none; }
  .c680-header-x { width: 40px; height: 40px; top: 10px; right: 10px; }
  .c680-header-x svg { width: 20px; height: 20px; }
  .c680-hero-section, .c680-news-columns, .c680-single-layout { flex-direction: column; }
  .c680-hero-main, .c680-hero-secondary,
  .c680-news-main, .c680-news-sidebar,
  .c680-single-article, .c680-single-sidebar { flex-basis: auto; }
  .c680-single-title { font-size: 24px; }
  main { padding: 0 16px; }
  .c680-card-grid { grid-template-columns: 1fr; }
  .c680-card-hero .c680-card-title { font-size: 22px; }
  .c680-exchange-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .c680-card-compact { gap: 10px; }
  .c680-card-compact .c680-card-thumb { flex: 0 0 80px; }
  .c680-exchange-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ==========================================================================
   8. CONTENT CLASSES (tiny-*) -- used inside article body per
   Coin680-Master-Content-Prompt.md, identical palette to FXM680, copied as-is
   so posts render correctly without a separate Additional CSS paste step.
   ========================================================================== */

.tiny-wrapper { font-family: 'Roboto', Arial, sans-serif; font-size: 16px; line-height: 1.7; color: #333333; background-color: #ffffff; padding: 0; margin: 0; overflow-x: auto; }
.tiny-sapo { margin-bottom: 20px; }
.tiny-sapo a { color: #c11510; text-decoration: none; font-weight: bold; }
.tiny-sapo a:hover { text-decoration: underline; }

.tiny-toc { background-color: #fffbf2; padding: 20px; border-radius: 8px; margin-bottom: 30px; border: 1px solid #111c2d; }
.tiny-toc-title { font-weight: bold; font-size: 18px; margin-bottom: 12px; color: #111c2d; text-transform: uppercase; margin-top: 0; }
.tiny-toc-list { list-style-type: none; padding-left: 0; margin: 0; }
.tiny-toc-list li { margin-bottom: 8px; }
.tiny-toc-list a { color: #c11510; text-decoration: none; }
.tiny-toc-list a:hover { text-decoration: underline; }

.tiny-disclaimer { font-style: italic; color: #777777; font-size: 14px; margin-top: 30px; border-top: 1px solid #eaeaea; padding-top: 15px; }

/* Plain <table> inside article content (stats/comparison tables) -- was
   completely unstyled before, rendering as unbordered browser-default text
   with no visual separation between cells (reported as "messy"). .tiny-
   wrapper's own overflow-x:auto (see above) keeps a wide table from
   breaking mobile layout. */
.tiny-wrapper table { width: 100%; border-collapse: collapse; margin: 25px 0; font-size: 15px; }
.tiny-wrapper table th { background-color: #111c2d; color: #ffffff; text-align: left; padding: 10px 14px; font-weight: bold; }
.tiny-wrapper table td { padding: 10px 14px; border-bottom: 1px solid #eaeaea; }
.tiny-wrapper table tbody tr:nth-child(even) td { background-color: #fffbf2; }
.tiny-wrapper table tbody tr:last-child td { border-bottom: none; }

/* Multi-niche CTA (Blog / Bitcoin Academy) */
.tiny-cta-multi { border: 2px solid #c11510; border-radius: 8px; margin: 40px 0; position: relative; background: #fffbf2; display: flex; flex-wrap: wrap; padding: 25px; box-shadow: 0 4px 12px rgba(17,28,45,0.05); }
.tiny-cta-multi-badge { position: absolute; top: -16px; left: 20px; background-color: #c11510; color: #ffffff; padding: 6px 18px; font-weight: bold; font-size: 12px; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; }
.tiny-cta-multi-img-col { flex: 0 0 160px; text-align: center; border-right: 1px solid #111c2d; padding-right: 20px; margin-right: 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.tiny-cta-multi-img-col img { max-width: 100%; height: auto; object-fit: contain; margin-bottom: 8px; }
.tiny-cta-multi-img-caption { font-size: 11px; color: #111c2d; margin: 0; font-weight: bold; text-transform: uppercase; }
.tiny-cta-multi-content-col { flex: 1; min-width: 280px; display: flex; flex-direction: column; justify-content: space-between; }
.tiny-cta-multi-title { font-size: 20px; font-weight: bold; color: #111c2d; margin-top: 0; margin-bottom: 10px; }
.tiny-cta-multi-text { margin-bottom: 15px; font-size: 14px; color: #111c2d; line-height: 1.6; }
.tiny-cta-multi-divider { border: 0; border-top: 1px dashed #c11510; margin: 10px 0 15px 0; }
.tiny-cta-multi-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.tiny-cta-multi-price { font-size: 18px; font-weight: bold; color: #c11510; margin: 0; }
.tiny-cta-multi-btn { background-color: #c11510; color: #ffffff; padding: 12px 28px; border-radius: 4px; text-decoration: none; font-weight: bold; font-size: 14px; text-transform: uppercase; transition: background 0.3s ease; text-align: center; white-space: nowrap; }
.tiny-cta-multi-btn:hover { background-color: #9d110d; }

/* Category CTA (Exchange Comparison Hub) */
.tiny-cta-category { border: 2px solid #111c2d; border-radius: 8px; position: relative; margin: 40px 0; padding: 30px 25px; background: #ffffff; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.tiny-cta-category-badge { position: absolute; top: -14px; left: 25px; background-color: #111c2d; color: #ffffff; padding: 4px 16px; font-size: 12px; font-weight: bold; text-transform: uppercase; border-radius: 4px; letter-spacing: 1px; }
.tiny-cta-category-flex { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.tiny-cta-category-img-wrap { flex: 1 1 180px; text-align: center; }
.tiny-cta-category-img-wrap img { max-width: 100%; height: auto; object-fit: contain; }
.tiny-cta-category-content { flex: 1 1 400px; }
.tiny-cta-category-title { font-size: 22px; font-weight: bold; margin: 0 0 12px 0; line-height: 1.3; color: #c11510; }
.tiny-cta-category-text { font-size: 15px; color: #111c2d; margin: 0 0 15px 0; line-height: 1.6; }
.tiny-cta-category-divider { border: 0; border-top: 1px dashed #eaeaea; margin: 15px 0; }
.tiny-cta-category-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; }
.tiny-cta-category-price { color: #c11510; font-weight: bold; font-size: 20px; }
.tiny-cta-category-btn { background-color: #c11510; color: #ffffff; padding: 12px 25px; border-radius: 4px; text-decoration: none; font-weight: bold; font-size: 14px; text-transform: uppercase; display: inline-block; text-align: center; }
.tiny-cta-category-btn:hover { background-color: #9d110d; }

/* Curated Product Display box */
.tiny-product-best { border: 1px solid #eaeaea; border-radius: 8px; padding: 25px; margin: 35px 0; position: relative; display: flex; flex-wrap: wrap; gap: 30px; align-items: center; background-color: #fffbf2; }
.tiny-product-best-img-wrap { flex: 0 0 auto; width: 100%; max-width: 220px; text-align: center; margin: 0 auto; }
.tiny-product-best-img-wrap img { max-width: 100%; height: auto; object-fit: contain; border-radius: 4px; }
.tiny-product-best-content { flex: 1 1 320px; display: flex; flex-direction: column; }
.tiny-product-best-title { font-size: 24px; font-weight: bold; margin: 0 0 10px 0; line-height: 1.3; color: #111c2d; }
.tiny-product-best-text { font-size: 15px; color: #111c2d; margin-bottom: 20px; line-height: 1.6; }
.tiny-product-best-divider { border: 0; border-top: 1px dashed #111c2d; margin-bottom: 15px; width: 100%; }
.tiny-product-best-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; }
.tiny-product-best-price { color: #c11510; font-weight: bold; font-size: 22px; }
.tiny-product-best-btn { background-color: #c11510; color: #ffffff; padding: 12px 32px; border-radius: 4px; text-decoration: none; font-weight: bold; font-size: 15px; display: inline-block; transition: background 0.2s; text-align: center; }
.tiny-product-best-btn:hover { background-color: #9d110d; }

/* Cross-sell box */
.tiny-cross-sell { border: 2px solid #c11510; border-radius: 8px; padding: 25px; margin: 35px 0; position: relative; display: flex; flex-wrap: wrap; gap: 25px; align-items: center; background-color: #ffffff; box-shadow: 0 4px 15px rgba(193,21,16,0.06); }
.tiny-cross-sell-badge { position: absolute; top: -14px; left: 20px; background-color: #c11510; color: #ffffff; font-size: 11px; font-weight: bold; padding: 4px 16px; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; }
.tiny-cross-sell-img-wrap { flex: 0 0 auto; width: 100%; max-width: 210px; text-align: center; margin: 0 auto; }
.tiny-cross-sell-img-wrap img { max-width: 100%; height: auto; object-fit: contain; }
.tiny-cross-sell-content { flex: 1 1 300px; display: flex; flex-direction: column; }
.tiny-cross-sell-title { font-size: 22px; font-weight: bold; margin: 0 0 10px 0; line-height: 1.3; color: #111c2d; }
.tiny-cross-sell-text { font-size: 15px; color: #111c2d; margin-bottom: 20px; line-height: 1.6; }
.tiny-cross-sell-divider { border: 0; border-top: 1px dashed #eaeaea; margin-bottom: 15px; width: 100%; }
.tiny-cross-sell-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; }
.tiny-cross-sell-price { color: #c11510; font-weight: bold; font-size: 22px; }
.tiny-cross-sell-btn { background-color: #111c2d; color: #ffffff; padding: 12px 30px; border-radius: 4px; text-decoration: none; font-weight: bold; font-size: 15px; display: inline-block; text-align: center; }
.tiny-cross-sell-btn:hover { background-color: #0c1420; }

/* Live Whale Signals page (added 2026-07-30) */
.c680-ws-page { max-width: 960px; }
.c680-ws-section { margin-bottom: 36px; }
.c680-ws-section:last-of-type { margin-bottom: 20px; }
.c680-ws-chain-filter { margin-bottom: 16px; flex-wrap: wrap; }
.c680-ws-chain-filter .c680-gl-tab { text-decoration: none; display: inline-block; }
.c680-ws-refresh {
  background: var(--c680-navy); color: #fff; border: none; border-radius: 4px;
  padding: 4px 12px; font-size: 12px; font-weight: 600; cursor: pointer; margin-left: 8px;
}
.c680-ws-refresh:hover { background: var(--c680-red); }

/* Live Whale Signals page v2 (added 2026-07-30): public watched-wallets
   directory, live badge, type filter row, big-move badge, pagination */
.c680-ws-heading-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.c680-ws-heading-row .c680-section-title { margin-bottom: 0; }

.c680-ws-live-badge {
  display: inline-flex; align-items: center; gap: 6px; background: #111c2d; color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase;
  letter-spacing: .4px;
}
.c680-ws-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; display: inline-block;
  animation: c680-ws-pulse 1.4s ease-in-out infinite;
}
@keyframes c680-ws-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

.c680-ws-wallet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 8px; }
.c680-ws-wallet-card {
  border: 1px solid var(--c680-border); border-radius: 8px; padding: 14px 16px; background: var(--c680-cream);
}
.c680-ws-wallet-chain {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
  color: var(--c680-red); margin-bottom: 6px;
}
.c680-ws-wallet-label { font-weight: 700; color: var(--c680-navy); font-size: 15px; margin-bottom: 4px; }
.c680-ws-wallet-address { font-size: 12px; color: var(--c680-gray); font-family: monospace; word-break: break-all; }

.c680-ws-filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }

.c680-ws-big-badge {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--c680-red);
  background: #fff0ef; padding: 1px 6px; border-radius: 4px; margin-left: 4px;
}
.c680-ws-row-big { background: #fff8f0; }
.c680-ws-row-big:hover { background: #fff0e0 !important; }

.c680-ws-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.c680-ws-pagination a {
  padding: 8px 16px; border: 2px solid var(--c680-navy); border-radius: 6px; font-weight: 700;
  color: var(--c680-navy); text-decoration: none; font-size: 13px;
}
.c680-ws-pagination a:hover { background: var(--c680-navy); color: #fff; }
.c680-ws-page-info { font-size: 13px; color: var(--c680-gray); font-weight: 600; }

@media (max-width: 480px) {
  .c680-ws-wallet-grid { grid-template-columns: 1fr; }
}


