/* ============================================================
   LEON SOLUTIONS — Mobile Restriction Block
   Ensures absolute desktop & tablet premium experience.
   Blocks interaction completely on mobile screens (max-width: 767px).
   ============================================================ */

/* The Mobile Overlay block is hidden by default on desktop/tablet */
.mobile-blocker-overlay {
  display: none !important;
}

@media (max-width: 767px) {
  /* Prevent scroll on the body when block is active */
  body, html {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Show the premium overlay */
  .mobile-blocker-overlay {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100svh !important;
    background-color: #050507 !important;
    background-image: 
      radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
      radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.03) 0%, transparent 60%) !important;
    z-index: 9999999 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3rem 2.4rem !important;
    box-sizing: border-box !important;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #ffffff !important;
    text-align: center !important;
  }

  /* Hide the rest of the website's HTML layers on mobile to prevent scrolling/interaction */
  body > *:not(.mobile-blocker-overlay):not(.video-bg) {
    display: none !important;
  }

  .mobile-blocker-container {
    max-width: 320px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    animation: blockerFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both !important;
  }

  .mobile-blocker-logo {
    height: 4.8rem !important;
    width: auto !important;
    margin-bottom: 4rem !important;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1)) !important;
  }

  /* Badge status */
  .mobile-blocker-status {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0.8rem 1.6rem !important;
    border-radius: 10rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-transform: uppercase !important;
    margin-bottom: 2.4rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  }

  .mobile-blocker-status::before {
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    background-color: #ff3b30 !important; /* Premium red status light */
    border-radius: 50% !important;
    box-shadow: 0 0 8px #ff3b30 !important;
    animation: blockerPulse 2s infinite !important;
  }

  .mobile-blocker-title {
    font-family: "Montserrat", sans-serif !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.3 !important;
    margin-bottom: 1.6rem !important;
    text-transform: uppercase !important;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }

  .mobile-blocker-desc {
    font-size: 1.3rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 4rem !important;
  }

  /* Custom divider with glowing line */
  .mobile-blocker-divider {
    width: 60px !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    margin-bottom: 3rem !important;
  }

  .mobile-blocker-footer {
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
    color: rgba(255, 255, 255, 0.3) !important;
    text-transform: uppercase !important;
  }

  @keyframes blockerPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
  }

  @keyframes blockerFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
