/*
Theme Name: Cryptan Premium
Theme URI: https://cryptan.cc
Author: Cryptan Dev
Description: Премиальная адаптивная Web3/Crypto тема для портала cryptan.cc.
Version: 1.0.4
Text Domain: cryptan
*/

:root {
  --bg-body: #07090e;
  --bg-card: rgba(18, 24, 38, 0.7);
  --bg-card-hover: rgba(26, 34, 52, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 242, 254, 0.4);
  
  --accent-cyan: #00f2fe;
  --accent-purple: #7928ca;
  --crypto-green: #10b981;
  --crypto-red: #f43f5e;
  
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --font-base: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Динамическая высота хедера (пересчитывается скриптом) */
  --header-total-height: 110px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* ==========================================================================
   Жёсткая блокировка горизонтального скролла
   ========================================================================== */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cryptan-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Изолированные неоновые круги */
.cryptan-bg-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.12;
}

.glow-top-left {
  top: 60px;
  left: -80px;
  background: #00f2fe;
}

.glow-top-right {
  top: 180px;
  right: -80px;
  background: #7928ca;
}

/* ==========================================================================
   1. Ticker Bar (Бегущая строка)
   ========================================================================== */
.cryptan-ticker-bar {
  background: #040508;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.cryptan-ticker-inner {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  max-width: 100%;
}

.cryptan-ticker-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: tickerLoop 35s linear infinite;
  will-change: transform;
}

.cryptan-ticker-track:hover {
  animation-play-state: paused;
}

.ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.ticker-symbol {
  font-weight: 700;
  color: var(--text-secondary);
}

.ticker-price {
  color: var(--text-main);
  font-weight: 600;
}

.ticker-change.up { color: var(--crypto-green); }
.ticker-change.down { color: var(--crypto-red); }

@keyframes tickerLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   2. Header & Текстовый логотип
   ========================================================================== */
.cryptan-header {
  position: sticky;
  top: 0;
  z-index: 1000; /* Шапка всегда поверх шторки */
  background: rgba(7, 9, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-branding {
  display: flex;
  align-items: center;
}

.cryptan-brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  user-select: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cryptan-brand-logo:hover {
  transform: translateY(-1px) scale(1.01);
}

.logo-desk-wrap,
.footer-desk-wrap {
  display: inline-flex;
  align-items: baseline;
  position: relative;
}

.brand-text {
  font-family: 'Space Grotesk', var(--font-base), sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
  transition: text-shadow 0.3s ease;
}

.brand-text .first-letter {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.45));
}

.cryptan-brand-logo:hover .brand-text {
  text-shadow: 0 0 24px rgba(0, 242, 254, 0.35);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--accent-cyan);
  background: #07090e;
  border: 1px solid rgba(0, 242, 254, 0.4);
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: -5px;
  transform: translateY(2px);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.22);
  position: relative;
  z-index: 2;
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cryptan-brand-logo:hover .brand-badge {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.4);
}

.logo-mob-mark {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, rgba(18, 24, 38, 0.9), rgba(10, 15, 26, 0.95));
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.12);
}

.mark-letter {
  font-family: 'Space Grotesk', var(--font-base), sans-serif;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}

.mark-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* Меню шапки на ПК */
.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}

.nav-list a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-list a:hover {
  color: var(--accent-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Переключатель языка */
.cryptan-lang-switcher {
  display: inline-flex;
  align-items: center;
}

.lang-pill-group {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 3px;
  gap: 4px;
}

.lang-btn {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  text-decoration: none;
  color: #94a3b8;
  border-radius: 16px;
  line-height: 1;
  transition: all 0.2s ease;
  cursor: pointer;
}

a.lang-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn.active {
  background: rgba(0, 242, 254, 0.18);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
  cursor: default;
}

.tg-btn {
  background: linear-gradient(135deg, #0088cc, #00a8ff);
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tg-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 168, 255, 0.35);
}

/* ==========================================================================
   Кнопка мобильного меню: Плавная анимация в неоновый крестик
   ========================================================================== */
.cryptan-burger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(18, 24, 38, 0.7);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.08);
  outline: none;
}

.cryptan-burger-btn:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.35);
}

.burger-box {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              background-color 0.3s ease;
}

/* Превращение в крестик при активном классе */
.cryptan-burger-btn.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.45);
  background: rgba(0, 242, 254, 0.12);
}

.cryptan-burger-btn.active .line-top {
  transform: translateY(6px) rotate(45deg);
  background: var(--accent-cyan);
}

.cryptan-burger-btn.active .line-mid {
  opacity: 0;
  transform: scaleX(0);
}

.cryptan-burger-btn.active .line-bot {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--accent-cyan);
}

/* ==========================================================================
   Выкатная панель СТРОГО ПОД ХЕДЕРОМ
   ========================================================================== */
.cryptan-drawer-overlay {
  position: fixed;
  top: var(--header-total-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 6, 10, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cryptan-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cryptan-mobile-drawer {
  position: fixed;
  top: var(--header-total-height);
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 86vw;
  height: calc(100vh - var(--header-total-height));
  height: calc(100dvh - var(--header-total-height));
  background: rgba(9, 14, 25, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(0, 242, 254, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: -15px 15px 40px rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cryptan-mobile-drawer.active {
  transform: translateX(0);
}

.drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.drawer-header-hint {
  padding: 16px 20px 10px;
}

.drawer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  letter-spacing: 1.5px;
  font-weight: 700;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 20px 20px;
}

.drawer-nav-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-nav-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.drawer-nav-list a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #f1f5f9;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.drawer-nav-list a:hover {
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border-left: 2px solid var(--accent-cyan);
  padding-left: 18px;
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(5, 8, 15, 0.85);
}

.drawer-lang-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-sub-label {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.drawer-tg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0088cc, #00a8ff);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 168, 255, 0.35);
  transition: transform 0.2s;
}

.drawer-tg-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   3. Bento Grid Hero
   ========================================================================== */
.cryptan-bento-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin: 28px 0 44px;
}

.bento-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b111c;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.bento-gradient-fallback {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.15) 0%, transparent 55%),
              radial-gradient(circle at 20% 80%, rgba(121, 40, 202, 0.2) 0%, transparent 60%),
              #0d1424;
}

.bento-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.bento-card:hover .bento-bg {
  transform: scale(1.04);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.05) 0%, rgba(7, 9, 14, 0.8) 65%, rgba(7, 9, 14, 0.98) 100%);
  pointer-events: none;
}

.bento-content {
  position: relative;
  z-index: 2;
  padding: 30px;
}

.bento-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.neon-pill-fire {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fb7185;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.neon-pill-cat {
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--accent-cyan);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.bento-title {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
}

.bento-title a,
.bento-title a:visited {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.bento-title a:hover {
  color: var(--accent-cyan) !important;
}

.bento-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #94a3b8;
  font-family: var(--font-mono);
}

.bento-side-column {
  display: flex;
  flex-direction: column;
}

.bento-side-header {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.bento-mini-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.bento-mini-card {
  background: rgba(18, 24, 38, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  transition: all 0.25s ease;
}

.bento-mini-card:hover {
  border-color: rgba(0, 242, 254, 0.35);
  transform: translateX(4px);
  background: rgba(22, 30, 48, 0.85);
}

.bento-mini-card .mini-title a,
.bento-mini-card .mini-title a:visited {
  color: #f1f5f9 !important;
  text-decoration: none !important;
}

.bento-mini-card .mini-title a:hover {
  color: var(--accent-cyan) !important;
}

.bento-empty-hint {
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(18, 24, 38, 0.3);
}

.bento-empty-hint .mini-title {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

/* ==========================================================================
   4. Двухколоночный макет (Лента + Сайдбар)
   ========================================================================== */
.cryptan-layout-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

.title-decor {
  display: inline-block;
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, #00f2fe, #7928ca);
  border-radius: 4px;
  margin-right: 10px;
  vertical-align: middle;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.glass-panel {
  background: rgba(18, 24, 38, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.article-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d131f;
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .card-thumb-img {
  transform: scale(1.05);
}

.thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #334155;
  letter-spacing: 2px;
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 15, 24, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: #00f2fe;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
}

.card-title a {
  color: #f8fafc;
  text-decoration: none;
}

.card-title a:hover {
  color: #00f2fe;
}

.card-excerpt {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   5. Сайдбар
   ========================================================================== */
.cryptan-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  padding: 24px;
}

.tg-widget {
  border-color: rgba(56, 189, 248, 0.3);
  background: linear-gradient(145deg, rgba(18, 24, 38, 0.8), rgba(14, 45, 68, 0.5));
}

.tg-block-btn {
  display: block;
  text-align: center;
  background: #0284c7;
  color: #fff;
  font-weight: 700;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 16px;
  transition: background 0.2s;
}

.tg-block-btn:hover {
  background: #0369a1;
}

.exchange-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.exchange-item:last-child {
  border-bottom: none;
}

.rank {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  width: 18px;
  flex-shrink: 0;
}

.exchange-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  min-width: 0;
}

.exchange-info .bonus {
  font-size: 11px;
  color: #10b981;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rating-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
}

.exchange-claim-btn {
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: #00f2fe;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.exchange-claim-btn:hover {
  background: #00f2fe;
  color: #07090e;
}

/* ==========================================================================
   6. Single Post
   ========================================================================== */
.single-post-main {
  padding: 30px 0 60px;
}

.cryptan-breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cryptan-breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.cryptan-breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.cryptan-breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.2);
}

.cryptan-breadcrumbs .current {
  color: #fff;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.single-article-wrap {
  background: rgba(18, 24, 38, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 40px;
}

.entry-title {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff;
  margin: 16px 0 20px;
  word-break: break-word;
}

.entry-meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.meta-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-weight: 600;
}

.meta-author img {
  border-radius: 50%;
  display: block;
}

.entry-featured-media {
  margin-bottom: 32px;
  border-radius: 14px;
  overflow: hidden;
}

.entry-featured-media img {
  width: 100%;
  height: auto;
  display: block;
}

.entry-content {
  font-size: 17px;
  line-height: 1.8;
  color: #cbd5e1;
  word-break: break-word;
}

.entry-content p {
  margin-bottom: 24px;
}

.entry-content h2, .entry-content h3, .entry-content h4 {
  color: #ffffff;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
}

.entry-content h2 { font-size: 26px; border-left: 3px solid var(--accent-cyan); padding-left: 14px; }
.entry-content h3 { font-size: 21px; }

.entry-content ul, .entry-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.entry-content li {
  margin-bottom: 8px;
}

.entry-content a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cryptan-disclaimer-box {
  display: flex;
  gap: 16px;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 40px 0 30px;
  font-size: 13px;
  line-height: 1.6;
  color: #fda4af;
}

.cryptan-disclaimer-box p {
  margin: 0;
}

.article-telegram-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.15) 0%, rgba(0, 242, 254, 0.1) 100%);
  border: 1px solid rgba(0, 168, 255, 0.3);
  border-radius: 14px;
  padding: 24px 28px;
  margin-top: 30px;
  gap: 20px;
}

.article-telegram-banner h3 {
  color: #fff;
  margin: 0 0 6px;
  font-size: 18px;
}

.article-telegram-banner p {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0;
}

.tg-btn.large {
  padding: 12px 24px;
  font-size: 14px;
  white-space: nowrap;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
.cryptan-footer {
  border-top: 1px solid var(--border-subtle);
  background: #05070a;
  padding: 40px 0;
  margin-top: 60px;
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo-wrap {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.footer-brand-logo .footer-desk-wrap {
  display: inline-flex !important;
}

.footer-brand-logo .brand-text {
  font-size: 21px;
}

.footer-brand-logo .brand-badge {
  font-size: 8.5px;
  padding: 1px 4px;
  margin-left: -5px;
  transform: translateY(2px);
}

.footer-custom-logo {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-description {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.footer-navigation {
  display: flex;
  align-items: center;
}

.footer-links-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links-list a:hover {
  color: var(--accent-cyan);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 12px;
}

/* ==========================================================================
   8. Адаптивность (Media Queries)
   ========================================================================== */
@media (max-width: 992px) {
  .cryptan-bento-hero,
  .cryptan-layout-wrap,
  .single-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cryptan-nav { 
    display: none !important; 
  }

  .articles-grid { 
    grid-template-columns: 1fr; 
  }

  .site-branding .logo-desk-wrap {
    display: none !important;
  }

  .site-branding .logo-mob-mark {
    display: inline-flex !important;
  }

  .cryptan-burger-btn {
    display: flex !important;
  }

  .desk-lang-switcher,
  .desk-tg-btn {
    display: none !important;
  }

  .single-article-wrap {
    padding: 24px 18px;
  }

  .article-telegram-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .header-row {
    height: 64px;
  }

  .cryptan-container {
    padding: 0 16px;
  }
}

body.drawer-open {
  overflow: hidden !important;
}