/* ==========================================================================
   MODYOLO 100% ANDROID-EXCLUSIVE STORE — PIXEL-PERFECT STYLESHEET
   Supports Light/Dark Theme + Bilingual LTR (English) & RTL (Arabic)
   ========================================================================== */

:root,
[data-theme="light"] {
  --bg-page: #f4f6f9;
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --section-border: #e5e9f0;
  --card-border: #edf0f5;
  --card-hover-border: #cbd5e1;
  --stripe-bg: #f2f4f7;
  --quote-bg: #f1f5f9;
  --quote-text: #334155;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --crimson: #e11d48;
  --crimson-hover: #be123c;
  --crimson-soft: rgba(225, 29, 72, 0.1);
  --link-blue: #0284c7;
  --link-blue-hover: #0369a1;
  --android-green: #16a34a;
  --android-green-soft: rgba(22, 163, 74, 0.12);
  --amber: #f59e0b;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.12);
  --input-bg: #f8fafc;
}

[data-theme="dark"] {
  --bg-page: #0f172a;
  --bg-surface: #1e293b;
  --bg-elevated: #263449;
  --section-border: #334155;
  --card-border: #2d3d54;
  --card-hover-border: #475569;
  --stripe-bg: #162032;
  --quote-bg: #162032;
  --quote-text: #cbd5e1;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --crimson: #e11d48;
  --crimson-hover: #f43f5e;
  --crimson-soft: rgba(225, 29, 72, 0.2);
  --link-blue: #38bdf8;
  --link-blue-hover: #7dd3fc;
  --android-green: #4ade80;
  --android-green-soft: rgba(74, 222, 128, 0.15);
  --amber: #fbbf24;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.5);
  --input-bg: #0f172a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Cairo", "Noto Sans Arabic", Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a {
  color: var(--link-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--link-blue-hover);
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   TOP TELEGRAM ANNOUNCEMENT BAR & NAVBAR
   ========================================================================== */
.telegram-top-bar {
  background: linear-gradient(90deg, #0284c7 0%, #2563eb 50%, #e11d48 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
}

.telegram-top-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.telegram-cta-pill {
  background: #ffffff;
  color: #0284c7;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.telegram-cta-pill:hover {
  background: #f1f5f9;
  color: #0369a1;
}

.site-navbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--section-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
  will-change: transform;
}

.site-navbar.navbar-hidden {
  transform: translateY(-105%);
  pointer-events: none;
}

.navbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  cursor: pointer;
}

.brand-logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--crimson);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-android-tag {
  font-size: 11px;
  font-weight: 700;
  background: var(--android-green-soft);
  color: var(--android-green);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.nav-link-btn:hover,
.nav-link-btn.active {
  background: var(--crimson-soft);
  color: var(--crimson);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Search Bar in Navbar */
.live-search-wrap {
  position: relative;
  min-width: 280px;
  width: 295px;
}

.live-search-input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--section-border);
  border-radius: 999px;
  padding: 7px 14px;
  padding-inline-start: 34px;
  font-size: 13.5px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s ease;
}

.live-search-input:focus {
  border-color: var(--crimson);
}

.live-search-icon {
  position: absolute;
  inset-inline-start: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  width: 340px;
  max-height: 400px;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--section-border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  display: none;
}

.search-dropdown.open {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--card-border);
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: var(--stripe-bg);
}

.search-result-item img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.icon-pill-btn {
  background: var(--input-bg);
  border: 1px solid var(--section-border);
  color: var(--text-main);
  padding: 7px 11px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.icon-pill-btn:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

.fav-count-badge {
  background: var(--crimson);
  color: #ffffff;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
}

/* ==========================================================================
   HERO FEATURED SLIDER & CATEGORY CAPSULES
   ========================================================================== */
.hero-slider-section {
  margin: 20px 0 18px;
}

.hero-slider-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #881337 100%);
  border-radius: 10px;
  padding: 22px 24px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hero-badge-tag {
  background: var(--crimson);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-cards-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hero-app-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.hero-app-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.hero-app-card img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  flex-shrink: 0;
}

.hero-app-info {
  min-width: 0;
  flex: 1;
}

.hero-app-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-app-mod {
  font-size: 12px;
  color: #fde047;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.hero-app-ver {
  font-size: 11.5px;
  color: #cbd5e1;
  margin-top: 2px;
}

/* Category Pills Bar */
.category-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scrollbar-width: thin;
}

.category-pill {
  background: var(--bg-surface);
  border: 1px solid var(--section-border);
  color: var(--text-main);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.category-pill:hover,
.category-pill.active {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #ffffff;
}

/* ==========================================================================
   SCREENSHOT 1: MODYOLO SECTION BOXES & 3-COLUMN COMPACT ANDROID APP CARDS
   ========================================================================== */
.modyolo-section-box {
  background: var(--bg-surface);
  border: 1px solid var(--section-border);
  border-radius: 6px;
  padding: 20px 22px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-heading-title {
  font-size: 21px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.view-more-btn {
  background-color: var(--crimson);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.view-more-btn:hover {
  background-color: var(--crimson-hover);
  color: #ffffff;
}

.app-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.modyolo-app-card {
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.modyolo-app-card:hover {
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.card-squircle-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--stripe-bg);
}

.card-info-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.card-app-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta-svg {
  width: 15px;
  height: 15px;
  color: #94a3b8;
  flex-shrink: 0;
}

.card-fav-btn {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  opacity: 0.65;
  transition: all 0.15s ease;
}

.card-fav-btn:hover,
.card-fav-btn.active {
  color: var(--crimson);
  opacity: 1;
  transform: scale(1.12);
}

/* ==========================================================================
   SCREENSHOTS 2 & 3: APP DETAILS PAGE (BREADCRUMBS, BANNER, QUOTE, SPEC TABLE, CTA, ACCORDION)
   ========================================================================== */
.breadcrumbs-bar {
  max-width: 920px;
  margin: 18px auto 12px;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumbs-bar a {
  color: var(--link-blue);
  font-weight: 400;
}

.breadcrumbs-bar a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--text-light);
  font-size: 12px;
}

.detail-card-container {
  max-width: 920px;
  margin: 0 auto 28px;
  background: var(--bg-surface);
  border: 1px solid var(--section-border);
  border-radius: 6px;
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.detail-feature-banner {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--stripe-bg);
  max-height: 430px;
}

.detail-feature-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.detail-app-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.detail-squircle-icon {
  width: 68px;
  height: 68px;
  border-radius: 15px;
  object-fit: cover;
  flex-shrink: 0;
}

.detail-header-text {
  flex: 1;
  min-width: 0;
}

.detail-h1-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 5px;
}

.detail-pub-date {
  font-size: 13.5px;
  font-style: italic;
  color: var(--text-muted);
}

.detail-summary-quote {
  background: var(--quote-bg);
  padding: 14px 18px;
  border-radius: 4px;
  font-style: italic;
  font-size: 14px;
  line-height: 1.65;
  color: var(--quote-text);
  margin-bottom: 20px;
}

/* Striped 2-Column Specification Table (Exact Match to Screenshot 2) */
.modyolo-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}

.modyolo-spec-table tr:nth-child(odd) {
  background-color: var(--stripe-bg);
}

.modyolo-spec-table tr:nth-child(even) {
  background-color: var(--bg-surface);
}

.modyolo-spec-table td {
  padding: 11px 16px;
  font-size: 14px;
  color: var(--text-main);
  vertical-align: middle;
}

.spec-col-label {
  width: 39%;
  font-weight: 600;
}

.spec-label-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-red-icon {
  width: 16px;
  height: 16px;
  color: var(--crimson);
  flex-shrink: 0;
}

.spec-col-value {
  width: 61%;
  font-weight: 400;
}

/* Google Play Official Dark Badge in Spec Table */
.google-play-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000000;
  color: #ffffff !important;
  padding: 4px 11px;
  border-radius: 5px;
  border: 1px solid #334155;
  font-size: 11px;
  line-height: 1.1;
  transition: transform 0.15s ease;
}

.google-play-badge-btn:hover {
  transform: scale(1.03);
}

.gp-small-top {
  font-size: 7.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #cbd5e1;
  display: block;
}

.gp-big-bottom {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  display: block;
}

.pkg-format-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--crimson-soft);
  color: var(--crimson);
  font-weight: 700;
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 4px;
}

.xapk-helper-note {
  margin-top: 6px;
  font-size: 12.5px;
  background: rgba(2, 132, 199, 0.1);
  border-inline-start: 3px solid var(--link-blue);
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--text-main);
}

.safe-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--android-green-soft);
  color: var(--android-green);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  margin-inline-start: 8px;
}

/* Full-Width Crimson Download Button */
.modyolo-download-btn {
  width: 100%;
  background-color: var(--crimson);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  margin-bottom: 18px;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.modyolo-download-btn:hover {
  background-color: var(--crimson-hover);
}

.modyolo-download-btn svg {
  width: 18px;
  height: 18px;
}

/* Collapsible MOD Info Accordion (Screenshot 2) */
.mod-info-accordion {
  border: 1px solid var(--section-border);
  border-radius: 4px;
  margin-bottom: 24px;
  overflow: hidden;
}

.mod-accordion-header {
  background-color: var(--stripe-bg);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.mod-accordion-title {
  color: var(--link-blue);
  font-size: 14.5px;
  font-weight: 500;
}

.mod-accordion-toggle-icon {
  color: var(--link-blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.mod-accordion-body {
  background-color: var(--bg-surface);
  padding: 16px 28px;
  border-top: 1px solid var(--section-border);
}

.mod-accordion-body.collapsed {
  display: none;
}

.mod-bullet-list {
  list-style: disc;
  padding-inline-start: 18px;
}

.mod-bullet-list li {
  font-style: italic;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-main);
}

/* Screenshots Horizontal Carousel */
.detail-sub-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--section-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screenshots-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.screenshots-carousel img {
  height: 280px;
  width: auto;
  border-radius: 10px;
  border: 1px solid var(--section-border);
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Rich Description */
.rich-description-content {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-main);
}

.rich-description-content h3 {
  font-size: 16.5px;
  margin: 16px 0 8px;
}

.rich-description-content p {
  margin-bottom: 12px;
}

.rich-description-content ul {
  padding-inline-start: 22px;
  margin-bottom: 14px;
}

.rich-description-content li {
  margin-bottom: 6px;
}

/* How to Install APK/XAPK Beginner Guide Box */
.install-guide-box {
  background: var(--stripe-bg);
  border: 1px solid var(--section-border);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 24px 0;
}

.install-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.install-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 12px 14px;
}

.step-num-badge {
  display: inline-block;
  background: var(--crimson);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

/* Previous Versions Archive Table */
.versions-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.versions-table th,
.versions-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--card-border);
  text-align: start;
  font-size: 13.5px;
}

.versions-table th {
  background: var(--stripe-bg);
  font-weight: 600;
}

.ver-dl-mini-btn {
  background: var(--crimson);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* Share & Broken Link Action Row */
.share-and-report-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--section-border);
  margin-top: 20px;
}

.share-btns-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.share-pill-btn {
  border: none;
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.share-wa { background: #16a34a; }
.share-tg { background: #0284c7; }
.share-cp { background: #475569; }

.report-broken-btn {
  background: transparent;
  border: 1px solid var(--crimson);
  color: var(--crimson);
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.report-broken-btn:hover {
  background: var(--crimson);
  color: #ffffff;
}

/* ==========================================================================
   INTERNAL 5-SECOND COUNTDOWN DOWNLOAD PAGE (/download/[id])
   ========================================================================== */
.countdown-page-card {
  max-width: 680px;
  margin: 28px auto;
  background: var(--bg-surface);
  border: 1px solid var(--section-border);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.countdown-circle-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 5px solid var(--crimson);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  font-size: 36px;
  font-weight: 800;
  color: var(--crimson);
  background: var(--crimson-soft);
}

.resolved-links-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.dl-mirror-btn {
  background: var(--stripe-bg);
  border: 1px solid var(--section-border);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s ease;
}

.dl-mirror-btn:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

/* ==========================================================================
   ADMIN DASHBOARD (/admin)
   ========================================================================== */
.admin-wrap {
  margin: 24px 0 40px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--section-border);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.admin-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.admin-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 4px;
}

.admin-tabs-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--section-border);
  padding-bottom: 12px;
}

.admin-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--section-border);
  color: var(--text-main);
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.admin-tab-btn.active {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #ffffff;
}

.admin-panel-box {
  background: var(--bg-surface);
  border: 1px solid var(--section-border);
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 22px;
}

.grabber-box {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.08), rgba(2, 132, 199, 0.08));
  border: 1px dashed var(--crimson);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 20px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  background: var(--input-bg);
  border: 1px solid var(--section-border);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
}

.form-control:focus {
  border-color: var(--crimson);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--card-border);
  text-align: start;
  font-size: 13.5px;
}

.admin-table th {
  background: var(--stripe-bg);
  font-weight: 700;
}

/* ==========================================================================
   MODALS, TOASTS, AD SLOTS & FOOTER
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--section-border);
  border-radius: 10px;
  max-width: 500px;
  width: 100%;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.ad-slot-container {
  max-width: 1140px;
  margin: 12px auto;
  padding: 0 16px;
}

.ad-slot-banner {
  background: var(--stripe-bg);
  border: 1px dashed var(--section-border);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.sticky-bottom-ad {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--section-border);
  padding: 8px 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.toast-container {
  position: fixed;
  bottom: 20px;
  inset-inline-end: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast-msg {
  background: #0f172a;
  color: #ffffff;
  border-inline-start: 4px solid var(--crimson);
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.site-footer {
  margin-top: auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--section-border);
  padding: 28px 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .app-grid-3col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-cards-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .install-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .telegram-top-bar {
    padding: 5px 10px;
    font-size: 11.5px;
  }
  .telegram-top-inner {
    gap: 6px;
  }
  .telegram-cta-pill {
    padding: 3px 9px;
    font-size: 11px;
  }
  .navbar-inner {
    padding: 8px 12px;
    gap: 7px;
  }
  .brand-logo {
    order: 1;
    font-size: 18px;
    gap: 7px;
  }
  .brand-logo-badge {
    width: 31px;
    height: 31px;
    border-radius: 8px;
  }
  .brand-logo-badge svg {
    width: 18px;
    height: 18px;
  }
  .brand-android-tag {
    font-size: 9.5px;
    padding: 2px 6px;
  }
  .nav-actions {
    order: 2;
    margin-inline-start: auto;
    gap: 5px;
  }
  .nav-actions .icon-pill-btn {
    padding: 5px 9px;
    font-size: 11.5px;
  }
  .live-search-wrap {
    order: 3;
    width: 100%;
    min-width: 0;
  }
  .live-search-input {
    padding: 6px 12px;
    padding-inline-start: 31px;
    font-size: 12.5px;
  }
  .search-dropdown {
    width: 100%;
    inset-inline: 0;
  }
  .nav-links {
    order: 4;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 5px;
    padding-bottom: 1px;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-link-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 5px 10px;
    font-size: 12.5px;
    border-radius: 999px;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .app-grid-3col {
    grid-template-columns: 1fr;
  }
  .hero-cards-track {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .detail-card-container {
    padding: 18px 16px;
  }
}

/* ==========================================================================
   AUTO-FAQ SECTION (#9) & ADMIN ENHANCEMENTS (#12, #13, #14, #15)
   ========================================================================== */
.faq-section-box {
  margin: 24px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--stripe-bg);
  border: 1px solid var(--section-border);
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  text-align: start;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--crimson);
}

.faq-toggle-symbol {
  font-size: 17px;
  font-weight: 800;
  color: var(--crimson);
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 16px 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
  border-top: 1px dashed var(--card-border);
  padding-top: 10px;
}

.faq-answer.collapsed {
  display: none;
}

/* 1-Click MOD Presets Bar (#14) */
.mod-presets-bar {
  background: var(--stripe-bg);
  border: 1px dashed var(--section-border);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.mod-presets-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mod-presets-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mod-preset-pill {
  background: var(--bg-surface);
  border: 1px solid var(--section-border);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mod-preset-pill:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #ffffff;
}

/* Admin Google Play Update Badges (#12) */
.update-badge-avail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  margin-top: 4px;
  cursor: pointer;
}

html.dark .update-badge-avail {
  color: #fbbf24;
}

.update-badge-uptodate {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--android-green-soft);
  color: var(--android-green);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 4px;
}

/* ==========================================================================
   VIRUSTOTAL & GOOGLE PLAY PROTECT SECURITY & TECHNICAL CARD (FEATURE #5)
   ========================================================================== */
.security-tech-card {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(16, 185, 129, 0.04));
  border: 1px solid rgba(22, 163, 74, 0.35);
  border-radius: 8px;
  padding: 15px 18px;
  margin: 0 0 20px;
  text-align: start;
}

.security-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px dashed rgba(22, 163, 74, 0.28);
}

.security-card-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.security-status-pill {
  background: var(--android-green);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.security-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.security-badge-item {
  background: var(--bg-surface);
  border: 1px solid rgba(22, 163, 74, 0.22);
  border-radius: 6px;
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.security-item-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.security-item-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--android-green);
}

.security-sha256-bar {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(22, 163, 74, 0.22);
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.security-sha256-code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--text-main);
  font-size: 11px;
  direction: ltr;
  display: inline-block;
}

@media (max-width: 640px) {
  .security-grid-4 {
    grid-template-columns: 1fr;
  }
  .security-tech-card {
    padding: 13px 14px;
  }
}

/* ==========================================================================
   SITE LOCK MODE (VISITOR LOCK SCREEN & ADMIN TOGGLE SWITCH)
   ========================================================================== */
.site-lock-admin-box {
  background: var(--bg-surface);
  border: 2px solid var(--card-border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 18px;
  transition: all 0.2s ease;
}

.site-lock-admin-box.locked-active {
  background: rgba(225, 29, 72, 0.06);
  border-color: var(--crimson);
}

.toggle-switch-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  background: var(--stripe-bg);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
}

.toggle-switch-wrap input {
  display: none;
}

.toggle-switch-slider {
  position: relative;
  width: 48px;
  height: 26px;
  background: #94a3b8;
  border-radius: 999px;
  transition: background 0.25s ease;
  flex-shrink: 0;
}

.toggle-switch-slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.toggle-switch-wrap input:checked + .toggle-switch-slider {
  background: var(--crimson);
}

.toggle-switch-wrap input:checked + .toggle-switch-slider::after {
  transform: translateX(22px);
}

.toggle-switch-status {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
}

.site-locked-screen {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.site-locked-card {
  background: var(--bg-surface);
  border: 1px solid var(--section-border);
  border-radius: 16px;
  padding: 48px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.site-locked-icon {
  font-size: 54px;
  line-height: 1;
  margin-bottom: 16px;
}

.site-locked-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.site-locked-subtitle {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}



