  body {
    margin: 0;
    font-family: "Oswald", sans-serif;
    overflow: hidden; /* lock scroll saat popup */
  }
  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  .popup {
    background: #fff;
    width: 90%;
    max-width: 420px;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    text-align: center;
    animation: fadeIn 0.4s ease;
  }
  @keyframes fadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
  .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.3em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .thumbnail {
    width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 15px;
  }
  /* Loading */
  .progress-container {
    width: 100%;
    height: 12px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
    margin: 20px 0;
  }
  .progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg,#4caf50,#2e7d32);
    transition: width 0.3s ease;
  }

  /* Media Queries */
  @media (max-width: 768px) {
    .title { font-size: 16px; }
  }
  @media (max-width: 480px) {
    .popup {
      padding: 16px;
      border-radius: 0; /* hilangkan radius di HP */
      max-width: 100%;
    }
    .title { font-size: 15px; }
    .thumbnail { border-radius: 0; }
  }
  .hidden { display: none; }
