/* ═════════════════════════════════════════════════════════════════════
   LoadPure — Safe & High-Speed Software Distribution Platform
   ═════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-dark: #001f28;
  --primary: #003748;
  --primary-hover: #002632;
  --primary-light: #e8f1f4;
  --primary-accent: #0284c7;
  --relay-cyan: #0ea5e9;
  --relay-navy: #0f172a;
  --bg-page: #ffffff;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --border-light: #e2e8f0;
  --border-card: #edf2f7;
  --star-color: #f59e0b;
  --radius-squircle: 16px;
  --radius-card: 0px;
  --container-width: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input {
  font-family: inherit;
}

/* ── Container (1200px) ────────────────────────────────── */
.site-container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* ═════════════════════════════════════════════════════════
   1. PREMIUM HIGH-AUTHORITY HEADER & TOP TRUST BAR
   ═════════════════════════════════════════════════════════ */

/* ═════════════════════════════════════════════════════════
   1. MAIN HEADER & NAVIGATION STYLES
   ═════════════════════════════════════════════════════════ */

/* Tier-1 Country & Language Dropdown Selector */
.hdr-country-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}
/* ═════════════════════════════════════════════════════════
   1. STICKY HEADER (LoadPure Core Layout - 85px)
   ═════════════════════════════════════════════════════════ */
.hdr-topbar {
  display: none !important;
}

#site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #eaeeec;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 70px;
  width: 100%;
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.02);
}
.hdr-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap !important;
}

/* 1.1 Left Group: Brand Logo */
.hdr-left-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.hdr-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.hdr-logo:hover .hdr-logo-img {
  transform: scale(1.04);
}
.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}
.hdr-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

/* 1.2 Nav: 15px Typography, Relaxed Spacing */
.hdr-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 70px;
  flex-shrink: 0;
}
.nav-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 70px;
  flex-shrink: 0;
}
.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: -0.015em;
  position: relative;
  transition: all 0.16s ease;
  user-select: none;
  cursor: pointer;
  text-decoration: none;
  padding: 0 12px;
  border-radius: 99px;
  white-space: nowrap;
}
.nav-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex-shrink: 0;
  color: inherit;
  opacity: 0.9;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.nav-item:hover .nav-icon,
.nav-dropdown-wrap:hover .nav-icon {
  opacity: 1;
}
.nav-item:hover,
.nav-dropdown-wrap:hover .nav-item {
  color: #003748;
  background: rgba(0, 55, 72, 0.06);
}
.nav-item.active {
  color: #003748;
  font-weight: 700;
  background: rgba(0, 55, 72, 0.08);
  border-radius: 99px;
}
.nav-chevron {
  color: #0f172a;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.16s ease;
  flex-shrink: 0;
  margin-top: 1px;
}
.nav-item:hover .nav-chevron,
.nav-dropdown-wrap:hover .nav-chevron,
.nav-dropdown-wrap.is-open .nav-chevron {
  color: #003748;
  transform: rotate(180deg);
}
.nav-tag-badge {
  font-size: 10px;
  font-weight: 700;
  color: #003748;
  background: rgba(0, 55, 72, 0.09);
  border: 1px solid rgba(0, 55, 72, 0.16);
  padding: 1px 6px;
  border-radius: 10px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-left: 2px;
}

/* Dropdown Menus */
.hdr-dropdown-menu {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(0, 55, 72, 0.05);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
  z-index: 1000;
}
.hdr-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown-wrap:hover .hdr-dropdown-menu,
.nav-dropdown-wrap.is-open .hdr-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.dd-header-label {
  padding: 6px 12px 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}
.dd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.dd-item:hover {
  background: #eaf2f5;
  color: #003748;
  font-weight: 600;
  padding-left: 15px;
}
.dd-tag {
  font-size: 10px;
  font-weight: 700;
  background: #fef2f2;
  color: #dc2626;
  padding: 2px 6px;
  border-radius: 4px;
}
.dd-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 6px 0;
}
.dd-featured-link {
  display: block;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #003748;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s ease;
}
.dd-featured-link:hover {
  background: #eaf2f5;
}

/* 1.3 Right Group: Search Box + Language Switcher */
.hdr-right-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

/* Modern Pill Search Bar (Centered between Logo and Nav) */
.hdr-search-wrap {
  position: relative;
  width: 360px;
  max-width: 420px;
  margin: 0 auto;
  flex-shrink: 1;
  transition: width 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.hdr-search-wrap:focus-within {
  width: 390px;
}
.hdr-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 99px;
  padding: 0 5px 0 18px;
  height: 45px;
  width: 100%;
  box-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hdr-search-box:hover {
  border-color: rgba(203, 213, 225, 0.95);
  background: #ffffff;
  box-shadow: none !important;
}
.hdr-search-box:focus-within {
  background: #ffffff;
  border-color: #003748;
  box-shadow: none !important;
}
.hdr-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #0f172a;
  outline: none;
  min-width: 0;
  padding-right: 8px;
}
.hdr-search-input::placeholder {
  color: #94a3b8;
  font-size: 13.5px;
  transition: opacity 0.15s ease;
}
.hdr-search-btn {
  background: #003748;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  box-shadow: none !important;
}
.hdr-search-btn:hover {
  background: #002632;
  transform: scale(1.05);
  box-shadow: none !important;
}
.hdr-search-btn:active {
  transform: scale(0.96);
}
.hdr-search-btn svg {
  stroke: #ffffff;
  stroke-width: 2.8;
  display: block;
}

/* Live Search Dropdown Positioning */
.search-live-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 18px 42px -4px rgba(15, 23, 42, 0.14), 0 4px 14px rgba(0, 55, 72, 0.05);
  padding: 6px;
  max-height: 400px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2000;
}
.search-live-dropdown.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.search-res-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.14s ease;
}
.search-res-item:hover {
  background: #eaf2f5;
}
.search-res-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
  flex-shrink: 0;
}
.search-res-info {
  flex: 1;
  min-width: 0;
}
.search-res-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-res-name mark {
  background: rgba(0, 55, 72, 0.2);
  color: #0f172a;
  padding: 0 2px;
  border-radius: 2px;
}
.search-res-cat {
  font-size: 11.5px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.search-res-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #f59e0b;
  background: #fffbeb;
  padding: 2px 6px;
  border-radius: 5px;
  flex-shrink: 0;
}

/* 1.4 Regional Language Selector (Matching Reference Screenshots) */
.hdr-lang-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.hdr-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: all 0.16s ease;
  user-select: none;
  white-space: nowrap;
}
.hdr-lang-btn:hover,
.hdr-lang-wrap:hover .hdr-lang-btn,
.hdr-lang-wrap.is-open .hdr-lang-btn {
  background: rgba(0, 55, 72, 0.06);
  border-color: transparent;
  color: #003748;
}
.hdr-lang-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  display: block;
}
.hdr-lang-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}
.hdr-lang-chevron {
  color: #0f172a;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.16s ease;
  flex-shrink: 0;
}
.hdr-lang-wrap:hover .hdr-lang-chevron,
.hdr-lang-wrap.is-open .hdr-lang-chevron {
  color: #003748;
  transform: rotate(180deg);
}
.hdr-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 190px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2000;
}
.hdr-lang-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.hdr-lang-wrap:hover .hdr-lang-menu,
.hdr-lang-wrap.is-open .hdr-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: all 0.14s ease;
  white-space: nowrap;
}
.lang-item:hover {
  background: #f1f5f9;
  color: #003748;
}
.lang-item.active {
  background: rgba(0, 55, 72, 0.08);
  color: #003748;
  font-weight: 600;
}
.lang-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  display: block;
}

/* Footer Country / Language Selector */
.footer-country-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.footer-country-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  transition: all 0.15s ease;
  user-select: none;
}
.footer-country-btn:hover,
.footer-country-wrap:hover .footer-country-btn,
.footer-country-wrap.is-open .footer-country-btn {
  border-color: #cbd5e1;
  color: #003748;
  background: #f8fafc;
}
.footer-chevron {
  color: #0f172a;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.footer-country-wrap:hover .footer-chevron,
.footer-country-wrap.is-open .footer-chevron {
  transform: rotate(180deg);
}
.footer-country-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 185px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(0, 55, 72, 0.05);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2000;
}
.footer-country-menu::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.footer-country-wrap:hover .footer-country-menu,
.footer-country-wrap.is-open .footer-country-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.country-menu-title {
  padding: 6px 10px 4px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}
.country-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
}
.country-item:hover {
  background: #eaf2f5;
  color: #003748;
}
.country-item.active {
  background: #f1f5f9;
  color: #003748;
  font-weight: 700;
}
.ci-flag-img {
  width: 20px;
  height: 15px;
  border-radius: 2.5px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.ci-name {
  flex: 1;
}
.ci-lang {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  background: #f8fafc;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}
.country-item:hover .ci-lang {
  background: #ffffff;
  color: #003748;
  border-color: #b8d6df;
}

/* Mobile Toggle */
.hdr-mobile-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #003748;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.16s ease;
  flex-shrink: 0;
}
.hdr-mobile-btn:hover {
  background: #eaf2f5;
  border-color: #003748;
}


/* ═════════════════════════════════════════════════════════
   2. MAIN TWO-COLUMN GRID (830px Feed + 310px Sidebar)
   ═════════════════════════════════════════════════════════ */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 295px;
  gap: 32px;
  align-items: start;
  padding-top: 12px;
  padding-bottom: 56px;
}
.feed-col {
  display: flex;
  flex-direction: column;
  gap: 0px;
  min-width: 0;
}
.sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ═════════════════════════════════════════════════════════
   3. HERO BANNER (Block Blast! APKPure Reference Match)
   ═════════════════════════════════════════════════════════ */
.hero-box {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #1e3a8a;
  height: 415px;
  box-shadow: none;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.harrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.15s;
  z-index: 10;
}
.harrow-left  { left: 12px; }
.harrow-right { right: 12px; }
.harrow:hover { background: rgba(0,0,0,0.65); transform: translateY(-50%) scale(1.06); }
.hdots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 10;
}
.hdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: all 0.2s;
  cursor: pointer;
}
.hdot.active {
  width: 18px;
  border-radius: 3px;
  background: #fff;
}

/* Bottom Frosted Bar (APKPure Reference Match) */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}
.hero-badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-app-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.btn-hero-indir {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 26px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: none;
}
.btn-hero-indir:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* ═════════════════════════════════════════════════════════
   4. APKPURE LOOP SECTIONS (Exact 1:1 Reference Match)
   ═════════════════════════════════════════════════════════ */
.apk-panel {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  padding: 18px 12px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.apk-hd {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.apk-hd-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.apk-hd-title:hover {
  color: var(--primary);
}
.apk-hd-arrow {
  color: #8c9095;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}

/* 8-Column Horizontal Row (Edge-to-Edge Distributed, No Right Dead Space) */
.apk-g8 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.apk-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  cursor: pointer;
  width: 92px;
  flex-shrink: 0;
}

/* 92px x 92px Squircle (16px radius) */
.apk-thumb {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 16px;
  overflow: hidden;
  background: #f1f3f5;
  box-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apk-card:hover .apk-thumb {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.09);
}

.apk-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* Rank badges for Top 24h loops */
.apk-rank {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  z-index: 2;
}

/* Title below icon (left-aligned, 2 lines clamp, width 92px, 15px font) */
.apk-name {
  margin-top: 7px;
  font-size: 15px;
  font-weight: 500;
  color: #222222;
  line-height: 1.3;
  width: 92px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 40px;
  text-align: left;
  word-break: break-word;
  transition: color 0.15s;
}

.apk-card:hover .apk-name {
  color: var(--primary);
}

/* Star Rating below title */
.apk-stars {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--star-color);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* ═════════════════════════════════════════════════════════
   5. POPULAR ARTICLES 2x2 GRID (APKPure Reference Match)
   ═════════════════════════════════════════════════════════ */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.article-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.15s;
  text-decoration: none;
}
.article-item:hover {
  background: #f8fafc;
}
.article-thumb {
  width: 120px;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid #eef0f2;
}
.article-title {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.article-item:hover .article-title {
  color: var(--primary);
}
.article-date {
  font-size: 11px;
  color: var(--text-subtle);
  margin-top: 6px;
}

/* ═════════════════════════════════════════════════════════
   6. RIGHT SIDEBAR (NO SEARCH, Trending Tags + Hub + Editor)
   ═════════════════════════════════════════════════════════ */
.sidebar-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  padding: 18px 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.sw-heading {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: capitalize;
  margin-bottom: 8px;
}

/* Trending Tags Pills (Exact APKPure Match) */
.trending-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.trend-tag {
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 9px;
  background: #f5f6f8;
  color: #475569;
  border-radius: 4px;
  border: 1px solid #eef0f2;
  text-decoration: none;
  transition: all 0.12s;
}
.trend-tag:hover {
  background: #ecfdf5;
  color: var(--primary);
  border-color: #a7f3d0;
}

/* FileByte App Promo Box (APKPure Reference Match) */
.hub-promo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.hub-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
}
.hub-title-row {
  font-size: 15px;
  font-weight: 700;
  color: #1e2329;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hub-star-tag {
  color: #f59e0b;
  font-size: 12.5px;
  font-weight: 800;
}
.hub-desc-text {
  font-size: 11.5px;
  color: #8c9095;
  margin-top: 2px;
}
.btn-hub-download {
  width: 100%;
  border-radius: 6px;
  padding: 11px;
  font-size: 14px;
  font-weight: 700;
  display: block;
  text-align: center;
  background: var(--primary);
  color: #ffffff;
  box-shadow: none;
  text-decoration: none;
  transition: all 0.15s ease;
}
.btn-hub-download:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}
.hub-sublink {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  margin-top: 9px;
  text-decoration: none;
}
.hub-sublink:hover {
  text-decoration: underline;
}

/* 4 Circular Social Buttons (APKPure Reference Match) */
.social-circles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f0f2f4;
}
.soc-btn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.soc-circle-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.soc-btn-item:hover .soc-circle-icon {
  transform: translateY(-2px) scale(1.06);
}
.soc-btn-item span {
  font-size: 10.5px;
  color: #8c9095;
  font-weight: 400;
}

/* Haftalık Editörün Seçimi (Weekly Editor's Choice) */
.widget-hd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.widget-hd-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e2329;
  text-decoration: none;
}
.widget-hd-arrow {
  font-size: 16px;
  color: #8c9095;
  font-weight: 400;
}

.editor-banner-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 290 / 125;
  margin-bottom: 10px;
  background: #0f1923;
  border: 1px solid #eaecef;
}
.editor-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editor-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 65%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px 10px;
}
.ed-overlay-content {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ed-overlay-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.ed-overlay-meta {
  min-width: 0;
  flex-grow: 1;
}
.ed-overlay-top {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ed-overlay-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}
.ed-overlay-score {
  font-size: 11.5px;
  font-weight: 800;
  color: #f59e0b;
}
.ed-overlay-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Editor List Items (Aniimo, Where Winds Meet, Grok...) */
.editor-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
}
.editor-item-row:last-child {
  border-bottom: none;
}
.ed-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ed-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f8fafc;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.ed-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ed-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e2329;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.editor-item-row:hover .ed-item-name {
  color: #d97706;
}
.ed-item-desc {
  font-size: 11px;
  color: #8c9095;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.ed-item-score {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
  flex-shrink: 0;
  margin-left: 8px;
}

/* ═════════════════════════════════════════════════════════
   7. CLEAN REFINED MINIMAL FOOTER
   ═════════════════════════════════════════════════════════ */
#site-footer {
  background: #fafbfc;
  border-top: 1px solid #edf2f7;
  color: #475467;
  padding: 56px 0 28px;
  font-size: 14px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.15fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand-col {
  max-width: 340px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 14px;
}
.footer-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}
.footer-bio-text {
  font-size: 13.5px;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 18px;
}
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-soc-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.footer-soc-btn:hover {
  background: #003748;
  color: #ffffff;
  border-color: #003748;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 55, 72, 0.15);
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
}
.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f172a;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col-title::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00875a;
}
.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}
.footer-link-list li {
  display: flex;
  align-items: center;
}
.footer-link-list a {
  color: #64748b;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
}
.footer-link-list a:hover {
  color: #003748;
  transform: translateX(3px);
}

/* Subtle micro-tags for curated downloads */
.footer-pill-tag {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  margin-left: 6px;
  display: inline-block;
}
.footer-pill-tag.hot {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.footer-pill-tag.pc {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.footer-pill-tag.apk {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.footer-bottom-row {
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copyright-text {
  font-size: 12.5px;
  color: #64748b;
}
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}
.footer-legal-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-legal-links a:hover {
  color: #003748;
}
.footer-legal-dot {
  color: #cbd5e1;
  font-size: 10px;
}

/* Responsive Footer & Header Adjustments */
@media (max-width: 1200px) {
  .hdr-left-group {
    gap: 16px;
  }
  .hdr-nav {
    gap: 4px;
  }
  .nav-item {
    padding: 0 8px;
    font-size: 15px;
  }
  .hdr-search-wrap {
    width: 220px;
  }
  .hdr-platforms-wrap {
    display: none;
  }
  .hdr-login-btn {
    height: 42px;
    padding: 0 16px;
    font-size: 13.5px;
  }
}
@media (max-width: 1024px) {
  #site-header {
    height: 64px;
  }
  .hdr-inner {
    padding: 0 16px;
    gap: 12px;
  }
  .hdr-logo-img {
    height: 36px;
  }
  .hdr-nav {
    display: none;
  }
  .hdr-mobile-btn {
    display: flex;
  }
  .hdr-search-wrap {
    width: 180px;
    max-width: 220px;
  }
  .hdr-search-box {
    height: 38px;
    padding: 0 4px 0 10px;
  }
  .hdr-platforms-wrap {
    display: none;
  }
  .hdr-login-btn {
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand-col {
    grid-column: span 2;
  }
  .trust-strip-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  #site-header {
    height: 60px;
  }
  .hdr-inner {
    padding: 0 12px;
    gap: 8px;
  }
  .hdr-logo-img {
    height: 32px;
  }
  .hdr-search-wrap {
    display: none;
  }
  .hdr-country-btn {
    height: 36px;
    padding: 0 6px;
    gap: 5px;
  }
  .hdr-login-btn {
    height: 36px;
    padding: 0 10px;
    font-size: 12.5px;
    gap: 5px;
  }
  .hdr-mobile-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .hdr-topbar {
    display: none;
  }
  .trust-strip-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand-col {
    grid-column: span 1;
  }
  .footer-badges-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-hdr-app-download span {
    display: none;
  }
  .btn-hdr-app-download {
    padding: 0 10px;
  }
}
@media (max-width: 480px) {
  .hdr-login-btn span {
    display: none;
  }
  .hdr-login-btn {
    padding: 0;
    width: 36px;
    height: 36px;
    justify-content: center;
  }
}

/* ═════════════════════════════════════════════════════════
   10. APKPURE INNER DETAIL PAGE STYLES
   ═════════════════════════════════════════════════════════ */

/* Detail page pure white background (APKCombo Reference) */
body.page-detail {
  background-color: #ffffff;
}

/* Hide cluttery tabs on detail page to match APKCombo clean hero */
.detail-nav-tabs {
  display: none !important;
}

/* Hide horizontal promo box on detail page */
.detail-promo-box {
  display: none !important;
}

/* ── Breadcrumbs ────────────────────────────────────────── */
.breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
  padding: 8px 0;
}
.breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #5f6368;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.breadcrumb-bar a {
  color: #5f6368;
  text-decoration: none;
  transition: color 0.15s ease;
}
.breadcrumb-bar a:hover {
  color: #202124;
  text-decoration: underline;
}
.bc-sep {
  color: #9aa0a6;
  font-size: 13px;
  margin: 0 4px;
}
.breadcrumb-bar span:last-child {
  color: #202124;
  font-weight: 400;
}

/* ── APKCombo Architecture Classes ──────────────────────── */
.apk-hero-card {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e8eaed;
}
.apk-hero-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}
.apk-hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.apk-hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.apk-hero-meta {
  flex: 1;
  min-width: 0;
}
.apk-hero-title {
  font-size: 28px;
  font-weight: 700;
  color: #202124;
  letter-spacing: -0.01em;
  margin: 0 0 4px 0;
  line-height: 1.2;
}
.apk-hero-dev {
  font-size: 14px;
  font-weight: 500;
  color: #1a73e8;
  display: inline-block;
  margin-bottom: 4px;
  text-decoration: none;
}
.apk-hero-dev:hover {
  text-decoration: underline;
}
.apk-hero-subinfo {
  font-size: 13.5px;
  color: #5f6368;
  font-weight: 400;
}

/* Stats Row (Exact APKCombo Match - No Borders, Clean Gaps) */
.apk-stats-row {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0;
  margin: 0 0 20px 0;
  border: none;
}
.apk-stat-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.apk-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: #202124;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 4px;
}
.apk-stat-gold {
  color: #f59e0b;
}
.apk-stat-lbl {
  font-size: 12px;
  font-weight: 400;
  color: #5f6368;
}

/* Action Row (Download Button + PC Guide) */
.apk-action-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.btn-apk-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #00875a;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 500;
  padding: 20px 26px;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 135, 90, 0.22);
  transition: all 0.16s ease;
  white-space: nowrap;
  width: 320px;
}
.btn-apk-download:hover {
  background: #00754e;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 135, 90, 0.3);
}
.apk-action-link {
  font-size: 14px;
  font-weight: 500;
  color: #00875a;
  text-decoration: none;
}
.apk-action-link:hover {
  text-decoration: underline;
}

/* Tagline */
.apk-tagline {
  font-size: 14px;
  font-weight: 400;
  color: #3c4043;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Gallery Section (Exact APKCombo Match: Clean Rounded Phone / App Screens) */
.apk-gallery-section {
  margin-bottom: 24px;
}
.apk-gallery-section .screenshots-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.apk-gallery-section .screenshot-item {
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8eaed;
  box-shadow: none;
  scroll-snap-align: start;
  background: #f8fafc;
}
.apk-gallery-section .screenshot-item.portrait {
  width: 175px;
  height: 350px;
}
.apk-gallery-section .screenshot-item.landscape {
  width: 330px;
  height: 210px;
}
.apk-gallery-section .screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 9px;
}

/* ── APKCombo Sidebar Reference Classes ────────────────── */
.emu-promo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.emu-promo-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.emu-promo-desc {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  line-height: 1.45;
  margin-bottom: 18px;
}
.btn-emu-blue {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  background: #0084ff;
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 99px;
  text-decoration: none;
  transition: background 0.16s ease, transform 0.16s ease;
}
.btn-emu-blue:hover {
  background: #0074e0;
  transform: translateY(-1px);
}
.emu-sponsor-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.emu-sponsor-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.emu-sponsor-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #dcfce7;
}
.emu-sponsor-meta {
  min-width: 0;
}
.emu-sponsor-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.emu-sponsor-sub {
  font-size: 11px;
  color: #8c9ba5;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.emu-sponsor-link {
  font-size: 12px;
  font-weight: 600;
  color: #00875a;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.emu-sponsor-link:hover {
  text-decoration: underline;
}

.popular-apps-card .sidebar-widget-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f172a;
  margin-bottom: 16px;
}
.sidebar-app-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.app-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.app-list-item:hover {
  transform: translateX(3px);
}
.app-list-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}
.app-list-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-list-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-list-dev {
  font-size: 12px;
  color: #8c9ba5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* APK Sections (Latest Version, Tags, Old Versions, About, Trending) */
.apk-section {
  padding: 22px 0;
  border-bottom: 1px solid #e8eaed;
  margin-bottom: 0;
}
.apk-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.apk-section-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #202124;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}
.apk-see-all {
  font-size: 13px;
  font-weight: 600;
  color: #00875a;
  text-decoration: none;
}
.apk-see-all:hover {
  text-decoration: underline;
}

/* 1. Latest Version Table Grid (APKCombo Style) */
.apk-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
  margin-top: 14px;
}
.apk-spec-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.apk-spec-k {
  font-size: 12.5px;
  color: #5f6368;
}
.apk-spec-v {
  font-size: 13.5px;
  color: #202124;
  font-weight: 500;
}
.apk-spec-v.link {
  color: #1a73e8;
  text-decoration: none;
}
.apk-spec-v.link:hover {
  text-decoration: underline;
}

/* 2. Explore Tags (APKCombo Style) */
.apk-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.apk-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid #dadce0;
  border-radius: 9999px;
  font-size: 13px;
  color: #3c4043;
  background: #ffffff;
  text-decoration: none;
  transition: all 0.15s ease;
}
.apk-tag-pill:hover {
  background: #f1f3f4;
  border-color: #bdc1c6;
  color: #202124;
}

/* 3. Old Versions List (APKCombo Style) */
.apk-version-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}
.apk-version-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 4px 0;
}
.apk-ver-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}
.apk-ver-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.apk-ver-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.apk-ver-name {
  font-size: 14px;
  font-weight: 500;
  color: #202124;
}
.apk-ver-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #1a73e8;
  background: #e8f0fe;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
}
.apk-ver-sub {
  font-size: 12px;
  color: #5f6368;
}

/* 4. About App Description (APKCombo Style) */
.apk-about-content {
  font-size: 14px;
  line-height: 1.65;
  color: #3c4043;
  margin-top: 10px;
}
.apk-about-content p {
  margin-bottom: 12px;
}
.apk-about-bullets {
  margin: 12px 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.apk-about-bullets li {
  font-size: 13.5px;
  color: #3c4043;
}
.btn-show-more {
  background: none;
  border: none;
  color: #00875a;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-show-more:hover {
  text-decoration: underline;
}

/* 5. Trending Searches (APKCombo Style) */
.apk-trending-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.apk-trend-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border: 1px solid #dadce0;
  border-radius: 9999px;
  font-size: 13px;
  color: #3c4043;
  background: #ffffff;
  text-decoration: none;
  transition: all 0.15s ease;
}
.apk-trend-pill:hover {
  background: #f1f3f4;
  border-color: #bdc1c6;
  color: #202124;
}
.apk-trend-pill img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
}

/* Sidebar Installer Promo Card & Related */
.apk-installer-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.apk-installer-card:hover {
  transform: translateY(-1px);
}
.apk-installer-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #e6f4ea;
  color: #137333;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.apk-installer-meta {
  flex: 1;
  min-width: 0;
}
.apk-installer-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 2px;
}
.apk-installer-desc {
  font-size: 11.5px;
  color: #5f6368;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.apk-installer-link {
  font-size: 12.5px;
  font-weight: 600;
  color: #00875a;
  margin-top: 10px;
  display: block;
  text-decoration: none;
}
.apk-installer-link:hover {
  text-decoration: underline;
}

.sidebar-related-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #202124;
  margin: 22px 0 10px 0;
}
.sidebar-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.sidebar-related-links a {
  font-size: 13px;
  color: #1a73e8;
  text-decoration: none;
}
.sidebar-related-links a:hover {
  text-decoration: underline;
}

/* ── Legacy Fallback Detail Header Card ───── */
.detail-header-card {
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 0 24px 0 !important;
  box-shadow: none !important;
  margin-bottom: 24px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.detail-top-row {
  display: contents !important;
}

.detail-app-info {
  order: 1 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 20px !important;
  margin-bottom: 18px !important;
}

.detail-app-avatar {
  width: 104px !important;
  height: 104px !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.detail-app-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 22px !important;
}

.detail-h1 {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #111827 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 6px !important;
  line-height: 1.25 !important;
}

.detail-dev-link {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0284c7 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  display: inline-block !important;
  margin-bottom: 6px !important;
  text-decoration: none !important;
}
.detail-dev-link:hover {
  text-decoration: underline !important;
}

.detail-version-str {
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

/* ── 4-Item Stats Bar (Directly Under App Info) ──────────── */
.detail-stats-bar {
  order: 2 !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  padding: 16px 0 !important;
  margin: 0 0 20px 0 !important;
  border-top: 1px solid #f1f5f9 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  text-align: left !important;
  width: 100% !important;
}

.stat-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  border-right: 1px solid #f1f5f9 !important;
  padding-right: 16px !important;
  border-bottom: none !important;
}
.stat-item:last-child {
  border-right: none !important;
}

.stat-val {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #111827 !important;
  letter-spacing: -0.02em !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.stat-val.gold {
  color: #f59e0b !important;
}

.stat-lbl {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #64748b !important;
  margin-top: 3px !important;
}

/* ── Big Green Download Action (Prominent Under Stats) ───── */
.detail-download-action {
  order: 3 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
  margin-top: 4px !important;
  width: 100% !important;
  flex-wrap: wrap !important;
}

.btn-detail-download {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: #00875a !important; /* Emerald green APKCombo download button */
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 13px 32px !important;
  border-radius: 99px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 135, 90, 0.28) !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
}
.btn-detail-download:hover {
  background: #00734c !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(0, 135, 90, 0.38) !important;
}
.btn-detail-download svg {
  stroke-width: 2.8 !important;
}

.install-guide-link {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #00875a !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: opacity 0.15s ease;
}
.install-guide-link:hover {
  text-decoration: underline !important;
}

/* ── Sidebar (APKCombo Reference Match) ──────────────────── */
.sidebar-card {
  background: #ffffff !important;
  border-radius: 0 !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 28px !important;
  box-shadow: none !important;
}

.widget-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 16px !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}
.widget-title span {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #111827 !important;
}
.widget-title a {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #00875a !important;
  text-decoration: none !important;
  transition: color 0.15s;
}
.widget-title a:hover {
  text-decoration: underline !important;
}

.s-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 0 !important;
  border-bottom: none !important;
  gap: 12px !important;
}
.s-item-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  flex: 1 !important;
}
.s-item-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 11px !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  background: #ffffff !important;
  flex-shrink: 0 !important;
  padding: 3px !important;
}
.s-item-name {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-decoration: none !important;
  transition: color 0.15s !important;
  line-height: 1.3 !important;
}
.s-item-name:hover {
  color: #00875a !important;
}
.s-item-sub {
  font-size: 12px !important;
  color: #64748b !important;
  margin-top: 2px !important;
}

.btn-all-versions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin-top: 14px !important;
  padding: 9px 0 !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #00875a !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  font-family: inherit !important;
  text-decoration: none !important;
}
.btn-all-versions:hover {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
}

/* Section Cards (About, Screenshots, Versions, Specs, FAQ) */
.detail-section-card {
  background: #ffffff;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #f1f5f9;
  padding: 24px 0;
  margin-bottom: 24px;
  box-shadow: none;
}

.detail-section-title {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-desc-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: #334155;
}

.feature-bullet-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-bullet-list li {
  font-size: 13.5px;
  line-height: 1.5;
  color: #4b5563;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.feature-bullet-list li::before {
  content: '✓';
  color: #00875a;
  font-weight: 700;
  font-size: 14px;
}

.show-more-toggle {
  background: transparent;
  border: none;
  color: #00875a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Screenshots Scroll (APKCombo Style) */
.screenshots-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 0 16px 0;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.screenshots-scroll::-webkit-scrollbar {
  height: 6px;
}
.screenshots-scroll::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}
.screenshots-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.screenshot-item {
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  scroll-snap-align: start;
  background: #f8fafc;
}
.screenshot-item.portrait {
  width: 185px !important;
  height: 370px !important;
}
.screenshot-item.landscape {
  width: 340px !important;
  height: 210px !important;
}
.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.screenshot-item:hover img {
  transform: scale(1.03);
}

/* Old Versions List (APKPure Reference Match) */
.version-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.version-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  transition: all 0.15s ease;
}
.version-row:hover {
  background: #eaf2f5;
  border-color: #b8d6df;
}
.ver-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ver-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}
.ver-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 1px 6px;
  border-radius: 4px;
}
.ver-meta {
  font-size: 12px;
  color: var(--text-muted);
}
.btn-ver-dl {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 5px 14px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.btn-ver-dl:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Old Versions Table */
.old-versions-table {
  width: 100%;
  border-collapse: collapse;
}
.old-versions-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}
.old-versions-table td {
  padding: 12px;
  font-size: 13.5px;
  color: #374151;
  border-bottom: 1px solid #f1f5f9;
}
.old-versions-table tr:hover td {
  background: #f9fafb;
}
.btn-table-dl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  color: var(--primary);
  border: 1px solid #a7f3d0;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.btn-table-dl:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Specs Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.spec-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-key {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}
.spec-val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-dark);
}

/* Security Verification Box */
.security-audit-box {
  background: #eaf2f5;
  border: 1px solid #b8d6df;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sec-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-shield-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #22c55e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sec-title {
  font-size: 14px;
  font-weight: 700;
  color: #15803d;
}
.sec-subtitle {
  font-size: 12px;
  color: #166534;
}
.sha-row {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #dcfce7;
  border-radius: 6px;
  padding: 6px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: #374151;
  justify-content: space-between;
  gap: 8px;
  word-break: break-all;
}
.btn-copy-hash {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.btn-copy-hash:hover {
  background: var(--primary);
  color: #fff;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}
.faq-q {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  background: #f8fafc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-q svg {
  transition: transform 0.2s ease;
}
.faq-item.is-open .faq-q svg {
  transform: rotate(180deg);
}
.faq-a {
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #4b5563;
  border-top: 1px solid var(--border-light);
  background: #ffffff;
}

/* ═════════════════════════════════════════════════════════
   11. DETAIL PAGE SUB-NAV TABS (Aptoide Style)
   ═════════════════════════════════════════════════════════ */
.detail-nav-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 6px 12px;
  margin-bottom: 20px;
  overflow-x: auto;
  white-space: nowrap;
}
.tab-link {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tab-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.tab-link.active {
  color: #ffffff;
  background: var(--primary-dark);
}
.tab-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
}
.tab-link.active .tab-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ═════════════════════════════════════════════════════════
   12. PROS & CONS (SEO & User Decision Matrix)
   ═════════════════════════════════════════════════════════ */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.pros-card, .cons-card {
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid;
}
.pros-card {
  background: #eaf2f5;
  border-color: #b8d6df;
}
.cons-card {
  background: #fff1f2;
  border-color: #fecdd3;
}
.pc-title {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.pros-card .pc-title { color: #166534; }
.cons-card .pc-title { color: #9f1239; }
.pc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pc-list li {
  font-size: 13px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pros-card .pc-list li { color: #15803d; }
.cons-card .pc-list li { color: #be123c; }

/* ═════════════════════════════════════════════════════════
   13. REVIEWS & RATINGS (Aptoide / PlayMods Style)
   ═════════════════════════════════════════════════════════ */
.reviews-section {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.reviews-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-write-review {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #b8d6df;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.btn-write-review:hover {
  background: var(--primary);
  color: #ffffff;
}

.rating-overview-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px;
  background: #f8fafc;
  border-radius: 10px;
  margin-bottom: 24px;
}
.rating-big-score {
  text-align: center;
}
.score-number {
  font-size: 46px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -0.03em;
}
.score-stars {
  color: var(--star-color);
  font-size: 18px;
  margin: 6px 0 4px 0;
}
.score-count {
  font-size: 12px;
  color: var(--text-muted);
}
.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rbar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.rbar-label {
  width: 40px;
}
.rbar-track {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}
.rbar-fill {
  height: 100%;
  background: var(--star-color);
  border-radius: 4px;
}
.rbar-pct {
  width: 32px;
  text-align: right;
  font-weight: 600;
}

/* User Review Cards */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}
.review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.review-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.review-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}
.verified-check-pill {
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.review-date {
  font-size: 12px;
  color: var(--text-subtle);
}
.review-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #334155;
  margin-bottom: 10px;
}
.review-helpful-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
  transition: all 0.15s;
}
.review-helpful-action:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

/* Review Form */
.review-form-card {
  margin-top: 20px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}
.review-form-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.review-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.rf-input, .rf-textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}
.rf-input:focus, .rf-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 55, 72, 0.2);
}
.btn-submit-review {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-submit-review:hover {
  background: var(--primary-hover);
}

/* ═════════════════════════════════════════════════════════
   14. CATEGORY & HUB PAGES (APKPure Style Screenshot 3)
   ═════════════════════════════════════════════════════════ */
.cat-page-header {
  margin-bottom: 24px;
}
.cat-hero-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.cat-hero-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Filter Chips Bar */
.filter-chips-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 16px 0;
  white-space: nowrap;
}
.chip-pill {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  color: #475569;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.chip-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.chip-pill.active {
  background: var(--primary-dark);
  color: #ffffff;
  border-color: var(--primary-dark);
}

/* 3-Card Top Featured Carousel in Category */
.cat-top-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.cat-featured-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cat-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.cat-fcard-banner {
  height: 140px;
  width: 100%;
  object-fit: cover;
  background: #0f172a;
}
.cat-fcard-body {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cat-fcard-info h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.cat-fcard-info p {
  font-size: 12px;
  color: var(--text-muted);
}
.btn-fcard-download {
  background: var(--primary);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
  flex-shrink: 0;
}
.btn-fcard-download:hover {
  background: var(--primary-hover);
}

/* 3-Column 2-Row Subcategory Section (APKPure Exact Replica) */
.subcat-block {
  margin-bottom: 32px;
}
.subcat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}
.subcat-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}
.subcat-view-all {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}
.subcat-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.subcat-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.subcat-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}
.subcat-item-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
}
.subcat-item-meta {
  flex: 1;
  min-width: 0;
}
.subcat-item-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.subcat-item-dev {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.subcat-item-stars {
  font-size: 11.5px;
  color: var(--star-color);
  font-weight: 600;
}

/* ═════════════════════════════════════════════════════════
   15. BLOG & GUIDES (Editorial SEO Hub)
   ═════════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.blog-card-thumb {
  height: 180px;
  background: #0f172a;
  position: relative;
  overflow: hidden;
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-tag-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.blog-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 8px;
}
.blog-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-subtle);
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

/* Editorial Article Layout */
.article-wrap {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  padding: 36px 40px;
  margin-bottom: 30px;
}
.article-post-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.article-h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.article-body-content {
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
}
.article-body-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin: 32px 0 14px 0;
}
.article-body-content p {
  margin-bottom: 16px;
}
.article-body-content ol, .article-body-content ul {
  margin-bottom: 20px;
  padding-left: 24px;
}
.article-body-content li {
  margin-bottom: 8px;
}
.article-callout-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-size: 14.5px;
  color: #065f46;
}

/* ═════════════════════════════════════════════════════════
   16. DEDICATED 3-SECOND DOWNLOAD INTERSTITIAL (APKPure)
   ═════════════════════════════════════════════════════════ */
.dl-interstitial-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 36px 30px;
  text-align: center;
  max-width: 680px;
  margin: 20px auto 30px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.dl-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.dl-timer-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid var(--primary-light);
  border-top-color: var(--primary);
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinTimer 1.2s linear infinite;
  position: relative;
}
.dl-timer-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  animation: none;
}
@keyframes spinTimer {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.dl-timer-circle span {
  animation: counterSpin 1.2s linear infinite;
}
@keyframes counterSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}
.dl-app-meta-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.dl-meta-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #ffffff;
  padding: 4px;
  border: 1px solid var(--border-light);
}
.dl-restart-link {
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* ═════════════════════════════════════════════════════════
   17. LIVE INSTANT SEARCH DROPDOWN (AJAX / Client)
   ═════════════════════════════════════════════════════════ */
.hdr-search-box {
  position: relative;
}
.search-live-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 2000;
  max-height: 420px;
  overflow-y: auto;
  display: none;
}
.search-live-dropdown.is-active {
  display: block;
}
.search-res-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: background 0.15s ease;
}
.search-res-item:last-child {
  border-bottom: none;
}
.search-res-item:hover {
  background: #f8fafc;
}
.search-res-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f1f5f9;
  object-fit: cover;
}
.search-res-info {
  flex: 1;
  min-width: 0;
}
.search-res-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-res-cat {
  font-size: 11.5px;
  color: var(--text-muted);
}
.search-res-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 7px;
  border-radius: 4px;
}

/* ═════════════════════════════════════════════════════════
   18. MOBILE NAVIGATION DRAWER & OVERLAY (Clean Light Design)
   ═════════════════════════════════════════════════════════ */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 36px rgba(15, 23, 42, 0.18);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}
.mobile-nav-drawer.is-open {
  transform: translateX(0);
}
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.mobile-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.m-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.m-drawer-logo-img {
  height: 34px;
  width: auto;
  display: block;
}
.m-drawer-close {
  background: #f1f5f9;
  border: none;
  color: #64748b;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.15s ease;
}
.m-drawer-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.m-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.m-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 10px;
  color: #1e293b;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}
.m-nav-link:hover,
.m-nav-link.active {
  background: #f1f5f9;
  color: #003748;
}
.m-nav-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.m-nav-icon {
  color: #003748;
  flex-shrink: 0;
}
.m-trust-card {
  margin-top: auto;
  padding: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.m-trust-card-info {
  flex: 1;
}
.m-trust-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 2px;
}
.m-trust-card-desc {
  font-size: 11.5px;
  color: #166534;
  line-height: 1.4;
}

/* Category Pills Bar (Lopigames / APKCombo Style) */
.category-pills-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 16px 0;
  margin-bottom: 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.category-pills-bar::-webkit-scrollbar {
  display: none;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.16s ease;
  text-decoration: none;
}
.cat-pill:hover, .cat-pill.active {
  background: #003748;
  color: #ffffff;
  border-color: #003748;
  box-shadow: 0 2px 6px rgba(0, 55, 72, 0.18);
}


