/* ========================================================
   MotionFly Authentic Design Tokens & Typography
   Derived directly from production MotionFly.site
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-sans: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --app-bg: #050816;
  --app-page-bg: #050816;
  --app-surface: #0b1120;
  --app-border: rgba(255, 255, 255, 0.1);
  --app-text: #f8fafc;
  --app-muted: #94a3b8;
}

html, body {
  font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  background-color: #050816 !important;
  color: #f8fafc !important;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Desktop Navbar menu display */
.desktop-nav-links {
  display: none;
}
@media (min-width: 992px) {
  .desktop-nav-links {
    display: flex !important;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #050816;
}
::-webkit-scrollbar-thumb {
  background: #ea580c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f97316;
}

/* Signature MotionFly Primary Gradient Button */
.app-button-primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.35) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.app-button-primary:hover {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #ea580c 100%) !important;
  box-shadow: 0 6px 28px rgba(234, 88, 12, 0.5) !important;
  transform: translateY(-1px);
}

/* Modal Overlay & Dialog */
.modal-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.modal-overlay-backdrop.active {
  display: flex !important;
}

.modal-window-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #090d1f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

.modal-dismiss-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.modal-dismiss-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.modal-timer-wheel {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid rgba(249, 115, 22, 0.25);
  border-top-color: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  color: #f97316;
  margin: 0 auto 1.5rem auto;
  animation: spinSlow 3s linear infinite;
}

@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.modal-status-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.modal-desc-sub {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-ready-link {
  display: none;
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}
.modal-ready-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.modal-lifetime-upsell-bar {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.775rem;
  color: #64748b;
}
.modal-lifetime-upsell-bar a {
  color: #f97316;
  font-weight: 700;
  text-decoration: none;
}
.modal-lifetime-upsell-bar a:hover {
  text-decoration: underline;
}

/* Ad Placement Boxes */
.ad-slot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem;
  margin: 1.5rem 0;
  min-height: 100px;
  position: relative;
}
.ad-slot-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 0.5rem;
}
