:root {
  --bg: #f6f8fc;
  --surface: #fff;
  --surface-2: #f9faff;
  --text: #172033;
  --muted: #7a8397;
  --border: #e7eaf2;
  --primary: #6357ed;
  --primary-2: #4d42dc;
  --shadow: 0 10px 35px rgba(33, 42, 72, .07);
}

[data-theme="dark"] {
  --bg: #090d18;
  --surface: #101625;
  --surface-2: #151c2c;
  --text: #f4f6ff;
  --muted: #9ca6bb;
  --border: #252e42;
  --primary: #7a6cff;
  --primary-2: #6657ec;
  --shadow: 0 12px 35px rgba(0, 0, 0, .25);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.7;
  transition: .25s
}

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

button,
input {
  font: inherit
}

.container {
  width: min(1280px, calc(100% - 32px));
  margin: auto
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border)
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 20px
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap
}

.logo span {
  color: var(--text)
}

.logo b {
  font-size: 22px
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: auto
}

.main-nav a {
  font-size: 13px;
  color: var(--muted);
  transition: .2s
}

.main-nav a:hover,
.main-nav .active {
  color: var(--primary)
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px
}

.search {
  width: 240px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted)
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  cursor: pointer
}

.login-btn {
  border: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 11px;
  padding: 10px 17px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(99, 87, 237, .2)
}

.primary-btn {
  width: max-content;
  border: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 11px;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(99, 87, 237, .2);
  font-size: 14px;
}

.login-btn {
  font-size: 12px
}

.mobile-menu {
  display: none
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  margin-top: 24px
}

.hero-card {
  position: relative;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #dfe7ff, #f8f9ff);
  box-shadow: var(--shadow)
}

[data-theme="dark"] .hero-card {
  background: linear-gradient(135deg, #151d3a, #101624)
}

.hero-image {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center
}

.fake-phone {
  font-size: 90px;
  font-weight: 800;
  line-height: .7;
  color: rgba(99, 87, 237, .28);
  transform: rotate(-10deg);
  text-align: center
}

.fake-phone small {
  font-size: 180px
}

.hero-overlay {
  position: absolute;
  inset: 0;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(0deg, rgba(10, 15, 30, .78), transparent 70%)
}

.hero-overlay h1 {
  max-width: 760px;
  color: white;
  font-size: 28px;
  line-height: 1.45;
  margin: 8px 0 8px
}

.hero-overlay p {
  color: #e7eaff;
  max-width: 700px;
  font-size: 13px;
  margin: 0 0 14px
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--primary);
  color: #fff;
  border-radius: 7px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
}

.meta {
  display: flex;
  gap: 20px;
  color: #d8dcef;
  font-size: 11px;
  margin-bottom: 12px
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.story-card {
  position: relative;
  min-height: 203px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 0 17px 14px;
  box-shadow: var(--shadow)
}

.story-img,
.thumb,
.news-thumb,
.video-img,
.product {
  background: linear-gradient(135deg, #d8ddf9, #8c8be9)
}

.story-img {
  height: 120px;
  margin: 0 -17px 10px
}

.story-card .badge {
  position: absolute;
  top: 90px;
  right: 10px
}

.story-card h3 {
  font-size: 14px;
  line-height: 1.7;
  margin: 5px 0 2px
}

.story-card small {
  font-size: 10px;
  color: var(--muted)
}

.laptop {
  background: linear-gradient(135deg, #cbdcff, #6878b7)
}

.earbuds {
  background: linear-gradient(135deg, #e8dfd7, #8d9aa5)
}

.ai {
  background: radial-gradient(circle, #8a65ff, #111c48)
}

.camera {
  background: linear-gradient(135deg, #b9bec7, #343c48)
}

.topics-categories {
  gap: 8px;
  display: flex;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}

.trending,
.categories {
  margin-top: 16px;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: var(--shadow)
}

.trending {
  display: flex;
  align-items: center;
  gap: 22px
}

.section-title {
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.chips a {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface-2);
  font-size: 11px;
  color: var(--muted)
}

.categories {
  display: flex;
  justify-content: space-around
}

.categories a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  min-width: 75px
}

.categories b {
  font-size: 20px;
  color: var(--primary)
}

.content-grid {
  display: grid;
  grid-template-columns: .9fr 1.3fr .9fr;
  gap: 16px;
  margin-top: 16px
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 18px;
  box-shadow: var(--shadow)
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 8px
}

.panel-head h2 {
  font-size: 16px;
  margin: 0
}

.panel-head a {
  font-size: 10px;
  color: var(--primary)
}

.rank-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border)
}

.rank-list article:last-child {
  border: 0
}

.rank-list strong {
  color: var(--primary);
  font-size: 12px
}

.thumb,
.news-thumb {
  height: 42px;
  border-radius: 8px
}

.rank-list p {
  font-size: 11px;
  margin: 0;
  line-height: 1.6
}

.news-list article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border)
}

.news-list article:last-child {
  border: 0
}

.news-list h3 {
  font-size: 12px;
  margin: 0 0 3px
}

.news-list small,
.video-main small {
  font-size: 9px;
  color: var(--muted)
}

.news-thumb {
  width: 75px;
  flex: none
}

.videos .video-main {
  margin-bottom: 12px
}

.video-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden
}

.video-main .video-img {
  height: 165px
}

.video-img span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 32px;
  text-shadow: 0 2px 10px #000
}

.video-main h3 {
  font-size: 13px;
  margin: 7px 0 0
}

.video-mini-list article {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 9px;
  align-items: center;
  margin: 8px 0
}

.video-mini-list .video-img {
  height: 48px
}

.video-mini-list .video-img span {
  font-size: 18px
}

.video-mini-list p {
  font-size: 10px;
  margin: 0
}

.lower-grid {
  display: grid;
  grid-template-columns: 1.25fr .9fr 1fr;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 35px
}

.newsletter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface), #eef0ff)
}

.eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800
}

.newsletter h2 {
  font-size: 18px;
  margin: 5px 0
}

.newsletter input::placeholder {
  font-size: 12px;
  color: var(--muted);
}

.newsletter p {
  font-size: 11px;
  color: var(--muted)
}

.newsletter form {
  display: flex;
  gap: 8px;
  margin-top: 10px
}

.newsletter input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  outline: 0
}

.compare-items {
  display: flex;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  gap: 10px
}

.product {
  width: 105px;
  height: 80px;
  border-radius: 12px;
  margin: auto auto 7px
}

.compare-items span {
  display: block;
  font-size: 9px;
  color: var(--muted);
  max-width: 120px
}

.compare-items>b {
  background: var(--surface-2);
  padding: 7px;
  border-radius: 50%;
  font-size: 11px
}

.wide {
  width: 100%;
  margin-top: 14px;
  font-size: 12px;
  color: var(--primary-2);
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.tool-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px
}

.tool-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 5px;
  color: var(--primary);
  font-size: 28px
}

.tool-list span {
  font-size: 9px;
  color: var(--muted);
  text-align: center
}

/* =========================================
FOOTER - TAKNEMA
========================================= */

.footer {
  margin-top: 55px;
  padding: 55px 0 22px;

  background: var(--surface);

  border-top: 1px solid var(--border);
}

/* =========================================
MAIN
========================================= */

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 55px;

  padding-bottom: 42px;
}

/* =========================================
BRAND
========================================= */

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;

  margin-bottom: 14px;

  color: var(--text);

  font-size: 27px;
  font-weight: 950;

  text-decoration: none;
}

.footer-logo span {
  color: var(--primary);
}

.footer-logo b {
  margin-right: 5px;

  color: var(--primary);

  font-size: 18px;

  transform: rotate(15deg);
}

.footer-description {
  max-width: 360px;

  margin: 0;

  color: var(--muted);

  font-size: 13px;
  line-height: 2.2;
}

/* =========================================
SOCIALS
========================================= */

.footer-socials {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-top: 22px;
}

.footer-socials a {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  margin: 0 !important;

  border: 1px solid var(--border);
  border-radius: 11px;

  background: var(--card);

  color: var(--muted);

  font-size: 16px !important;
  font-weight: 700;

  text-decoration: none;

  transition:
    .25s ease;
}

.footer-socials a:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);

  transform: translateY(-4px);
}

/* =========================================
COLUMNS
========================================= */

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h4 {
  position: relative;

  margin: 3px 0 18px;

  color: var(--text);

  font-size: 15px;
  font-weight: 900;
}

.footer-column h4::after {
  content: "";

  display: block;

  width: 24px;
  height: 3px;

  margin-top: 8px;

  border-radius: 5px;

  background: var(--primary);
}

.footer-column a {
  width: max-content;

  margin: 7px 0 !important;

  color: var(--muted);

  font-size: 12px !important;
  line-height: 1.8;

  text-decoration: none;

  transition:
    color .2s ease,
    transform .2s ease;
}

.footer-column a:hover {
  color: var(--primary);

  transform: translateX(-5px);
}

/* =========================================
BOTTOM
========================================= */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding-top: 20px;

  border-top: 1px solid var(--border);
}

.footer-bottom small {
  margin: 0 !important;

  color: var(--muted);

  font-size: 11px !important;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-bottom-links a {
  margin: 0 !important;

  color: var(--muted);

  font-size: 10px !important;

  text-decoration: none;

  transition: color .2s ease;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* =========================================
DARK MODE
========================================= */

[data-theme="dark"] .footer {
  background: var(--surface);
}

[data-theme="dark"] .footer-socials a {
  background: var(--card);
}

.socials {
  display: flex;
  gap: 7px
}

.socials a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--primary)
}

/* =========================================
   HERO SLIDER
   فقط برای همان hero-card
========================================= */

.hero-slider {
  position: relative;
  overflow: hidden;
}

/* محفظه اسلایدها */
.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* هر اسلاید */
.hero-slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.6s ease,
    transform 0.7s ease;

  transform: scale(1.02);
}

/* اسلاید فعال */
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* تصویر اسلاید */
.hero-slide .hero-image {
  transition: transform 5s ease;
}

.hero-slide.active .hero-image {
  transform: scale(1.04);
}


/* =========================================
   دکمه قبلی / بعدی
========================================= */

.hero-slider-arrow {
  position: absolute;

  top: 47%;

  width: 40px;
  height: 40px;

  transform: translateY(-50%);

  z-index: 10;

  border: 1px solid rgba(255, 255, 255, 0.25);

  border-radius: 50%;

  background: rgba(10, 15, 30, 0.45);

  color: #fff;

  font-size: 28px;

  line-height: 1;

  cursor: pointer;

  backdrop-filter: blur(8px);

  transition: all 0.25s ease;
}

.hero-slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* چون سایت RTL است */
.hero-slider-prev {
  right: 15px;
}

.hero-slider-next {
  left: 15px;
}


/* =========================================
   نقطه‌های پایین اسلایدر
========================================= */

.hero-slider-dots {
  position: absolute;

  z-index: 10;

  bottom: 15px;

  left: 50%;

  transform: translateX(-50%);

  display: flex;

  align-items: center;

  gap: 7px;

  padding: 6px 9px;

  border-radius: 30px;

  background: rgba(10, 15, 30, 0.35);

  backdrop-filter: blur(8px);
}

.hero-dot {
  width: 7px;
  height: 7px;

  padding: 0;

  border: 0;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.55);

  cursor: pointer;

  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 24px;

  border-radius: 10px;

  background: #fff;
}


/* =========================================
   ظاهر اسلایدهای نمونه
========================================= */

.slider-laptop {
  background:
    linear-gradient(135deg,
      #dce5ff,
      #6878b7);
}

.slider-device {
  width: 55%;
  height: 42%;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 14px 14px 5px 5px;

  border: 9px solid #30384f;

  background:
    linear-gradient(135deg,
      #c4d3ff,
      #6575d6);

  color: #fff;

  font-size: 70px;

  font-weight: 800;

  box-shadow:
    0 25px 55px rgba(20, 30, 70, 0.3);

  transform:
    perspective(700px) rotateY(-15deg);
}


.slider-ai {
  background:
    radial-gradient(circle at 60% 40%,
      #8d6aff 0%,
      #313778 40%,
      #11182d 80%);
}

.ai-circle {
  width: 175px;
  height: 175px;

  border-radius: 50%;

  display: flex;

  align-items: center;
  justify-content: center;

  color: #fff;

  font-size: 60px;

  font-weight: 800;

  background:
    radial-gradient(circle,
      #c7b9ff,
      #6357ed 48%,
      #29245f);

  box-shadow:
    0 0 80px rgba(99, 87, 237, 0.7);
}

.mobile-nav {
  display: none;
}

.header {
  position: relative;
  z-index: 1000;
}


@media(max-width:1050px) {
  .main-nav {
    display: none
  }

  .search {
    width: 190px
  }

  .hero-grid {
    grid-template-columns: 1fr
  }

  .content-grid {
    grid-template-columns: 1fr 1fr
  }

  .videos {
    grid-column: 1/-1
  }

  .lower-grid {
    grid-template-columns: 1fr 1fr
  }

  .newsletter {
    grid-column: 1/-1
  }
}

@media(max-width:700px) {
  .container {
    width: min(100% - 20px, 520px)
  }

  .site-header {
    position: sticky
  }

  .header-inner {
    min-height: 64px;
    gap: 8px
  }

  .mobile-menu {
    display: block
  }

  .logo {
    font-size: 22px;
    margin-left: auto
  }

  .header-actions {
    order: 3
  }

  .header-actions .login-btn {
    display: none
  }

  .header-actions .search {
    display: none
  }


  .header-inner>.icon-btn {
    order: 4
  }

  .hero-grid {
    margin-top: 12px
  }

  .hero-card {
    min-height: 330px
  }

  .hero-overlay {
    padding: 20px
  }

  .hero-overlay h1 {
    font-size: 19px
  }

  .hero-overlay p {
    font-size: 10px
  }

  .featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px
  }

  .story-card {
    min-height: 170px;
    padding: 0 10px 10px
  }

  .story-img {
    height: 90px;
    margin: 0 -10px 7px
  }

  .story-card .badge {
    top: 65px
  }

  .story-card h3 {
    font-size: 11px
  }

  .trending {
    display: none
  }

  .section-title {
    margin-bottom: 9px
  }

  .topics-categories {
    grid-template-columns: 1fr;
  }

  .categories {
    display: flex;
    justify-content: flex-start;
    gap: 4px;

    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    white-space: nowrap;

    padding: 8px 4px;

    /* بدون نوار اسکرول */
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-top: 0 !important;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .categories::-webkit-scrollbar {
    display: none;
  }

  .categories a {
    flex: 0 0 auto;
    min-width: 50px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 3px;

    font-size: 9px;
    white-space: nowrap;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
  }

  .categories b {
    font-size: 16px;
  }

  .categories a span {
    font-size: 9px;
    white-space: nowrap;
  }

  main {
    display: flex;
    flex-direction: column;
  }

  /* دسته‌بندی بیاد بالای Hero فقط در موبایل */
  .topics-categories {
    order: -1;
    margin-top: 0 !important;
    width: 100%;
  }

  .hero-grid {
    order: 0;
  }

  .content-grid,
  .lower-grid {
    order: 1;
  }

  .content-grid,
  .lower-grid {
    grid-template-columns: 1fr
  }

  .videos,
  .newsletter {
    grid-column: auto
  }

  .panel {
    padding: 14px
  }

  .tool-list {
    grid-template-columns: repeat(3, 1fr)
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-grid>div:first-child {
    grid-column: 1/-1
  }

  .hero-slider {
    min-height: 250px;
  }

  .hero-slider-arrow {
    width: 32px;
    height: 32px;

    font-size: 23px;
  }

  .hero-slider-prev {
    right: 9px;
  }

  .hero-slider-next {
    left: 9px;
  }

  .hero-slider-dots {
    bottom: 10px;
  }

  .hero-content {
    padding: 20px;
  }

  .slider-device {
    width: 60%;
    height: 35%;

    font-size: 42px;
  }

  .ai-circle {
    width: 110px;
    height: 110px;

    font-size: 40px;
  }

  .footer {
    margin-top: 35px;
    padding: 38px 0 18px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
    padding-bottom: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-logo {
    font-size: 24px;
  }

  .footer-description {
    font-size: 12px;
  }

  .footer-column h4 {
    font-size: 13px;
  }

  .footer-column a {
    font-size: 11px !important;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-bottom-links {
    gap: 15px;
  }

  .mobile-nav {
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    z-index: 999;

    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    box-shadow: 0 14px 35px rgba(0, 0, 0, .10);

    /* حالت بسته */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-18px);

    transition:
      opacity .28s ease,
      transform .35s cubic-bezier(.22, 1, .36, 1),
      visibility .35s ease;
  }

  /* حالت باز */
  .mobile-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-nav-inner {
    padding: 12px 16px 18px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;

    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .mobile-nav-inner a {
    position: relative;

    display: flex;
    align-items: center;
    gap: 11px;

    min-height: 48px;
    padding: 0 13px;

    border: 1px solid var(--border);
    border-radius: 13px;

    background: var(--card);
    color: var(--text);

    text-decoration: none;

    opacity: 0;
    transform: translateY(-10px);

    transition:
      opacity .25s ease,
      transform .3s ease,
      background .2s ease,
      border-color .2s ease;
  }

  /* انیمیشن آیتم‌ها بعد از باز شدن */
  .mobile-nav.open .mobile-nav-inner a {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-nav.open .mobile-nav-inner a:nth-child(1) {
    transition-delay: .04s;
  }

  .mobile-nav.open .mobile-nav-inner a:nth-child(2) {
    transition-delay: .07s;
  }

  .mobile-nav.open .mobile-nav-inner a:nth-child(3) {
    transition-delay: .10s;
  }

  .mobile-nav.open .mobile-nav-inner a:nth-child(4) {
    transition-delay: .13s;
  }

  .mobile-nav.open .mobile-nav-inner a:nth-child(5) {
    transition-delay: .16s;
  }

  .mobile-nav.open .mobile-nav-inner a:nth-child(6) {
    transition-delay: .19s;
  }

  .mobile-nav.open .mobile-nav-inner a:nth-child(7) {
    transition-delay: .22s;
  }

  .mobile-nav.open .mobile-nav-inner a:nth-child(8) {
    transition-delay: .25s;
  }

  .mobile-nav.open .mobile-nav-inner a:nth-child(10) {
    transition-delay: .28s;
  }

  .mobile-nav.open .mobile-nav-inner a:nth-child(11) {
    transition-delay: .31s;
  }

  .mobile-nav-inner a:hover {
    background: var(--surface);
    border-color: var(--primary);
  }

  .mobile-nav-inner a span {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: rgba(0, 0, 0, .04);
    color: var(--primary);

    font-size: 15px;
  }

  .mobile-nav-inner a strong {
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-nav-divider {
    grid-column: 1 / -1;
    height: 1px;
    margin: 4px 0;

    background: var(--border);
  }

  /* دکمه همبرگری */
  .mobile-menu {
    position: relative;
    z-index: 1001;

    transition:
      transform .25s ease,
      background .2s ease;
  }

  .mobile-menu.active {
    transform: rotate(90deg);
  }

  /* دارک مود */
  [data-theme="dark"] .mobile-nav {
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  }

  [data-theme="dark"] .mobile-nav-inner a span {
    background: rgba(255, 255, 255, .05);
  }
}