/* ============================================================
   ARIO — 10 MODALS
   Coming Soon Modal · Login Required Modal
   ============================================================ */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: scale(.9) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes titleShine { to { background-position: 200% center; } }
@keyframes borderShine {
  0%   { background-position:   0% 50%; }
  100% { background-position: 300% 50%; }
}
@keyframes statIconFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-5px) scale(1.05); }
}
@keyframes bounceIcon {
  0%, 100% { transform: translateY(0) rotate(-5deg) scale(1); }
  50%      { transform: translateY(-14px) rotate(5deg) scale(1.08); }
}

/* ============================================================
   Coming Soon Modal
   ============================================================ */
.coming-soon-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 1rem;
  animation: fadeIn .25s ease;
}
.coming-soon-modal.active { display: flex; }

.coming-soon-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem 2.5rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.4);
  animation: modalIn .4s cubic-bezier(.4,0,.2,1);
}
.coming-soon-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #FFD700, #10b981, #06b6d4, #ec4899);
  background-size: 300% 100%;
  animation: borderShine 4s linear infinite;
}
.coming-soon-icon {
  font-size: 4.5rem;
  margin-bottom: 1.2rem;
  display: inline-block;
  animation: bounceIcon 2s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(139, 92, 246, .4));
}
.coming-soon-title {
  font-size: 1.9rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ec4899, #8b5cf6 50%, #f59e0b);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShine 3s linear infinite;
  letter-spacing: -.02em;
}
.coming-soon-text {
  color: #475569;
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 2rem;
  font-weight: 500;
}
.coming-soon-text b {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.coming-soon-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, .08);
  color: #475569;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.coming-soon-close:hover {
  background: rgba(15, 23, 42, .15);
  transform: rotate(90deg);
}

/* ============================================================
   Login Required Modal
   ============================================================ */
.login-required-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 4, 15, .78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 1rem;
  animation: fadeIn .25s ease;
}
.login-required-modal.active { display: flex; }

.login-required-card {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  border-radius: var(--radius-xl);
  padding: 2.4rem 2rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .45), 0 0 0 1.5px rgba(59, 130, 246, .25);
  animation: modalIn .4s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}

/* ✅ خط افکت رنگی بالای مودال «ورود لازم است» حذف شد */
.login-required-card::before {
  display: none !important;
  content: none !important;
}

.login-required-close {
  position: absolute;
  top: .9rem; right: .9rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, .07);
  color: #475569;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.login-required-close:hover {
  background: rgba(239, 68, 68, .16);
  color: #dc2626;
  transform: rotate(90deg);
}

.login-required-icon {
  width: 72px; height: 72px;
  margin: 0 auto 1.1rem;
  border-radius: 22px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #3b82f6, #7c3aed, #ec4899);
  color: #fff;
  box-shadow: 0 14px 34px rgba(59, 130, 246, .4);
  animation: statIconFloat 4s ease-in-out infinite;
}
.login-required-icon svg { width: 32px; height: 32px; }

.login-required-title {
  font-family: var(--font-fa);
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: .55rem;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed 55%, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.01em;
}
.login-required-text {
  font-family: var(--font-fa);
  font-size: .92rem;
  line-height: 1.95;
  color: #475569;
  font-weight: 500;
  margin: 0 0 1.6rem;
}
.login-required-actions {
  display: flex;
  gap: .6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.login-required-actions .btn { flex: 1; min-width: 130px; }