/* ============================================================
   Seredin999 — Unified Design System
   Dark theme, Inter font, Lucide icons, no emoji
   ============================================================ */

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

/* ---- Variables ---- */
:root {
  --bg:        #0a0a0f;
  --bg2:       #111117;
  --bg3:       #17171f;
  --bg4:       #1e1e28;
  --border:    rgba(255,255,255,.07);
  --border-acc: rgba(255,140,66,.25);
  --acc:       #ff8c42;
  --acc-dim:   rgba(255,140,66,.12);
  --acc-hover: #ff6b1a;
  --txt:       #f0f0f0;
  --txt2:      #a0a0b0;
  --txt3:      #606070;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow:    0 4px 24px rgba(0,0,0,.4);
  --shadow-acc: 0 4px 24px rgba(255,140,66,.15);
  --transition: .2s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--txt);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--acc); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,15,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--acc);
  letter-spacing: -.5px;
  flex-shrink: 0;
  transition: color var(--transition);
}
.nav-logo:hover { color: var(--acc-hover); }

/* ============================================================
    NAV TOP LINKS (Главная + Donat — видна всегда)
    ============================================================ */
.nav-top-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-top-links a {
  color: var(--txt2);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-top-links a:hover,
.nav-top-links a.active {
  color: var(--txt);
  background: var(--bg3);
}
.nav-top-links .donate-btn {
  background: linear-gradient(135deg, #ff6b1a, #ff8c42);
  color: #000 !important;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-left: 6px;
  box-shadow: 0 2px 8px rgba(255, 140, 66, 0.3);
}
.nav-top-links .donate-btn:hover {
  background: linear-gradient(135deg, #ff5722, #ff6b1a);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

/* ============================================================
    NAV LINKS — desktop: visible in row, mobile: via burger
    ============================================================ */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a,
.nav-links .nav-dropdown-trigger {
  color: var(--txt2);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links .nav-dropdown-trigger:hover {
  color: var(--txt);
  background: var(--bg3);
}

/* Burger hidden on desktop, visible on mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--txt2);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile override */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10,10,15,.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px 32px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    z-index: 1001;
  }
  .nav-links.open { display: flex; }
  .nav-links a,
  .nav-links .nav-dropdown-trigger {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
  }
  .nav-burger { display: flex; }
}
.nav-links .nav-cta {
  background: var(--acc);
  color: #000 !important;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-left: 6px;
}
.nav-links .nav-cta:hover { background: var(--acc-hover); }
.nav-links .donate-btn {
  background: linear-gradient(135deg, #ff6b1a, #ff8c42);
  color: #000 !important;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-left: 6px;
  box-shadow: 0 2px 8px rgba(255, 140, 66, 0.3);
}
.nav-links .donate-btn:hover {
  background: linear-gradient(135deg, #ff5722, #ff6b1a);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}
@media (max-width: 768px) {
  .nav-links .nav-cta,
  .nav-links .donate-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Steam top-up button (inside nav-links) */
.nav-steam-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 20px;
  background: rgba(102,192,244,.12);
  border: 1px solid rgba(102,192,244,.28);
  color: #66c0f4 !important;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
  text-decoration: none;
  line-height: 1;
  margin-left: 4px;
}
.nav-steam-btn:hover {
  background: rgba(102,192,244,.22) !important;
  border-color: rgba(102,192,244,.5);
  color: #a8d8f8 !important;
}
/* На мобиле — внутри открытого меню */
@media (max-width: 768px) {
  .nav-steam-btn {
    width: 100%;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 13.5px;
    margin-left: 0;
    margin-top: 4px;
    justify-content: flex-start;
    gap: 8px;
  }
  .nav-steam-btn svg { width: 15px; height: 15px; }
}
/* На среднем экране — скрываем текст, оставляем иконку */
@media (max-width: 960px) and (min-width: 769px) {
  .nav-steam-text { display: none; }
  .nav-steam-btn { padding: 5px 8px; margin-left: 2px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px 26px;
  margin-top: 52px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--acc);
}
.footer-socials {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--txt2);
  transition: all var(--transition);
}
.footer-socials a:hover {
  border-color: var(--border-acc);
  color: var(--acc);
  background: var(--acc-dim);
}
.footer-socials a svg { width: 16px; height: 16px; }
.footer-copy {
  color: var(--txt3);
  font-size: 12.5px;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.page-subtitle {
  color: var(--txt2);
  font-size: 1rem;
  margin-bottom: 28px;
}
.section-heading {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--acc);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading svg { width: 16px; height: 16px; }
.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover {
  border-color: var(--border-acc);
  transform: translateY(-2px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  border: none;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--acc);
  color: #000;
}
.btn-primary:hover { background: var(--acc-hover); box-shadow: var(--shadow-acc); }
.btn-outline {
  background: transparent;
  color: var(--acc);
  border: 1px solid var(--border-acc);
}
.btn-outline:hover { background: var(--acc-dim); }
.btn-ghost {
  background: var(--bg3);
  color: var(--txt2);
}
.btn-ghost:hover { background: var(--bg4); color: var(--txt); }

/* ============================================================
   BADGE / TAG
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .3px;
}
.badge svg { width: 12px; height: 12px; }
.badge-acc {
  background: var(--acc-dim);
  border: 1px solid var(--border-acc);
  color: var(--acc);
}
.badge-neutral {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--txt2);
}

/* ============================================================
   VIDEOS GRID
   ============================================================ */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.video-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.video-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-2px);
}

/* ============================================================
   PRESENTATION SLIDER
   ============================================================ */
.presentation-slide:hover {
  border-color: var(--border-acc);
}
.video-thumb {
  position: relative;
  padding-top: 56.25%;
  background: var(--bg3);
  overflow: hidden;
}
.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.04); }
.video-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--txt3);
}
.video-thumb-placeholder svg { width: 40px; height: 40px; }
.video-info {
  padding: 14px 16px 16px;
}
.video-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-title a { color: var(--txt); transition: color var(--transition); }
.video-title a:hover { color: var(--acc); }
.video-desc {
  font-size: 12.5px;
  color: var(--txt2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.video-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--txt3);
}
.video-meta-row svg { width: 13px; height: 13px; }
.video-meta-row span { display: flex; align-items: center; gap: 4px; }

/* ============================================================
   VIDEO DETAIL PAGE
   ============================================================ */
.video-page { padding: 32px 0 60px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--txt3);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--txt2); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--acc); }
.breadcrumb svg { width: 14px; height: 14px; }
.video-page-title {
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.25;
  margin-bottom: 20px;
}
.video-player-wrap {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 28px;
}
.video-player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-description-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--txt2);
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ============================================================
   BLOG LIST
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.blog-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.blog-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-1px);
}
.blog-card-media {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  background: var(--bg3);
}
.blog-card-media img,
.blog-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  padding: 20px 24px 24px;
}
.blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.blog-card-title a { color: var(--txt); transition: color var(--transition); }
.blog-card-title a:hover { color: var(--acc); }
.blog-card-excerpt {
  color: var(--txt2);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--txt3);
}
.blog-card-footer svg { width: 13px; height: 13px; }
.blog-card-footer span { display: flex; align-items: center; gap: 4px; }

/* ============================================================
   BLOG POST
   ============================================================ */
.blog-post-page { padding: 32px 0 60px; }
.blog-post-header { margin-bottom: 28px; }
.blog-post-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.25;
  margin-bottom: 14px;
}
.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--txt3);
  flex-wrap: wrap;
}
.blog-post-meta svg { width: 13px; height: 13px; }
.blog-post-meta span { display: flex; align-items: center; gap: 4px; }
.blog-post-media {
  width: 100%;
  max-height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg3);
  margin-bottom: 28px;
  border: 1px solid var(--border);
}
.blog-post-media img,
.blog-post-media video {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block;
}
.blog-post-content {
  font-size: 15px;
  line-height: 1.75;
  color: var(--txt2);
}
.blog-post-content p { margin-bottom: 1em; }
.blog-post-content h2, .blog-post-content h3 { color: var(--txt); font-weight: 700; margin: 1.5em 0 .5em; }
.blog-post-content a { color: var(--acc); text-decoration: underline; text-decoration-color: var(--border-acc); }
.blog-post-content a:hover { color: var(--acc-hover); }
.blog-post-content code {
  background: var(--bg3);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: .9em;
  font-family: 'JetBrains Mono', monospace;
}
.telegram-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 18px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  font-size: 13.5px;
  color: var(--txt2);
  font-weight: 500;
  transition: all var(--transition);
}
.telegram-link-btn:hover {
  border-color: var(--border-acc);
  color: var(--acc);
  background: var(--acc-dim);
}
.telegram-link-btn svg { width: 16px; height: 16px; }

/* Comments */
.comments-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.comments-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.comments-title svg { width: 18px; height: 18px; color: var(--acc); }
.comment-item {
  padding: 16px 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}
.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.comment-author { font-size: 13.5px; font-weight: 600; }
.comment-username { color: var(--txt3); font-weight: 400; margin-left: 4px; }
.comment-date { font-size: 12px; color: var(--txt3); }
.comment-body { font-size: 13.5px; color: var(--txt2); line-height: 1.6; }
.comment-body a { color: var(--acc); }
.comment-item.spam { opacity: .5; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--bg2);
  transition: all var(--transition);
}
.pagination svg { width: 14px; height: 14px; }
.pagination a:hover { border-color: var(--border-acc); color: var(--acc); }
.pagination .current {
  background: var(--acc);
  color: #000;
  border-color: var(--acc);
  font-weight: 700;
}
.pagination .disabled { opacity: .35; pointer-events: none; }

/* ============================================================
   PAGE HEADER BANNER
   ============================================================ */
.page-banner {
  padding: 48px 24px 40px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, var(--bg2), var(--bg));
}
.page-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.page-banner h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.page-banner p { color: var(--txt2); font-size: 15px; }

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12.5px;
  color: var(--txt2);
}
.stat-pill svg { width: 13px; height: 13px; color: var(--acc); }
.stat-pill strong { color: var(--txt); }

/* ============================================================
   ARTICLE PAGES (battlepass, fantasy, patches)
   ============================================================ */
.article-hero {
  padding: 56px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, var(--bg2), var(--bg));
}
.article-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--acc-dim);
  border: 1px solid var(--border-acc);
  color: var(--acc);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 20px;
}
.article-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.article-hero .lead {
  font-size: 1.05rem;
  color: var(--txt2);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.article-hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.article-body {
  padding: 56px 0;
}
.article-section {
  margin-bottom: 52px;
}
.article-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.3px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.article-section-heading svg {
  width: 20px;
  height: 20px;
  color: var(--acc);
  flex-shrink: 0;
}
.article-section p,
.article-section li {
  color: var(--txt2);
  font-size: 15px;
  line-height: 1.75;
}
.article-section ul {
  list-style: none;
  padding: 0;
}
.article-section li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.article-section li svg {
  width: 15px;
  height: 15px;
  color: var(--acc);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  transition: border-color var(--transition);
}
.feature-card:hover { border-color: var(--border-acc); }
.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--acc-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feature-icon svg { width: 20px; height: 20px; color: var(--acc); }
.feature-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--txt2); line-height: 1.6; }

/* Steps */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}
.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--acc);
  color: #000;
  font-weight: 800;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.step-body p { font-size: 13px; color: var(--txt2); line-height: 1.55; }

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.game-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  transition: border-color var(--transition);
}
.game-chip:hover { border-color: var(--border-acc); }
.game-chip svg { width: 16px; height: 16px; color: var(--acc); flex-shrink: 0; }

/* CTA Box */
.cta-box {
  background: var(--acc-dim);
  border: 1px solid var(--border-acc);
  border-radius: var(--radius-lg);
  padding: 24px 24px 20px;
  text-align: center;
  margin-top: 36px;
}
.cta-box h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.cta-box p { color: var(--txt2); font-size: 14.5px; margin-bottom: 22px; }

/* Highlight box */
.highlight-box {
  background: var(--bg2);
  border-left: 3px solid var(--acc);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--txt2);
}
.highlight-box strong { color: var(--txt); }

/* ============================================================
   INDEX / HOMEPAGE
   ============================================================ */
.hero-section {
  padding: 52px 24px 40px;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.hero-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--border-acc);
  margin: 0 auto 16px;
  overflow: hidden;
  background: var(--bg3);
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-name {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.hero-name span { color: var(--acc); }
.hero-desc {
  color: var(--txt2);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 20px;
  line-height: 1.65;
}
.hero-links {
   display: flex;
   gap: 6px;
   justify-content: center;
   flex-wrap: wrap;
   align-items: center;
   position: relative;
 }
 .hero-links .btn {
   flex-shrink: 1;
   min-width: 0;
 }
 
 /* Mobile */
 @media (max-width: 768px) {
   .hero-links {
     gap: 4px;
   }
   .hero-links .btn {
     padding: 6px 10px;
     font-size: 11.5px;
   }
 }

.hero-keyboard {
  display: inline-grid;
  grid-template-columns: repeat(3, 36px);
  gap: 4px;
  margin-left: 24px;
  flex-shrink: 0;
  vertical-align: middle;
}

/* Mobile */
 @media (max-width: 768px) {
   .hero-keyboard {
     display: none;
   }
.hero-links {
     flex-wrap: nowrap;
     gap: 8px;
     justify-content: center;
   }
}

.hero-keyboard .key.w {
  grid-column: 2;
}

.hero-keyboard .key.a {
  grid-column: 1;
  grid-row: 2;
}

.hero-keyboard .key.s {
  grid-column: 2;
  grid-row: 2;
}

.hero-keyboard .key.d {
  grid-column: 3;
  grid-row: 2;
}

.projects-section { padding: 44px 0; }
.project-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; margin-top: 18px; }
.project-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  transition: border-color var(--transition);
  animation: cardFloat 4.5s ease-in-out infinite;
}
.project-card:nth-child(1) { animation-delay: 0s; }
.project-card:nth-child(2) { animation-delay: .9s; }
.project-card:nth-child(3) { animation-delay: 1.8s; }
.project-card:hover {
  border-color: var(--border-acc);
  animation-play-state: paused; }
.project-card-icon {
  width: 44px; height: 44px;
  background: var(--acc-dim);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.project-card-icon svg { width: 22px; height: 22px; color: var(--acc); }
.project-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.project-card p { font-size: 13.5px; color: var(--txt2); line-height: 1.6; margin-bottom: 16px; }
.project-card-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.project-stat { font-size: 12px; color: var(--txt3); display: flex; align-items: center; gap: 4px; }
.project-stat svg { width: 13px; height: 13px; }
.project-stat strong { color: var(--txt2); }

.socials-section { padding: 40px 0 0; border-top: 1px solid var(--border); }
 .socials-grid {
   display: grid;
   grid-template-columns: repeat(3, minmax(200px, 280px));
   gap: 12px;
   margin-top: 16px;
   justify-content: center;
 }
 @media (max-width: 520px) {
   .socials-grid { grid-template-columns: 1fr; }
 }
 @media (max-width: 768px) {
   .socials-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
 }
 .social-link {
   display: flex; align-items: center; gap: 8px;
   padding: 8px 12px;
   background: var(--bg2);
   border: 1px solid var(--border);
   border-radius: var(--radius-md);
   font-size: 12.5px;
   font-weight: 500;
   transition: all var(--transition);
 }
 .social-link svg { width: 24px; height: 24px; flex-shrink: 0; }
 @media (max-width: 768px) {
   .social-link {
     padding: 6px 10px;
     font-size: 11.5px;
     gap: 6px;
   }
   .social-link svg { width: 20px; height: 20px; }
 }
 .social-link:hover { border-color: var(--border-acc); background: var(--acc-dim); color: var(--acc); }

/* ============================================================
   PATCH PAGE (dota-741 style)
   ============================================================ */
.patch-hero {
  padding: 48px 24px 40px;
  background: linear-gradient(to bottom, var(--bg2), var(--bg));
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.patch-hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}
.patch-hero h1 em { color: var(--acc); font-style: normal; }
.patch-hero .patch-sub {
  font-size: 1rem;
  color: var(--txt2);
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================================
   PATCH HERO (shared by 7.41 and 7.41а pages)
   ============================================================ */
.patch-hero-741a {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 40px 24px 32px;
  text-align: center;
}
.patch-hero-741a .p-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,140,66,.12); border: 1px solid rgba(255,140,66,.25);
  color: var(--acc); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 16px;
}
.patch-hero-741a .p-title {
  font-size: clamp(36px, 7vw, 68px); font-weight: 900;
  letter-spacing: -2px; line-height: 1.05; margin-bottom: 12px;
}
.patch-hero-741a .p-title span { color: var(--acc); }
.patch-hero-741a .p-sub {
  font-size: 15px; color: var(--txt2); max-width: 520px;
  margin: 0 auto 18px; line-height: 1.55;
}
.patch-hero-741a .p-meta {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.patch-hero-741a .p-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; background: var(--bg3);
  border: 1px solid rgba(255,255,255,.07); border-radius: 20px;
  font-size: 12.5px; color: var(--txt2); font-weight: 500;
}
.patch-hero-741a .p-pill.acc {
  border-color: rgba(255,140,66,.25); color: var(--acc); background: rgba(255,140,66,.12);
}
.patch-hero-741a .p-pill a {
  color: inherit; display: flex; align-items: center; gap: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }

  .videos-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .project-cards { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .article-hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .hero-name { font-size: clamp(1.8rem, 8vw, 2.4rem); }

  .cta-box { padding: 24px 20px 22px; }
  .article-hero { padding: 40px 20px 36px; }
  .page-banner { padding: 36px 20px 28px; }

  /* Homepage about grid */
  .about-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  /* Poker grid */
  .poker-grid { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* Mobile: bigger hero buttons */
  .hero-links .btn {
    padding: 10px 16px !important;
    font-size: 13px !important;
  }

  /* Mobile: bigger social link cards */
  .social-link {
    padding: 10px 14px !important;
    font-size: 13px !important;
  }
  .social-link svg {
    width: 26px !important;
    height: 26px !important;
  }
}

@media (max-width: 480px) {
  .videos-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 8px; }
  .pagination a, .pagination span { padding: 7px 12px; font-size: 13px; }
}

/* ============================================================
   DROPDOWN NAV (Патчи)
   ============================================================ */
@keyframes dropdownReveal {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes mobileFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mobileFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-6px); }
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--txt2);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  user-select: none;
}
.nav-dropdown-trigger svg {
  width: 13px;
  height: 13px;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown-trigger.active {
  color: var(--txt);
  background: var(--bg3);
}
.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 236px;
  background: #22222e;
  border: 1px solid rgba(255,255,255,.18);
  border-top: 2px solid rgba(255,140,66,.4);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,.85), 0 4px 16px rgba(0,0,0,.6);
  padding: 6px;
  z-index: 9999;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
/* Bridge the gap so hover isn't lost while moving cursor from trigger to menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -40px;
  right: -40px;
  height: 18px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  color: var(--txt2);
}
.nav-dropdown-item:hover {
  background: var(--bg3);
  color: var(--txt);
}
.nav-dropdown-item.active-patch {
  background: var(--acc-dim);
  color: var(--acc);
}
/* Main patch — accent colour, bold */
.nav-dropdown-item.nav-patch-major {
  font-size: 15px;
  font-weight: 700;
  color: var(--acc);
  letter-spacing: .01em;
}
.nav-dropdown-item.nav-patch-major:hover { color: var(--acc); background: var(--acc-dim); }

/* Hotfix sub-patch — muted, indented */
.nav-dropdown-item.nav-patch-hotfix {
  font-size: 13px;
  font-weight: 500;
  color: var(--txt2);
  padding-left: 20px;
}
.nav-dropdown-item.nav-patch-hotfix:hover { color: var(--txt); }

/* Mobile — show all nav links inline, no "Полезное" label */
@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-trigger {
    display: none !important;
  }
  .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    animation: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    left: auto !important;
    top: auto !important;
    transition: none !important;
  }
  .nav-dropdown-menu::before {
    content: none !important;
  }
  .nav-dropdown-item {
    padding: 10px 12px !important;
    font-size: 15px !important;
    width: 100% !important;
    border-radius: var(--radius-sm) !important;
  }
  .nav-dropdown-item:active {
    background: var(--bg3) !important;
  }
  .nav-patch-hotfix {
    padding-left: 10px !important;
  }
}

/* ============================================================
   STATS TABLE (fantasy scoring)
   ============================================================ */
.stats-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stats-table .stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.stats-table .stats-row:last-child { border-bottom: none; }
.stats-table .stats-row:nth-child(even) { background: var(--bg2); }
.stats-table .stats-row span:first-child { color: var(--txt); font-weight: 500; }
.stats-table .stats-row span:last-child { color: var(--acc); font-weight: 600; white-space: nowrap; }

/* ============================================================
   UTILS
   ============================================================ */
.text-acc { color: var(--acc); }
.text-muted { color: var(--txt2); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none; }

/* ══ About section (index.html) ══════════════════════════════ */
.about-section {
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 4px;
}
.about-bio-lead {
  color: var(--txt);
  font-size: 15.5px;
  line-height: 1.75;
  font-weight: 500;
  margin-bottom: 16px;
}
.about-bio-text {
  color: var(--txt2);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.acc-text { color: var(--acc); }
.about-cards { display: flex; flex-direction: column; gap: 10px; }
/* ── Card float animation ── */
@keyframes cardFloat {
  0%, 100% { transform: translateY(0);    box-shadow: 0 2px 10px rgba(255,140,66,0); }
  50%       { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(255,140,66,.13); }
}

.about-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: default;
  animation: cardFloat 4s ease-in-out infinite;
  transition: border-color .22s ease;
}
.about-stat-card:nth-child(1) { animation-delay: 0s; }
.about-stat-card:nth-child(2) { animation-delay: .7s; }
.about-stat-card:nth-child(3) { animation-delay: 1.4s; }
.about-stat-card:hover {
  border-color: rgba(255,140,66,.4);
  animation-play-state: paused;
}

/* Events/media cards */
.media-event-card {
  animation: cardFloat 4s ease-in-out infinite;
  transition: border-color .22s ease !important;
}
.media-event-card:nth-child(1) { animation-delay: 0s; }
.media-event-card:nth-child(2) { animation-delay: .65s; }
.media-event-card:nth-child(3) { animation-delay: 1.3s; }
.media-event-card:nth-child(4) { animation-delay: 1.95s; }
.media-event-card:hover {
  border-color: rgba(255,140,66,.35) !important;
  animation-play-state: paused;
}
.about-stat-icon {
  width: 38px;
  height: 38px;
  background: var(--acc-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-stat-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.about-stat-label { font-size: 12px; color: var(--txt3); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.about-stat-value { font-size: 15px; font-weight: 700; color: var(--txt); }
.about-stat-sub { font-size: 13.5px; color: var(--txt3); }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ══ Trust grid (battlepass-article.html) ════════════════════ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.trust-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,140,66,.3);
  box-shadow: 0 6px 20px rgba(255,140,66,.08);
}
.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--acc-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.trust-icon svg { width: 17px; height: 17px; stroke: var(--acc); }
.trust-card h4 { font-size: 14px; font-weight: 700; color: var(--txt); margin-bottom: 6px; }
.trust-card p { font-size: 13px; color: var(--txt2); line-height: 1.65; margin: 0; }

/* ── Playing cards (poker section) ── */
@keyframes dealIn {
  from { opacity:0; transform:rotate(var(--card-rot)) translate(-130px,-90px) scale(0.5); }
  to   { opacity:1; transform:rotate(var(--card-rot)) translate(0,0) scale(1); }
}
@keyframes flipCard {
  0%   { transform:rotateY(0deg); }
  100% { transform:rotateY(180deg); }
}
@keyframes cardIdleFloat {
  0%,100% { transform:rotate(var(--card-rot)) translateY(0); }
  50%     { transform:rotate(var(--card-rot)) translateY(-7px); }
}
.play-card {
  width:90px; height:130px;
  perspective:700px;
  cursor:default;
  opacity:0;
}
.cards-ready .play-card {
  animation:
    dealIn .55s cubic-bezier(.34,1.4,.64,1) var(--deal-delay) both,
    cardIdleFloat 3.6s ease-in-out calc(var(--flip-delay) + .9s) infinite;
}
.play-card-inner {
  position:relative; width:100%; height:100%;
  transform-style:preserve-3d;
}
.cards-ready .play-card-inner {
  animation: flipCard .65s ease-in-out var(--flip-delay) forwards;
}
.play-card-back,
.play-card-front {
  position:absolute; inset:0;
  border-radius:12px;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
.play-card-back {
  background:#1a1a28;
  border:2px solid rgba(255,140,66,.4);
  box-shadow:0 8px 32px rgba(0,0,0,.4),0 0 0 1px rgba(255,140,66,.08);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.play-card-back::before {
  content:'';
  position:absolute; inset:8px;
  border:1.5px solid rgba(255,140,66,.2);
  border-radius:7px;
  background:repeating-linear-gradient(
    45deg,
    rgba(255,140,66,.07) 0px,rgba(255,140,66,.07) 2px,
    transparent 2px,transparent 9px
  );
}
.play-card-back::after {
  content:'♠';
  font-size:1.9rem;
  color:rgba(255,140,66,.18);
  position:relative; z-index:1;
}
.play-card-front {
  background:linear-gradient(135deg,#1a1a28 0%,#13131e 100%);
  border:2px solid rgba(255,140,66,.5);
  box-shadow:0 8px 32px rgba(255,140,66,.2),0 0 0 1px rgba(255,140,66,.08);
  transform:rotateY(180deg);
  display:flex; flex-direction:column; justify-content:space-between; padding:10px;
}
.card-rank-top { font-size:1.3rem; font-weight:900; color:#ff8c42; line-height:1; }
.card-suit-center { font-size:2rem; text-align:center; line-height:1; color:#ff8c42; text-shadow:0 0 20px rgba(255,140,66,.6); }
.card-rank-bot  { font-size:1.3rem; font-weight:900; color:#ff8c42; line-height:1; text-align:right; transform:rotate(180deg); }

/* Keyboard scroll buttons (WASD) */
.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--txt2);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition);
}
.key:hover {
  border-color: var(--border-acc);
  color: var(--acc);
  background: var(--acc-dim);
}
.key.is-active {
  background: var(--acc);
  color: #000;
  border-color: var(--acc);
  transition: none;
  box-shadow: none;
}