﻿/* ==========================================
   YONO GAMES LOOT - Light Theme (allyonoapp.in style)
   ========================================== */

:root {
  --primary: #ff6b35;
  --primary-dark: #e55a25;
  --green: #22c55e;
  --green-dark: #16a34a;
  --bg: #f5f7fa;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --bonus-color: #dc2626;
  --new-color: #16a34a;
  --header-bg: #1a1a2e;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 20px rgba(0,0,0,0.12);
  --transition: 0.18s ease;
  --font-body: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-app: 'Exo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ui: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* System font stack while custom fonts load */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 14px;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
button, input, select, textarea { font-family: var(--font-ui); }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 14px; }
/* ==========================================
   HEADER
   ========================================== */
.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  flex-wrap: wrap;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  font-weight: 800;
  white-space: nowrap;
  min-width: 0;
}
.logo-icon { font-size: 1.3rem; }
.logo-img { border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.logo-text {
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-heading);
  font-size: 1.28rem;
  line-height: 1.1;
  font-weight: 900;
}
.footer-logo-img { border-radius: 6px; object-fit: cover; flex-shrink: 0; }

.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link {
  font-family: var(--font-ui);
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.15); color: #fff; }
.mobile-nav-link { display: none; }
.nav-new { color: #4ade80 !important; font-weight: 700; }
.nav-new:hover { background: rgba(74,222,128,0.15); color: #4ade80 !important; }
.nav-telegram { background: #2481cc; color: #fff !important; }
.nav-telegram:hover { background: #1a6aaa; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-form { display: flex; }
.search-input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: #fff;
  padding: 7px 12px;
  font-size: 0.82rem;
  width: 170px;
  outline: none;
}
.search-input::placeholder { color: rgba(255,255,255,0.5); }
.search-input:focus { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.18); }
.search-btn {
  background: var(--primary);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 7px 11px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background var(--transition);
  color: #fff;
}
.search-btn:hover { background: var(--primary-dark); }

.hamburger {
  display: none;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
}

/* ==========================================
   TOP 3 PODIUM
   ========================================== */
.top3-section { background: var(--bg-white); border-bottom: 1px solid var(--border); padding: 14px 0; }
.top3-grid { display: flex; gap: 10px; align-items: stretch; }
.top3-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.top3-pos-1 { border-color: #f59e0b; background: #fffbeb; }
.top3-pos-2 { border-color: #9ca3af; background: #f9fafb; }
.top3-pos-3 { border-color: #d97706; background: #fff7ed; }
.top3-rank { flex-shrink: 0; width: 28px; text-align: center; }
.top3-num { font-size: 1.1rem; font-weight: 800; color: var(--text-muted); }
.top3-icon { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border); background: #f3f4f6; }
.top3-info { flex: 1; min-width: 0; }
.top3-info h3 { font-size: 0.82rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.top3-bonus { font-size: 0.75rem; font-weight: 700; color: #dc2626; }
.top3-dl {
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}
.top3-dl:hover { background: var(--green-dark); color: #fff; }

/* ==========================================
   TELEGRAM BANNER
   ========================================== */
.tg-banner {
  background: linear-gradient(to right, #eff6ff, #dbeafe);
  border-top: 1px solid #bfdbfe;
  border-bottom: 1px solid #bfdbfe;
  padding: 10px 0 14px;
}
.tg-banner-inner { display: flex; flex-direction: column; gap: 6px; }
.tg-banner-label {
  font-size: 9px;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.tg-banner-box {
  border: 2px solid #2563eb;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tg-banner-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  min-width: 0;
}
.tg-banner-left svg { flex-shrink: 0; color: #1d4ed8; width: 18px; height: 18px; }
.tg-banner-left span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition);
}
.tg-banner-btn:hover { background: var(--green-dark); color: #fff; }
.tg-banner-btn svg { flex-shrink: 0; width: 14px; height: 14px; }

/* ==========================================
   TELEGRAM BAR (legacy - unused)
   ========================================== */
.tg-bar {
  background: #1557a0;
  padding: 9px 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
}
.tg-bar .container { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tg-bar svg { flex-shrink: 0; }
.tg-bar-btn {
  background: #fff;
  color: #1557a0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-left: auto;
  white-space: nowrap;
}
.tg-bar-btn:hover { background: #e0f0ff; color: #1557a0; }

/* ==========================================
   HOMEPAGE - List style
   ========================================== */
.apps-section { padding: 18px 0 32px; }
.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.list-title { font-size: 1.1rem; font-weight: 800; color: var(--text); }

.tabs-row { display: flex; gap: 6px; }
.tab-btn {
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}
.tab-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.tab-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }
.tab-pane.hidden { display: none; }
.no-apps { color: var(--text-muted); padding: 24px 0; font-size: 0.875rem; }
.app-hidden { display: none; }
.load-more-wrap { text-align: center; padding: 20px 0 8px; }
.load-more-btn {
  background: var(--bg-white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 24px;
  cursor: pointer;
  transition: all var(--transition);
}
.load-more-btn:hover { background: var(--primary); color: #fff; }

/* Queries section (like reference sites) */
.queries-section { background: var(--bg-white); border-top: 1px solid var(--border); padding: 16px 0; }
.queries-label { font-size: 0.78rem; color: var(--text-muted); line-height: 2; }
.queries-label a { color: var(--primary); }
.queries-label a:hover { text-decoration: underline; }

/* ==========================================
   TABS
   ========================================== */
.apps-section { padding: 20px 0 36px; }
.tabs-row { display: flex; gap: 0; margin-bottom: 16px; border-bottom: 2px solid var(--border); }
.tab-btn {
  background: none;
  border: none;
  padding: 9px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-btn:hover { color: var(--primary); }
.tab-pane.hidden { display: none; }
.no-apps { color: var(--text-muted); font-size: 0.9rem; padding: 20px 0; }

/* ==========================================
   SEO TEXT (natural)
   ========================================== */
.seo-text { background: var(--bg-white); border-top: 1px solid var(--border); padding: 28px 0; }
.seo-text h2 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.seo-text p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 10px; }
.seo-tags { font-size: 0.8rem; }
.seo-tags a { color: var(--primary); margin: 0 1px; }

/* Buttons */
.btn-primary {
  font-family: var(--font-app);
  background: var(--primary);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(255,107,53,0.35); }

.btn-secondary {
  font-family: var(--font-app);
  background: transparent;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.4);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition);
  font-size: 0.875rem;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.btn-telegram {
  font-family: var(--font-app);
  background: #2481cc;
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition);
  font-size: 0.875rem;
}
.btn-telegram:hover { background: #1a6aaa; }

/* ==========================================
   SECTIONS
   ========================================== */
.section { padding: 32px 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 10px; flex-wrap: wrap; }
.section-title { font-family: var(--font-heading); font-size: 1.55rem; font-weight: 800; color: var(--text); line-height: 1.15; }
.section-sub { color: var(--text-muted); font-size: 0.85rem; margin-top: 2px; }
.view-all { color: var(--primary); font-size: 0.82rem; font-weight: 600; border: 1px solid var(--primary); padding: 4px 10px; border-radius: 20px; }
.view-all:hover { background: var(--primary); color: #fff !important; }

/* ==========================================
   APP CARDS  (allyonoapp.in style)
   ========================================== */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
}
.rank-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
  padding: 0 5px 0 2px;
  transform: none;
  z-index: 4;
  letter-spacing: 0.01em;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  text-shadow: 0 1px 1px rgba(0,0,0,0.24);
  box-shadow: 0 1px 4px rgba(15,23,42,0.18);
  border-top: 1px solid rgba(255,255,255,0.45);
  border-bottom: none;
}
.rank-c1 { background: linear-gradient(135deg, #ff5a1f, #f97316); }
.rank-c2 { background: linear-gradient(135deg, #ff7a1a, #f97316); }
.rank-c3 { background: linear-gradient(135deg, #ffb13b, #f59e0b); }
.rank-c4 { background: linear-gradient(135deg, #ff0808, #dc2626); }
.rank-c5 { background: linear-gradient(135deg, #ff5a1f, #f97316); }
.rank-c6 { background: linear-gradient(135deg, #ff7a1a, #f97316); }
.app-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: #d1d5db; }
.app-card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--text) !important;
}

.app-icon-wrap { position: relative; flex-shrink: 0; overflow: hidden; border-radius: 14px; }
.app-icon {
  width: 68px; height: 68px;
  border-radius: 14px;
  object-fit: cover;
  background: #f3f4f6;
  border: 1px solid var(--border);
}
.badge {
  position: absolute;
  top: -5px; right: -5px;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-new { background: var(--green); color: #fff; }
.badge-top { background: #f59e0b; color: #fff; }

.app-info { flex: 1; min-width: 0; }
.app-name {
  font-family: var(--font-app);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-short-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.app-meta { display: flex; flex-direction: column; gap: 1px; }
.bonus { font-size: 0.78rem; color: var(--text-muted); }
.bonus strong { color: var(--bonus-color); font-weight: 700; }
.withdraw { font-size: 0.75rem; color: var(--text-light); }
.app-rating { display: none; }
.category-tag { display: none; }
.app-stars-row { display: flex; align-items: center; gap: 2px; margin-top: 4px; }
.card-rating { font-size: 0.72rem; color: #6b7280; margin-left: 3px; }

.app-action { flex-shrink: 0; }
.btn-download {
  font-family: var(--font-app);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--green);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--transition);
}
.btn-download:hover { background: var(--green-dark); }

/* ==========================================
   TELEGRAM CTA
   ========================================== */
.tg-cta {
  background: linear-gradient(135deg, #0f3460, #16213e);
  padding: 20px 0;
}
.tg-cta-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.tg-icon { font-size: 2rem; flex-shrink: 0; }
.tg-cta-inner h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.tg-cta-inner p { color: rgba(255,255,255,0.7); font-size: 0.82rem; }
.tg-cta-inner .btn-primary { margin-left: auto; white-space: nowrap; flex-shrink: 0; }

/* ==========================================
   APP DETAIL PAGE  (allyonoapp.in style)
   ========================================== */

/* Hero */
.app-detail-hero {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 24px 0 20px;
  text-align: center;
}
.ad-top {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-bottom: 16px;
}
.ad-icon-wrap {
  position: relative;
  flex-shrink: 0;
}
.ad-icon {
  width: 100px; height: 100px;
  border-radius: 20px;
  border: 2px solid var(--border);
  object-fit: cover;
  background: #f3f4f6;
}
.ad-name-block {
  text-align: center;
  flex: 1;
  min-width: 0;
  padding-right: 18px;
}
.ad-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 5.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.12;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-category-tag {
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid #bfdbfe;
}

/* Stats row */
.ad-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 12px 0;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 0;
  flex-wrap: wrap;
}
.ad-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}
.ad-stat-icon { font-size: 1.1rem; color: var(--green-dark); font-weight: 700; }
.ad-stat-val { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.ad-stat-label { font-size: 0.68rem; color: var(--text-muted); margin-top: 1px; }
.ad-stat-divider { width: 1px; height: 30px; background: var(--border); flex-shrink: 0; }

/* Bonus row */
.ad-bonus-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 12px 0 16px;
}
.ad-bonus-item { text-align: center; }
.ad-bonus-label { display: block; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.ad-bonus-val { font-size: 1.5rem; font-weight: 800; color: #dc2626; }
.ad-withdraw-val { font-size: 1.1rem; font-weight: 700; color: var(--text); }

/* Download button */
.ad-download-btn {
  display: block;
  background: var(--green);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: var(--radius);
  margin: 0 auto 8px;
  max-width: 380px;
  text-align: center;
  transition: background var(--transition);
  letter-spacing: 0.02em;
}
.ad-download-btn:hover { background: var(--green-dark); color: #fff; }
.ad-download-sm { margin-top: 16px; font-size: 0.9rem; padding: 11px; }

.ad-tg-btn {
  display: block;
  background: #2481cc;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius);
  margin: 0 auto;
  max-width: 380px;
  text-align: center;
  transition: background var(--transition);
}
.ad-tg-btn:hover { background: #1a6aaa; color: #fff; }

/* Section headings */
.ad-section-heading {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text);
  padding: 10px 0 8px;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 14px;
  display: inline-block;
}

/* Related - horizontal scroll */
.ad-related-section { padding: 20px 0; background: var(--bg-white); border-top: 1px solid var(--border); }
.ad-related-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.ad-related-scroll::-webkit-scrollbar { height: 4px; }
.ad-related-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.ad-rel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 90px;
  max-width: 90px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 6px;
  text-align: center;
  color: var(--text) !important;
  transition: all var(--transition);
  flex-shrink: 0;
}
.ad-rel-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.ad-rel-icon { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); background: #f3f4f6; }
.ad-rel-name { font-size: 0.68rem; font-weight: 600; color: var(--text); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-rel-bonus { font-size: 0.72rem; font-weight: 700; color: #dc2626; }
.ad-rel-dl {
  background: var(--green);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 2px;
}

/* About / How to */
.ad-about-section, .ad-howto-section { padding: 20px 0; border-top: 1px solid var(--border); }
.ad-about-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.ad-about-box p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 10px; }
.ad-about-box h3 { font-size: 0.9rem; font-weight: 700; margin: 14px 0 8px; }
.ad-features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ad-features li { font-size: 0.84rem; color: var(--text-muted); }
.ad-features li::before { content: none; }
.ad-steps { padding-left: 1.2rem; display: flex; flex-direction: column; gap: 6px; }
.ad-steps li { font-size: 0.84rem; color: var(--text-muted); }

/* FAQ Accordion */
.ad-faq-section { padding: 20px 0; border-top: 1px solid var(--border); }
.faq-accordion { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-white); }
.faq-q {
  width: 100%;
  background: #f8fafc;
  border: none;
  padding: 12px 14px;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-q::after { content: '+'; font-size: 1.2rem; color: var(--text-muted); transition: transform var(--transition); }
.faq-item.open .faq-q { background: #eff6ff; color: #1d4ed8; }
.faq-item.open .faq-q::after { content: '-'; }
.faq-a { display: none; padding: 12px 14px; border-top: 1px solid var(--border); }
.faq-item.open .faq-a { display: block; }
.faq-a p, .faq-a li { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; }
.faq-a ol, .faq-a ul { padding-left: 1.2rem; display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }

/* Keep old hero classes for backward compat */
.app-hero {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.app-hero-inner { display: flex; gap: 20px; align-items: flex-start; }
.app-hero-icon { position: relative; flex-shrink: 0; }
.app-hero-icon img {
  width: 100px; height: 100px;
  border-radius: 20px;
  border: 2px solid var(--border);
}
.app-hero-title { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 800; margin-bottom: 6px; }
.app-hero-desc { color: var(--text-muted); margin-bottom: 14px; font-size: 0.88rem; }
.app-hero-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.meta-item { display: flex; flex-direction: column; gap: 1px; }
.meta-label { font-size: 0.7rem; text-transform: uppercase; color: var(--text-light); letter-spacing: 0.05em; }
.meta-value { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.bonus-item .meta-value { color: var(--bonus-color); font-size: 1.2rem; }
.app-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-download-lg {
  background: var(--green);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background var(--transition);
}
.btn-download-lg:hover { background: var(--green-dark); color: #fff; }

.app-content { padding: 28px 0; }
.app-content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.content-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.content-card h2 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--primary); border-bottom: 2px solid var(--border); padding-bottom: 8px; }
.content-card p { color: var(--text-muted); line-height: 1.7; font-size: 0.88rem; }
.features-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.features-list li { color: var(--text-muted); font-size: 0.875rem; }
.steps-list { display: flex; flex-direction: column; gap: 7px; padding-left: 1.4rem; margin-bottom: 16px; }
.steps-list li { color: var(--text-muted); font-size: 0.875rem; }

.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 5px; }
.faq-item p { font-size: 0.84rem; color: var(--text-muted); }

/* Sidebar */
.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.download-box { border-top: 3px solid var(--green); }
.download-box h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.bonus-highlight {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  margin-bottom: 8px;
}
.bonus-label { display: block; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 3px; }
.bonus-amount { font-size: 1.8rem; font-weight: 800; color: var(--bonus-color); }
.withdraw-info { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-bottom: 10px; }
.btn-download-full {
  display: block;
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 11px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-bottom: 7px;
  transition: background var(--transition);
  font-size: 0.88rem;
}
.btn-download-full:hover { background: var(--green-dark); color: #fff; }
.btn-tg-full {
  display: block;
  background: #2481cc;
  color: #fff;
  text-align: center;
  padding: 9px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.82rem;
  transition: background var(--transition);
}
.btn-tg-full:hover { background: #1a6aaa; color: #fff; }
.disclaimer-box { border-top: 3px solid #f59e0b; background: #fffbeb; }
.disclaimer-box h4 { font-size: 0.82rem; margin-bottom: 6px; color: #92400e; }
.disclaimer-box p { font-size: 0.78rem; color: #78350f; }
.info-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.info-table td { padding: 5px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.info-table td:first-child { font-weight: 600; color: var(--text); width: 50%; }

/* ==========================================
   BREADCRUMB
   ========================================== */
.breadcrumb { background: var(--bg-white); border-bottom: 1px solid var(--border); padding: 9px 0; }
.breadcrumb-list { display: flex; list-style: none; padding: 0; gap: 6px; font-size: 0.78rem; align-items: center; color: var(--text-muted); }
.breadcrumb-list li:not(:last-child)::after { content: '>'; margin-left: 6px; color: var(--text-light); }
.breadcrumb-list a { color: var(--text-muted); }
.breadcrumb-list a:hover { color: var(--primary); }

/* ==========================================
   CATEGORY PAGE
   ========================================== */
.category-hero { background: var(--bg-white); border-bottom: 1px solid var(--border); padding: 24px 0 16px; }
.page-title { font-size: clamp(1.2rem, 3.5vw, 1.7rem); font-weight: 800; margin-bottom: 6px; }
.page-desc { color: var(--text-muted); max-width: 600px; margin-bottom: 10px; font-size: 0.88rem; }
.category-count { display: inline-block; background: #f0fdf4; color: var(--green-dark); border: 1px solid #bbf7d0; padding: 3px 10px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; }

/* ==========================================
   STATIC PAGES
   ========================================== */
.static-page { padding: 36px 0; }
.static-content { max-width: 780px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.page-body { color: var(--text-muted); line-height: 1.8; font-size: 0.88rem; }
.page-body h2 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 20px 0 8px; }
.page-body h3 { font-size: 0.95rem; font-weight: 600; color: var(--text); margin: 14px 0 6px; }
.page-body p { margin-bottom: 12px; }
.page-body ul, .page-body ol { margin-bottom: 12px; display: flex; flex-direction: column; gap: 5px; }
.page-body a { color: var(--primary); }
.page-body strong { color: var(--text); }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.contact-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }
.contact-item h3 { margin-bottom: 7px; font-size: 0.9rem; }
.warning-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius-sm); padding: 12px; margin: 12px 0; font-size: 0.85rem; }

/* ==========================================
   SEO CONTENT
   ========================================== */
.seo-content { background: var(--bg-white); border-top: 1px solid var(--border); padding: 36px 0; }
.seo-inner { max-width: 900px; }
.seo-inner h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.seo-inner h3 { font-size: 0.95rem; font-weight: 600; margin: 16px 0 6px; color: var(--text); }
.seo-inner p { color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; font-size: 0.88rem; }
.keyword-cloud { font-size: 0.82rem; color: var(--text-muted); }
.keyword-cloud a { color: var(--primary); margin: 0 2px; }

/* ==========================================
   FOOTER
   ========================================== */
.site-footer { background: #1a1a2e; border-top: 1px solid #2d2d4e; padding: 36px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.footer-logo { font-size: 1rem; font-weight: 800; color: #fff !important; margin-bottom: 10px; display: block; }
.footer-desc { color: rgba(255,255,255,0.5); font-size: 0.8rem; margin-bottom: 14px; line-height: 1.6; }
.tg-btn { display: inline-block; background: #2481cc; color: #fff !important; padding: 7px 14px; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; margin-bottom: 10px; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-col li a { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.footer-col li a:hover { color: #fff; }
.footer-keywords { border-top: 1px solid rgba(255,255,255,0.08); padding: 14px 0; margin-bottom: 14px; }
.footer-keywords p { font-size: 0.76rem; color: rgba(255,255,255,0.3); line-height: 1.9; }
.footer-keywords a { color: rgba(255,255,255,0.4); margin: 0 1px; }
.footer-keywords a:hover { color: rgba(255,255,255,0.7); }
.footer-disclaimer { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 16px; font-size: 0.76rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.76rem; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 6px; }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: #fff; }

/* ==========================================
   MISC
   ========================================== */
.empty-state { text-align: center; padding: 40px; background: var(--bg-white); border-radius: var(--radius); border: 1px solid var(--border); }
.empty-state p { color: var(--text-muted); margin-bottom: 14px; }
.not-found { text-align: center; }
.not-found-inner { max-width: 440px; margin: 0 auto; padding: 50px 0; }
.not-found-icon { font-size: 3.5rem; margin-bottom: 14px; }
.not-found h1 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.not-found p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.9rem; }
.not-found-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.not-found .btn-secondary { color: var(--text) !important; border-color: var(--border); }
.search-count { color: var(--text-muted); margin-bottom: 16px; font-size: 0.88rem; }

/* ==========================================
   HERO H1 HEADING (Homepage)
   ========================================== */
.hero-heading {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 32px 0 28px;
  text-align: center;
}
.hero-heading h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}
.hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================
   WHY CHOOSE US / FEATURE CARDS
   ========================================== */
.seo-features {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.seo-features h2 {
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.feature-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.feature-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   HOW TO DOWNLOAD STEPS
   ========================================== */
.seo-howto {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.seo-howto h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.seo-howto > .container > p {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin-bottom: 18px;
  line-height: 1.6;
}
.howto-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.howto-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: all var(--transition);
}
.howto-step:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
}
.howto-step h3 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.howto-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================
   COMPARISON TABLE
   ========================================== */
.seo-comparison {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.seo-comparison h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.seo-comparison > .container > p {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin-bottom: 16px;
}
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 580px;
}
.comparison-table thead {
  background: #1a1a2e;
}
.comparison-table th {
  padding: 11px 14px;
  text-align: left;
  font-weight: 700;
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.comparison-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}
.comparison-table tbody tr:hover {
  background: #f8fafc;
}
.comparison-table td:first-child {
  font-weight: 700;
  color: var(--text);
  text-align: center;
}
.comparison-table td a {
  color: var(--primary);
  font-weight: 600;
}
.comparison-table td a:hover {
  text-decoration: underline;
}
.comparison-table td strong {
  color: #dc2626;
}
.table-dl-btn {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  transition: background var(--transition);
}
.table-dl-btn:hover {
  background: var(--green-dark);
}

/* ==========================================
   CATEGORY CARDS (Browse by Category)
   ========================================== */
.seo-categories {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.seo-categories h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.seo-categories > .container > p {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin-bottom: 16px;
}
.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.cat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  color: var(--text) !important;
  transition: all var(--transition);
  display: block;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.cat-card-new {
  border-color: var(--green);
  background: #f0fdf4;
}
.cat-card-new:hover {
  border-color: var(--green-dark);
}
.cat-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.cat-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.cat-card p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================
   SEO FAQ SECTION (Home/Category)
   ========================================== */
.seo-faq {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.seo-faq h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

/* ==========================================
   SEO TEXT ENHANCEMENTS
   ========================================== */
.seo-text h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 18px 0 8px;
  color: var(--text);
}
.seo-text ul, .seo-text ol {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 1.2rem;
}
.seo-text li {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.seo-text a {
  color: var(--primary);
}
.seo-text strong {
  color: var(--text);
}

/* ==========================================
   APP DETAIL - INFO TABLE
   ========================================== */
.ad-info-section {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.ad-info-table {
  width: 100%;
  border-collapse: collapse;
}
.ad-info-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}
.ad-info-table td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 40%;
  background: #f8fafc;
}
.ad-info-table td:last-child {
  color: var(--text-muted);
}
.ad-info-table a {
  color: var(--primary);
  font-weight: 600;
}
.ad-info-table strong {
  color: #dc2626;
}

/* ==========================================
   APP DETAIL - PROS & CONS
   ========================================== */
.ad-proscons-section {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.proscons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pros-box, .cons-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.pros-box {
  border-top: 3px solid var(--green);
}
.cons-box {
  border-top: 3px solid #ef4444;
}
.pros-box h3, .cons-box h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.pros-box ul, .cons-box ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pros-box li, .cons-box li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 6px;
}

/* ==========================================
   APP DETAIL - TIPS SECTION
   ========================================== */
.ad-tips-section {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

/* ==========================================
   APP DETAIL - TRUST / WHY DOWNLOAD SECTION
   ========================================== */
.ad-trust-section {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  background: #f0fdf4;
}
.ad-trust-section .ad-about-box {
  border-color: var(--green);
  border-top: 3px solid var(--green);
}

/* ==========================================
   STATIC PAGE TABLES (Landing Pages)
   ========================================== */
.page-body .table-responsive {
  margin: 16px 0;
}
.page-body .comparison-table {
  min-width: 500px;
}
.page-body h2 {
  margin-top: 24px;
}
.page-body h3 {
  margin-top: 18px;
}

@supports (content-visibility: auto) {
  .app-card,
  .seo-features,
  .seo-howto,
  .seo-comparison,
  .seo-categories,
  .seo-faq,
  .ad-all-apps-section,
  .ad-about-section,
  .ad-proscons-section,
  .ad-howto-section,
  .ad-tips-section,
  .ad-info-section,
  .ad-faq-section,
  .ad-trust-section,
  .ad-related-section {
    content-visibility: auto;
  }

  .app-card { contain-intrinsic-size: 92px; }
  .seo-features,
  .seo-howto,
  .seo-comparison,
  .seo-categories,
  .seo-faq,
  .ad-all-apps-section,
  .ad-about-section,
  .ad-proscons-section,
  .ad-howto-section,
  .ad-tips-section,
  .ad-info-section,
  .ad-faq-section,
  .ad-trust-section,
  .ad-related-section { contain-intrinsic-size: 1px 640px; }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .app-content-grid { grid-template-columns: 1fr; }
  .app-sidebar { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .top3-grid { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .proscons-grid { grid-template-columns: 1fr; }
  .category-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: nowrap; }
  .logo { flex: 1; }
  .logo-text { font-size: 1.12rem; }
  .header-actions { flex-shrink: 0; margin-left: auto; }
  .search-form { display: none; }
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(240px, calc(100vw - 28px));
    background: var(--header-bg);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    padding: 8px;
    z-index: 200;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .desktop-nav-link { display: none; }
  .mobile-nav-link { display: flex; }
  .nav-link { font-size: 0.92rem; padding: 10px 12px; justify-content: flex-start; }
  .hamburger { display: block; }
  .search-input { width: 130px; }
  .app-hero-inner { flex-direction: column; }
  .hero-stats { gap: 16px; }
  .tg-cta-inner { flex-direction: column; text-align: center; }
  .tg-cta-inner .btn-primary { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .contact-info { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .related-section .apps-grid { grid-template-columns: 1fr; }
  .hero-heading { padding: 24px 0 20px; }
  .seo-features, .seo-howto, .seo-comparison, .seo-categories, .seo-faq { padding: 24px 0; }
}

@media (max-width: 480px) {
  .hero { padding: 28px 0 20px; }
  .search-form { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .app-card-inner { gap: 10px; padding: 10px 12px; }
  .app-icon { width: 58px; height: 58px; }
  .category-cards { grid-template-columns: 1fr; }
  .step-num { width: 30px; height: 30px; font-size: 0.8rem; }
}

