/* ============================================================
   MuMu Theme — Main Stylesheet
   assets/css/main.css
   ============================================================ */

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 64px;
  background: rgba(13,27,62,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background 0.3s ease;
}
.navbar.scrolled { background: rgba(13,27,62,0.98); }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff;
}
.nav-logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: 1px; color: #fff;
}

/* WP nav menu override */
.navbar .nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.navbar .nav-links li { position: relative; }
.navbar .nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s; white-space: nowrap;
}
.navbar .nav-links a:hover,
.navbar .nav-links .current-menu-item > a,
.navbar .nav-links .current-menu-ancestor > a { color: #00d4ff; }

.navbar .nav-links .menu-download > a {
  background: linear-gradient(135deg, #1a6fff, #00d4ff);
  color: #fff !important; padding: 8px 20px; border-radius: 24px;
  font-weight: 700; box-shadow: 0 4px 15px rgba(26,111,255,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.navbar .nav-links .menu-download > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26,111,255,0.5);
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px; transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(13,27,62,0.98); backdrop-filter: blur(20px);
  padding: 24px 5%; border-bottom: 1px solid rgba(255,255,255,0.12);
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a {
  display: block; color: rgba(255,255,255,0.85); text-decoration: none;
  padding: 12px 0; font-size: 1rem; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1); transition: color 0.2s;
}
.mobile-menu a:hover { color: #00d4ff; }
.mobile-menu ul li:last-child a { border-bottom: none; }

/* ── FOOTER ── */
.site-footer { background: #070e20; padding: 60px 5% 30px; color: rgba(255,255,255,0.6); }
.footer-top {
  display: grid; grid-template-columns: 2fr repeat(3,1fr);
  gap: 40px; margin-bottom: 40px;
}
.footer-brand-desc { font-size: 0.85rem; line-height: 1.7; max-width: 280px; margin-top: 16px; }
.footer-logo-row { display: flex; align-items: center; gap: 10px; }
.footer-logo-text { font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700; color: #fff; }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.83rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #00d4ff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 0.8rem;
}

/* ── PAGE HERO BANNER ── */
.page-banner {
  height: 220px;
  background: linear-gradient(135deg,#0a1628 0%,#0d1b3e 50%,#0f2252 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.page-banner::before {
  content:'';
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size: 50px 50px;
}
.page-banner::after {
  content:''; position:absolute;
  width:500px; height:500px;
  background: radial-gradient(circle,rgba(26,111,255,.12) 0%,transparent 70%);
  right:-100px; top:-150px;
}
.banner-inner { position:relative; z-index:2; padding:0 5%; width:100%; }
.breadcrumb { display:flex; align-items:center; gap:8px; font-size:.82rem; color:rgba(255,255,255,.6); margin-bottom:14px; }
.breadcrumb a { color:rgba(255,255,255,.6); text-decoration:none; transition:color .2s; }
.breadcrumb a:hover { color:#00d4ff; }
.breadcrumb-sep { color:rgba(255,255,255,.25); }
.breadcrumb-cur { color:#00d4ff; font-weight:600; }
.banner-title { font-size:clamp(1.8rem,3.5vw,2.6rem); font-weight:900; color:#fff; line-height:1.2; }
.banner-title span { background:linear-gradient(135deg,#4d9fff,#00d4ff); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.banner-sub { font-size:.9rem; color:rgba(255,255,255,.6); margin-top:8px; }

/* ── MAIN LAYOUT (list/single) ── */
.main-wrapper {
  max-width: 1260px; margin: 0 auto;
  padding: 40px 5% 60px;
  display: grid; grid-template-columns: 1fr 300px;
  gap: 32px; align-items: start;
}

/* ── FILTER BAR ── */
.filter-bar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:24px; }
.category-tabs { display:flex; gap:6px; flex-wrap:wrap; }
.cat-tab {
  padding:8px 18px; border-radius:50px;
  border:1.5px solid #dde4f5; background:#fff;
  cursor:pointer; font-size:.83rem; font-weight:600; color:#666;
  transition:all .25s; font-family:inherit;
}
.cat-tab:hover,.cat-tab.active { background:#1a6fff; border-color:#1a6fff; color:#fff; box-shadow:0 3px 12px rgba(26,111,255,.3); }
.sort-select { display:flex; align-items:center; gap:8px; font-size:.83rem; color:#888; }
.sort-select select { padding:7px 14px; border-radius:8px; border:1.5px solid #dde4f5; background:#fff; font-size:.83rem; color:#444; cursor:pointer; outline:none; font-family:inherit; }

/* ── FEATURED CARD ── */
.featured-card {
  display:grid; grid-template-columns:1fr 1fr;
  border-radius:14px; overflow:hidden; background:#fff;
  box-shadow:0 2px 20px rgba(26,111,255,.08);
  margin-bottom:20px; transition:all .3s;
  cursor:pointer; text-decoration:none; color:inherit;
}
.featured-card:hover { box-shadow:0 8px 40px rgba(26,111,255,.15); transform:translateY(-3px); }
.featured-thumb {
  min-height:240px; background:linear-gradient(145deg,#1a2d50,#0d1b3e);
  position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.featured-thumb img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.featured-thumb-emoji { font-size:5rem; z-index:1; }
.featured-thumb-badge {
  position:absolute; top:14px; left:14px; z-index:2;
  background:linear-gradient(135deg,#ff4d6d,#ff6b35);
  color:#fff; font-size:.7rem; font-weight:800;
  padding:4px 12px; border-radius:4px; letter-spacing:1px;
}
.featured-body { padding:28px; display:flex; flex-direction:column; justify-content:center; }
.featured-cat { font-size:.75rem; font-weight:700; color:#1a6fff; letter-spacing:1px; text-transform:uppercase; margin-bottom:12px; }
.featured-title { font-size:1.2rem; font-weight:800; color:#1a1a2e; line-height:1.5; margin-bottom:12px; }
.featured-desc { font-size:.875rem; color:#777; line-height:1.7; margin-bottom:20px; }
.featured-meta { display:flex; align-items:center; gap:16px; font-size:.78rem; color:#aaa; }

/* ── ARTICLE LIST ── */
.article-list { display:flex; flex-direction:column; gap:16px; }
.article-card {
  display:grid; grid-template-columns:180px 1fr;
  background:#fff; border-radius:14px; overflow:hidden;
  box-shadow:0 2px 12px rgba(26,111,255,.06);
  transition:all .28s; cursor:pointer;
  text-decoration:none; color:inherit;
  border:1.5px solid transparent;
}
.article-card:hover { box-shadow:0 6px 30px rgba(26,111,255,.13); transform:translateY(-2px); border-color:rgba(26,111,255,.15); }
.article-thumb {
  min-height:140px; background:linear-gradient(145deg,#1a2d50,#0d1b3e);
  display:flex; align-items:center; justify-content:center;
  font-size:2.8rem; position:relative; flex-shrink:0; overflow:hidden;
}
.article-thumb img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.article-thumb-emoji { z-index:1; }
.article-thumb-badge {
  position:absolute; top:8px; left:8px; z-index:2;
  font-size:.65rem; font-weight:800; padding:3px 8px;
  border-radius:4px; color:#fff; letter-spacing:.5px;
}
.badge-guide { background:#1a6fff; }
.badge-news  { background:#ff6b35; }
.badge-event { background:#7c3aed; }
.badge-update{ background:#059669; }
.article-body { padding:18px 22px; display:flex; flex-direction:column; justify-content:space-between; }
.article-cat { font-size:.72rem; font-weight:700; color:#1a6fff; letter-spacing:1px; text-transform:uppercase; margin-bottom:6px; }
.article-title { font-size:.95rem; font-weight:700; color:#1a1a2e; line-height:1.55; margin-bottom:8px; }
.article-excerpt { font-size:.82rem; color:#888; line-height:1.65; }
.article-meta { display:flex; align-items:center; gap:14px; margin-top:12px; font-size:.75rem; color:#bbb; }
.article-tag { display:inline-block; padding:2px 10px; border-radius:12px; background:#f0f4ff; color:#1a6fff; font-size:.72rem; font-weight:600; }

/* ── PAGINATION ── */
.pagination-wrap { display:flex; justify-content:center; align-items:center; gap:6px; margin-top:40px; flex-wrap:wrap; }
.page-btn {
  width:40px; height:40px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  border:1.5px solid #dde4f5; background:#fff;
  font-size:.875rem; font-weight:600; color:#555;
  cursor:pointer; transition:all .2s;
  text-decoration:none;
}
.page-btn:hover { border-color:#1a6fff; color:#1a6fff; }
.page-btn.current,.page-btn.active {
  background:linear-gradient(135deg,#1a6fff,#00d4ff);
  border-color:transparent; color:#fff;
  box-shadow:0 3px 12px rgba(26,111,255,.35);
}
.page-btn.dots { border:none; background:transparent; cursor:default; color:#bbb; }
.page-info { font-size:.8rem; color:#999; text-align:center; margin-top:12px; }

/* WP pagination override */
.nav-links { display:flex; justify-content:center; gap:6px; margin-top:40px; flex-wrap:wrap; }
.nav-links .page-numbers {
  width:40px; height:40px; border-radius:10px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1.5px solid #dde4f5; background:#fff;
  font-size:.875rem; font-weight:600; color:#555;
  text-decoration:none; transition:all .2s;
}
.nav-links .page-numbers:hover,.nav-links .page-numbers.current {
  background:linear-gradient(135deg,#1a6fff,#00d4ff);
  border-color:transparent; color:#fff;
}
.nav-links .page-numbers.dots { border:none; background:transparent; color:#bbb; cursor:default; }

/* ── SIDEBAR ── */
.sidebar { display:flex; flex-direction:column; gap:24px; }
.sidebar-card { background:#fff; border-radius:14px; box-shadow:0 2px 16px rgba(26,111,255,.07); overflow:hidden; }
.sidebar-head { padding:16px 20px; background:linear-gradient(135deg,#0d1b3e,#152244); display:flex; align-items:center; gap:10px; }
.sidebar-head h3 { font-size:.9rem; font-weight:700; color:#fff; }
.hot-list { padding:8px 0; }
.hot-item { display:flex; align-items:flex-start; gap:12px; padding:12px 20px; cursor:pointer; transition:background .2s; border-bottom:1px solid #f0f4ff; text-decoration:none; color:inherit; }
.hot-item:last-child { border-bottom:none; }
.hot-item:hover { background:#f8faff; }
.hot-rank { width:22px; height:22px; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:.72rem; font-weight:800; color:#fff; flex-shrink:0; margin-top:1px; }
.hot-rank.r1{background:#ff4d6d;} .hot-rank.r2{background:#ff6b35;} .hot-rank.r3{background:#fbbf24;} .hot-rank.rn{background:#cbd5e1;color:#64748b;}
.hot-title { font-size:.82rem; color:#444; line-height:1.5; font-weight:500; }
.hot-views { font-size:.72rem; color:#bbb; margin-top:3px; }
.tag-cloud { padding:16px 20px; display:flex; flex-wrap:wrap; gap:8px; }
.tag-btn { padding:5px 14px; border-radius:20px; border:1.5px solid #dde4f5; background:#f8faff; font-size:.78rem; font-weight:600; color:#666; cursor:pointer; transition:all .2s; font-family:inherit; text-decoration:none; display:inline-block; }
.tag-btn:hover { background:#1a6fff; border-color:#1a6fff; color:#fff; }

/* WP tag widget */
.widget_tag_cloud a { padding:5px 14px; border-radius:20px; border:1.5px solid #dde4f5; background:#f8faff; font-size:.78rem !important; font-weight:600; color:#666; cursor:pointer; transition:all .2s; text-decoration:none; display:inline-block; margin:4px; }
.widget_tag_cloud a:hover { background:#1a6fff; border-color:#1a6fff; color:#fff; }

.dl-cta { background:linear-gradient(145deg,#0d1b3e,#1a2d5a); border-radius:14px; padding:28px 22px; text-align:center; position:relative; overflow:hidden; }
.dl-cta::before { content:''; position:absolute; top:-40px; right:-40px; width:120px; height:120px; background:radial-gradient(circle,rgba(0,212,255,.15) 0%,transparent 70%); }
.dl-cta-emoji { font-size:2.5rem; margin-bottom:12px; }
.dl-cta h3 { font-size:1rem; font-weight:800; color:#fff; margin-bottom:6px; }
.dl-cta p { font-size:.78rem; color:rgba(255,255,255,.6); margin-bottom:18px; line-height:1.6; }
.dl-cta-btn { display:block; width:100%; padding:11px; border-radius:50px; background:linear-gradient(135deg,#1a6fff,#00d4ff); color:#fff; font-weight:700; font-size:.88rem; text-decoration:none; transition:all .3s; box-shadow:0 4px 15px rgba(26,111,255,.4); margin-bottom:8px; }
.dl-cta-btn:hover { transform:translateY(-2px); box-shadow:0 8px 25px rgba(26,111,255,.5); }
.dl-cta-btn.secondary { background:rgba(255,255,255,.1); box-shadow:none; }

/* ── READ PROGRESS ── */
.read-progress { position:fixed; top:64px; left:0; right:0; z-index:999; height:3px; background:rgba(255,255,255,.1); }
.read-progress-bar { height:100%; background:linear-gradient(90deg,#1a6fff,#00d4ff); width:0%; transition:width .1s linear; }

/* ── ARTICLE COVER ── */
.article-cover {
  height:380px; background:linear-gradient(145deg,#0a1628,#0d1b3e,#0f2252);
  position:relative; overflow:hidden; display:flex; align-items:flex-end;
}
.article-cover::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size:50px 50px; }
.cover-glow { position:absolute; top:-80px; right:-80px; width:500px; height:500px; background:radial-gradient(circle,rgba(26,111,255,.18) 0%,transparent 65%); pointer-events:none; }
.cover-emoji { position:absolute; right:8%; top:50%; transform:translateY(-50%); font-size:8rem; opacity:.15; pointer-events:none; }
.cover-content { position:relative; z-index:2; padding:0 5% 40px; width:100%; }
.cover-breadcrumb { display:flex; align-items:center; gap:8px; font-size:.8rem; color:rgba(255,255,255,.6); margin-bottom:16px; }
.cover-breadcrumb a { color:rgba(255,255,255,.6); text-decoration:none; transition:color .2s; }
.cover-breadcrumb a:hover { color:#00d4ff; }
.cover-breadcrumb span { color:rgba(255,255,255,.3); }
.cover-tags { display:flex; gap:8px; margin-bottom:16px; flex-wrap:wrap; }
.cover-tag { padding:4px 14px; border-radius:20px; font-size:.75rem; font-weight:700; color:#fff; letter-spacing:.5px; }
.tag-blue { background:rgba(26,111,255,.7); border:1px solid rgba(26,111,255,.5); }
.tag-hot  { background:rgba(255,77,109,.7); border:1px solid rgba(255,77,109,.5); }
.cover-title { font-size:clamp(1.5rem,3.5vw,2.2rem); font-weight:900; color:#fff; line-height:1.3; margin-bottom:16px; }
.cover-meta { display:flex; align-items:center; gap:20px; flex-wrap:wrap; font-size:.82rem; color:rgba(255,255,255,.6); }
.cover-meta span { display:flex; align-items:center; gap:5px; }
.cover-avatar { width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg,#1a6fff,#00d4ff); display:flex; align-items:center; justify-content:center; font-size:.75rem; font-weight:700; color:#fff; flex-shrink:0; }

/* ── ARTICLE CARD WRAPPER ── */
.article-card-wrap { background:#fff; border-radius:14px; box-shadow:0 2px 20px rgba(26,111,255,.07); overflow:hidden; }

/* ── ARTICLE CONTENT (typography) ── */
.article-content {
  padding:40px 48px;
  font-size:1rem; line-height:1.9;
  color:#4a5568; max-width:760px;
}
.article-content h2 { font-size:1.35rem; font-weight:800; color:#1a1a2e; margin:36px 0 16px; padding-left:16px; border-left:4px solid #1a6fff; line-height:1.4; }
.article-content h3 { font-size:1.08rem; font-weight:700; color:#2d3748; margin:28px 0 12px; }
.article-content h4 { font-size:.95rem; font-weight:700; color:#2d3748; margin:20px 0 8px; }
.article-content p { margin-bottom:18px; }
.article-content strong { color:#1a1a2e; font-weight:700; }
.article-content a { color:#1a6fff; text-decoration:underline; }
.article-content a:hover { color:#00d4ff; }
.article-content ul,.article-content ol { margin:0 0 18px; padding-left:0; list-style:none; }
.article-content ul li,.article-content ol li { padding:6px 0 6px 24px; position:relative; }
.article-content ul li::before { content:'▸'; color:#1a6fff; position:absolute; left:0; font-size:.85rem; top:8px; }
.article-content ol { counter-reset:ol-counter; }
.article-content ol li::before { counter-increment:ol-counter; content:counter(ol-counter); position:absolute; left:0; width:18px; height:18px; border-radius:50%; background:#1a6fff; color:#fff; font-size:.7rem; font-weight:700; display:inline-flex; align-items:center; justify-content:center; top:8px; }
.article-content blockquote { border-left:4px solid #00d4ff; background:linear-gradient(135deg,#f0f8ff,#e8f4ff); padding:16px 20px; margin:24px 0; border-radius:0 10px 10px 0; font-size:.95rem; color:#2d4a6e; font-style:italic; line-height:1.7; }
.article-content hr { border:none; border-top:1px solid #e8edf5; margin:32px 0; }
.article-content img { border-radius:10px; margin:24px 0; }
.article-content table { width:100%; border-collapse:collapse; margin:24px 0; font-size:.875rem; border-radius:10px; overflow:hidden; box-shadow:0 1px 8px rgba(0,0,0,.06); }
.article-content th { background:linear-gradient(135deg,#0d1b3e,#152244); color:#fff; padding:12px 16px; text-align:left; font-weight:700; font-size:.82rem; }
.article-content td { padding:11px 16px; border-bottom:1px solid #e8edf5; color:#4a5568; }
.article-content tr:last-child td { border-bottom:none; }
.article-content tr:nth-child(even) td { background:#f8faff; }

/* Callout boxes */
.callout { border-radius:10px; padding:18px 20px; margin:24px 0; display:flex; gap:14px; align-items:flex-start; }
.callout-icon { font-size:1.3rem; flex-shrink:0; margin-top:1px; }
.callout-body { font-size:.9rem; line-height:1.7; }
.callout-body strong { display:block; font-size:.95rem; margin-bottom:4px; }
.callout-tip  { background:#eff6ff; border:1.5px solid #bfdbfe; }
.callout-tip .callout-body { color:#1e40af; }
.callout-warn { background:#fffbeb; border:1.5px solid #fde68a; }
.callout-warn .callout-body { color:#92400e; }
.callout-info { background:#f0fdf4; border:1.5px solid #bbf7d0; }
.callout-info .callout-body { color:#166534; }

/* ── ARTICLE FOOTER ── */
.article-footer { padding:24px 48px; border-top:1px solid #e8edf5; }
.article-tags-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:20px; }
.article-tag-label { font-size:.82rem; color:#999; font-weight:600; }
.atag { padding:4px 14px; border-radius:20px; border:1.5px solid #dde4f5; background:#f8faff; font-size:.78rem; font-weight:600; color:#666; cursor:pointer; transition:all .2s; text-decoration:none; }
.atag:hover { background:#1a6fff; border-color:#1a6fff; color:#fff; }
.share-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.share-label { font-size:.82rem; color:#999; font-weight:600; }
.share-btn { display:flex; align-items:center; gap:6px; padding:8px 18px; border-radius:8px; border:1.5px solid #dde4f5; background:#fff; font-size:.82rem; font-weight:600; color:#555; cursor:pointer; transition:all .2s; font-family:inherit; }
.share-btn:hover { border-color:#1a6fff; color:#1a6fff; }
.like-btn { display:flex; align-items:center; gap:6px; padding:8px 20px; border-radius:8px; background:linear-gradient(135deg,#1a6fff,#00d4ff); color:#fff; font-size:.82rem; font-weight:700; border:none; cursor:pointer; transition:all .3s; font-family:inherit; box-shadow:0 3px 12px rgba(26,111,255,.35); }
.like-btn:hover { transform:translateY(-2px); }

/* ── RELATED POSTS ── */
.related-section { background:#fff; border-radius:14px; box-shadow:0 2px 20px rgba(26,111,255,.07); padding:28px 32px; margin-top:24px; }
.related-title { font-size:1rem; font-weight:800; color:#1a1a2e; margin-bottom:20px; display:flex; align-items:center; gap:8px; }
.related-title::before { content:''; display:block; width:4px; height:18px; border-radius:2px; background:linear-gradient(#1a6fff,#00d4ff); }
.related-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.related-card { display:flex; gap:12px; align-items:flex-start; padding:12px; border-radius:10px; cursor:pointer; transition:background .2s; text-decoration:none; color:inherit; border:1.5px solid transparent; }
.related-card:hover { background:#f8faff; border-color:#e0e8ff; }
.related-thumb { width:72px; height:64px; border-radius:8px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:1.8rem; overflow:hidden; }
.related-thumb img { width:100%; height:100%; object-fit:cover; }
.related-cat { font-size:.7rem; font-weight:700; color:#1a6fff; margin-bottom:4px; }
.related-name { font-size:.83rem; font-weight:600; color:#2d3748; line-height:1.5; }
.related-date { font-size:.72rem; color:#bbb; margin-top:4px; }

/* ── SIDEBAR (single) ── */
.sidebar-sticky { position:sticky; top:88px; display:flex; flex-direction:column; gap:20px; }
.toc-card { background:#fff; border-radius:14px; box-shadow:0 2px 16px rgba(26,111,255,.07); overflow:hidden; }
.toc-head { padding:14px 20px; background:linear-gradient(135deg,#0d1b3e,#152244); display:flex; align-items:center; gap:8px; }
.toc-head h3 { font-size:.88rem; font-weight:700; color:#fff; }
.toc-list { padding:12px 0; }
.toc-item { display:block; padding:8px 20px; font-size:.82rem; color:#666; text-decoration:none; transition:all .2s; border-left:3px solid transparent; line-height:1.5; }
.toc-item:hover,.toc-item.active { color:#1a6fff; background:#f0f6ff; border-left-color:#1a6fff; }
.toc-item.level2 { padding-left:32px; font-size:.78rem; color:#999; }

/* Author card */
.author-card { background:#fff; border-radius:14px; box-shadow:0 2px 16px rgba(26,111,255,.07); padding:20px; }
.author-head { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.author-avatar { width:48px; height:48px; border-radius:50%; background:linear-gradient(135deg,#1a6fff,#00d4ff); display:flex; align-items:center; justify-content:center; font-size:1.3rem; flex-shrink:0; overflow:hidden; }
.author-avatar img { width:100%; height:100%; object-fit:cover; }
.author-name { font-weight:700; font-size:.95rem; color:#1a1a2e; }
.author-role { font-size:.75rem; color:#999; margin-top:2px; }
.author-bio { font-size:.82rem; color:#777; line-height:1.65; margin-bottom:14px; }
.author-stats { display:flex; gap:16px; }
.author-stat { text-align:center; }
.author-stat-num { font-weight:800; color:#1a6fff; font-size:1rem; display:block; }
.author-stat-label { font-size:.72rem; color:#bbb; }

/* Sidebar DL */
.sidebar-dl { background:linear-gradient(145deg,#0d1b3e,#1a2d5a); border-radius:14px; padding:24px 20px; text-align:center; position:relative; overflow:hidden; }
.sidebar-dl::before { content:''; position:absolute; top:-40px; right:-40px; width:120px; height:120px; background:radial-gradient(circle,rgba(0,212,255,.15) 0%,transparent 70%); }
.sidebar-dl h3 { font-size:.95rem; font-weight:800; color:#fff; margin-bottom:6px; }
.sidebar-dl p { font-size:.78rem; color:rgba(255,255,255,.6); margin-bottom:16px; line-height:1.6; }

/* ── HOME: HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg,#0a1628 0%,#0d1b3e 40%,#0f2252 70%,#142a5e 100%);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-bg { position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.hero-bg::before { content:''; position:absolute; width:600px; height:600px; background:radial-gradient(circle,rgba(26,111,255,.15) 0%,transparent 70%); top:-100px; right:-100px; animation:heroPulse 6s ease-in-out infinite; }
.hero-bg::after  { content:''; position:absolute; width:400px; height:400px; background:radial-gradient(circle,rgba(0,212,255,.08) 0%,transparent 70%); bottom:100px; left:-80px; animation:heroPulse 8s ease-in-out infinite reverse; }
@keyframes heroPulse { 0%,100%{transform:scale(1) translate(0,0);opacity:1} 50%{transform:scale(1.1) translate(20px,-20px);opacity:.7} }
.grid-lines { position:absolute; inset:0; pointer-events:none; background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px); background-size:60px 60px; }
.hero-inner { position:relative; z-index:2; display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; max-width:1300px; margin:0 auto; padding:80px 5% 60px; flex:1; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(26,111,255,.15); border:1px solid rgba(26,111,255,.3); border-radius:24px; padding:6px 16px; margin-bottom:28px; }
.hero-badge-dot { width:8px; height:8px; border-radius:50%; background:#00d4ff; animation:badgeBlink 2s ease-in-out infinite; }
@keyframes badgeBlink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero-badge span { font-size:.8rem; font-weight:600; color:#00d4ff; letter-spacing:.5px; }
.hero-title { font-size:clamp(2.2rem,4.5vw,3.8rem); font-weight:900; color:#fff; line-height:1.15; margin-bottom:20px; }
.hero-title .gradient-text { background:linear-gradient(135deg,#4d9fff,#00d4ff); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-sub { font-size:clamp(.85rem,1.5vw,1rem); color:rgba(255,255,255,.6); line-height:1.7; margin-bottom:36px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:40px; }
.btn-primary { display:inline-flex; align-items:center; gap:10px; background:linear-gradient(135deg,#1a6fff,#0056e0); color:#fff; text-decoration:none; padding:14px 28px; border-radius:50px; font-weight:700; font-size:.95rem; box-shadow:0 6px 30px rgba(26,111,255,.45); transition:all .3s; white-space:nowrap; }
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 12px 40px rgba(26,111,255,.6); }
.btn-secondary { display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.2); color:#fff; text-decoration:none; padding:14px 28px; border-radius:50px; font-weight:600; font-size:.95rem; transition:all .3s; white-space:nowrap; }
.btn-secondary:hover { background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.4); }
.platform-chips { display:flex; flex-wrap:wrap; gap:8px; }
.platform-chip { display:flex; align-items:center; gap:6px; padding:6px 14px; border-radius:20px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); font-size:.8rem; color:rgba(255,255,255,.6); transition:all .2s; }
.platform-chip:hover { background:rgba(26,111,255,.15); border-color:rgba(26,111,255,.3); color:#fff; }
.hero-visual { display:flex; justify-content:center; align-items:center; position:relative; }
.hero-device-mockup { position:relative; width:100%; max-width:560px; }
.mockup-screen { background:linear-gradient(145deg,#1a2a4e,#0d1b3e); border-radius:20px; border:2px solid rgba(26,111,255,.3); padding:16px; box-shadow:0 20px 80px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.05),inset 0 1px 0 rgba(255,255,255,.1); position:relative; overflow:hidden; }
.mockup-screen::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,transparent,#00d4ff,transparent); }
.mockup-titlebar { display:flex; align-items:center; gap:6px; margin-bottom:12px; }
.mockup-dot { width:10px; height:10px; border-radius:50%; }
.mockup-dot:nth-child(1){background:#ff5f57} .mockup-dot:nth-child(2){background:#febc2e} .mockup-dot:nth-child(3){background:#28c840}
.mockup-titlebar span { flex:1; text-align:center; font-size:.75rem; color:rgba(255,255,255,.6); }
.mockup-content { background:#0a1220; border-radius:12px; height:280px; display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; }
.hero-stats { position:relative; z-index:2; display:flex; justify-content:center; gap:0; max-width:1300px; margin:0 auto; padding:0 5% 60px; flex-wrap:wrap; }
.stat-item { flex:1; min-width:140px; max-width:220px; text-align:center; padding:24px 16px; border-right:1px solid rgba(255,255,255,.08); }
.stat-item:last-child { border-right:none; }
.stat-number { font-family:'Rajdhani',sans-serif; font-size:2.2rem; font-weight:700; background:linear-gradient(135deg,#fff,#00d4ff); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; display:block; }
.stat-label { font-size:.8rem; color:rgba(255,255,255,.6); margin-top:4px; }

/* Home features section */
.features-section { background:linear-gradient(180deg,#0a1628,#0d1b3e); padding:80px 5%; }
.section-header { text-align:center; margin-bottom:48px; }
.section-label { font-size:.78rem; font-weight:700; letter-spacing:3px; color:#00d4ff; text-transform:uppercase; margin-bottom:12px; }
.section-title { font-size:clamp(1.8rem,3.5vw,2.8rem); font-weight:800; color:#fff; line-height:1.2; margin-bottom:14px; }
.section-sub { font-size:.95rem; color:rgba(255,255,255,.6); max-width:540px; margin:0 auto; line-height:1.7; }
.section-title-dark { color:#1a1a2e; }
.section-sub-dark { color:#666; }
.features-tabs { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-bottom:48px; }
.feat-tab { padding:10px 24px; border-radius:50px; border:1px solid rgba(255,255,255,.15); background:transparent; cursor:pointer; color:rgba(255,255,255,.6); font-size:.9rem; font-weight:600; font-family:inherit; transition:all .3s; }
.feat-tab.active,.feat-tab:hover { background:linear-gradient(135deg,#1a6fff,#00d4ff); border-color:transparent; color:#fff; box-shadow:0 4px 20px rgba(26,111,255,.4); }
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px; max-width:1200px; margin:0 auto; }
.feature-card { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:32px 24px; transition:all .35s; position:relative; overflow:hidden; }
.feature-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,#1a6fff,#00d4ff); transform:scaleX(0); transform-origin:left; transition:transform .3s; }
.feature-card:hover { background:rgba(26,111,255,.08); border-color:rgba(26,111,255,.25); transform:translateY(-4px); }
.feature-card:hover::before { transform:scaleX(1); }
.feat-icon { width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:1.5rem; margin-bottom:20px; background:linear-gradient(135deg,rgba(26,111,255,.2),rgba(0,212,255,.1)); border:1px solid rgba(26,111,255,.2); }
.feat-title { font-size:1.05rem; font-weight:700; color:#fff; margin-bottom:10px; }
.feat-desc { font-size:.875rem; color:rgba(255,255,255,.6); line-height:1.7; }

/* Home games section */
.games-section { background:#f4f7ff; padding:80px 5%; }
.games-search { display:flex; max-width:540px; margin:0 auto 40px; border-radius:50px; overflow:hidden; box-shadow:0 4px 30px rgba(26,111,255,.15); }
.games-search input { flex:1; padding:14px 24px; border:none; outline:none; font-size:.9rem; font-family:inherit; background:#fff; }
.games-search button { padding:14px 24px; background:linear-gradient(135deg,#1a6fff,#00d4ff); border:none; cursor:pointer; color:#fff; font-size:.9rem; font-weight:700; font-family:inherit; white-space:nowrap; }
.games-featured { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; max-width:1200px; margin:0 auto 24px; }
.game-card-big { border-radius:14px; overflow:hidden; position:relative; cursor:pointer; aspect-ratio:3/4; display:flex; align-items:center; justify-content:center; font-size:3.5rem; transition:transform .3s; }
.game-card-big:hover { transform:scale(1.03); }
.game-label { position:absolute; bottom:0; left:0; right:0; background:linear-gradient(transparent,rgba(0,0,0,.85)); color:#fff; padding:20px 12px 12px; font-size:.85rem; font-weight:700; }
.games-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(80px,1fr)); gap:12px; max-width:1200px; margin:0 auto; }
.game-icon { aspect-ratio:1; border-radius:16px; display:flex; align-items:center; justify-content:center; font-size:1.8rem; cursor:pointer; transition:transform .2s; }
.game-icon:hover { transform:scale(1.1); }

/* Home news */
.news-section { background:linear-gradient(180deg,#0d1b3e,#0a1628); padding:80px 5%; }
.news-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:24px; max-width:1200px; margin:0 auto; }
.news-card { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:14px; overflow:hidden; cursor:pointer; transition:all .3s; text-decoration:none; color:inherit; display:block; }
.news-card:hover { border-color:rgba(26,111,255,.3); transform:translateY(-4px); }
.news-thumb { height:180px; background:linear-gradient(145deg,#1a3580,#0d2060); display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.news-thumb img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.news-thumb-label { position:absolute; top:12px; left:12px; background:linear-gradient(135deg,#1a6fff,#00d4ff); color:#fff; font-size:.7rem; font-weight:700; padding:4px 10px; border-radius:4px; z-index:1; }
.news-thumb-icon { font-size:3.5rem; opacity:.5; z-index:0; }
.news-content { padding:20px; }
.news-title { font-size:.95rem; font-weight:700; color:#fff; margin-bottom:8px; line-height:1.5; }
.news-date { font-size:.78rem; color:rgba(255,255,255,.6); }
.btn-outline { padding:12px 36px; border-radius:50px; border:1px solid rgba(255,255,255,.2); background:transparent; color:#fff; font-size:.9rem; font-weight:600; cursor:pointer; font-family:inherit; transition:all .3s; }
.btn-outline:hover { background:rgba(26,111,255,.15); border-color:#1a6fff; }

/* Home FAQ */
.faq-section { background:#f4f7ff; padding:80px 5%; }
.faq-tabs { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-bottom:40px; }
.faq-tab { display:flex; align-items:center; gap:8px; padding:10px 20px; border-radius:50px; border:2px solid #ddd; background:#fff; cursor:pointer; font-size:.85rem; font-weight:600; color:#666; transition:all .3s; font-family:inherit; }
.faq-tab.active,.faq-tab:hover { border-color:#1a6fff; color:#1a6fff; background:rgba(26,111,255,.05); }
.faq-list { max-width:860px; margin:0 auto; }
.faq-item { background:#fff; border:1px solid #e8edf5; border-radius:12px; margin-bottom:10px; overflow:hidden; transition:box-shadow .3s; }
.faq-item:hover { box-shadow:0 4px 20px rgba(26,111,255,.1); }
.faq-question { display:flex; justify-content:space-between; align-items:center; padding:18px 24px; cursor:pointer; font-size:.9rem; font-weight:600; color:#1a1a2e; list-style:none; }
.faq-chevron { width:20px; height:20px; transition:transform .3s; flex-shrink:0; margin-left:12px; color:#1a6fff; }
.faq-item.open .faq-chevron { transform:rotate(180deg); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height .4s ease; font-size:.875rem; color:#666; line-height:1.7; padding:0 24px; }
.faq-item.open .faq-answer { max-height:300px; padding-bottom:18px; }
.btn-blue { padding:13px 36px; border-radius:50px; background:linear-gradient(135deg,#1a6fff,#00d4ff); color:#fff; border:none; cursor:pointer; font-size:.9rem; font-weight:700; font-family:inherit; box-shadow:0 4px 20px rgba(26,111,255,.35); transition:all .3s; text-decoration:none; display:inline-block; }
.btn-blue:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(26,111,255,.5); }

/* Partners */
.partners-section { background:#fff; padding:60px 5%; text-align:center; border-top:1px solid #e8edf5; }
.partners-title { font-size:1.4rem; font-weight:700; color:#1a1a2e; margin-bottom:32px; }
.partners-row { display:flex; justify-content:center; flex-wrap:wrap; gap:24px; max-width:900px; margin:0 auto; align-items:center; }
.partner-placeholder { padding:10px 24px; background:#f0f4ff; border-radius:8px; font-size:.85rem; font-weight:700; color:#999; transition:all .3s; cursor:pointer; }
.partner-placeholder:hover { background:#e0e8ff; color:#666; }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .hero-inner { grid-template-columns:1fr; text-align:center; padding-top:60px; }
  .hero-actions,.platform-chips { justify-content:center; }
  .hero-visual { max-width:480px; margin:0 auto; }
  .games-featured { grid-template-columns:repeat(2,1fr); }
  .footer-top { grid-template-columns:1fr 1fr; }
  .main-wrapper { grid-template-columns:1fr; }
  .sidebar-sticky { position:static; flex-direction:row; flex-wrap:wrap; }
  .sidebar-sticky > * { flex:1; min-width:240px; }
  .featured-card { grid-template-columns:1fr; }
  .featured-thumb { min-height:180px; }
}
@media (max-width:768px) {
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .hero-title { font-size:1.9rem; }
  .hero-stats { padding-bottom:40px; }
  .stat-item { min-width:100px; padding:16px 8px; }
  .stat-number { font-size:1.8rem; }
  .features-section,.games-section,.news-section,.faq-section,.partners-section { padding:60px 4%; }
  .games-featured { grid-template-columns:repeat(2,1fr); gap:10px; }
  .news-grid { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr 1fr; }
  .page-banner { height:180px; }
  .article-card { grid-template-columns:130px 1fr; }
  .article-thumb { min-height:120px; }
  .article-cover { height:280px; }
  .cover-emoji { display:none; }
  .article-content { padding:24px 20px; }
  .article-footer { padding:18px 20px; }
  .related-grid { grid-template-columns:1fr; }
  .related-section { padding:20px; }
  .sidebar-sticky { flex-direction:column; }
}
@media (max-width:480px) {
  .hero-actions { flex-direction:column; align-items:center; }
  .btn-primary,.btn-secondary { width:100%; justify-content:center; }
  .hero-visual { display:none; }
  .article-card { grid-template-columns:1fr; }
  .article-thumb { min-height:150px; }
  .featured-thumb { min-height:160px; }
  .footer-top { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .article-cover { height:240px; }
  .cover-title { font-size:1.3rem; }
  .share-row { gap:8px; }
}
