/* ═══════════ فونت‌ها ═══════════ */
@font-face {
  font-family: "Vazirmatn";
  src: url("../Fonts/Vazirmatn-Thin.woff2") format("woff2");
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../Fonts/Vazirmatn-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../Fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../Fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../Fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../Fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

/* ═══════════ متغیرها ═══════════ */
:root {
  --turq: #23b9d7;
  --turq-l: #7ee7f7;
  --turq-d: #1a9bb5;
  --bg: #0a0e14;
  --bg2: #0f151d;
  --metal: #151c26;
  --metal-2: #1b2431;
  --card: #141b26;
  --line: rgba(126, 231, 247, 0.16);
  --line-2: rgba(255, 255, 255, 0.07);
  --txt: #f0f6fc;
  --txt-2: #aeb8c7;
  --txt-3: #6e7681;
  --gold: #ffd54f;
  --red: #f85149;
  --green: #3fb950;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --glow: 0 0 24px rgba(35, 185, 215, 0.35);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--txt);
  overflow-x: hidden;
  line-height: 1.9;
  background-image:
    radial-gradient(
      1100px 500px at 85% -10%,
      rgba(35, 185, 215, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 10% 110%,
      rgba(35, 185, 215, 0.08),
      transparent 60%
    ),
    linear-gradient(180deg, #0a0e14 0%, #0d1219 50%, #0a0e14 100%);
}
::selection {
  background: rgba(35, 185, 215, 0.4);
}
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.hidden {
  display: none !important;
}
code {
  direction: ltr;
  unicode-bidi: embed;
  background: rgba(35, 185, 215, 0.12);
  color: var(--turq-l);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.85em;
}
.img-fluid {
  max-width: 100%;
}

/* ═══════════ پس‌زمینه ═══════════ */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 231, 247, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 231, 247, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 0%,
    #000 20%,
    transparent 75%
  );
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  opacity: 0.5;
  animation: orbFloat 14s ease-in-out infinite;
}
.orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(35, 185, 215, 0.22);
  top: -120px;
  right: -120px;
}
.orb-2 {
  width: 340px;
  height: 340px;
  background: rgba(26, 155, 181, 0.16);
  bottom: -100px;
  left: -100px;
  animation-delay: -5s;
}
.orb-3 {
  width: 220px;
  height: 220px;
  background: rgba(126, 231, 247, 0.12);
  top: 45%;
  left: 8%;
  animation-delay: -9s;
}
@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(40px);
  }
}

/* ═══════════ نوار بالا ═══════════ */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  transition: 0.3s;
  background: rgba(10, 14, 20, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10, 14, 20, 0.9);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--txt);
  font-size: 16px;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--glow);
}
.brand b {
  color: var(--turq-l);
}
.ver-chip {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  color: #06222b;
  background: linear-gradient(135deg, var(--turq-l), var(--turq));
  padding: 2px 9px;
  border-radius: 99px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: var(--txt-2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 10px;
  transition: 0.2s;
}
.nav-links a:hover {
  color: var(--turq-l);
  background: rgba(35, 185, 215, 0.1);
}
.nav-cta {
  background: linear-gradient(135deg, var(--turq), var(--turq-d)) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(35, 185, 215, 0.35);
}
@media (max-width: 860px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* ═══════════ هیرو ═══════════ */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: 92vh;
  padding-top: 90px;
}
.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--turq-l);
  background: rgba(35, 185, 215, 0.12);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 4.6vw, 50px);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 16px;
}
.grad-text {
  background: linear-gradient(90deg, var(--turq-l), var(--turq) 60%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  color: var(--txt-2);
  font-size: 15px;
  max-width: 560px;
  margin-bottom: 26px;
}
.hero-desc b {
  color: var(--turq-l);
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  border-radius: 12px;
  padding: 12px 26px;
  transition: 0.25s;
}
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--turq-l),
    var(--turq) 45%,
    var(--turq-d)
  );
  color: #06222b;
  box-shadow:
    0 8px 24px rgba(35, 185, 215, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(35, 185, 215, 0.55);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--txt);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--turq);
  color: var(--turq-l);
}
.btn-lg {
  font-size: 15.5px;
  padding: 15px 34px;
  border-radius: 14px;
}
.btn-sm {
  font-size: 12px;
  padding: 7px 14px;
  border-radius: 9px;
}

.hero-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.stat {
  background: linear-gradient(160deg, var(--metal-2), var(--metal));
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 20px;
  text-align: center;
  min-width: 110px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.stat b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--turq-l);
}
.stat span {
  font-size: 11px;
  color: var(--txt-3);
}

/* ویژوال سه‌بعدی */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  perspective: 900px;
}
.ring-3d {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--turq),
    transparent 30%,
    var(--turq-l) 55%,
    transparent 80%,
    var(--turq)
  );
  filter: blur(2px);
  opacity: 0.55;
  animation: ringSpin 7s linear infinite;
  mask: radial-gradient(
    circle,
    transparent 58%,
    #000 60%,
    #000 70%,
    transparent 72%
  );
  -webkit-mask: radial-gradient(
    circle,
    transparent 58%,
    #000 60%,
    #000 70%,
    transparent 72%
  );
}
@keyframes ringSpin {
  to {
    transform: rotate(360deg);
  }
}
.icon-3d {
  width: 190px;
  height: 190px;
  border-radius: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #202b3a, #0d141d 70%);
  border: 1px solid var(--line);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.65),
    var(--glow),
    inset 0 2px 0 rgba(255, 255, 255, 0.12);
  animation: iconFloat 5s ease-in-out infinite;
  transform-style: preserve-3d;
}
.icon-3d img {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 0 22px rgba(35, 185, 215, 0.6));
}
@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0) rotateX(6deg) rotateY(-8deg);
  }
  50% {
    transform: translateY(-18px) rotateX(-4deg) rotateY(8deg);
  }
}
.float-chip {
  position: absolute;
  font-size: 12px;
  font-weight: 700;
  color: var(--turq-l);
  background: rgba(13, 20, 29, 0.85);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 99px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  animation: chipFloat 6s ease-in-out infinite;
}
.fc-1 {
  top: 8%;
  right: 12%;
}
.fc-2 {
  top: 20%;
  left: 4%;
  animation-delay: -1.5s;
}
.fc-3 {
  bottom: 24%;
  right: 2%;
  animation-delay: -3s;
}
.fc-4 {
  bottom: 8%;
  left: 16%;
  animation-delay: -2s;
}
.fc-5 {
  top: 46%;
  right: -4%;
  animation-delay: -4s;
}
.fc-6 {
  top: 2%;
  left: 38%;
  animation-delay: -5s;
}
@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-visual {
    min-height: 360px;
  }
}

/* ═══════════ سکشن‌ها ═══════════ */
.section {
  padding: 80px 20px;
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  margin-bottom: 8px;
}
.section-head p {
  color: var(--txt-3);
  font-size: 14px;
}

/* کارت‌های امکانات */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  background: linear-gradient(150deg, var(--metal-2), var(--card) 65%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 26px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s;
  transform-style: preserve-3d;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(126, 231, 247, 0.5),
    transparent
  );
}
.card:hover {
  border-color: var(--line);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(35, 185, 215, 0.15),
    var(--glow);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.15),
    0 8px 18px rgba(0, 0, 0, 0.4);
}
.card-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.ci-1 {
  background: linear-gradient(135deg, #23b9d7, #1479d8);
}
.ci-2 {
  background: linear-gradient(135deg, #3fb950, #1a7f3c);
}
.ci-3 {
  background: linear-gradient(135deg, #bc8cff, #7d4ddc);
}
.ci-4 {
  background: linear-gradient(135deg, #f0883e, #c4520a);
}
.ci-5 {
  background: linear-gradient(135deg, #ff5c87, #c22a55);
}
.ci-6 {
  background: linear-gradient(135deg, #ffd54f, #d29922);
}
.ci-7 {
  background: linear-gradient(135deg, #4dd0e1, #00838f);
}
.ci-8 {
  background: linear-gradient(135deg, #8b949e, #484f58);
}
.ci-9 {
  background: linear-gradient(135deg, #56d364, #238636);
}
.card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 12px;
}
.card ul {
  list-style: none;
}
.card li {
  position: relative;
  padding: 4px 18px 4px 0;
  font-size: 13px;
  color: var(--txt-2);
}
.card li::before {
  content: "◆";
  position: absolute;
  right: 0;
  top: 6px;
  font-size: 9px;
  color: var(--turq);
}

/* بررسی امنیتی */
.security-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 1px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(126, 231, 247, 0.7),
    rgba(35, 185, 215, 0.08) 45%,
    rgba(63, 185, 80, 0.5)
  );
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    0 0 42px rgba(35, 185, 215, 0.08);
  overflow: hidden;
}
.security-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  top: -150px;
  left: -80px;
  border-radius: 50%;
  background: rgba(63, 185, 80, 0.12);
  filter: blur(12px);
}
.security-question {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: rgba(10, 14, 20, 0.94);
  border-radius: 23px 23px 0 0;
}
.security-question-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #06222b;
  background: linear-gradient(135deg, var(--turq-l), var(--turq));
  font-size: 23px;
  font-weight: 900;
  box-shadow: var(--glow);
}
.security-question p {
  font-size: 16px;
  font-weight: 700;
  color: var(--txt);
}
.security-answer {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  padding: 30px 32px 32px;
  background: linear-gradient(145deg, rgba(27, 36, 49, 0.98), #111923);
  border-radius: 0 0 23px 23px;
}
.security-avatar {
  width: 74px;
  height: 74px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(126, 231, 247, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(35, 185, 215, 0.15);
}
.security-avatar svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #4d6bfe;
}
.security-answer-content {
  min-width: 0;
}
.security-responder {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.security-responder strong {
  color: var(--turq-l);
  font-size: 17px;
}
.security-responder span {
  padding: 3px 10px;
  border: 1px solid rgba(63, 185, 80, 0.28);
  border-radius: 99px;
  color: #73df83;
  background: rgba(63, 185, 80, 0.08);
  font-size: 10.5px;
  font-weight: 700;
}
.security-answer-content > p {
  max-width: 700px;
  color: var(--txt-2);
  font-size: 14px;
  line-height: 2.1;
}
.security-report-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 16px;
  border: 1px solid rgba(126, 231, 247, 0.24);
  border-radius: 11px;
  color: var(--turq-l);
  background: rgba(35, 185, 215, 0.08);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.security-report-link:hover {
  color: #fff;
  background: rgba(35, 185, 215, 0.18);
  border-color: var(--turq);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .security-question {
    align-items: flex-start;
    padding: 20px;
  }
  .security-question p {
    font-size: 14px;
  }
  .security-answer {
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 24px 20px;
  }
  .security-avatar {
    width: 52px;
    height: 52px;
    padding: 7px;
    border-radius: 15px;
  }
  .security-responder {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .security-answer-content > p {
    font-size: 13px;
  }
}

/* گالری */
.gallery-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 10px 4px 22px;
  scroll-snap-type: x mandatory;
}
.gallery-scroll::-webkit-scrollbar {
  height: 8px;
}
.gallery-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--turq), var(--turq-l));
  border-radius: 99px;
}
.gallery-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 99px;
}
.shot {
  flex: 0 0 min(430px, 82vw);
  scroll-snap-align: center;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
}
.shot:hover {
  border-color: var(--line);
  box-shadow: var(--glow);
}
.shot img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.shot figcaption {
  padding: 12px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--txt-2);
  border-top: 1px solid var(--line-2);
}
.img-ph {
  width: 100%;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: repeating-linear-gradient(
    45deg,
    rgba(35, 185, 215, 0.05) 0 14px,
    transparent 14px 28px
  );
  border: 1px dashed var(--line);
  color: var(--txt-3);
  font-size: 12px;
}
.img-ph span {
  font-size: 34px;
  filter: grayscale(0.4);
}
.img-ph small {
  font-size: 10.5px;
  color: var(--txt-3);
}

/* ============================================================
   ⭐ کارت دانلود جدید — ساده، دوستانه و خودمونی
============================================================ */
.dl-card-new {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(160deg, var(--metal-2), var(--card) 65%);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 40px 34px 34px;
  text-align: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dl-card-new::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px 220px at 50% -80px,
    rgba(35, 185, 215, 0.18),
    transparent
  );
  pointer-events: none;
}
.dl-new-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #06222b;
  background: linear-gradient(135deg, var(--turq-l), var(--turq));
  padding: 6px 18px;
  border-radius: 99px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(35, 185, 215, 0.35);
}
.dl-new-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}
.dl-new-icon {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 28px;
  background: linear-gradient(145deg, #202b3a, #0d141d 70%);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.55),
    var(--glow);
  margin-bottom: 8px;
}
.dl-new-icon img {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 16px rgba(35, 185, 215, 0.6));
}
.dl-new-glow {
  position: absolute;
  inset: -10px;
  border-radius: 36px;
  background: radial-gradient(
    circle,
    rgba(35, 185, 215, 0.45),
    transparent 65%
  );
  filter: blur(14px);
  z-index: -1;
  animation: dlGlow 2.6s ease-in-out infinite;
}
@keyframes dlGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.08);
  }
}
.dl-new-main h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--txt);
}
.dl-new-desc {
  color: var(--txt-2);
  font-size: 14px;
  max-width: 540px;
  margin: 0 auto 6px;
}
.dl-new-desc b {
  color: var(--turq-l);
}
.dl-main-btn {
  font-size: 16px;
  padding: 16px 38px;
  border-radius: 16px;
  margin-top: 8px;
  box-shadow:
    0 10px 28px rgba(35, 185, 215, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.dl-main-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(35, 185, 215, 0.6);
}

/* ─── تب‌های بخش دانلود ─── */
.dl-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 420px;
  margin: 0 auto 28px;
  padding: 5px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}
.dl-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--txt-3);
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.dl-tab:hover {
  color: var(--txt);
  background: rgba(35, 185, 215, 0.07);
}
.dl-tab:focus-visible {
  outline: 2px solid var(--turq-l);
  outline-offset: 3px;
}
.dl-tab.active {
  color: #06222b;
  border-color: rgba(126, 231, 247, 0.45);
  background: linear-gradient(135deg, var(--turq-l), var(--turq));
  box-shadow: 0 8px 24px rgba(35, 185, 215, 0.25);
}
.dl-tab.active span {
  transform: scale(1.12);
}
.dl-panel {
  animation: dlPanelIn 0.35s ease;
}
.dl-panel[hidden] {
  display: none;
}
@keyframes dlPanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── لیست نسخه‌های قبلی ─── */
.dl-old-loading {
  text-align: center;
  padding: 32px 0;
  color: var(--txt-3);
  font-size: 14px;
}
.dl-old-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  border: 3px solid var(--line-2);
  border-top-color: var(--turq);
  border-radius: 50%;
  animation: dlSpin 0.8s linear infinite;
}
@keyframes dlSpin {
  to { transform: rotate(360deg); }
}
.dl-old-error {
  text-align: center;
  padding: 28px 0;
  color: var(--red);
}
.dl-old-error p {
  margin-bottom: 12px;
  font-size: 14px;
}
.dl-old-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dl-old-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--metal-2), var(--card));
  border: 1px solid var(--line-2);
  border-radius: 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.dl-old-item:hover {
  border-color: var(--line);
  box-shadow: var(--glow);
}
.dl-old-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
}
.dl-old-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--txt);
}
.dl-old-meta {
  font-size: 12px;
  color: var(--txt-3);
  display: flex;
  gap: 14px;
}
.dl-old-meta span::before {
  content: "•";
  margin-left: 6px;
}
.dl-old-dl {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid rgba(126, 231, 247, 0.3);
  border-radius: 10px;
  color: var(--turq-l);
  background: rgba(35, 185, 215, 0.08);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.dl-old-dl:hover {
  background: rgba(35, 185, 215, 0.18);
  border-color: var(--turq);
  box-shadow: 0 4px 16px rgba(35, 185, 215, 0.25);
}
@media (max-width: 540px) {
  .dl-old-item {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
  }
  .dl-old-info {
    align-items: stretch;
  }
  .dl-old-dl {
    justify-content: center;
  }
}

/* ─── اطلاعیه به‌روزرسانی ─── */
.update-notice {
  margin-top: 18px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(255,193,7,0.18), rgba(255,152,0,0.1));
  border: 1px solid rgba(255,193,7,0.4);
  border-radius: 14px;
  text-align: right;
  line-height: 2;
}
.update-notice strong {
  color: #ff9800;
  font-size: 1.05em;
}
.update-notice p {
  margin: 10px 0 0;
  color: var(--txt-2);
  font-size: 0.92em;
}
.update-notice .update-success {
  margin: 10px 0 0;
  color: #4caf50;
  font-weight: 700;
  font-size: 0.95em;
}

/* ─── جداکننده و بنر قهوه ─── */
.coffee-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 34px 0 22px;
  color: var(--txt-3);
  font-size: 12px;
  font-weight: 700;
}
.coffee-divider::before,
.coffee-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.coffee-support {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.coffee-intro {
  color: var(--txt-2);
  font-size: 13.5px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 2;
}
.coffee-intro b {
  color: var(--gold);
  font-weight: 700;
}
/* .coffee-banner-animated {
  position: relative;
  display: inline-block;
  border-radius: 14px;
  overflow: hidden;
  animation: coffeeFloat 3.2s ease-in-out infinite;
  box-shadow:
    0 12px 32px rgba(255, 213, 79, 0.25),
    0 0 0 1px rgba(255, 213, 79, 0.3);
  transition: 0.3s;
}
.coffee-banner-animated:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 22px 50px rgba(255, 213, 79, 0.45),
    0 0 0 2px rgba(255, 213, 79, 0.5);
  animation-play-state: paused;
}
.coffee-banner-animated img {
  display: block;
  max-width: 340px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ─── بنر قهوه سفارشی با فنجان انیمیشن‌دار ─── */
.coffee-banner-custom {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 460px;
  padding: 20px 24px;
  background:
    radial-gradient(
      circle at 15% 50%,
      rgba(255, 213, 79, 0.18),
      transparent 55%
    ),
    linear-gradient(135deg, #3e2723 0%, #5d4037 55%, #6d4c41 100%);
  border: 1px solid rgba(255, 213, 79, 0.4);
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  animation: coffeeFloat 3.2s ease-in-out infinite;
  box-shadow:
    0 12px 32px rgba(62, 39, 35, 0.55),
    0 0 0 1px rgba(255, 213, 79, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.coffee-banner-custom:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 213, 79, 0.7);
  box-shadow:
    0 22px 50px rgba(62, 39, 35, 0.7),
    0 0 0 2px rgba(255, 213, 79, 0.35),
    0 0 40px rgba(255, 213, 79, 0.25);
  animation-play-state: paused;
}
.coffee-banner-custom:hover .cup-heart {
  animation: heartBeat 1s ease-in-out infinite;
}

/* درخشش متحرک روی بنر */
.coffee-banner-custom .coffee-shine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 80%
  );
  animation: coffeeShine 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}

/* آیکن فنجان */
.coffee-cup-anim {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  animation: cupWiggle 2.8s ease-in-out infinite;
}
.coffee-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.coffee-svg .saucer {
  fill: #e0e0e0;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}
.coffee-svg .cup-body {
  fill: #fafafa;
  stroke: #d7ccc8;
  stroke-width: 0.5;
}
.coffee-svg .cup-handle {
  fill: none;
  stroke: #fafafa;
  stroke-width: 3.5;
  stroke-linecap: round;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.2));
}
.coffee-svg .coffee-liquid {
  fill: #6d4c41;
  animation: liquidWave 2.2s ease-in-out infinite;
  transform-origin: center;
}
.coffee-svg .cup-heart {
  fill: #e53935;
  transform-origin: 50px 64px;
  transition: transform 0.3s;
}

/* انیمیشن بخار — سه خط با تاخیر مختلف */
.coffee-svg .steam {
  fill: none;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
  animation: steamRise 2.4s ease-in-out infinite;
}
.steam-1 {
  animation-delay: 0s;
}
.steam-2 {
  animation-delay: 0.5s;
}
.steam-3 {
  animation-delay: 1s;
}

@keyframes steamRise {
  0% {
    opacity: 0;
    transform: translateY(4px) scaleY(0.7);
  }
  25% {
    opacity: 0.85;
    transform: translateY(-2px) scaleY(1);
  }
  60% {
    opacity: 0.5;
    transform: translateY(-8px) scaleY(1.1);
  }
  100% {
    opacity: 0;
    transform: translateY(-16px) scaleY(0.8);
  }
}
@keyframes liquidWave {
  0%,
  100% {
    transform: scaleX(1) translateY(0);
  }
  50% {
    transform: scaleX(1.03) translateY(-0.5px);
  }
}
@keyframes cupWiggle {
  0%,
  100% {
    transform: rotate(0) translateY(0);
  }
  25% {
    transform: rotate(-2deg) translateY(-1px);
  }
  75% {
    transform: rotate(2deg) translateY(-1px);
  }
}
@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.25);
  }
  60% {
    transform: scale(0.95);
  }
}

/* متن بنر */
.coffee-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
  text-align: right;
  z-index: 2;
}
.coffee-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #ffd54f;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.coffee-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}
.coffee-arrow {
  font-size: 22px;
  font-weight: 800;
  color: #ffd54f;
  z-index: 2;
  transition: transform 0.3s ease;
}
.coffee-banner-custom:hover .coffee-arrow {
  transform: translateX(-6px);
  color: #ffe082;
}

/* موبایل */
@media (max-width: 520px) {
  .coffee-banner-custom {
    padding: 16px 18px;
    gap: 14px;
  }
  .coffee-cup-anim {
    width: 58px;
    height: 58px;
  }
  .coffee-title {
    font-size: 14.5px;
  }
  .coffee-sub {
    font-size: 10.5px;
  }
  .coffee-arrow {
    font-size: 18px;
  }
}

/* درخشش متحرک روی بنر */
.coffee-shine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 80%
  );
  animation: coffeeShine 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
/* آیکن فنجان */
@keyframes coffeeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes coffeeShine {
  0% {
    left: -80%;
  }
  60%,
  100% {
    left: 130%;
  }
}
.coffee-hint {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  background: rgba(255, 213, 79, 0.08);
  border: 1px dashed rgba(255, 213, 79, 0.3);
  border-radius: 99px;
  padding: 6px 18px;
}
@media (max-width: 560px) {
  .dl-card-new {
    padding: 30px 20px;
  }
  .dl-new-main h3 {
    font-size: 18px;
  }
  .dl-main-btn {
    font-size: 14px;
    padding: 14px 24px;
  }
}

.coffee-banner {
  display: inline-block;
  border-radius: 14px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(255, 213, 79, 0.15);
}
.coffee-banner:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(255, 213, 79, 0.3);
}
.coffee-banner img {
  display: block;
  max-width: 340px;
  width: 100%;
}

@keyframes popIn {
  from {
    transform: scale(0.2);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ═══════════ تب‌ها و تایم‌لاین نصب ═══════════ */
.install-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 700px;
  margin: 0 auto 34px;
  padding: 7px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}
.install-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--txt-3);
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 0.25s,
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}
.install-tab:hover {
  color: var(--txt);
  background: rgba(35, 185, 215, 0.07);
}
.install-tab:focus-visible {
  outline: 2px solid var(--turq-l);
  outline-offset: 3px;
}
.install-tab.active {
  color: #06222b;
  border-color: rgba(126, 231, 247, 0.45);
  background: linear-gradient(135deg, var(--turq-l), var(--turq));
  box-shadow: 0 8px 24px rgba(35, 185, 215, 0.25);
}
.install-tab.active span {
  transform: scale(1.12);
}
.install-panel {
  animation: installPanelIn 0.35s ease;
}
.install-panel[hidden] {
  display: none;
}
@keyframes installPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.install-method-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 8px 16px;
  border: 1px solid rgba(63, 185, 80, 0.24);
  border-radius: 99px;
  color: var(--txt-2);
  background: rgba(63, 185, 80, 0.07);
  font-size: 11.5px;
}
.install-method-note strong {
  color: #73df83;
}
.install-method-note span::before {
  content: "•";
  margin-left: 10px;
  color: var(--txt-3);
}
.install-fallback {
  max-width: 760px;
  margin: -8px auto 0;
  padding: 13px 18px;
  border: 1px dashed rgba(255, 213, 79, 0.28);
  border-radius: 12px;
  color: var(--txt-3);
  background: rgba(255, 213, 79, 0.045);
  text-align: center;
  font-size: 11.5px;
}
.install-fallback button {
  padding: 0;
  border: 0;
  color: var(--gold);
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
}
.install-fallback button:hover {
  text-decoration: underline;
}
.timeline {
  list-style: none;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  width: 2px;
  background: linear-gradient(180deg, var(--turq), rgba(35, 185, 215, 0.05));
}
.timeline li {
  position: relative;
  padding: 0 76px 44px 0;
}
.t-num {
  position: absolute;
  right: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #06222b;
  background: linear-gradient(135deg, var(--turq-l), var(--turq));
  box-shadow: var(--glow);
  border: 4px solid var(--bg);
}
.t-body {
  background: linear-gradient(150deg, var(--metal-2), var(--card));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: 0.3s;
}
.t-body:hover {
  border-color: var(--line);
  box-shadow: var(--glow);
}
.t-body h4 {
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--turq-l);
}
.t-body p {
  font-size: 13.5px;
  color: var(--txt-2);
  margin-bottom: 14px;
}
.t-body img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line-2);
}
@media (max-width: 640px) {
  .install-tabs {
    grid-template-columns: 1fr;
    margin-bottom: 26px;
  }
  .install-tab {
    min-height: 46px;
    font-size: 12px;
  }
  .install-method-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    border-radius: 13px;
  }
  .install-method-note span::before {
    display: none;
  }
  .timeline::before {
    right: 21px;
  }
  .timeline li {
    padding: 0 60px 34px 0;
  }
  .t-num {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .t-body {
    padding: 18px;
  }
}

/* ═══════════ نظرات ═══════════ */
.comments-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.comment-form {
  padding: 24px;
}
.cf-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.comment-form input[type="text"],
.comment-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--txt);
  font-family: inherit;
  font-size: 13.5px;
  padding: 12px 16px;
  transition: 0.2s;
  resize: vertical;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--turq);
  box-shadow: 0 0 0 3px rgba(35, 185, 215, 0.15);
}
.cf-row input[type="text"] {
  flex: 1;
  min-width: 200px;
}
.chk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--txt-2);
  cursor: pointer;
  user-select: none;
}
.chk input {
  accent-color: var(--turq);
  width: 17px;
  height: 17px;
  cursor: pointer;
}
.cf-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.cf-foot small {
  color: var(--txt-3);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px;
}
.comment {
  background: linear-gradient(150deg, var(--metal-2), var(--card));
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 20px;
  animation: fadeUp 0.4s ease;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.c-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.c-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  color: #06222b;
  background: linear-gradient(135deg, var(--turq-l), var(--turq));
}
.c-avatar.anon {
  background: linear-gradient(135deg, #8b949e, #484f58);
  color: #fff;
}
.c-name {
  font-weight: 800;
  font-size: 14px;
}
.c-name .admin-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 213, 79, 0.15);
  color: var(--gold);
  border: 1px solid rgba(255, 213, 79, 0.4);
  border-radius: 99px;
  padding: 2px 9px;
  margin-inline-start: 8px;
}
.c-date {
  font-size: 11px;
  color: var(--txt-3);
}
.c-text {
  font-size: 13.5px;
  color: var(--txt-2);
  white-space: pre-wrap;
  margin-bottom: 12px;
}
.c-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.vote-btn,
.reply-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  color: var(--txt-3);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: 0.2s;
}
.vote-btn:hover,
.reply-toggle:hover {
  color: var(--txt);
  border-color: var(--line);
}
.vote-btn.v-like.active {
  color: var(--green);
  border-color: rgba(63, 185, 80, 0.5);
  background: rgba(63, 185, 80, 0.1);
}
.vote-btn.v-dislike.active {
  color: var(--red);
  border-color: rgba(248, 81, 73, 0.5);
  background: rgba(248, 81, 73, 0.1);
}
.replies {
  margin-top: 16px;
  padding-inline-start: 20px;
  border-inline-start: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reply {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 16px;
}
.reply.admin {
  border-color: rgba(255, 213, 79, 0.35);
  background: rgba(255, 213, 79, 0.06);
}
.reply .r-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.reply .r-name {
  font-size: 12.5px;
  font-weight: 800;
}
.reply .r-text {
  font-size: 13px;
  color: var(--txt-2);
  white-space: pre-wrap;
}
.reply-form {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reply-form input,
.reply-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--txt);
  font-family: inherit;
  font-size: 12.5px;
  padding: 9px 14px;
}
.reply-form textarea {
  resize: vertical;
}
.reply-form input:focus,
.reply-form textarea:focus {
  outline: none;
  border-color: var(--turq);
}
.c-empty {
  text-align: center;
  color: var(--txt-3);
  padding: 36px 0;
  font-size: 13.5px;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--txt-2);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
  padding: 0 10px;
}
.page-btn:hover {
  border-color: var(--turq);
  color: var(--turq-l);
}
.page-btn.active {
  background: linear-gradient(135deg, var(--turq), var(--turq-d));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow);
}
.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ═══════════ فوتر ═══════════ */
.footer {
  margin-top: 60px;
  border-top: 1px solid var(--line-2);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
  padding: 44px 0 26px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.f-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.f-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.f-brand em {
  font-style: normal;
  font-size: 11px;
  color: var(--turq-l);
}
.f-disclaimer {
  max-width: 640px;
  font-size: 12.5px;
  color: var(--txt-2);
  background: rgba(255, 213, 79, 0.06);
  border: 1px solid rgba(255, 213, 79, 0.25);
  border-radius: 12px;
  padding: 12px 20px;
}
.f-disclaimer b {
  color: var(--gold);
}
.f-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.f-links a {
  color: var(--txt-3);
  text-decoration: none;
  font-size: 12.5px;
  transition: 0.2s;
}
.f-links a:hover {
  color: var(--turq-l);
}
.f-copy {
  font-size: 11.5px;
  color: var(--txt-3);
}

/* ═══════════ تولتیپ/توست ═══════════ */
.toast {
  position: fixed;
  bottom: -80px;
  right: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, var(--turq), var(--turq-d));
  color: #06222b;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 26px;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(35, 185, 215, 0.4);
  transition: bottom 0.35s cubic-bezier(0.34, 1.5, 0.5, 1);
  z-index: 1000;
}
.toast.show {
  bottom: 26px;
}

/* ═══════════ ریویل و تیلت ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ═══════════ پنل مدیریت ═══════════ */
.admin-wrap {
  max-width: 900px;
  margin: 110px auto 60px;
  padding: 0 20px;
}
.admin-card {
  background: linear-gradient(160deg, var(--metal-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.admin-card h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}
.admin-card .sub {
  color: var(--txt-3);
  font-size: 12.5px;
  margin-bottom: 22px;
}
.admin-login {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-login input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--txt);
  font-family: inherit;
  padding: 12px 16px;
  font-size: 13.5px;
}
.admin-login input:focus {
  outline: none;
  border-color: var(--turq);
}
.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.tab-btn {
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--txt-2);
  border-radius: 99px;
  padding: 8px 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--turq), var(--turq-d));
  color: #fff;
  border-color: transparent;
}
.tab-btn .cnt {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  padding: 1px 8px;
  font-size: 11px;
  margin-inline-start: 6px;
}
.a-item {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.a-item .status {
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 99px;
  padding: 3px 12px;
}
.status.pending {
  background: rgba(210, 153, 34, 0.15);
  color: #d29922;
  border: 1px solid rgba(210, 153, 34, 0.4);
}
.status.approved {
  background: rgba(63, 185, 80, 0.12);
  color: var(--green);
  border: 1px solid rgba(63, 185, 80, 0.4);
}
.status.rejected {
  background: rgba(248, 81, 73, 0.12);
  color: var(--red);
  border: 1px solid rgba(248, 81, 73, 0.4);
}
.a-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.abtn {
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--txt-2);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  cursor: pointer;
  transition: 0.2s;
}
.abtn.approve {
  color: var(--green);
  border-color: rgba(63, 185, 80, 0.4);
}
.abtn.approve:hover {
  background: rgba(63, 185, 80, 0.15);
}
.abtn.reject {
  color: #d29922;
  border-color: rgba(210, 153, 34, 0.4);
}
.abtn.reject:hover {
  background: rgba(210, 153, 34, 0.15);
}
.abtn.delete {
  color: var(--red);
  border-color: rgba(248, 81, 73, 0.4);
}
.abtn.delete:hover {
  background: rgba(248, 81, 73, 0.15);
}
.abtn:hover {
  color: var(--txt);
}
.admin-note {
  font-size: 11.5px;
  color: var(--txt-3);
  background: rgba(35, 185, 215, 0.07);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  margin-top: 20px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
/* ============================================================
   ⭐ لایت‌باکس گالری — نمایش تمام‌صفحه + زوم
============================================================ */
.gallery-scroll .shot {
  cursor: zoom-in;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}
.lightbox.open {
  display: block;
  animation: lbFade 0.25s ease;
}
@keyframes lbFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 12, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.lb-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
}
.lb-stage img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0d141d;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(35, 185, 215, 0.15);
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
}
/* نوار ابزار زوم */
.lb-toolbar {
  position: absolute;
  top: 18px;
  right: 50%;
  transform: translateX(50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 20, 29, 0.88);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.lb-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--txt);
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-btn:hover {
  background: rgba(35, 185, 215, 0.2);
  color: var(--turq-l);
  border-color: var(--turq);
  transform: scale(1.08);
}
.lb-zoom-val {
  min-width: 52px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--turq-l);
}
.lb-count {
  font-size: 11px;
  color: var(--txt-3);
  margin-inline-start: 4px;
  direction: ltr;
}
/* دکمه‌های قبلی/بعدی */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(13, 20, 29, 0.7);
  color: var(--turq-l);
  font-size: 17px;
  cursor: pointer;
  transition: 0.2s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lb-nav:hover {
  background: rgba(35, 185, 215, 0.25);
  border-color: var(--turq);
  box-shadow: var(--glow);
}
.lb-prev {
  right: 18px;
}
.lb-next {
  left: 18px;
}
/* عنوان تصویر */
.lb-caption {
  position: absolute;
  bottom: 18px;
  right: 50%;
  transform: translateX(50%);
  z-index: 5;
  max-width: 90vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(13, 20, 29, 0.82);
  border: 1px solid var(--line-2);
  border-radius: 99px;
  padding: 8px 22px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--txt-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 640px) {
  .lb-nav {
    width: 38px;
    height: 38px;
  }
  .lb-prev {
    right: 8px;
  }
  .lb-next {
    left: 8px;
  }
  .lb-toolbar {
    top: 10px;
    padding: 4px 8px;
  }
  .lb-btn {
    width: 32px;
    height: 32px;
  }
}
.page-dots {
  color: var(--txt-3);
  align-self: center;
  padding: 0 6px;
}
/* بج پاسخ رسمی مدیر در replies */
.r-head .admin-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 213, 79, 0.15);
  color: var(--gold);
  border: 1px solid rgba(255, 213, 79, 0.4);
  border-radius: 99px;
  padding: 2px 9px;
  margin-inline-start: 6px;
}
/* ============================================================
   ⭐ بررسی امنیتی — برجسته و هشدارگونه (کهربایی/طلایی)
============================================================ */
/* آیتم منوی اصلی با رنگ هشدار */
.nav-links a.nav-security {
  color: var(--gold) !important;
  font-weight: 800;
  animation: secNavPulse 2.4s ease-in-out infinite;
}
.nav-links a.nav-security:hover {
  background: rgba(255, 213, 79, 0.14) !important;
  color: #ffe082 !important;
}
@keyframes secNavPulse {
  0%,
  100% {
    text-shadow: none;
  }
  50% {
    text-shadow: 0 0 12px rgba(255, 213, 79, 0.8);
  }
}

.sec-title-grad {
  background: linear-gradient(90deg, #ffe082, #ffd54f 40%, #ffb300);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.security-card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(160deg, #221806, #191307 55%, #131a24);
  border: 1px solid rgba(255, 213, 79, 0.5);
  border-radius: 22px;
  padding: 40px 28px 30px;
  overflow: hidden;
  animation: secGlow 3.2s ease-in-out infinite;
}
@keyframes secGlow {
  0%,
  100% {
    box-shadow:
      0 18px 50px rgba(0, 0, 0, 0.55),
      0 0 22px rgba(255, 193, 7, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  50% {
    box-shadow:
      0 18px 50px rgba(0, 0, 0, 0.55),
      0 0 48px rgba(255, 193, 7, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
}
/* نوار هشدار راه‌راه بالای کارت */
.sec-tape {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    #ffd54f 0 16px,
    #171106 16px 32px
  );
  opacity: 0.9;
}
.sec-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .sec-grid {
    grid-template-columns: 1fr;
  }
}
.sec-points-wrap h3 {
  color: #ffe082;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
}
.sec-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sec-points li {
  position: relative;
  padding: 10px 42px 10px 14px;
  background: rgba(255, 213, 79, 0.07);
  border: 1px solid rgba(255, 213, 79, 0.25);
  border-radius: 12px;
  font-size: 13px;
  color: var(--txt-2);
  transition: 0.25s;
}
.sec-points li:hover {
  background: rgba(255, 213, 79, 0.13);
  border-color: rgba(255, 213, 79, 0.5);
  transform: translateX(-4px);
}
.sec-points li::before {
  content: "✔";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe082, #ffb300);
  color: #241a08;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sec-points li b {
  color: #ffe082;
}
.sec-points li code {
  background: rgba(255, 213, 79, 0.14);
  color: #ffe082;
}

/* کارت نظر هوش مصنوعی */
.sec-ai {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(
    160deg,
    rgba(255, 213, 79, 0.1),
    rgba(255, 213, 79, 0.03)
  );
  border: 1px dashed rgba(255, 213, 79, 0.55);
  border-radius: 16px;
  padding: 20px;
}
.sec-ai-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
  color: #ffe082;
}
.sec-ai-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #4d6bfe, #274bdb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(39, 75, 219, 0.4);
}
.sec-quote {
  position: relative;
  border-inline-start: 4px solid #ffd54f;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 18px;
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--txt);
}
.sec-quote::before {
  content: "❝";
  position: absolute;
  top: -14px;
  right: 14px;
  font-size: 34px;
  color: #ffd54f;
  text-shadow: 0 0 12px rgba(255, 213, 79, 0.6);
}
.sec-verdict {
  display: block;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(63, 185, 80, 0.18),
    rgba(63, 185, 80, 0.08)
  );
  border: 1px solid rgba(63, 185, 80, 0.5);
  color: #7ee787;
  font-weight: 800;
}
.sec-btn {
  background: linear-gradient(135deg, #ffe082, #ffb300);
  color: #241a08;
  font-weight: 800;
  text-decoration: none;
  box-shadow:
    0 8px 24px rgba(255, 179, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.sec-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(255, 179, 0, 0.5);
}
/* ============================================================
   ⭐ منوی کشویی «افزونه‌های دیگر»
============================================================ */
.nav-drop {
  position: relative;
}
.nav-drop-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--txt-2);
  font-size: 13.5px;
  font-weight: 500;
  font-family: inherit;
  padding: 8px 13px;
  border-radius: 10px;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-drop-btn:hover {
  color: var(--turq-l);
  background: rgba(35, 185, 215, 0.1);
}
.drop-arrow {
  display: inline-block;
  font-size: 10px;
  transition: transform 0.25s;
}
.nav-drop.open .drop-arrow {
  transform: rotate(180deg);
}
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: -14px;
  min-width: 260px;
  background: rgba(13, 20, 29, 0.97);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(35, 185, 215, 0.08);
}
.nav-drop-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 26px;
  width: 12px;
  height: 12px;
  background: inherit;
  border-inline-start: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.nav-drop.open .nav-drop-menu,
.nav-drop:hover .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--txt-2);
  transition: 0.2s;
}
.nav-drop-item:hover {
  background: rgba(35, 185, 215, 0.12);
  color: var(--txt);
  transform: translateX(-3px);
}
.nav-drop-item img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
.nav-drop-item b {
  display: block;
  font-size: 13px;
  color: var(--txt);
  line-height: 1.6;
}
.nav-drop-item small {
  display: block;
  font-size: 10.5px;
  color: var(--txt-3);
  line-height: 1.5;
}
.nav-drop-item.current {
  opacity: 0.55;
  pointer-events: none;
}

/* ═══════════ بخش تغییرات ═══════════ */
.changelog-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cl-entry {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg2);
}
.cl-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: var(--txt);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.cl-header:hover {
  background: rgba(255, 255, 255, 0.04);
}
.cl-ver {
  background: linear-gradient(135deg, var(--turq), var(--turq-l));
  color: var(--bg);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.cl-date {
  color: var(--txt-3);
  font-size: 13px;
  margin-right: auto;
}
.cl-arrow {
  font-size: 12px;
  color: var(--txt-3);
  transition: transform 0.2s;
}
.cl-body {
  padding: 0 18px 16px;
}
.cl-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cl-body li {
  position: relative;
  padding-right: 20px;
  font-size: 14px;
  color: var(--txt-2);
  line-height: 1.8;
}
.cl-body li::before {
  content: "•";
  position: absolute;
  right: 0;
  color: var(--turq);
  font-weight: bold;
  font-size: 16px;
}
.cl-empty {
  text-align: center;
  color: var(--txt-3);
  padding: 32px 0;
  font-size: 14px;
}
