* {
  font-family: 'Vazirmatn', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #03040b;
  color: #f8fafc;
  overflow-x: hidden;
}

/* بوم سه‌بعدی پس‌زمینه */
#starfield-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.content-wrapper {
  position: relative;
  z-index: 10;
}

/* افکت شیشه‌ای فضایی */
.glass-panel {
  background: rgba(14, 21, 48, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* کارت‌های سه‌بعدی حساس به حرکت ماوس */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.tilt-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 25px 60px -15px rgba(79, 70, 229, 0.35);
}

.tilt-card-inner {
  transform: translateZ(30px);
}

/* درخشش متن شعار */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 45%, #38bdf8 80%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), rgba(168, 85, 247, 0.6), transparent);
}

/* کانتینر گوی سه‌بعدی هیرو (بهینه برای موبایل و دسکتاپ) */
#planet-container {
  width: 100%;
  height: 300px;
  position: relative;
  cursor: grab;
  touch-action: pan-y;
}

@media (min-width: 640px) {
  #planet-container {
    height: 400px;
  }
}

#planet-container:active {
  cursor: grabbing;
}

/* اسکرول‌بار سفارشی */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #03040b;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4f46e5;
}
