    /* --- CSS STYLES --- */

    /* Trigger button styling */
    .open-popup-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 24px;
      margin: 20px;
      border-radius: 999px;
      border: none;
      background: linear-gradient(135deg, var(--web-primary), var(--web-primary)) !important;
      color: #fff;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
      transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    }

    .open-popup-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
      opacity: 0.95;
    }

    /* Overlay - The dark background */
    .popup-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.55);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease;
    }

    /* Active state for overlay */
    .popup-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    /* Popup Content Container */
    .popup-content {
      position: relative;
      width: 95%;
      max-width: 640px;
      max-height: 90vh;
      background: #ffffff;
      border-radius: 18px;
      box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
      overflow: hidden;
      transform: translateY(10px) scale(0.97);
      opacity: 0;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    /* Active state for content animation */
    .popup-overlay.active .popup-content {
      transform: translateY(0) scale(1);
      opacity: 1;
    }

    /* Header */
    .popup-header {
      padding: 16px 20px;
      border-bottom: 1px solid rgba(148, 163, 184, 0.35);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      background: linear-gradient(135deg, #0f172a, #1e293b);
      color: #e5e7eb;
    }

    .popup-title {
      font-size: 16px;
      font-weight: 600;
    }

    .popup-subtitle {
      font-size: 12px;
      opacity: 0.8;
    }

    /* Close Button (X) */
    .popup-close {
      border: none;
      background: rgba(15, 23, 42, 0.45);
      color: #e5e7eb;
      width: 32px;
      height: 32px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      cursor: pointer;
      transition: background 0.15s ease, transform 0.1s ease;
    }

    .popup-close:hover {
      background: rgba(15, 23, 42, 0.75);
      transform: scale(1.03);
    }

    /* Body area containing iframe */
    .popup-body {
      padding: 0;
      padding-bottom: 70px !important;
      background: #020617;
    }

    /* iframe wrapper to handle responsive height */
    .popup-iframe-wrapper {
      width: 100%;
      height: calc(90vh - 60px); /* Subtract header height */
      max-height: 800px;
    }

    .popup-iframe-wrapper iframe {
      border: none;
      width: 100%;
      height: 100%;
      display: block;
    }

    /* Mobile adjustments */
    @media (max-width: 480px) {
      .popup-header { padding: 12px 14px; }
      .popup-title { font-size: 14px; }
      .popup-subtitle { display: none; }
      .popup-iframe-wrapper { height: calc(90vh - 52px); }
    }