/* ==========================================================================
   تسویه | مودال اعلان صفحه اصلی (announce.css)
   این فایل جداست چون صفحه فرود (landing) استایل پنل را بارگذاری نمی‌کند.
   ========================================================================== */
/* مودال اعلان در صفحه اصلی — طراحی گرافیکی v1.2 */
.ann-modal-backdrop {
  position: fixed; inset: 0; z-index: 6000; display: none;
  align-items: center; justify-content: center; padding: 18px;
  background: rgba(17,24,39,.6); backdrop-filter: blur(4px);
  font-family: 'Vazirmatn',Tahoma,sans-serif; direction: rtl;
}
.ann-modal-backdrop.show { display: flex; }
.ann-modal {
  position: relative; background: #fff; border-radius: 24px; width: 100%; max-width: 480px;
  padding: 0 0 24px; text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(0,0,0,.04);
  animation: annModalIn .42s cubic-bezier(.34,1.4,.64,1);
  max-height: 88vh; overflow-y: auto; overflow-x: hidden;
}
@keyframes annModalIn { from { opacity: 0; transform: scale(.88) translateY(28px); } to { opacity: 1; transform: none; } }
/* نوار گرافیکی بالای مودال */
.ann-modal::before {
  content: ''; display: block; height: 96px; position: relative;
  background: var(--ann-color, #FF6B1A);
  background:
    radial-gradient(140px 60px at 18% 20%, rgba(255,255,255,.35), transparent 70%),
    radial-gradient(160px 80px at 85% 90%, rgba(255,255,255,.22), transparent 70%),
    linear-gradient(135deg, var(--ann-color, #FF6B1A), color-mix(in srgb, var(--ann-color, #FF6B1A) 65%, #7C2D12));
  border-radius: 24px 24px 42% 42% / 24px 24px 26px 26px;
}
.ann-modal-x {
  position: absolute; top: 12px; inset-inline-end: 14px; z-index: 2;
  width: 30px; height: 30px; border-radius: 10px; border: 0;
  background: rgba(255,255,255,.22); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: .2s;
}
.ann-modal-x:hover { background: rgba(255,255,255,.4); transform: rotate(90deg); }
.ann-modal-ico {
  font-size: 34px; width: 74px; height: 74px; border-radius: 24px; margin: -46px auto 10px; position: relative;
  background: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.14), 0 0 0 5px color-mix(in srgb, var(--ann-color, #FF6B1A) 14%, transparent);
  animation: annIcoFloat 3.4s ease-in-out infinite;
}
@keyframes annIcoFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.ann-modal-tag {
  display: inline-block; font-size: 11px; font-weight: 800; padding: 4px 16px;
  border-radius: 20px; color: #fff; margin-bottom: 10px; letter-spacing: .3px;
  background: var(--ann-color, #FF6B1A);
  background: linear-gradient(135deg, var(--ann-color, #FF6B1A), color-mix(in srgb, var(--ann-color, #FF6B1A) 72%, #000));
  box-shadow: 0 3px 10px color-mix(in srgb, var(--ann-color, #FF6B1A) 36%, transparent);
}
.ann-modal h3 { font-size: 18.5px; margin: 0 0 10px; color: #1F2937; line-height: 1.7; padding: 0 22px; }
.ann-modal-body { font-size: 13.6px; line-height: 2.15; color: #4B5563; text-align: right; padding: 0 26px; }
.ann-modal-foot { display: flex; gap: 10px; margin-top: 22px; justify-content: center; flex-wrap: wrap; padding: 0 22px; }
.ann-modal-btn {
  padding: 12px 30px; border-radius: 13px; color: #fff !important; font-weight: 800; font-size: 13.8px;
  background: var(--ann-color, #FF6B1A);
  background: linear-gradient(135deg, var(--ann-color, #FF6B1A), color-mix(in srgb, var(--ann-color, #FF6B1A) 72%, #000));
  box-shadow: 0 6px 18px color-mix(in srgb, var(--ann-color, #FF6B1A) 40%, transparent);
  transition: .2s;
}
.ann-modal-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--ann-color, #FF6B1A) 50%, transparent); }
.ann-modal-later {
  padding: 12px 22px; border-radius: 13px; background: #F3F4F6; border: 1px solid #E5E7EB;
  color: #4B5563; font-family: inherit; font-weight: 600; font-size: 13px; cursor: pointer; transition: .2s;
}
.ann-modal-later:hover { background: #E5E7EB; }

