:root {
  --bg: #0b0e13;
  --bg-alt: #10141c;
  --card: #131925;
  --card-border: #1f2a3a;
  --text: #e8edf5;
  --text-dim: #9aa7b9;
  --accent: #22d3aa;
  --accent-2: #e8743b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

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

code {
  font-family: "Cascadia Code", "Consolas", monospace;
  background: rgba(34, 211, 170, 0.12);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.92em;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 19, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1240px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; border: 1px solid rgba(34, 211, 170, 0.22); }
.brand-name { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.02em; }

.nav-links { display: flex; align-items: center; gap: 14px; white-space: nowrap; }

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text); }

.nav-links .nav-cta {
  color: #07120e;
  background: var(--accent);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
}

.nav-links .nav-cta:hover { background: #2fe6bc; color: #07120e; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  width: 22px; height: 2px; background: var(--text); border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(900px 420px at 20% -10%, rgba(34, 211, 170, 0.16), transparent 60%),
    radial-gradient(800px 420px at 85% 0%, rgba(232, 116, 59, 0.12), transparent 60%),
    var(--bg);
}

.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.hero-logo {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  margin-bottom: 22px;
  object-fit: cover;
  border: 1px solid rgba(34, 211, 170, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 24px rgba(34, 211, 170, 0.16);
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  max-width: 22ch;
  font-weight: 800;
}

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  color: var(--text-dim);
  max-width: 62ch;
  margin-top: 20px;
  font-size: 1.1rem;
}

.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s, filter 0.15s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: #07120e; }
.btn-primary:hover { filter: brightness(1.08); }

.btn-ghost { border: 1px solid var(--card-border); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  justify-content: center;
}

.hero-tags li {
  font-size: 0.82rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  padding: 7px 14px;
  border-radius: 999px;
}

/* ---------- Strip ---------- */
.strip { border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); background: var(--bg-alt); }

.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--card-border); }

.strip-item {
  background: var(--bg-alt);
  padding: 26px 20px;
  text-align: center;
}

.strip-item strong { display: block; font-size: 1.5rem; color: var(--accent); }
.strip-item span { font-size: 0.85rem; color: var(--text-dim); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.section-title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-top: 10px; font-weight: 800; }

.section-sub { color: var(--text-dim); margin-top: 14px; max-width: 60ch; }

/* ---------- Features grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 170, 0.45); }

.card-icon { font-size: 1.6rem; margin-bottom: 12px; }

.card h3 { font-size: 1.08rem; margin-bottom: 8px; }

.card p { color: var(--text-dim); font-size: 0.93rem; }

/* ---------- Gallery ---------- */
.tabs { display: flex; gap: 8px; margin-top: 34px; flex-wrap: wrap; }

.tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  color: var(--text-dim);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.92rem;
  transition: all 0.2s;
}

.tab:hover { color: var(--text); }

.tab.active { background: var(--accent); color: #07120e; border-color: var(--accent); }

.showcase {
  margin-top: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0f141c;
}

.showcase img { width: 100%; }

/* ---------- Tech ---------- */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 42px; }

.tech-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px;
}

.tech-card h3 { font-size: 1.06rem; margin-bottom: 8px; color: var(--accent); }
.tech-card p { color: var(--text-dim); font-size: 0.94rem; }

/* ---------- Download Package Box & Grid ---------- */
.dl-package-box {
  margin-top: 36px;
  background: linear-gradient(135deg, rgba(19, 25, 37, 0.92) 0%, rgba(16, 20, 28, 0.96) 100%);
  border: 1px solid rgba(34, 211, 170, 0.28);
  border-radius: 22px;
  padding: 38px 34px 34px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 211, 170, 0.06);
}

.dl-package-header {
  text-align: center;
  margin-bottom: 30px;
}

.dl-package-badge {
  display: inline-block;
  background: rgba(34, 211, 170, 0.12);
  color: var(--accent);
  border: 1px solid rgba(34, 211, 170, 0.35);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 6px 18px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.dl-package-lead {
  color: var(--text-dim);
  font-size: 1.04rem;
}

.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 42px; }

.dl-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}

.dl-card {
  background: #0d121b;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s, border-color 0.2s;
}

.dl-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 170, 0.4);
}

.dl-card-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.dl-card h3 { font-size: 1.12rem; color: var(--text); }
.dl-top p { color: var(--text-dim); font-size: 0.9rem; margin-top: 5px; }

.dl-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.dl-card ul li { color: var(--text-dim); font-size: 0.9rem; padding-left: 20px; position: relative; }
.dl-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.dl-file-tag {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.84rem;
  color: var(--text-dim);
}

.dl-file-tag code {
  font-size: 0.88em;
}

.dl-package-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.btn-dl-main {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #22d3aa 0%, #15a885 100%);
  color: #07120e;
  padding: 16px 36px;
  border-radius: 16px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(34, 211, 170, 0.35);
  transition: all 0.25s ease;
  min-width: 340px;
  text-align: center;
}

.btn-dl-main:hover {
  background: linear-gradient(135deg, #2ae7bc 0%, #17be96 100%);
  color: #07120e;
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgba(34, 211, 170, 0.5);
}

.btn-dl-main svg {
  margin-bottom: 4px;
}

.dl-cta-sub {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.88;
  margin-top: 4px;
}

.btn-block { text-align: center; }
.btn-block span { display: block; font-size: 0.78rem; font-weight: 400; opacity: 0.75; margin-top: 2px; }

.dl-note { color: var(--text-dim); font-size: 0.92rem; margin-top: 28px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--card-border); background: var(--bg-alt); padding: 40px 0; }

.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }

.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-logo { width: 28px; height: 28px; border-radius: 7px; }

.footer-copy { color: var(--text-dim); font-size: 0.9rem; max-width: 60ch; }
.footer-legal { color: #5b6673; font-size: 0.8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid, .tech-grid, .dl-grid { grid-template-columns: 1fr 1fr; }
  .dl-grid-3 { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #0f141c;
    border-bottom: 1px solid var(--card-border);
    padding: 20px 24px 24px;
    gap: 14px;
    display: none;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
}

@media (max-width: 640px) {
  .hero { padding: 64px 0 48px; }
  .section { padding: 64px 0; }
  .grid, .tech-grid, .dl-grid { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- Ko-fi & Support Section ---------- */
.btn-kofi {
  background: linear-gradient(135deg, #ff5e5b 0%, #d82e44 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(255, 94, 91, 0.32);
  transition: all 0.2s ease;
}

.btn-kofi:hover {
  background: linear-gradient(135deg, #ff7370 0%, #eb384f 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 94, 91, 0.45);
}

.nav-kofi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 94, 91, 0.12);
  color: #ff7f7d !important;
  border: 1px solid rgba(255, 94, 91, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-kofi:hover {
  background: #ff5e5b !important;
  color: #ffffff !important;
  border-color: #ff5e5b;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 94, 91, 0.35);
}

.kofi-mini-icon {
  flex-shrink: 0;
}

.support-card {
  position: relative;
  background: linear-gradient(135deg, #111722 0%, #172132 100%);
  border: 1px solid rgba(255, 94, 91, 0.25);
  border-radius: 20px;
  padding: 44px 48px;
  display: flex;
  align-items: center;
  gap: 46px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 94, 91, 0.08);
  overflow: hidden;
}

.support-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 94, 91, 0.15), transparent 70%);
  pointer-events: none;
}

.support-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.support-avatar-ring {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #22d3aa 0%, #ff5e5b 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 24px rgba(34, 211, 170, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #0b0e13;
}

.support-pill {
  font-size: 0.76rem;
  font-weight: 600;
  color: #ff9d9b;
  background: rgba(255, 94, 91, 0.12);
  border: 1px solid rgba(255, 94, 91, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.support-content {
  flex: 1;
}

.support-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--text);
  margin-bottom: 12px;
}

.support-lead {
  font-size: 1.04rem;
  color: #d1dced;
  line-height: 1.6;
  margin-bottom: 10px;
}

.support-sub {
  font-size: 0.93rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 24px;
}

.support-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-kofi-lg {
  background: linear-gradient(135deg, #ff5e5b 0%, #d82e44 100%);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(255, 94, 91, 0.35);
  transition: all 0.25s ease;
}

.btn-kofi-lg:hover {
  background: linear-gradient(135deg, #ff7370 0%, #eb384f 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 94, 91, 0.5);
}

.kofi-badge-url {
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 4px;
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 8px 0;
}

.footer-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-kofi-link {
  color: #ff7f7d !important;
  font-weight: 600;
}

.footer-kofi-link:hover {
  color: #ff9d9b !important;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .support-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
    gap: 24px;
  }
  .support-actions {
    justify-content: center;
  }
}


/* ---------- Android APK Section ---------- */
.apk-card {
  margin-top: 36px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.apk-card::before {
  content: "";
  position: absolute;
  top: -70px;
  left: -70px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(34, 211, 170, 0.12), transparent 70%);
  pointer-events: none;
}

.apk-badge {
  display: inline-block;
  background: rgba(34, 211, 170, 0.12);
  color: var(--accent);
  border: 1px solid rgba(34, 211, 170, 0.32);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 16px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.apk-title {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 12px;
}

.apk-desc {
  color: var(--text-dim);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.apk-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.apk-features li {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}

.apk-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

.apk-features li strong {
  color: var(--text);
}

.apk-download-box {
  background: #0d121b;
  border: 1px solid rgba(34, 211, 170, 0.28);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.apk-icon-wrap {
  position: relative;
  display: inline-block;
}

.apk-app-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(34, 211, 170, 0.24);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.apk-os-tag {
  position: absolute;
  bottom: -6px;
  right: -6px;
  background: var(--accent);
  color: #07120e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.apk-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.apk-app-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.apk-version {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.apk-specs {
  list-style: none;
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
  text-align: left;
}

.apk-specs li {
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
}

.apk-specs li strong {
  color: var(--text);
}

.btn-apk {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  width: 100%;
  border-radius: 12px;
  gap: 3px;
  text-decoration: none;
  background: linear-gradient(135deg, #22d3aa 0%, #15a885 100%);
  color: #07120e;
  font-weight: 700;
  font-size: 1.02rem;
  box-shadow: 0 6px 20px rgba(34, 211, 170, 0.3);
  transition: all 0.25s ease;
}

.btn-apk:hover {
  background: linear-gradient(135deg, #2ae7bc 0%, #17be96 100%);
  color: #07120e;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(34, 211, 170, 0.45);
}

.btn-apk svg {
  margin-bottom: 2px;
}

.btn-apk small {
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.85;
}

.apk-install-tip {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .apk-card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 28px;
  }
}


/* ---------- Manuals & Documentation Section ---------- */
.manuals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.manual-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.manual-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.manual-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(34, 211, 170, 0.1);
  border: 1px solid rgba(34, 211, 170, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 16px;
}

.manual-badge-tech {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.25);
}

.manual-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.manual-desc {
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.manual-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}

.manual-features li {
  color: var(--text-dim);
  font-size: 0.88rem;
  padding-left: 22px;
  position: relative;
}

.manual-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.manual-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-manual-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-manual-dl svg {
  flex-shrink: 0;
}

.manual-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
}

@media (max-width: 820px) {
  .manuals-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Language Switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 2px;
}

.lang-btn {
  padding: 3px 8px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-dim);
  transition: all 0.2s ease;
  line-height: 1.2;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  background: var(--accent);
  color: #07120e;
  font-weight: 700;
}

.footer-lang-link {
  color: var(--accent) !important;
  font-weight: 600;
}

.apk-card-tablet {
  margin-top: 28px;
}

.tablet-gallery {
  margin-top: 38px;
}

.tablet-gallery-title {
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 14px;
  text-align: center;
}
