@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/vazirmatn.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
html {
  scrollbar-width: none;
  color-scheme: light;
}
html.dark {
  color-scheme: dark;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}
body {
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}
#scroll-neon {
  position: fixed;
  inset: 0 0 auto auto;
  height: 3px;
  width: 100%;
  z-index: 10000;
  transform: scaleX(0);
  transform-origin: right;
  background: linear-gradient(90deg, #d8b4fe, #c026d3, #8b5cf6);
  box-shadow:
    0 0 8px #a855f7,
    0 0 20px #9333ea;
  pointer-events: none;
}
.liquid-glass {
  transition:
    transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.85s ease,
    background-color 0.6s ease;
}
.liquid-glass-interactive:hover {
  transform: translateY(-3px);
}
#bg-3d-canvas {
  display: block !important;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}
#bg-3d-canvas[hidden] {
  display: none !important;
}
#academic-fallback {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  perspective: 1000px;
}
.floating-academic {
  position: absolute;
  width: clamp(70px, 9vw, 135px);
  height: auto;
  opacity: 0.23;
  filter: drop-shadow(8px 12px 12px #49198755);
  animation: academic-drift 16s ease-in-out infinite alternate;
  transform-style: preserve-3d;
}
.floating-academic:nth-child(2n) {
  animation-duration: 21s;
  animation-direction: alternate-reverse;
}
.floating-academic:nth-child(3n) {
  animation-delay: -8s;
}
@keyframes academic-drift {
  0% {
    transform: translate3d(0, -12px, 0) rotateX(12deg) rotateY(-18deg) rotate(-10deg);
  }
  100% {
    transform: translate3d(12px, 22px, 0) rotateX(-10deg) rotateY(18deg) rotate(12deg);
  }
}
.iphone-status {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0 6px;
  height: 35px;
  color: var(--text-primary);
  font-family: Arial, sans-serif;
}
.iphone-status time {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.dynamic-island {
  height: 30px;
  border-radius: 30px;
  background: #050505;
  position: relative;
  max-width: 120px;
  width: 100%;
  justify-self: center;
  box-shadow: inset 0 0 0 1px #ffffff0a;
}
.island-camera {
  position: absolute;
  right: 12px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #1b3151, #080a10 65%);
}
.status-symbols {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.status-symbols svg {
  width: 16px;
  height: 13px;
}
.status-symbols svg:last-child {
  width: 25px;
}
.about-mark {
  position: relative;
  isolation: isolate;
}
.about-mark::before {
  content: "";
  position: absolute;
  inset: -28px;
  background: radial-gradient(circle, #a855f74d, transparent 68%);
  z-index: -1;
  animation: about-breathe 5s ease-in-out infinite;
}
@keyframes about-breathe {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.85);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.12);
  }
}
.bazaar-logo-wrap {
  width: 108px;
  min-width: 108px;
  padding: 8px 4px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
}
.bazaar-logo {
  width: 100px;
  height: 48px;
  object-fit: contain;
}
.inactive-submit,
.inactive-submit:hover {
  padding: 14px 28px;
  border-radius: 16px;
  background: #d1d5db !important;
  color: #4b5563 !important;
  border: 1px solid #9ca3af;
  box-shadow: none !important;
  cursor: not-allowed;
  transform: none !important;
  font-size: 14px;
  font-weight: 700;
}
.dark .inactive-submit {
  background: #374151 !important;
  color: #cbd5e1 !important;
  border-color: #4b5563;
}
.inactive-notice {
  display: block;
  font-size: 12px;
  margin-top: 10px;
  color: var(--text-secondary);
}
form :disabled {
  cursor: not-allowed;
}
form input:disabled,
form textarea:disabled,
form select:disabled {
  opacity: 0.65;
}
.support-app-channel {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 24px 14px 16px;
  border: 1px solid #a855f75c;
  border-radius: 16px;
  background: #a855f70c;
}
.support-app-channel strong {
  display: block;
  font-size: 13px;
  line-height: 1.9;
}
.support-app-channel div > span {
  display: block;
  font-size: 11px;
  line-height: 1.9;
  opacity: 0.75;
}
.recommended-label {
  position: absolute;
  top: -9px;
  right: 14px;
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 10px;
  background: #7e22ce;
  color: white;
}
#custom-video-wrapper.portrait-player {
  aspect-ratio: 9/16;
  width: 100%;
  max-width: 380px;
  align-self: center;
  margin-inline: auto;
}
#teaser-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #0d061a;
}
#custom-video-wrapper:fullscreen {
  height: 100dvh;
  width: auto;
  max-width: 100%;
  aspect-ratio: 9/16;
  align-self: auto;
}
#video-state {
  position: absolute;
  top: 52%;
  inset-inline: 20px;
  text-align: center;
  font-size: 12px;
  line-height: 2;
  color: #e9d5ff;
  pointer-events: none;
}
.video-state[hidden] {
  display: none;
}
#video-center-play {
  width: 64px;
  height: 64px;
}
#custom-video-wrapper > .absolute.top-0 {
  padding: 14px 10px;
}
#custom-video-wrapper > .absolute.top-0 > span {
  display: none;
}
#custom-video-wrapper > .absolute.top-0 .text-xs {
  font-size: 11px;
}
#custom-video-wrapper > .absolute.bottom-3 {
  inset-inline: 8px;
  padding: 8px;
}
#custom-video-wrapper .sm\:gap-3 {
  gap: 3px;
}
#custom-video-wrapper .hidden.sm\:flex {
  gap: 3px;
}
#custom-video-wrapper #video-vol-slider {
  width: 36px;
}
#custom-video-wrapper button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.reviews-section {
  display: grid;
  gap: 24px;
}
.reviews-status {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.9;
  min-height: 24px;
}
.reviews-carousel {
  overflow: hidden;
  padding: 3px;
  border-radius: 24px;
  direction: rtl;
}
.reviews-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.reviews-track.is-shifting {
  opacity: 0;
  transform: translateX(20px);
}
.review-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--lg-border);
  background: var(--lg-bg);
  box-shadow: inset 0 1px 0 var(--lg-highlight);
  min-height: 215px;
}
.review-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.review-heading strong {
  font-size: 13px;
}
.review-stars {
  color: #fbbf24;
  letter-spacing: 2px;
  direction: ltr;
  font-size: 13px;
}
.review-card > p {
  font-size: 13px;
  line-height: 2;
  overflow-wrap: anywhere;
  flex: 1;
}
.review-card footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-muted);
  font-size: 10px;
}
.reviews-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.reviews-controls button {
  min-width: 44px;
  min-height: 44px;
  font-size: 12px;
  border: 1px solid var(--lg-border);
  border-radius: 12px;
  background: var(--lg-bg);
  padding: 8px 14px;
}
.reviews-controls button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.reviews-source {
  font-size: 12px;
  text-align: center;
  color: var(--accent-main);
}
.reviews-section.is-loading #reviews-refresh::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-inline-start: 8px;
  border: 2px solid #a855f740;
  border-top-color: #a855f7;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#app-loader {
  display: flex !important;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
#app-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-academic {
  width: 145px;
  height: 145px;
  animation: academic-drift 2.5s ease-in-out infinite alternate;
}
#section-loader {
  z-index: 10001;
}
#section-loader.active {
  display: flex;
}
#hero-3d-card {
  text-align: center;
}
@media (min-width: 1024px) {
  #mobile-menu-btn,
  #mobile-menu-panel {
    display: none !important;
  }
}
@media (max-width: 767px) {
  #hero-3d-card {
    animation: float 8s ease-in-out infinite;
  }
  #custom-video-wrapper button {
    min-height: 36px;
  }
  #custom-video-wrapper .hidden.sm\:flex {
    display: none;
  }
  #custom-video-wrapper > .absolute.bottom-3 {
    padding: 8px 10px;
  }
  .floating-academic {
    width: 90px;
    opacity: 0.19;
  }
  .reviews-track {
    gap: 7px;
  }
  .review-card {
    padding: 12px 8px;
    gap: 12px;
    min-height: 235px;
    border-radius: 16px;
  }
  .review-card > p {
    font-size: 11px;
    line-height: 1.9;
  }
  .review-heading {
    gap: 5px;
  }
  .review-heading strong {
    font-size: 10px;
  }
  .review-stars {
    font-size: 10px;
    letter-spacing: 0;
  }
  .review-card footer {
    font-size: 9px;
  }
  .reviews-section {
    margin-inline: -4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .floating-academic,
  .loader-academic,
  .about-mark::before,
  #hero-3d-card {
    animation: none !important;
  }
  .reviews-track {
    transition: none;
  }
  #bg-3d-canvas {
    opacity: 0.45;
  }
}
.reveal-card {
  opacity: 1;
  transform: none;
}
.reveal-section {
  transform: none;
}
.liquid-glass-nav {
  backdrop-filter: blur(4px) saturate(1.75);
}
.teaser-chapter-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.is-buffering #video-state::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto 10px;
  border: 2px solid #d8b4fe33;
  border-top-color: #d8b4fe;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
