@charset "UTF-8";
/* ================================
   Modern UI/UX Improvements
   - Enhanced readability
   - Better card design
   - Smooth animations
   - Modern aesthetics
   ================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
  background: linear-gradient(180deg, #0d1117 0%, rgb(9.3166666667, 12.1833333333, 16.4833333333) 100%);
  color: #e6edf3;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #58a6ff;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: rgb(139, 193.1796407186, 255);
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ================================
   HEADER - Modern Sticky Header
   ================================ */
.site-header {
  background: rgba(22, 27, 34, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(48, 54, 61, 0.5);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: space-between;
}
.site-header .site-logo {
  color: #e6edf3;
  font-weight: 700;
  font-size: 1.4rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.site-header .site-logo:hover {
  color: #58a6ff;
  transform: scale(1.05);
  text-decoration: none;
}
.site-header .site-nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.site-header .site-nav .nav-link {
  color: #8b949e;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.site-header .site-nav .nav-link:hover, .site-header .site-nav .nav-link.active {
  color: #e6edf3;
  background: rgba(28, 33, 40, 0.8);
  text-decoration: none;
}
.site-header .nav-dropdown {
  position: relative;
}
.site-header .nav-dropdown .nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #8b949e;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.site-header .nav-dropdown .nav-dropdown-btn svg {
  transition: transform 0.2s ease;
}
.site-header .nav-dropdown .nav-dropdown-btn:hover {
  color: #e6edf3;
  background: rgba(28, 33, 40, 0.8);
}
.site-header .nav-dropdown:hover .nav-dropdown-btn, .site-header .nav-dropdown.open .nav-dropdown-btn {
  color: #e6edf3;
  background: rgba(28, 33, 40, 0.8);
}
.site-header .nav-dropdown:hover .nav-dropdown-btn svg, .site-header .nav-dropdown.open .nav-dropdown-btn svg {
  transform: rotate(180deg);
}
.site-header .nav-dropdown .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 160px;
  background: rgba(22, 27, 34, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 200;
}
.site-header .nav-dropdown .nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #8b949e;
  font-size: 0.85rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.site-header .nav-dropdown .nav-dropdown-menu a:hover, .site-header .nav-dropdown .nav-dropdown-menu a.active {
  color: #e6edf3;
  background: rgba(28, 33, 40, 0.8);
  text-decoration: none;
}
.site-header .nav-dropdown:hover .nav-dropdown-menu, .site-header .nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-header .nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #e6edf3;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.site-header .nav-toggle:hover {
  color: #58a6ff;
}

/* ================================
   HERO - Eye-catching Hero Section
   ================================ */
.hero {
  text-align: center;
  padding: 4rem 1.5rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.1) 0%, rgba(188, 140, 255, 0.1) 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(88, 166, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #e6edf3 0%, #58a6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}
.hero p {
  color: #8b949e;
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ================================
   CATEGORY GRID - Modern Cards
   ================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.category-card {
  background: rgba(28, 33, 40, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  transition: all 0.3s ease;
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  border-color: #58a6ff;
  text-decoration: none;
}
.category-card:hover::before {
  width: 100%;
  opacity: 0.1;
}
.category-card h3 {
  color: #e6edf3;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.category-card p {
  color: #8b949e;
  font-size: 0.95rem;
  line-height: 1.6;
}
.category-card.crypto::before {
  background: #f7931a;
}
.category-card.stock::before {
  background: #58a6ff;
}
.category-card.journal::before {
  background: #3fb950;
}
.category-card.security::before {
  background: #f85149;
}
.category-card.analysis::before {
  background: #bc8cff;
}

/* ================================
   POSTS - Enhanced Post Cards
   ================================ */
.recent-posts {
  margin-bottom: 3rem;
}
.recent-posts h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #e6edf3;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.post-card {
  background: rgba(28, 33, 40, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.post-card:hover {
  transform: translateX(8px);
  border-color: #58a6ff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.post-card .post-card-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.post-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.post-card h3 a {
  color: #e6edf3;
  transition: all 0.3s ease;
}
.post-card h3 a:hover {
  color: #58a6ff;
  text-decoration: none;
}
.post-card .post-excerpt {
  color: #8b949e;
  font-size: 0.95rem;
  line-height: 1.6;
}

.post-category {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(88, 166, 255, 0.2);
  color: #58a6ff;
  transition: all 0.3s ease;
}
.post-category.cat-crypto-news {
  background: rgba(247, 147, 26, 0.2);
  color: #f7931a;
}
.post-category.cat-stock-news {
  background: rgba(88, 166, 255, 0.2);
  color: #58a6ff;
}
.post-category.cat-crypto-trading-journal, .post-category.cat-stock-trading-journal {
  background: rgba(63, 185, 80, 0.2);
  color: #3fb950;
}
.post-category.cat-security-alerts {
  background: rgba(248, 81, 73, 0.2);
  color: #f85149;
}
.post-category.cat-market-analysis {
  background: rgba(188, 140, 255, 0.2);
  color: #bc8cff;
}

.post-source {
  color: #8b949e;
  font-size: 0.85rem;
}

.post-lang {
  color: #d29922;
  font-size: 0.8rem;
  font-weight: 600;
}

.post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.tag {
  background: rgba(188, 140, 255, 0.15);
  color: #bc8cff;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}
.tag:hover {
  background: rgba(188, 140, 255, 0.25);
  transform: translateY(-2px);
}

/* ================================
   POST DETAIL - Better Reading Experience
   ================================ */
.post-detail {
  max-width: 800px;
  margin: 2rem auto;
}
.post-detail .post-header {
  margin-bottom: 2.5rem;
}
.post-detail .post-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-top: 1rem;
  line-height: 1.3;
  color: #e6edf3;
}
.post-detail .post-content {
  line-height: 1.9;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}
.post-detail .post-content h2,
.post-detail .post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #e6edf3;
}
.post-detail .post-content h2 {
  font-size: 1.75rem;
}
.post-detail .post-content h3 {
  font-size: 1.4rem;
}
.post-detail .post-content p {
  margin-bottom: 1.25rem;
  color: rgba(230, 237, 243, 0.9);
}
.post-detail .post-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(48, 54, 61, 0.4);
  border-radius: 12px;
}
.post-detail .post-content table th,
.post-detail .post-content table td {
  border-bottom: 1px solid rgba(48, 54, 61, 0.3);
  padding: 0.65rem 0.85rem;
  text-align: left;
  white-space: nowrap;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.post-detail .post-content table th {
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.08) 0%, rgba(188, 140, 255, 0.08) 100%);
  font-weight: 600;
  position: sticky;
  top: 0;
  color: #e6edf3;
  border-bottom: 1px solid rgba(48, 54, 61, 0.5);
}
.post-detail .post-content table tbody tr:nth-child(even) td {
  background: rgba(22, 27, 34, 0.3);
}
.post-detail .post-content table tbody tr:hover td {
  background: rgba(88, 166, 255, 0.06);
}
.post-detail .post-content table tbody tr:last-child td {
  border-bottom: none;
}
.post-detail .post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
  border: 1px solid rgba(48, 54, 61, 0.3);
}
.post-detail .post-content blockquote {
  border-left: 3px solid #bc8cff;
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: rgba(22, 27, 34, 0.5);
  border-radius: 0 8px 8px 0;
  color: #8b949e;
  font-style: italic;
}
.post-detail .post-content blockquote p {
  margin-bottom: 0;
}
.post-detail .post-content ul, .post-detail .post-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}
.post-detail .post-content ul li, .post-detail .post-content ol li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.post-detail .post-content code {
  background: rgba(22, 27, 34, 0.8);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: "Monaco", "Menlo", "Consolas", monospace;
}
.post-detail .post-content pre {
  background: rgba(22, 27, 34, 0.8);
  padding: 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid rgba(48, 54, 61, 0.5);
}
.post-detail .post-source-link {
  margin-bottom: 2.5rem;
}
.post-detail .post-source-link a {
  color: #58a6ff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1px solid #58a6ff;
  display: inline-block;
  transition: all 0.3s ease;
}
.post-detail .post-source-link a:hover {
  background: rgba(88, 166, 255, 0.1);
  transform: translateY(-2px);
}
.post-detail .post-nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #30363d;
  padding-top: 1.5rem;
  gap: 1rem;
}

/* ================================
   FOOTER - Modern Footer
   ================================ */
.site-footer {
  background: rgba(22, 27, 34, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(48, 54, 61, 0.5);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  color: #8b949e;
  font-size: 0.9rem;
}
.site-footer a {
  color: #8b949e;
  transition: all 0.3s ease;
}
.site-footer a:hover {
  color: #e6edf3;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}
.site-footer .footer-column h4 {
  color: #e6edf3;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.site-footer .footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer-column ul li {
  margin-bottom: 0.4rem;
}
.site-footer .footer-column ul a {
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.site-footer .footer-column ul a:hover {
  color: #58a6ff;
}
.site-footer .footer-column p {
  font-size: 0.85rem;
  line-height: 1.6;
}
.site-footer .footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(48, 54, 61, 0.3);
}
.site-footer .footer-bottom p + p {
  margin-top: 0.5rem;
}
.site-footer .footer-credits {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ================================
   SEARCH - Enhanced Search Bar
   ================================ */
.search-container {
  margin-bottom: 2.5rem;
}
.search-container input {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(28, 33, 40, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 12px;
  color: #e6edf3;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}
.search-container input:focus {
  outline: none;
  border-color: #58a6ff;
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}
.search-container input::placeholder {
  color: #8b949e;
}

/* ================================
   CATEGORY ARCHIVE
   ================================ */
.category-archive {
  margin: 2rem 0;
}
.category-archive h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.category-archive p {
  color: #8b949e;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.empty-state {
  color: #8b949e;
  text-align: center;
  padding: 4rem;
  background: rgba(28, 33, 40, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px dashed #30363d;
}

/* ================================
   SIDEBAR
   ================================ */
.sidebar .sidebar-section {
  margin-bottom: 2rem;
}
.sidebar .sidebar-section h4 {
  margin-bottom: 1rem;
  color: #8b949e;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.sidebar ul {
  list-style: none;
}
.sidebar ul li {
  margin-bottom: 0.5rem;
}
.sidebar ul a {
  color: #8b949e;
  transition: all 0.3s ease;
}
.sidebar ul a:hover {
  color: #e6edf3;
  transform: translateX(4px);
}
.sidebar .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 768px) {
  .site-header .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(22, 27, 34, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid #30363d;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    gap: 0;
  }
  .site-header .site-nav.active {
    display: flex;
  }
  .site-header .site-nav .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
  }
  .site-header .site-nav .nav-dropdown {
    width: 100%;
  }
  .site-header .site-nav .nav-dropdown .nav-dropdown-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    justify-content: space-between;
  }
  .site-header .site-nav .nav-dropdown .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 1rem;
    display: none;
  }
  .site-header .site-nav .nav-dropdown .nav-dropdown-menu a {
    padding: 0.5rem 1rem;
  }
  .site-header .site-nav .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }
  .site-header .nav-toggle {
    display: block;
  }
  .site-header .nav-actions {
    order: 2;
  }
  .site-header .lang-toggle .lang-code {
    display: none;
  }
  .hero {
    padding: 2.5rem 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1.05rem;
  }
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .post-detail .post-header h1 {
    font-size: 1.75rem;
  }
}
/* ================================
   UTILITIES & ANIMATIONS
   ================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: rgba(88, 166, 255, 0.3);
  color: #e6edf3;
}

/* ================================
   LANGUAGE TOGGLE - Header Dropdown
   ================================ */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-toggle-wrapper {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 40px;
  height: 36px;
  padding: 0 0.5rem;
  background: transparent;
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 8px;
  color: #8b949e;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lang-toggle:hover {
  background: rgba(28, 33, 40, 0.8);
  border-color: #58a6ff;
  color: #e6edf3;
}
.lang-toggle .globe-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.lang-toggle .lang-code {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.lang-dropdown-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lang-dropdown-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lang-dropdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  padding: 4px;
  background: rgba(22, 27, 34, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 200;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #e6edf3;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  text-align: left;
}
.lang-option:hover {
  background: rgba(28, 33, 40, 0.8);
}
.lang-option .lang-flag {
  flex-shrink: 0;
  font-size: 1.1em;
  line-height: 1;
  min-width: 1.25em;
  text-align: center;
}
.lang-option .lang-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.goog-te-banner-frame,
.skiptranslate,
[class*=VIpgJd],
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

body {
  top: 0 !important;
  position: static !important;
}

/* ================================
   DASHBOARD HOMEPAGE REDESIGN
   Financial Dashboard Aesthetic
   ================================ */
/* Dashboard Header - Compact & Professional */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, rgba(22, 27, 34, 0.9) 0%, rgba(28, 33, 40, 0.8) 100%);
  border: 1px solid rgba(48, 54, 61, 0.6);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.dashboard-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f7931a 0%, #58a6ff 25%, #3fb950 50%, #f85149 75%, #bc8cff 100%);
  opacity: 0.8;
}
.dashboard-header .dashboard-title-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.dashboard-header .dashboard-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #58a6ff 0%, #bc8cff 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dashboard-header .dashboard-icon svg {
  width: 28px;
  height: 28px;
  color: #e6edf3;
}
.dashboard-header .dashboard-info h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 0.25rem 0;
  color: #e6edf3;
  letter-spacing: -0.02em;
}
.dashboard-header .dashboard-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #8b949e;
  font-weight: 500;
}
.dashboard-header .dashboard-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(13, 17, 23, 0.5);
  border: 1px solid rgba(48, 54, 61, 0.4);
  border-radius: 8px;
  font-size: 0.85rem;
  color: #8b949e;
  font-weight: 600;
  white-space: nowrap;
}
.dashboard-header .dashboard-date svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Category Grid v2 - Enhanced Cards with Icons */
.category-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.cat-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem;
  background: rgba(28, 33, 40, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 12px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  transition: all 0.3s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: currentColor;
  text-decoration: none;
}
.cat-card:hover::before {
  width: 100%;
  opacity: 0.08;
}
.cat-card:hover .cat-icon {
  transform: scale(1.1) rotate(5deg);
}
.cat-card .cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.cat-card .cat-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}
.cat-card .cat-content {
  flex: 1;
  min-width: 0;
}
.cat-card .cat-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #e6edf3;
  line-height: 1.3;
}
.cat-card .cat-content p {
  margin: 0 0 0.75rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #8b949e;
}
.cat-card .cat-content .cat-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(230, 237, 243, 0.1);
  color: #8b949e;
  letter-spacing: 0.02em;
}
.cat-card.cat-crypto {
  color: #f7931a;
}
.cat-card.cat-crypto::before {
  background: #f7931a;
}
.cat-card.cat-crypto .cat-icon {
  background: rgba(247, 147, 26, 0.15);
  color: #f7931a;
}
.cat-card.cat-crypto:hover {
  border-color: #f7931a;
}
.cat-card.cat-crypto:hover .cat-badge {
  background: rgba(247, 147, 26, 0.15);
  color: #f7931a;
}
.cat-card.cat-stock {
  color: #58a6ff;
}
.cat-card.cat-stock::before {
  background: #58a6ff;
}
.cat-card.cat-stock .cat-icon {
  background: rgba(88, 166, 255, 0.15);
  color: #58a6ff;
}
.cat-card.cat-stock:hover {
  border-color: #58a6ff;
}
.cat-card.cat-stock:hover .cat-badge {
  background: rgba(88, 166, 255, 0.15);
  color: #58a6ff;
}
.cat-card.cat-journal-crypto, .cat-card.cat-journal-stock {
  color: #3fb950;
}
.cat-card.cat-journal-crypto::before, .cat-card.cat-journal-stock::before {
  background: #3fb950;
}
.cat-card.cat-journal-crypto .cat-icon, .cat-card.cat-journal-stock .cat-icon {
  background: rgba(63, 185, 80, 0.15);
  color: #3fb950;
}
.cat-card.cat-journal-crypto:hover, .cat-card.cat-journal-stock:hover {
  border-color: #3fb950;
}
.cat-card.cat-journal-crypto:hover .cat-badge, .cat-card.cat-journal-stock:hover .cat-badge {
  background: rgba(63, 185, 80, 0.15);
  color: #3fb950;
}
.cat-card.cat-security {
  color: #f85149;
}
.cat-card.cat-security::before {
  background: #f85149;
}
.cat-card.cat-security .cat-icon {
  background: rgba(248, 81, 73, 0.15);
  color: #f85149;
}
.cat-card.cat-security:hover {
  border-color: #f85149;
}
.cat-card.cat-security:hover .cat-badge {
  background: rgba(248, 81, 73, 0.15);
  color: #f85149;
}
.cat-card.cat-analysis {
  color: #bc8cff;
}
.cat-card.cat-analysis::before {
  background: #bc8cff;
}
.cat-card.cat-analysis .cat-icon {
  background: rgba(188, 140, 255, 0.15);
  color: #bc8cff;
}
.cat-card.cat-analysis:hover {
  border-color: #bc8cff;
}
.cat-card.cat-analysis:hover .cat-badge {
  background: rgba(188, 140, 255, 0.15);
  color: #bc8cff;
}

/* Today's Summary - Featured Card */
.today-summary {
  padding: 2rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, rgba(188, 140, 255, 0.08) 0%, rgba(88, 166, 255, 0.08) 100%);
  border: 2px solid transparent;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.today-summary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(135deg, #bc8cff 0%, #58a6ff 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}
.today-summary .summary-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.today-summary .summary-header svg {
  width: 24px;
  height: 24px;
  color: #bc8cff;
}
.today-summary .summary-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #e6edf3;
  letter-spacing: -0.01em;
}
.today-summary .summary-content h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}
.today-summary .summary-content h3 a {
  color: #e6edf3;
  transition: all 0.3s ease;
}
.today-summary .summary-content h3 a:hover {
  color: #bc8cff;
  text-decoration: none;
}
.today-summary .summary-content .summary-excerpt {
  margin: 0 0 1.25rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(230, 237, 243, 0.85);
}
.today-summary .summary-content .summary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, #bc8cff 0%, #58a6ff 100%);
  color: #e6edf3;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.today-summary .summary-content .summary-link svg {
  width: 16px;
  height: 16px;
}
.today-summary .summary-content .summary-link:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(188, 140, 255, 0.3);
  text-decoration: none;
}

/* Recent Posts with Tabs */
.recent-posts-tabbed {
  margin-bottom: 3rem;
}
.recent-posts-tabbed h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #e6edf3;
}

.posts-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.posts-tab {
  padding: 0.65rem 1.25rem;
  background: rgba(28, 33, 40, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 8px;
  color: #8b949e;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.posts-tab:hover {
  background: rgba(28, 33, 40, 0.8);
  border-color: #58a6ff;
  color: #e6edf3;
  transform: translateY(-2px);
}
.posts-tab.active {
  background: linear-gradient(135deg, #58a6ff 0%, #bc8cff 100%);
  border-color: transparent;
  color: #e6edf3;
  box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

.posts-tab-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.posts-tab-content .post-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.posts-tab-content .post-item[style*="display: none"] {
  display: none !important;
}

/* Post Card Category Border */
.post-card.cat-border-crypto-news {
  border-left: 3px solid #f7931a;
}
.post-card.cat-border-stock-news {
  border-left: 3px solid #58a6ff;
}
.post-card.cat-border-crypto-journal, .post-card.cat-border-stock-journal {
  border-left: 3px solid #3fb950;
}
.post-card.cat-border-security-alerts {
  border-left: 3px solid #f85149;
}
.post-card.cat-border-market-analysis {
  border-left: 3px solid #bc8cff;
}

/* Responsive - Dashboard Homepage */
@media (max-width: 768px) {
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .dashboard-header .dashboard-title-row {
    width: 100%;
  }
  .dashboard-header .dashboard-date {
    align-self: flex-start;
    font-size: 0.8rem;
  }
  .dashboard-header .dashboard-info h1 {
    font-size: 1.5rem;
  }
  .dashboard-header .dashboard-info p {
    font-size: 0.85rem;
  }
  .category-grid-v2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cat-card {
    padding: 1.5rem;
  }
  .cat-card .cat-icon {
    width: 40px;
    height: 40px;
  }
  .cat-card .cat-icon svg {
    width: 22px;
    height: 22px;
  }
  .cat-card .cat-content h3 {
    font-size: 1.05rem;
  }
  .cat-card .cat-content p {
    font-size: 0.825rem;
  }
  .today-summary {
    padding: 1.5rem;
  }
  .today-summary .summary-header h2 {
    font-size: 1.25rem;
  }
  .today-summary .summary-content h3 {
    font-size: 1.1rem;
  }
  .today-summary .summary-content .summary-excerpt {
    font-size: 0.875rem;
  }
  .posts-tabs {
    gap: 0.4rem;
  }
  .posts-tab {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
  }
  .recent-posts-tabbed h2 {
    font-size: 1.5rem;
  }
}
/* ================================
   SEARCH OVERLAY - Full Screen Search
   ================================ */
.search-toggle-wrapper {
  display: flex;
  align-items: center;
}

.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 8px;
  color: #8b949e;
  cursor: pointer;
  transition: all 0.3s ease;
}
.search-toggle:hover {
  background: rgba(28, 33, 40, 0.8);
  border-color: #58a6ff;
  color: #e6edf3;
}
.search-toggle svg {
  flex-shrink: 0;
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(12px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-overlay-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-overlay-header {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.search-overlay-input {
  flex: 1;
  padding: 1.25rem 1.5rem;
  background: rgba(28, 33, 40, 0.8);
  border: 2px solid rgba(48, 54, 61, 0.5);
  border-radius: 12px;
  color: #e6edf3;
  font-size: 1.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.search-overlay-input:focus {
  outline: none;
  border-color: #58a6ff;
  box-shadow: 0 0 0 4px rgba(88, 166, 255, 0.15);
}
.search-overlay-input::placeholder {
  color: #8b949e;
}

.search-overlay-close {
  width: 48px;
  height: 48px;
  background: rgba(28, 33, 40, 0.8);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 12px;
  color: #8b949e;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-overlay-close:hover {
  background: #1c2128;
  border-color: #f85149;
  color: #f85149;
}

.search-results {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-result-item {
  background: rgba(28, 33, 40, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 10px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}
.search-result-item:hover {
  background: rgba(28, 33, 40, 0.8);
  border-color: #58a6ff;
  transform: translateX(4px);
}
.search-result-item a {
  color: #e6edf3;
  font-size: 1.05rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}
.search-result-item a:hover {
  color: #58a6ff;
}
.search-result-item small {
  color: #8b949e;
  font-size: 0.85rem;
}

/* ================================
   POST DETAIL ENHANCEMENTS
   ================================ */
.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #8b949e;
}
.post-breadcrumb a {
  color: #8b949e;
  transition: all 0.3s ease;
}
.post-breadcrumb a:hover {
  color: #58a6ff;
}
.post-breadcrumb svg {
  opacity: 0.5;
}

.post-meta-enhanced {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #8b949e;
  font-size: 0.9rem;
}
.post-meta-item svg {
  opacity: 0.7;
  flex-shrink: 0;
}
.post-meta-item .post-category {
  margin: 0;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(28, 33, 40, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 12px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.share-label {
  font-weight: 600;
  color: #e6edf3;
  font-size: 0.95rem;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(22, 27, 34, 0.8);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 8px;
  color: #e6edf3;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.share-btn svg {
  flex-shrink: 0;
}
.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.share-btn.share-twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
  color: white;
}
.share-btn.share-copy:hover {
  background: #3fb950;
  border-color: #3fb950;
  color: #0d1117;
}

.related-posts {
  margin: 3rem 0 2.5rem 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(48, 54, 61, 0.5);
}
.related-posts h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #e6edf3;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.related-post-card {
  background: rgba(28, 33, 40, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 10px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.related-post-card:hover {
  background: rgba(28, 33, 40, 0.8);
  border-color: #58a6ff;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.related-post-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #e6edf3;
  line-height: 1.4;
  margin: 0;
}
.related-post-card time {
  font-size: 0.85rem;
  color: #8b949e;
}

.related-post-category {
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  align-self: flex-start;
}

.post-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  border-top: 1px solid rgba(48, 54, 61, 0.5);
  padding-top: 2rem;
  margin-top: 2rem;
}

.post-nav-link {
  background: rgba(28, 33, 40, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 10px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.post-nav-link:hover {
  background: rgba(28, 33, 40, 0.8);
  border-color: #58a6ff;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.post-nav-link.prev .post-nav-label::before {
  content: "← ";
}
.post-nav-link.next {
  text-align: right;
}
.post-nav-link.next .post-nav-label::after {
  content: " →";
}

.post-nav-label {
  font-size: 0.8rem;
  color: #8b949e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e6edf3;
  line-height: 1.4;
}

/* ================================
   CATEGORY PAGE ENHANCEMENTS
   ================================ */
.category-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(48, 54, 61, 0.5);
}

.category-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.category-title-wrapper h1 {
  margin: 0;
}

.post-count-badge {
  padding: 0.4rem 0.85rem;
  background: rgba(88, 166, 255, 0.15);
  color: #58a6ff;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.category-description {
  color: #8b949e;
  font-size: 1.05rem;
  margin: 0;
}

.category-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.category-search {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  position: relative;
  display: flex;
  align-items: center;
}
.category-search svg {
  position: absolute;
  left: 1rem;
  color: #8b949e;
  pointer-events: none;
}
.category-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background: rgba(28, 33, 40, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 10px;
  color: #e6edf3;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.category-search input:focus {
  outline: none;
  border-color: #58a6ff;
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
  background: rgba(28, 33, 40, 0.8);
}
.category-search input::placeholder {
  color: #8b949e;
}

.category-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(28, 33, 40, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 10px;
  color: #8b949e;
  font-size: 0.9rem;
  font-weight: 600;
}
.category-sort svg {
  opacity: 0.7;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(28, 33, 40, 0.4);
  border: 2px dashed rgba(48, 54, 61, 0.5);
  border-radius: 12px;
  color: #8b949e;
}
.empty-state svg {
  opacity: 0.5;
  margin-bottom: 1.5rem;
}
.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #e6edf3;
}
.empty-state p {
  font-size: 1rem;
  margin: 0;
}

/* ================================
   FOOTER ENHANCEMENTS
   ================================ */
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
  text-align: left;
}
.site-footer .footer-column h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: #e6edf3;
}
.site-footer .footer-column p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
.site-footer .footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer .footer-column ul li {
  margin-bottom: 0.65rem;
}
.site-footer .footer-column ul li:last-child {
  margin-bottom: 0;
}
.site-footer .footer-column ul a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.site-footer .footer-column ul a svg {
  flex-shrink: 0;
}
.site-footer .footer-column ul a:hover {
  transform: translateX(3px);
}
.site-footer .footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(48, 54, 61, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer .footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}
.site-footer .footer-credits a {
  font-weight: 600;
  color: #58a6ff;
}
.site-footer .footer-credits a:hover {
  text-decoration: underline;
}

/* ================================
   POST CARD ENHANCEMENTS
   ================================ */
.post-card {
  position: relative;
}
.post-card .post-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #8b949e;
  font-size: 0.85rem;
}
.post-card .post-reading-time svg {
  opacity: 0.7;
}

.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  gap: 1rem;
}

.post-card-arrow {
  color: #8b949e;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}
.post-card:hover .post-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ================================
   RESPONSIVE - New Components
   ================================ */
@media (max-width: 768px) {
  .search-overlay-content {
    padding: 1rem;
  }
  .search-overlay-input {
    font-size: 1rem;
    padding: 1rem;
  }
  .search-overlay-close {
    width: 44px;
    height: 44px;
  }
  .post-meta-enhanced {
    gap: 0.75rem;
  }
  .post-share {
    flex-direction: column;
    align-items: flex-start;
  }
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  .category-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .category-search {
    max-width: 100%;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .post-nav {
    grid-template-columns: 1fr;
  }
  .post-nav-link.next {
    text-align: left;
  }
}
/* ================================
   ENHANCED GLOBAL STYLES
   ================================ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0d1117;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #58a6ff, #bc8cff);
  border-radius: 10px;
  border: 2px solid #0d1117;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgb(113.5, 179.5898203593, 255), rgb(202.8565217391, 165.5, 255));
}

/* ================================
   ENHANCED HEADER
   ================================ */
.site-header {
  position: relative;
}
.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #58a6ff 25%, #bc8cff 50%, #58a6ff 75%, transparent 100%);
  opacity: 0.6;
}

/* ================================
   SEARCH OVERLAY
   ================================ */
.search-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 8px;
  color: #8b949e;
  cursor: pointer;
  transition: all 0.3s ease;
}
.search-toggle-btn:hover {
  background: rgba(28, 33, 40, 0.8);
  border-color: #58a6ff;
  color: #e6edf3;
}
.search-toggle-btn svg {
  width: 18px;
  height: 18px;
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-content {
  width: 100%;
  max-width: 600px;
  padding: 0 1.5rem;
}

.search-overlay-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.search-overlay-header input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: rgba(28, 33, 40, 0.8);
  border: 2px solid rgba(48, 54, 61, 0.5);
  border-radius: 12px;
  color: #e6edf3;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.search-overlay-header input:focus {
  outline: none;
  border-color: #58a6ff;
  box-shadow: 0 0 0 4px rgba(88, 166, 255, 0.15);
}
.search-overlay-header input::placeholder {
  color: #8b949e;
}

.search-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(28, 33, 40, 0.8);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 10px;
  color: #8b949e;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.search-close-btn:hover {
  background: rgba(248, 81, 73, 0.1);
  border-color: #f85149;
  color: #f85149;
}
.search-close-btn svg {
  width: 20px;
  height: 20px;
}

.search-results-container .search-result-item {
  padding: 1rem 1.25rem;
  background: rgba(28, 33, 40, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.3);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}
.search-results-container .search-result-item:hover {
  background: rgba(28, 33, 40, 0.9);
  border-color: #58a6ff;
  transform: translateX(4px);
}
.search-results-container .search-result-item a {
  display: block;
  color: #e6edf3;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.search-results-container .search-result-item small {
  color: #8b949e;
  font-size: 0.8rem;
}

/* ================================
   DASHBOARD HEADER ANIMATION
   ================================ */
.dashboard-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(88, 166, 255, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(188, 140, 255, 0.15) 0%, transparent 50%);
  animation: gradient-shift 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gradient-shift {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}
.dashboard-content-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.market-pulse {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(63, 185, 80, 0.1);
  border: 1px solid rgba(63, 185, 80, 0.3);
  border-radius: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #3fb950;
  border-radius: 50%;
  animation: pulse-anim 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.7);
}

@keyframes pulse-anim {
  0% {
    box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(63, 185, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(63, 185, 80, 0);
  }
}
.pulse-text {
  color: #3fb950;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ================================
   MARKET STATS BAR
   ================================ */
.market-stats-bar {
  margin-bottom: 3rem;
  overflow: hidden;
}

.stats-scroll-wrapper {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.stats-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.stat-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(28, 33, 40, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 12px;
  min-width: 180px;
  transition: all 0.3s ease;
}
.stat-item:hover {
  background: rgba(28, 33, 40, 0.9);
  border-color: rgba(88, 166, 255, 0.3);
  transform: translateY(-2px);
}
.stat-item svg {
  width: 24px;
  height: 24px;
  color: #58a6ff;
  flex-shrink: 0;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-label {
  font-size: 0.75rem;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e6edf3;
}

/* ================================
   ENHANCED CATEGORY CARDS
   ================================ */
.cat-icon-wrapper {
  position: relative;
  flex-shrink: 0;
}

.cat-icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  background: currentColor;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.3s ease;
}

.cat-card:hover .cat-icon::before {
  opacity: 0.3;
}

.cat-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #8b949e;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
  align-self: center;
}
.cat-arrow svg {
  width: 100%;
  height: 100%;
}

.cat-card:hover .cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ================================
   SUMMARY IMAGE
   ================================ */
.summary-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

.summary-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(48, 54, 61, 0.3);
}

.summary-market-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.summary-market-image:hover {
  transform: scale(1.05);
}

.summary-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.summary-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #8b949e;
  font-size: 0.85rem;
}
.summary-date svg {
  width: 16px;
  height: 16px;
}

/* ================================
   SECTION HEADER & VIEW ALL
   ================================ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.section-header h2 {
  margin: 0;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #58a6ff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.view-all-link svg {
  width: 16px;
  height: 16px;
}
.view-all-link:hover {
  gap: 0.75rem;
  color: rgb(139, 193.1796407186, 255);
}

/* ================================
   TAB COUNTS
   ================================ */
.tab-count {
  padding: 0.15rem 0.5rem;
  background: rgba(88, 166, 255, 0.15);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.posts-tab.active .tab-count {
  background: rgba(88, 166, 255, 0.3);
  color: #58a6ff;
}

/* ================================
   FOOTER CTA
   ================================ */
.footer-cta {
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.08) 0%, rgba(188, 140, 255, 0.08) 100%);
  border: 1px solid rgba(88, 166, 255, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #58a6ff 0%, #bc8cff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.cta-icon svg {
  width: 28px;
  height: 28px;
}

.cta-text {
  text-align: left;
}
.cta-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: #e6edf3;
}
.cta-text p {
  margin: 0;
  color: #8b949e;
  font-size: 0.9rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, #58a6ff 0%, #bc8cff 100%);
  color: white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.cta-button svg {
  width: 18px;
  height: 18px;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(88, 166, 255, 0.4);
  color: white;
}

/* ================================
   SCROLL TO TOP BUTTON
   ================================ */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #58a6ff 0%, #bc8cff 100%);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(88, 166, 255, 0.3);
  z-index: 999;
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(88, 166, 255, 0.5);
}
.scroll-to-top svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

/* ================================
   POST BREADCRUMB
   ================================ */
.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #8b949e;
}
.post-breadcrumb a {
  color: #8b949e;
  transition: color 0.3s ease;
}
.post-breadcrumb a:hover {
  color: #58a6ff;
}
.post-breadcrumb .breadcrumb-separator {
  color: #30363d;
}
.post-breadcrumb .breadcrumb-current {
  color: #e6edf3;
  font-weight: 600;
}

/* ================================
   ENHANCED POST META
   ================================ */
.post-meta-enhanced {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.post-meta-enhanced .meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #8b949e;
  font-size: 0.85rem;
}
.post-meta-enhanced .meta-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ================================
   SHARE BUTTONS
   ================================ */
.post-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  margin: 2rem 0;
  border-top: 1px solid #30363d;
  border-bottom: 1px solid #30363d;
}
.post-share .share-label {
  color: #8b949e;
  font-size: 0.9rem;
  font-weight: 600;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: rgba(28, 33, 40, 0.8);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 8px;
  color: #8b949e;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.share-btn svg {
  width: 18px;
  height: 18px;
}
.share-btn:hover {
  border-color: #58a6ff;
  color: #58a6ff;
  transform: translateY(-2px);
}
.share-btn.share-twitter:hover {
  border-color: #1da1f2;
  color: #1da1f2;
  background: rgba(29, 161, 242, 0.1);
}
.share-btn.share-copy:hover {
  border-color: #3fb950;
  color: #3fb950;
  background: rgba(63, 185, 80, 0.1);
}

/* ================================
   RELATED POSTS
   ================================ */
.related-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #30363d;
}
.related-posts h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #e6edf3;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.related-post-card {
  padding: 1.25rem;
  background: rgba(28, 33, 40, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.related-post-card:hover {
  background: rgba(28, 33, 40, 0.9);
  border-color: rgba(88, 166, 255, 0.3);
  transform: translateY(-4px);
}
.related-post-card .related-post-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.related-post-card .related-post-title a {
  color: #e6edf3;
}
.related-post-card .related-post-title a:hover {
  color: #58a6ff;
}
.related-post-card .related-post-date {
  font-size: 0.8rem;
  color: #8b949e;
}

/* ================================
   ENHANCED POST NAVIGATION
   ================================ */
.post-nav-enhanced {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #30363d;
}
.post-nav-enhanced .nav-item {
  padding: 1.25rem;
  background: rgba(28, 33, 40, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.post-nav-enhanced .nav-item:hover {
  background: rgba(28, 33, 40, 0.9);
  border-color: rgba(88, 166, 255, 0.3);
  transform: translateY(-2px);
}
.post-nav-enhanced .nav-item .nav-label {
  font-size: 0.75rem;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.post-nav-enhanced .nav-item .nav-label svg {
  width: 14px;
  height: 14px;
}
.post-nav-enhanced .nav-item .nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e6edf3;
  line-height: 1.4;
}
.post-nav-enhanced .nav-item.nav-next {
  text-align: right;
}
.post-nav-enhanced .nav-item.nav-next .nav-label {
  justify-content: flex-end;
}

/* ================================
   POST CARD FOOTER & ARROW
   ================================ */
.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  gap: 1rem;
}

.post-read-time {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #8b949e;
  font-size: 0.8rem;
  white-space: nowrap;
}
.post-read-time svg {
  width: 14px;
  height: 14px;
}

.post-card-arrow {
  width: 20px;
  height: 20px;
  color: #8b949e;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.post-card-arrow svg {
  width: 100%;
  height: 100%;
}

.post-card:hover .post-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ================================
   CATEGORY PAGE ENHANCEMENTS
   ================================ */
.category-header-enhanced {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.post-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(88, 166, 255, 0.15);
  color: #58a6ff;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.category-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.category-search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
}
.category-search-box input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 2.75rem;
  background: rgba(28, 33, 40, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 10px;
  color: #e6edf3;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.category-search-box input:focus {
  outline: none;
  border-color: #58a6ff;
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15);
}
.category-search-box input::placeholder {
  color: #8b949e;
}
.category-search-box svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #8b949e;
  pointer-events: none;
}

.sort-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #8b949e;
  font-size: 0.85rem;
  white-space: nowrap;
}
.sort-indicator svg {
  width: 16px;
  height: 16px;
}

/* ================================
   ENHANCED EMPTY STATE
   ================================ */
.empty-state-enhanced {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(28, 33, 40, 0.4);
  border: 1px dashed rgba(48, 54, 61, 0.5);
  border-radius: 16px;
}
.empty-state-enhanced svg {
  width: 64px;
  height: 64px;
  color: #8b949e;
  opacity: 0.5;
  margin-bottom: 1.5rem;
}
.empty-state-enhanced h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e6edf3;
  margin-bottom: 0.5rem;
}
.empty-state-enhanced p {
  color: #8b949e;
  font-size: 0.95rem;
}

/* ================================
   ENHANCED FOOTER
   ================================ */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.footer-section h4 {
  color: #e6edf3;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.footer-section p {
  color: #8b949e;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section ul li {
  margin-bottom: 0.5rem;
}
.footer-section ul a {
  color: #8b949e;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.footer-section ul a:hover {
  color: #58a6ff;
  transform: translateX(4px);
}

.footer-connect-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #8b949e;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.footer-link-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.footer-link-item:hover {
  color: #58a6ff;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(48, 54, 61, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom .footer-powered {
  color: #8b949e;
  font-size: 0.85rem;
}
.footer-bottom .footer-powered a {
  color: #58a6ff;
  font-weight: 600;
}

/* ================================
   ENHANCED POST DETAIL
   ================================ */
.post-detail .post-content h2, .post-detail .post-content h3, .post-detail .post-content h4 {
  position: relative;
  padding-left: 1.25rem;
}
.post-detail .post-content h2::before, .post-detail .post-content h3::before, .post-detail .post-content h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 4px;
  height: calc(100% - 0.7em);
  background: linear-gradient(180deg, #58a6ff, #bc8cff);
  border-radius: 2px;
}
.post-detail .post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.post-detail .post-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: rgba(88, 166, 255, 0.05);
  border-left: 4px solid #58a6ff;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: rgba(230, 237, 243, 0.9);
}
.post-detail .post-content table {
  border-radius: 12px;
  overflow: hidden;
}
.post-detail .post-content table thead {
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.15), rgba(188, 140, 255, 0.15));
}
.post-detail .post-content table tbody tr:nth-child(even) {
  background: rgba(22, 27, 34, 0.5);
}
.post-detail .post-content table tbody tr:hover {
  background: rgba(88, 166, 255, 0.08);
}

/* ================================
   ENTRY ANIMATIONS
   ================================ */
@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.category-grid-v2 .cat-card {
  animation: cardEntrance 0.6s ease-out backwards;
}
.category-grid-v2 .cat-card:nth-child(1) {
  animation-delay: 0.1s;
}
.category-grid-v2 .cat-card:nth-child(2) {
  animation-delay: 0.2s;
}
.category-grid-v2 .cat-card:nth-child(3) {
  animation-delay: 0.3s;
}
.category-grid-v2 .cat-card:nth-child(4) {
  animation-delay: 0.4s;
}
.category-grid-v2 .cat-card:nth-child(5) {
  animation-delay: 0.5s;
}
.category-grid-v2 .cat-card:nth-child(6) {
  animation-delay: 0.6s;
}

main {
  animation: cardEntrance 0.5s ease-out;
}

/* ================================
   RESPONSIVE ADDITIONS
   ================================ */
@media (max-width: 768px) {
  .dashboard-content-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-status {
    width: 100%;
    justify-content: space-between;
  }
  .summary-body {
    grid-template-columns: 1fr;
  }
  .summary-image-wrapper {
    max-width: 300px;
    margin: 0 auto;
  }
  .cta-content {
    flex-direction: column;
    text-align: center;
  }
  .cta-text {
    text-align: center;
  }
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .post-nav-enhanced {
    grid-template-columns: 1fr;
  }
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  .category-controls {
    flex-direction: column;
  }
  .category-search-box {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .stat-item {
    min-width: 150px;
    padding: 0.875rem 1rem;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
/* ================================
   ACCESSIBILITY
   ================================ */
*:focus-visible {
  outline: 2px solid #58a6ff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ================================
   LATEST NEWS SECTION
   ================================ */
.latest-news-section {
  margin: 2rem 0 3rem;
}
.latest-news-section .section-header {
  margin-bottom: 1.25rem;
}
.latest-news-section .section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e6edf3;
}

.latest-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.latest-news-card {
  background: rgba(28, 33, 40, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.latest-news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}
.latest-news-card.crypto::before {
  background: #f7931a;
}
.latest-news-card.stock::before {
  background: #58a6ff;
}
.latest-news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(88, 166, 255, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.latest-news-card .latest-news-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}
.latest-news-card.crypto .latest-news-badge {
  background: rgba(247, 147, 26, 0.2);
  color: #f7931a;
}
.latest-news-card.stock .latest-news-badge {
  background: rgba(88, 166, 255, 0.2);
  color: #58a6ff;
}
.latest-news-card h3 {
  color: #e6edf3;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.latest-news-card p {
  color: #8b949e;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.latest-news-card time {
  color: #8b949e;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .latest-news-grid {
    grid-template-columns: 1fr;
  }
}
/* ================================
   CATEGORY PAGE ENHANCEMENTS
   ================================ */
.back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #8b949e;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.back-to-home:hover {
  color: #e6edf3;
  background: rgba(28, 33, 40, 0.8);
  text-decoration: none;
}

.date-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0 0.75rem;
  gap: 1rem;
}
.date-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(48, 54, 61, 0.5);
}
.date-divider .date-label {
  color: #8b949e;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.25rem 0.75rem;
  background: rgba(28, 33, 40, 0.6);
  border-radius: 6px;
  border: 1px solid rgba(48, 54, 61, 0.3);
}

.pinned-post {
  order: -1;
}

.post-card.pinned {
  border-left: 3px solid #d29922;
  background: linear-gradient(135deg, rgba(210, 153, 34, 0.06) 0%, #1c2128 40%);
}
.post-card.pinned:hover {
  border-left-color: #d29922;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 12px rgba(210, 153, 34, 0.15);
}

.pin-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #d29922;
  background: rgba(210, 153, 34, 0.12);
  border: 1px solid rgba(210, 153, 34, 0.25);
  border-radius: 4px;
}
.pin-badge svg {
  flex-shrink: 0;
}

/* ================================
   READING PROGRESS BAR
   ================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #58a6ff 0%, #bc8cff 100%);
  z-index: 200;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ================================
   TABLE OF CONTENTS (TOC)
   ================================ */
.post-toc {
  background: rgba(22, 27, 34, 0.5);
  border: 1px solid rgba(48, 54, 61, 0.4);
  border-radius: 12px;
  margin-bottom: 2rem;
  overflow: hidden;
}
.post-toc .toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}
.post-toc .toc-header:hover {
  background: rgba(28, 33, 40, 0.5);
}
.post-toc .toc-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-toc .toc-toggle-icon {
  transition: transform 0.2s ease;
  color: #8b949e;
}
.post-toc.collapsed .toc-list {
  display: none;
}
.post-toc.collapsed .toc-toggle-icon {
  transform: rotate(-90deg);
}
.post-toc .toc-list {
  list-style: none;
  padding: 0 1.25rem 0.75rem;
  margin: 0;
  counter-reset: toc-counter;
}
.post-toc .toc-list li {
  counter-increment: toc-counter;
  margin-bottom: 0.15rem;
}
.post-toc .toc-list a {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
  color: #8b949e;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}
.post-toc .toc-list a::before {
  content: counter(toc-counter) ". ";
  color: rgba(139, 148, 158, 0.5);
  font-weight: 600;
}
.post-toc .toc-list a:hover {
  color: #e6edf3;
  background: rgba(28, 33, 40, 0.5);
  text-decoration: none;
}
.post-toc .toc-list a.active {
  color: #58a6ff;
  background: rgba(88, 166, 255, 0.08);
  border-left-color: #58a6ff;
  font-weight: 500;
}

@media (max-width: 768px) {
  .post-toc .toc-list a {
    font-size: 0.82rem;
    padding: 0.35rem 0.6rem;
  }
  .reading-progress {
    height: 2px;
  }
}

/*# sourceMappingURL=style.css.map */