/* styles.css */
:root {
  --primary: #8b5cf6;
  --primary-light: #8b66dc;
  --primary-dark: #6f21af;
  --secondary: #c4b5fd;
  --background: #111827;
  --foreground: #ffffff;
  --neutral: #a1a1aa;
  --gray: rgba(255, 255, 255, 0.5);
  --light-gray: #cecfd3;
  --dark-gray: #313131;
}

@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazir.eot");
  /* IE9 Compat Modes */
  src: url("../fonts/Vazir.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Vazir.woff2") format("woff2"),
    url("../fonts/Vazir.woff") format("woff"),
    url("../fonts/Vazir.ttf") format("truetype");
  /* Safari, Android, iOS */
}

/* Utils */

/* Text Color */
.text-gray {
  color: var(--gray);
}
.text-light-gray {
  color: var(--light-gray);
}

/* Font Size */
.fs-7 {
  font-size: 0.9rem;
}
.fs-8 {
  font-size: 0.8rem;
}

/* Glassmorphism - شیشه‌ای */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  color: var(--foreground);
  padding: 1.5rem;
  border: 1px solid var(--secondary);
}

/* Glow Effect */
.glow {
  box-shadow: 0 0 15px var(--primary), 0 0 30px var(--primary);
  transition: all 0.3s ease;
}
.glow:hover {
  box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary),
    0 0 60px var(--primary);
  transform: translateY(-2px);
}

/* Radial Gradient Background */
.bg-radial {
  background: radial-gradient(
    circle at center,
    rgba(111, 33, 175, 0.5) 0%,
    rgba(111, 33, 175, 0.1) 50%,
    var(--background) 100%
  );
}

/* Main */

html {
  background-color: #fff;
}
body {
  font-family: "Vazir" !important;
  background-color: var(--background);
  color: var(--foreground);
  max-width: 500px;
  height: auto;
  margin: 0 auto;
}

/* Sections */

.head-menu {
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 15px;
  border-radius: 30px;
}
#chatLinkSection {
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    to bottom,
    rgba(161, 161, 170, 0.2),
    rgba(17, 24, 39, 1)
  );
}
.trendy-cards-wrapper {
  flex-wrap: nowrap;
  overflow-x: scroll;
  scrollbar-width: none;
}
.trendy-cards-wrapper::-webkit-scrollbar {
  display: none;
}
.trendy-card {
  position: relative;
  border: 2px solid var(--dark-gray);
  width: 170px;
  aspect-ratio: 0.78;
  border-radius: 20px;
  overflow: hidden;
}
.trendy-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.trendy-card .text {
  width: 100%;
  padding: 1rem;
  padding-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.001)
  );
}
#downloadLinks img {
  object-fit: contain;
}

/* Bootstrap Overwrite */

.border-primary {
  border-color: rgba(196, 181, 253, 0.5) !important;
}

/* Buttons */
.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary-light);
  box-shadow: none !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Accordion */
.accordion-item {
  background-color: var(--background);
  border: none !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
  padding: 2.5rem 0.25rem;
}
.accordion-item:last-child {
  border-bottom: none !important;
}
.accordion-button {
  font-size: 1.1rem;
  background-color: var(--background) !important;
  color: var(--foreground) !important;
  box-shadow: none !important;
  padding: 0;
}
.accordion-button::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  flex-shrink: unset;
  width: unset;
  height: unset;
}
.accordion-body {
  color: var(--gray);
  text-align: justify;
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
}

/* carousel */
.carousel-indicators [data-bs-target] {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin: 0 2px;
}
.carousel-indicators {
  margin: 0.25rem auto;
}
/* Fix carousel swipe animation in RTL */
[dir="rtl"] .carousel-item-next:not(.carousel-item-start),
[dir="rtl"] .active.carousel-item-end {
  transform: translateX(-100%);
}

[dir="rtl"] .carousel-item-prev:not(.carousel-item-end),
[dir="rtl"] .active.carousel-item-start {
  transform: translateX(100%);
}

