/*
Theme Name: Crypto Blog
Theme URI: https://example.com/crypto-blog
Author: Your Name
Author URI: https://example.com
Description: A premium dark editorial WordPress theme for crypto, gold, macro and finance blogging.
Version: 3.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crypto-blog
Tags: blog, dark-mode, crypto, finance, magazine, news, one-column, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, theme-options, translation-ready
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

/* Keyframe Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.1); }
  50%      { box-shadow: 0 0 45px rgba(255, 215, 0, 0.22); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* Scroll Reveal System */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Reading Progress Bar */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--cb-accent), var(--cb-accent-2), var(--cb-accent-3));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cb-accent), #FFE44D);
  color: #111827;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 90;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.5);
}

/* Dark/Light Mode Toggle (now in header-right) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--cb-border);
  background: transparent;
  color: var(--cb-text-muted);
  cursor: pointer;
  font-size: 18px;
  transition: all 0.25s ease;
}

.theme-toggle:hover {
  color: var(--cb-accent);
  background: rgba(255, 215, 0, 0.08);
  border-color: rgba(255, 215, 0, 0.3);
}

/* Social Share Buttons */
.social-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--cb-border);
}

.social-share-bar .share-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cb-text-muted);
  margin-right: 6px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--cb-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cb-text-muted);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.share-btn:hover {
  color: #fff;
  transform: translateY(-2px);
}

.share-btn.twitter:hover   { background: #1da1f2; border-color: #1da1f2; }
.share-btn.facebook:hover   { background: #1877f2; border-color: #1877f2; }
.share-btn.linkedin:hover   { background: #0a66c2; border-color: #0a66c2; }
.share-btn.whatsapp:hover   { background: #25d366; border-color: #25d366; }
.share-btn.copy-link:hover  { background: var(--cb-accent); border-color: var(--cb-accent); color: #111; }

/* Newsletter Section */
.newsletter-section {
  margin-top: 40px;
  padding: 48px 36px;
  border-radius: var(--cb-radius);
  border: 1px solid var(--cb-border-strong);
  background:
    radial-gradient(circle at top left, rgba(255, 215, 0, 0.12), transparent 40%),
    radial-gradient(circle at bottom right, rgba(0, 200, 83, 0.1), transparent 40%),
    linear-gradient(135deg, rgba(16, 24, 38, 0.95), rgba(10, 15, 25, 0.98));
  text-align: center;
  animation: glowPulse 4s ease infinite;
}

.newsletter-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.newsletter-section p {
  color: var(--cb-text-muted);
  max-width: 520px;
  margin: 0 auto 24px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--cb-border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--cb-accent);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

.newsletter-form button {
  flex-shrink: 0;
}

/* Table of Contents */
.toc-box {
  padding: 22px 26px;
  margin-bottom: 28px;
  border-radius: var(--cb-radius-sm);
  border: 1px solid var(--cb-border);
  background: rgba(255, 255, 255, 0.025);
}

.toc-box .toc-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cb-accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.toc-box .toc-title::after {
  content: '\25BE';
  transition: transform 0.3s ease;
}

.toc-box.toc-collapsed .toc-title::after {
  transform: rotate(-90deg);
}

.toc-box ol {
  margin: 0;
  padding-left: 1.2rem;
  counter-reset: toc-counter;
}

.toc-box li {
  counter-increment: toc-counter;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.toc-box li:last-child {
  border-bottom: 0;
}

.toc-box a {
  color: var(--cb-text-muted);
}

.toc-box a:hover {
  color: var(--cb-accent);
}

.toc-box.toc-collapsed ol {
  display: none;
}

/* Social Links in Footer */
.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--cb-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cb-text-muted);
  font-size: 16px;
  transition: all 0.25s ease;
}

.footer-social-links a:hover {
  color: var(--cb-accent);
  border-color: var(--cb-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

/* Trending Ticker Marquee */
.trending-marquee {
  overflow: hidden;
  padding: 14px 0;
  margin-top: 28px;
  border-top: 1px solid var(--cb-border);
  border-bottom: 1px solid var(--cb-border);
}

.trending-marquee-inner {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}

.trending-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cb-text-muted);
}

.trending-marquee-item .trend-up   { color: var(--cb-accent-2); }
.trending-marquee-item .trend-down { color: var(--cb-danger); }

/* Floating Particles (decorative) */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.floating-orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(255, 215, 0, 0.08);
  top: 10%;
  right: -5%;
  animation: floatUp 8s ease-in-out infinite;
}

.floating-orb-2 {
  width: 250px;
  height: 250px;
  background: rgba(0, 200, 83, 0.06);
  bottom: 20%;
  left: -8%;
  animation: floatUp 10s ease-in-out infinite 2s;
}

/* Light Mode Overrides */
body.light-mode {
  --cb-bg: #f8f8f8;
  --cb-bg-alt: #f0f0f0;
  --cb-bg-soft: #e8e8e8;
  --cb-card: rgba(255, 255, 255, 0.9);
  --cb-card-strong: #ffffff;
  --cb-border: rgba(0, 0, 0, 0.08);
  --cb-border-strong: rgba(255, 215, 0, 0.35);
  --cb-text: #1a1a1a;
  --cb-text-muted: #666666;
  --cb-accent: #FFD700;
  --cb-accent-2: #00C853;
  --cb-accent-3: #00BFFF;
  --cb-danger: #FF1744;
  background: var(--cb-bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 191, 255, 0.06), transparent),
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(255, 215, 0, 0.05), transparent);
  background-attachment: fixed;
  color: var(--cb-text);
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
  color: #111827;
}

body.light-mode .site-header {
  background: rgba(245, 247, 251, 0.85);
}

body.light-mode .site-footer {
  background: linear-gradient(180deg, #edf0f7, #f5f7fb);
}

body.light-mode .footer-glow-line {
  opacity: 0.2;
}

body.light-mode .footer-bottom {
  background: rgba(0, 0, 0, 0.02);
}

body.light-mode a {
  color: #b8860b;
}

body.light-mode .entry-title a,
body.light-mode .site-title a {
  color: #111827;
}

body.light-mode .main-navigation a {
  color: #374151;
}

body.light-mode .main-navigation a:hover {
  background: rgba(0, 0, 0, 0.04);
}

body.light-mode .main-navigation ul ul {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .header-logo .default-logo text[fill="#98a5bd"] {
  fill: #5c6577;
}

body.light-mode .crypto-ticker {
  background: linear-gradient(90deg, var(--cb-accent), #f9d97b, var(--cb-accent));
}

:root {
  --cb-bg: #050505;
  --cb-bg-alt: #0c0c0c;
  --cb-bg-soft: #141414;
  --cb-card: rgba(18, 18, 18, 0.8);
  --cb-card-strong: #1a1a1a;
  --cb-border: rgba(255, 255, 255, 0.08);
  --cb-border-strong: rgba(255, 215, 0, 0.3);
  --cb-text: #f0f0f0;
  --cb-text-muted: #8a8a8a;
  --cb-accent: #FFD700;
  --cb-accent-2: #00C853;
  --cb-accent-3: #00BFFF;
  --cb-danger: #FF1744;
  --cb-radius: 18px;
  --cb-radius-sm: 12px;
  --cb-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --cb-shadow-glow: 0 0 30px rgba(255, 215, 0, 0.1);
  --cb-max-width: 1440px;
  --cb-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --cb-font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --cb-header-height: 70px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--cb-font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--cb-text);
  background: var(--cb-bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 191, 255, 0.07), transparent),
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(255, 215, 0, 0.06), transparent),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(0, 200, 83, 0.04), transparent);
  background-attachment: fixed;
  overflow-x: hidden;
}

a {
  color: var(--cb-accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--cb-accent-2);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--cb-radius-sm);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
  font-family: var(--cb-font-display);
}

p {
  margin: 0 0 1.2em;
}

ul,
ol {
  padding-left: 1.2rem;
}

blockquote,
figure,
pre,
table {
  margin: 0 0 1.5rem;
}

code,
pre,
kbd,
samp {
  font-family: Consolas, Monaco, "Courier New", monospace;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(100%, var(--cb-max-width));
  margin: 0 auto;
  padding: 0 20px;
}

.site-content-wrapper {
  position: relative;
}

.section-kicker,
.mini-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 800;
}

.section-kicker {
  color: var(--cb-accent);
  margin-bottom: 16px;
}

.mini-kicker {
  color: var(--cb-accent-2);
  margin-bottom: 10px;
}

.section-heading,
.page-header {
  margin-bottom: 28px;
}

.section-heading h2,
.page-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: 0.3em;
}

.archive-description,
.home-hero-description,
.single-post-intro,
.section-heading p,
.empty-state-card p,
.spotlight-card p,
.insight-card p,
.hero-featured-body p {
  color: var(--cb-text-muted);
  font-size: 1rem;
}

.spotlight-card p,
.insight-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.crypto-ticker {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(90deg, var(--cb-accent), #f9d97b, var(--cb-accent));
  background-size: 200% 100%;
  animation: gradientShift 4s ease infinite;
  color: #111827;
}

.crypto-ticker-inner {
  display: flex;
  gap: 60px;
  padding: 10px 20px;
  white-space: nowrap;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ═══════ MODERN HEADER ═══════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--cb-header-height);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(3, 5, 8, 0.75);
  border-bottom: 1px solid var(--cb-border);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(3, 5, 8, 0.95);
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 215, 0, 0.03);
  border-bottom-color: rgba(255, 215, 0, 0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--cb-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}

/* Logo */
.header-left {
  flex-shrink: 0;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.header-logo:hover {
  opacity: 0.85;
}

.header-logo .default-logo,
.header-logo .custom-logo {
  height: 38px;
  width: auto;
  display: block;
}

/* Center Navigation */
.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-navigation ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  color: var(--cb-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.main-navigation a::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-navigation a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main-navigation a:hover {
  color: #FFD700;
  background: rgba(255, 215, 0, 0.06);
}

.main-navigation a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.main-navigation a:hover::after {
  opacity: 1;
}

.main-navigation a:active {
  transform: scale(0.97);
}

/* Submenu / Dropdown */
.main-navigation ul ul {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: none;
  flex-direction: column;
  gap: 3px;
  min-width: 220px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(10, 14, 23, 0.96);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 215, 0, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 215, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-navigation ul ul::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(10, 14, 23, 0.96);
  border-top: 1px solid rgba(255, 215, 0, 0.12);
  border-left: 1px solid rgba(255, 215, 0, 0.12);
}

.main-navigation ul ul a {
  padding: 11px 16px;
  font-size: 0.82rem;
  border-radius: 10px;
}

.main-navigation ul ul a::before {
  display: none;
}

.main-navigation ul ul a:hover {
  background: rgba(255, 215, 0, 0.08);
  padding-left: 20px;
}

.main-navigation li:hover > ul {
  display: flex;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Header Right Actions */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: var(--cb-text-muted);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-icon-btn:hover {
  color: #FFD700;
  border-color: rgba(255, 215, 0, 0.2);
  background: rgba(255, 215, 0, 0.06);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.08);
}

.header-icon-btn.theme-toggle:hover {
  color: var(--cb-accent);
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.08);
}

/* Header CTA Button */
.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FFD700, #FFE44D);
  color: #0a0e17;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
}

.header-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.header-cta-btn:hover {
  color: #0a0e17;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.header-cta-btn:hover::before {
  transform: translateX(100%);
}

.cta-pulse {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a0e17;
  opacity: 0.3;
  animation: glowPulse 2s ease infinite;
}

/* Header Login Button */
.header-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  background: rgba(255, 215, 0, 0.04);
  color: #FFD700;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.header-login-btn:hover {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.4);
  color: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.15);
}

.header-login-btn svg {
  flex-shrink: 0;
  stroke: #FFD700;
}

/* Header Search Dropdown */
.header-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(5, 8, 16, 0.96);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--cb-border);
  padding: 20px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
}

.header-search-dropdown.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.header-search-inner {
  max-width: 640px;
  margin: 0 auto;
}

.header-search-inner .search-form {
  gap: 12px;
}

.header-search-inner .search-field {
  font-size: 1.1rem;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle {
  display: none;
  padding: 10px 14px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  background: rgba(255, 215, 0, 0.04);
  color: #FFD700;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  width: 44px;
  height: 44px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.35);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.menu-toggle .hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #FFD700;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.menu-toggle .hamburger-line:nth-child(1) { top: 14px; }
.menu-toggle .hamburger-line:nth-child(2) { top: 21px; }
.menu-toggle .hamburger-line:nth-child(3) { top: 28px; }

.menu-toggle.active .hamburger-line:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

.header-cta-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn {
  background: linear-gradient(135deg, var(--cb-accent), #FFE44D);
  color: #0a0e17;
}

.btn:hover {
  color: #0a0e17;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--cb-text);
  border-color: var(--cb-border);
}

.btn-secondary:hover {
  color: #fff;
  border-color: var(--cb-border-strong);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: stretch;
  padding-top: 42px;
}

.home-hero-copy {
  position: relative;
  overflow: hidden;
  padding: 42px;
  background:
    radial-gradient(circle at top right, rgba(255, 215, 0, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(14, 22, 36, 0.9) 0%, rgba(8, 13, 22, 0.95) 100%);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-hero-copy::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.08), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: floatUp 6s ease-in-out infinite;
}

.home-hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  max-width: 12ch;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.hero-stat-card {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--cb-border-strong);
  transform: translateY(-2px);
}

.hero-stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.3rem;
  color: #fff;
}

.hero-stat-card span {
  color: var(--cb-text-muted);
  font-size: 0.92rem;
}

.home-hero-panel {
  padding: 26px;
  background:
    radial-gradient(circle at top left, rgba(0, 200, 83, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(14, 22, 36, 0.95), rgba(9, 14, 24, 0.98));
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-panel-header {
  margin-bottom: 20px;
}

.hero-featured-story {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.hero-featured-media img {
  border-radius: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-featured-body {
  padding: 20px;
}

.hero-featured-body h3,
.spotlight-card h3,
.insight-card h3 {
  font-size: 1.35rem;
}

.hero-story-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.hero-story-list-item {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-story-list-item h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.themed-section {
  margin-top: 28px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.insight-card,
.spotlight-card {
  padding: 26px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-card:hover,
.spotlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--cb-border-strong);
  box-shadow: var(--cb-shadow), var(--cb-shadow-glow);
}

.spotlight-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 191, 255, 0.12);
  color: #bad2ff;
  font-size: 0.8rem;
  font-weight: 700;
}

.site-content {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.95fr);
  gap: 30px;
  align-items: start;
  margin: 34px auto 0;
}

.site-content.no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.content-heading {
  margin-bottom: 20px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--cb-border-strong);
  box-shadow: var(--cb-shadow), var(--cb-shadow-glow);
}

.post-thumb {
  display: block;
}

.post-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
}

.post-card-body {
  padding: 22px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cb-text-muted);
}

.post-meta a {
  color: var(--cb-text-muted);
}

.meta-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.category-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.12);
  color: var(--cb-accent);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.entry-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.entry-title a {
  color: #fff;
}

.entry-title a:hover {
  color: var(--cb-accent);
}

.post-excerpt {
  color: var(--cb-text-muted);
}

.read-more {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: var(--cb-accent-2);
  font-weight: 800;
  font-size: 0.88rem;
}

.archive-hero,
.page-header {
  padding: 28px;
}

.empty-state-card {
  padding: 28px;
}

.single-post-header {
  margin-bottom: 24px;
}

.single-post-header h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 0.4em;
}

.single-post-intro {
  max-width: 68ch;
  font-size: 1.08rem;
}

.single-featured-image {
  margin-bottom: 28px;
}

.single-featured-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.entry-content {
  color: #dbe3f0;
  font-size: 1.05rem;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content a {
  text-decoration: none;
  color: var(--cb-accent);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.6em;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
}

.entry-content blockquote {
  padding: 20px 24px;
  border-left: 4px solid var(--cb-accent);
  border-radius: 0 var(--cb-radius-sm) var(--cb-radius-sm) 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cb-text-muted);
}

.entry-content pre {
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--cb-border);
  border-radius: var(--cb-radius-sm);
  background: #0b1322;
}

.entry-content code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.article-insight-box {
  padding: 22px 24px;
  margin-top: 30px;
  border-radius: var(--cb-radius-sm);
  border: 1px solid rgba(0, 200, 83, 0.18);
  background: linear-gradient(180deg, rgba(0, 200, 83, 0.09), rgba(255, 255, 255, 0.03));
}

.article-insight-box p {
  margin-bottom: 0;
}

.tags-links {
  padding-top: 22px;
  margin-top: 28px;
  border-top: 1px solid var(--cb-border);
}

.tags-links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  margin: 0 8px 8px 0;
  border-radius: 999px;
  border: 1px solid var(--cb-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cb-text-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  margin-top: 28px;
  border-radius: var(--cb-radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cb-border);
}

.author-box img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.related-posts-section {
  margin-top: 34px;
}

.related-post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-navigation,
.posts-navigation,
.nav-links,
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next,
.pagination a,
.pagination span,
.nav-links > * {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--cb-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cb-text);
}

.pagination .current {
  background: linear-gradient(135deg, var(--cb-accent), #FFE44D);
  color: #111827;
  border-color: transparent;
}

.comments-area {
  margin-top: 48px;
  padding: 32px;
  border-radius: var(--cb-radius);
  border: 1px solid var(--cb-border-strong);
  background:
    linear-gradient(135deg, rgba(255, 215, 0, 0.04), transparent 50%),
    var(--cb-card);
  box-shadow: var(--cb-shadow);
  backdrop-filter: blur(12px);
}

.comments-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.comments-title span {
  font-size: 1.6rem;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list > li {
  margin-bottom: 4px;
}

.comment-body {
  padding: 22px 24px;
  margin-bottom: 16px;
  border-radius: var(--cb-radius-sm);
  border: 1px solid var(--cb-border);
  background: rgba(255, 255, 255, 0.035);
  transition: all 0.3s ease;
  position: relative;
}

.comment-body::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cb-accent), var(--cb-accent-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.comment-body:hover {
  border-color: var(--cb-border-strong);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.comment-body:hover::before {
  opacity: 1;
}

.comment-list .children {
  margin-left: 28px;
  padding-left: 20px;
  border-left: 2px solid rgba(255, 215, 0, 0.15);
}

.comment-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-meta img {
  border-radius: 50%;
  border: 2px solid var(--cb-accent);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

.comment-author-name {
  font-weight: 800;
  color: #fff;
  font-size: 1rem;
}

.comment-metadata {
  color: var(--cb-text-muted);
  font-size: 0.82rem;
}

.comment-metadata a {
  color: var(--cb-text-muted);
  transition: color 0.2s ease;
}

.comment-metadata a:hover {
  color: var(--cb-accent);
}

.comment-content {
  color: var(--cb-text-muted);
  line-height: 1.75;
  padding-left: 60px;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  margin-left: 60px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.08);
  color: var(--cb-accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.comment-reply-link:hover {
  background: rgba(255, 215, 0, 0.18);
  border-color: rgba(255, 215, 0, 0.3);
  color: var(--cb-accent);
  transform: translateX(3px);
}

.comment-form {
  margin-top: 32px;
  padding: 28px;
  border-radius: var(--cb-radius-sm);
  border: 1px solid var(--cb-border);
  background:
    radial-gradient(circle at top right, rgba(255, 215, 0, 0.06), transparent 50%),
    rgba(255, 255, 255, 0.02);
}

.comment-reply-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  color: #fff;
}

.comment-form p {
  margin-bottom: 18px;
}

.comment-form input,
.comment-form textarea,
.widget input[type="search"],
.widget input[type="text"],
.widget select,
.search-form input[type="search"] {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--cb-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--cb-accent);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.comment-form textarea {
  min-height: 160px;
  resize: vertical;
}

.comment-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--cb-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.comment-form .form-submit input {
  width: auto;
  padding: 0 28px;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cb-accent), #FFE44D);
  color: #111827;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.comment-form .form-submit input:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.35);
}

/* ═══════ TEAM / STAFF SECTION ═══════ */
.team-section {
  margin-top: 60px;
  padding: 56px 0;
  position: relative;
}

.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cb-accent), transparent);
  opacity: 0.3;
}

.team-section .section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--cb-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.team-card {
  padding: 32px 24px;
  border-radius: var(--cb-radius);
  border: 1px solid var(--cb-border);
  background: var(--cb-card);
  backdrop-filter: blur(12px);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cb-accent), var(--cb-accent-2), var(--cb-accent-3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--cb-border-strong);
  box-shadow: var(--cb-shadow), 0 0 40px rgba(255, 215, 0, 0.08);
}

.team-card:hover::before {
  opacity: 1;
}

.team-card-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 3px solid var(--cb-accent);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
}

.team-card:hover .team-card-avatar {
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.35);
  transform: scale(1.05);
}

.team-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-card-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  font-family: var(--cb-font-display);
}

.team-card-role {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.1);
  color: var(--cb-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.team-card-bio {
  color: var(--cb-text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-section {
    padding: 36px 0;
  }
}

.widget-area {
  position: sticky;
  top: 110px;
}

.widget {
  padding: 22px;
  margin-bottom: 22px;
  transition: border-color 0.3s ease;
}

.widget:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.widget-title {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cb-border);
  color: var(--cb-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.84rem;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.widget li:last-child {
  border-bottom: 0;
}

.search-form {
  display: flex;
  gap: 12px;
}

.search-form .btn {
  flex-shrink: 0;
}

/* ═══════ MODERN FOOTER ═══════ */
.site-footer {
  margin-top: 80px;
  padding: 0;
  background: linear-gradient(180deg, var(--cb-bg) 0%, #080d18 50%, #060a12 100%);
  position: relative;
  border-top: 1px solid var(--cb-border);
}

.footer-glow-line {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--cb-accent) 30%, var(--cb-accent-2) 50%, var(--cb-accent) 70%, transparent 95%);
  opacity: 0.4;
}

.footer-main {
  max-width: var(--cb-max-width);
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
}

.footer-col-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cb-accent);
  margin-bottom: 20px;
  font-weight: 700;
}

/* Footer Brand Column */
.footer-brand-col {
  padding-right: 20px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo svg {
  height: 36px;
  width: auto;
}

.footer-about-text {
  color: var(--cb-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}

/* Footer Social Icons */
.footer-social-row {
  display: flex;
  gap: 10px;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--cb-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cb-text-muted);
  transition: all 0.25s ease;
}

.footer-social-icon:hover {
  color: var(--cb-accent);
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.18);
}

/* Footer Link Lists */
.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list li {
  margin-bottom: 12px;
}

.footer-link-list a {
  color: var(--cb-text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link-list a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-link-list a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--cb-accent);
  transition: width 0.2s ease;
}

.footer-link-list a:hover::before {
  width: 12px;
}

/* Footer Newsletter Column */
.footer-newsletter-col {
  padding-left: 10px;
}

.footer-newsletter-desc {
  color: var(--cb-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-newsletter-form {
  position: relative;
}

.footer-newsletter-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--cb-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.footer-newsletter-input-wrap:focus-within {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.08);
}

.footer-newsletter-input-wrap input[type="email"] {
  flex: 1;
  padding: 13px 16px;
  border: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  min-width: 0;
}

.footer-newsletter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: linear-gradient(135deg, var(--cb-accent), #FFE44D);
  color: #0a0e17;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.footer-newsletter-btn:hover {
  background: linear-gradient(135deg, #FFE44D, var(--cb-accent));
}

.footer-newsletter-note {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--cb-text-muted);
  opacity: 0.7;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid var(--cb-border);
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
  max-width: var(--cb-max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom-left {
  color: var(--cb-text-muted);
  font-size: 0.82rem;
}

.footer-bottom-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.footer-bottom-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom-nav a {
  color: var(--cb-text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-bottom-nav a:hover {
  color: #fff;
}

.footer-bottom-right {
  color: var(--cb-text-muted);
  font-size: 0.8rem;
}

.footer-powered .heart {
  color: var(--cb-accent);
  animation: glowPulse 2s ease infinite;
}

/* Mobile Drawer Overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Single Article Enhments */
.single-article-shell {
  padding: 32px;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.single-featured-image img {
  animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Article Tag Chips Enhanced */
.tags-links a {
  transition: all 0.25s ease;
}

.tags-links a:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--cb-accent);
  color: var(--cb-accent);
  transform: translateY(-1px);
}

/* Author Box Enhanced */
.author-box {
  transition: all 0.3s ease;
}

.author-box:hover {
  border-color: var(--cb-border-strong);
  background: rgba(255, 255, 255, 0.05);
}

/* Featured Image Overlay on Cards */
.post-thumb {
  position: relative;
  overflow: hidden;
}

.post-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.post-card:hover .post-thumb::after {
  opacity: 1;
}

.post-thumb img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .post-thumb img {
  transform: scale(1.05);
}

/* 404 Page Enhanced */
.error-404-card {
  padding: 60px 40px;
  text-align: center;
  border-radius: var(--cb-radius);
  border: 1px solid var(--cb-border);
  background: var(--cb-card);
  box-shadow: var(--cb-shadow);
  animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.error-404-card .error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-family: var(--cb-font-display);
  font-weight: 900;
  background: linear-gradient(135deg, var(--cb-accent), var(--cb-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0;
}

.error-404-card h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.error-404-card p {
  color: var(--cb-text-muted);
  margin-bottom: 24px;
}

.error-404-card .search-404 {
  max-width: 400px;
  margin: 28px auto 0;
}

/* Post Views Counter */
.post-views-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 191, 255, 0.1);
  color: var(--cb-accent-3);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Animated Underline for Links - using modern background approach */
.entry-content a {
  position: relative;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .home-hero,
  .site-content,
  .related-post-grid {
    grid-template-columns: 1fr;
  }

  .post-grid,
  .insight-grid,
  .spotlight-grid {
    grid-template-columns: 1fr;
  }

  .widget-area {
    position: static;
    top: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .footer-newsletter-col {
    padding-left: 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 880px) {
  .header-container {
    padding: 0 16px;
  }

  .header-center {
    display: none;
  }

  .main-navigation {
    display: none;
    position: fixed;
    top: var(--cb-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background:
      radial-gradient(circle at top left, rgba(255, 215, 0, 0.04), transparent 40%),
      radial-gradient(circle at bottom right, rgba(0, 191, 255, 0.03), transparent 40%),
      rgba(5, 8, 16, 0.98);
    backdrop-filter: blur(24px) saturate(1.3);
    z-index: 99;
    padding: 24px 20px;
    overflow-y: auto;
  }

  .main-navigation.toggled {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: transparent;
    border: none;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
  }

  .main-navigation li {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .main-navigation li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
  }

  .main-navigation a {
    padding: 16px 8px;
    font-size: 1.05rem;
    border-radius: 0;
    color: var(--cb-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .main-navigation a::before {
    display: none;
  }

  .main-navigation a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #FFD700, #B8860B);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .main-navigation a:hover {
    background: rgba(255, 215, 0, 0.04);
    color: #FFD700;
    padding-left: 16px;
  }

  .main-navigation a:hover::after {
    transform: translateY(-50%) scaleY(1);
    opacity: 1;
  }

  .main-navigation ul ul {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 0 20px;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    transform: none;
  }

  .main-navigation ul ul::before {
    display: none;
  }

  .main-navigation ul ul a {
    padding: 12px 8px;
    font-size: 0.92rem;
    color: var(--cb-text-muted);
    border-radius: 0;
  }

  .main-navigation ul ul a:hover {
    padding-left: 14px;
  }

  .main-navigation li.menu-open > ul {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-cta-btn,
  .header-login-btn {
    display: none;
  }

  .home-hero-copy,
  .home-hero-panel,
  .single-article-shell,
  .archive-hero,
  .widget {
    padding: 22px;
  }

  .hero-stat-row {
    grid-template-columns: 1fr;
  }

  .search-form {
    flex-direction: column;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-section {
    padding: 32px 20px;
  }

  .social-share-bar {
    flex-wrap: wrap;
  }

  .trending-marquee {
    margin-top: 20px;
  }

  .error-404-card {
    padding: 40px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-main {
    padding: 40px 20px 28px;
  }
}

@media (max-width: 640px) {
  .container,
  .header-container,
  .footer-main,
  .footer-bottom-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-hero {
    padding-top: 28px;
  }

  .home-hero-copy h1,
  .single-post-header h1 {
    max-width: none;
  }

  .header-search-dropdown {
    padding: 16px;
  }

  .footer-bottom-nav ul {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ═══════ MODERN CARD ENHANCEMENTS ═══════ */
.home-hero-copy,
.home-hero-panel,
.insight-card,
.spotlight-card,
.post-card,
.single-article-shell,
.widget,
.empty-state-card,
.archive-hero {
  border: 1px solid var(--cb-border);
  border-radius: var(--cb-radius);
  background: var(--cb-card);
  box-shadow: var(--cb-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.post-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--cb-border-strong);
  box-shadow: var(--cb-shadow), 0 0 40px rgba(255, 215, 0, 0.06);
}

.insight-card,
.spotlight-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-card:hover,
.spotlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--cb-border-strong);
  box-shadow: var(--cb-shadow), 0 0 30px rgba(255, 215, 0, 0.05);
}

/* Footer Widgets */
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: var(--cb-max-width);
  margin: 0 auto;
  padding: 0 24px 32px;
}

/* Modern gradient text for headings */
.home-hero-copy h1 {
  background: linear-gradient(135deg, #fff 60%, var(--cb-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Modern entry content link styling */
.entry-content a {
  background-image: linear-gradient(var(--cb-accent), var(--cb-accent));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s ease;
}

.entry-content a:hover {
  background-size: 100% 1px;
}

/* Modern selection color */
::selection {
  background: rgba(255, 215, 0, 0.25);
  color: #fff;
}

/* Smooth image loading */
img {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

/* Modern scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cb-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.3);
}

/* ═══════ ENHANCED VISUAL EFFECTS ═══════ */
@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}

@keyframes gradientBorder {
  0% { border-color: rgba(255, 215, 0, 0.25); }
  33% { border-color: rgba(0, 200, 83, 0.25); }
  66% { border-color: rgba(0, 191, 255, 0.25); }
  100% { border-color: rgba(255, 215, 0, 0.25); }
}

.btn::after,
.header-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: none;
}

.btn:hover::after,
.header-cta-btn:hover::after {
  animation: shine 0.6s ease forwards;
}

.btn,
.header-cta-btn {
  position: relative;
  overflow: hidden;
}

.section-kicker {
  background: linear-gradient(135deg, var(--cb-accent), var(--cb-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body {
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 191, 255, 0.07), transparent),
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(255, 215, 0, 0.06), transparent),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(0, 200, 83, 0.04), transparent);
}

.newsletter-section {
  animation: glowPulse 4s ease infinite, gradientBorder 8s ease infinite;
}

.hero-stat-card strong {
  background: linear-gradient(135deg, #fff 40%, var(--cb-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.entry-title a:hover {
  background: linear-gradient(135deg, var(--cb-accent), var(--cb-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════ CARD IMAGES ═══════ */
.card-image {
  margin: -26px -26px 20px -26px;
  border-radius: var(--cb-radius) var(--cb-radius) 0 0;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-card:hover .card-image img,
.spotlight-card:hover .card-image img {
  transform: scale(1.08);
}

.card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(12, 12, 12, 0.7), transparent);
  pointer-events: none;
}

/* Hero Panel Image */
.hero-panel-image {
  margin: -26px -26px 20px -26px;
  border-radius: var(--cb-radius) var(--cb-radius) 0 0;
  overflow: hidden;
  position: relative;
  max-height: 200px;
}

.hero-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  opacity: 0.85;
}

.hero-panel-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(12, 12, 12, 0.9) 100%);
  pointer-events: none;
}

/* ═══════ HERO SLIDER ═══════ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 480px;
  max-height: 750px;
  overflow: hidden;
  margin-top: var(--cb-header-height);
}

.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  z-index: 1;
}

.slider-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slider-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease-out;
}

.slider-slide.active .slider-slide-bg {
  transform: scale(1.05);
}

.slider-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
}

.slider-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 650px;
  padding-left: 5%;
}

.slider-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  width: fit-content;
  animation: fadeSlideUp 0.6s ease both;
}

.slider-kicker-accent {
  background: rgba(255, 215, 0, 0.15);
  color: var(--cb-accent);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.slider-kicker-accent-2 {
  background: rgba(0, 200, 83, 0.15);
  color: var(--cb-accent-2);
  border: 1px solid rgba(0, 200, 83, 0.3);
}

.slider-kicker-accent-3 {
  background: rgba(0, 191, 255, 0.15);
  color: var(--cb-accent-3);
  border: 1px solid rgba(0, 191, 255, 0.3);
}

.slider-title {
  font-family: var(--cb-font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  animation: fadeSlideUp 0.6s ease 0.15s both;
}

.slider-excerpt {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  max-width: 520px;
  animation: fadeSlideUp 0.6s ease 0.3s both;
}

.slider-btn {
  width: fit-content;
  animation: fadeSlideUp 0.6s ease 0.45s both;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
  background: var(--cb-accent);
  border-color: var(--cb-accent);
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: var(--cb-accent);
  color: var(--cb-accent);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow-prev {
  left: 1.5rem;
}

.slider-arrow-next {
  right: 1.5rem;
}

/* Slider Counter */
.slider-counter {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 10;
  font-family: var(--cb-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}

.slider-current-num {
  color: var(--cb-accent);
  font-size: 1.3rem;
}

/* ═══════ TRENDING COINS GRID ═══════ */
.coins-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.coin-card {
  background: var(--cb-card);
  border: 1px solid var(--cb-border);
  border-radius: var(--cb-radius);
  padding: 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.coin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--coin-accent, var(--cb-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.coin-card:hover {
  transform: translateY(-6px);
  border-color: var(--coin-accent, var(--cb-accent));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 25px color-mix(in srgb, var(--coin-accent, var(--cb-accent)) 20%, transparent);
}

.coin-card:hover::before {
  opacity: 1;
}

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

.coin-card-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coin-card-emoji {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.coin-card-symbol {
  font-family: var(--cb-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cb-text);
  margin: 0;
  line-height: 1.2;
}

.coin-card-name {
  font-size: 0.82rem;
  color: var(--cb-text-muted);
  font-weight: 500;
}

.coin-card-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 215, 0, 0.1);
  color: var(--cb-accent);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.coin-card-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.coin-card-price-value {
  font-family: var(--cb-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cb-text);
}

.coin-card-change {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.coin-card-change.trend-up {
  color: #00C853;
  background: rgba(0, 200, 83, 0.1);
}

.coin-card-change.trend-down {
  color: #FF1744;
  background: rgba(255, 23, 68, 0.1);
}

.coin-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--cb-border);
}

.coin-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.coin-stat-label {
  font-size: 0.72rem;
  color: var(--cb-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.coin-stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cb-text);
}

.coin-card-trade-btn {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-radius: var(--cb-radius-sm);
  background: linear-gradient(135deg, var(--coin-accent, var(--cb-accent)), color-mix(in srgb, var(--coin-accent, var(--cb-accent)) 70%, #fff));
  color: #111;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.coin-card-trade-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--coin-accent, var(--cb-accent)) 35%, transparent);
  color: #111;
}

/* ═══════ BINANCE SECTION ═══════ */
.binance-section {
  margin-top: 40px;
}

.binance-hero {
  background:
    radial-gradient(circle at top left, rgba(240, 185, 11, 0.12), transparent 40%),
    radial-gradient(circle at bottom right, rgba(240, 185, 11, 0.06), transparent 40%),
    var(--cb-card);
  border: 1px solid rgba(240, 185, 11, 0.25);
  border-radius: var(--cb-radius);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.binance-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 185, 11, 0.08), transparent 60%);
  pointer-events: none;
}

.binance-kicker {
  color: #F0B90B !important;
  border-color: rgba(240, 185, 11, 0.3) !important;
  background: rgba(240, 185, 11, 0.1) !important;
}

.binance-title {
  font-family: var(--cb-font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--cb-text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.binance-logo-icon {
  flex-shrink: 0;
}

.binance-desc {
  color: var(--cb-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 28px;
}

.binance-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.binance-btn-primary {
  background: linear-gradient(135deg, #F0B90B, #FCD535) !important;
  color: #111 !important;
  border: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--cb-radius-sm);
  transition: all 0.3s ease;
}

.binance-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(240, 185, 11, 0.3);
}

.binance-btn-secondary {
  background: transparent !important;
  color: #F0B90B !important;
  border: 2px solid rgba(240, 185, 11, 0.4) !important;
  padding: 14px 28px;
  border-radius: var(--cb-radius-sm);
  font-weight: 700;
  transition: all 0.3s ease;
}

.binance-btn-secondary:hover {
  background: rgba(240, 185, 11, 0.1) !important;
  border-color: #F0B90B !important;
  transform: translateY(-2px);
}

.binance-stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(240, 185, 11, 0.15);
}

.binance-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.binance-stat-item strong {
  font-family: var(--cb-font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #F0B90B;
}

.binance-stat-item span {
  font-size: 0.82rem;
  color: var(--cb-text-muted);
  font-weight: 500;
}

.binance-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.binance-feature-card {
  background: var(--cb-card);
  border: 1px solid var(--cb-border);
  border-radius: var(--cb-radius);
  padding: 28px 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.binance-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 185, 11, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(240, 185, 11, 0.08);
}

.binance-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid rgba(240, 185, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F0B90B;
  margin-bottom: 16px;
}

.binance-feature-card h3 {
  font-family: var(--cb-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cb-text);
  margin-bottom: 8px;
}

.binance-feature-card p {
  color: var(--cb-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.section-subheading {
  color: var(--cb-text-muted);
  font-size: 1rem;
  margin: 0;
  max-width: 500px;
}

/* ═══════ NO 1 TRADER SECTION ═══════ */
.no1-trader-section {
  margin-top: 40px;
}

.no1-trader-banner {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 215, 0, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(255, 215, 0, 0.05), transparent 40%),
    linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(10, 10, 10, 0.98));
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 24px;
  padding: 56px 48px;
  overflow: hidden;
}

.no1-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.no1-bg-glow-1 {
  width: 300px;
  height: 300px;
  background: rgba(255, 215, 0, 0.06);
  top: -100px;
  left: -50px;
}

.no1-bg-glow-2 {
  width: 200px;
  height: 200px;
  background: rgba(0, 200, 83, 0.04);
  bottom: -60px;
  right: 10%;
}

.no1-bg-glow-3 {
  width: 150px;
  height: 150px;
  background: rgba(0, 191, 255, 0.04);
  top: 20%;
  right: -30px;
}

.no1-trader-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 1;
}

/* Trader Image Visual */
.no1-trader-visual {
  flex-shrink: 0;
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no1-trader-img-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
}

.no1-trader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.no1-img-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #FFD700, #B8860B, #FFE08A, #FFD700);
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}

.no1-img-ring::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: transparent;
}

/* Floating Badges */
.no1-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.9);
  border: 1px solid rgba(255, 215, 0, 0.25);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cb-text);
  white-space: nowrap;
  animation: floatUp 3s ease-in-out infinite;
}

.no1-float-badge svg {
  flex-shrink: 0;
}

.no1-float-badge-1 {
  top: 10px;
  right: -10px;
  color: #00C853;
}

.no1-float-badge-2 {
  bottom: 15px;
  left: -15px;
  animation-delay: 1.5s;
  color: #FFD700;
}

/* Content */
.no1-trader-content {
  flex: 1;
}

.no1-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFD700;
  margin-bottom: 12px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.no1-title {
  font-family: var(--cb-font-display);
  margin-bottom: 16px;
  line-height: 1.15;
}

.no1-title-no {
  display: block;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, #FFE08A, #FFD700, #B8860B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.no1-title-text {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--cb-text);
}

.no1-description {
  color: var(--cb-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

/* Achievements Grid */
.no1-achievements {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.no1-achievement-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.no1-achievement-number {
  font-family: var(--cb-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFD700;
}

.no1-achievement-label {
  font-size: 0.78rem;
  color: var(--cb-text-muted);
  font-weight: 500;
}

/* CTA Button */
.no1-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFD700, #B8860B);
  color: #111;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.no1-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.3);
  color: #111;
}

.no1-cta-btn svg {
  transition: transform 0.3s ease;
}

.no1-cta-btn:hover svg {
  transform: translateX(4px);
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .coins-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .binance-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .binance-stats-row {
    gap: 24px;
  }

  .no1-trader-inner {
    gap: 32px;
  }

  .no1-trader-visual {
    width: 160px;
    height: 160px;
  }

  .no1-trader-img-wrap {
    width: 140px;
    height: 140px;
  }

  .no1-achievements {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Slider Responsive */
@media (max-width: 768px) {
  .hero-slider {
    height: 55vh;
    min-height: 380px;
  }

  .slider-slide-content {
    padding-left: 6%;
    padding-right: 6%;
    max-width: 100%;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
  }

  .slider-arrow-prev { left: 0.5rem; }
  .slider-arrow-next { right: 0.5rem; }

  .slider-counter {
    bottom: 1rem;
    right: 1rem;
    font-size: 0.75rem;
  }

  .slider-dots {
    bottom: 1rem;
  }

  .coins-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .binance-features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .binance-hero {
    padding: 28px 20px;
  }

  .binance-title {
    font-size: 1.5rem;
  }

  .binance-stats-row {
    gap: 20px;
  }

  .binance-stat-item strong {
    font-size: 1.3rem;
  }

  .binance-hero-actions {
    flex-direction: column;
  }

  .binance-btn-primary,
  .binance-btn-secondary {
    justify-content: center;
    text-align: center;
  }

  .no1-trader-banner {
    padding: 32px 24px;
  }

  .no1-trader-inner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .no1-trader-visual {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }

  .no1-trader-img-wrap {
    width: 130px;
    height: 130px;
  }

  .no1-float-badge {
    display: none;
  }

  .no1-achievements {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .no1-achievement-number {
    font-size: 1.2rem;
  }

  .no1-description {
    max-width: 100%;
  }
}
