
        /* ផ្ទៃ Background របស់ Popup */
        .modal {
          display: none; /* លាក់សិន មុនពេលទំព័រដើរពេញ */
          position: fixed; 
          z-index: 1000; 
          left: 0; 
          top: 0;
          width: 100%; 
          height: 100%; 
          background-color: rgba(0, 0, 0, 0.8);
          opacity: 0; 
          transition: opacity 0.5s ease; /* ធ្វើឱ្យ Smooth */
        }
        .modal.show { 
          display: block; 
          opacity: 1; 
        }
      
        /* ប្រអប់ផ្ទុកវីដេអូ */
        .modal-content {
          position: absolute; 
          top: 50%; 
          left: 50%; 
          transform: translate(-50%, -50%) scale(0.9);
          width: 90%; 
          max-width: 800px; 
          background: #000; 
          border-radius: 8px;
          overflow: hidden; 
          box-shadow: 0 4px 20px rgba(0,0,0,0.5);
          transition: transform 0.5s ease;
        }
        .modal.show .modal-content {
          transform: translate(-50%, -50%) scale(1);
        }
      
        video { 
          width: 100%; 
          display: block; 
        }
      
        /* ប៊ូតុង Skip Ad */
        .skip-btn {
          position: absolute; 
          bottom: 40px; 
          right: 20px;
          background: rgba(0, 0, 0, 0.6); 
          color: rgba(255, 255, 255, 0.7);
          border: 1px solid rgba(255,255,255,0.4); 
          padding: 10px 18px;
          font-size: 15px; 
          cursor: not-allowed; 
          border-radius: 4px;
          transition: all 0.3s ease; 
        }
        .skip-btn.ready {
          cursor: pointer; 
          background: rgba(0, 0, 0, 0.9);
          color: white;
          border: 1px solid white;
        }
        .skip-btn.ready:hover { 
          background: white; 
          color: black; 
        }
      
        /* ប៊ូតុងខ្វែងបិទ (លាក់សិន ទាល់តែ Skip បាន ទើបអាចបិទបាន) */
        .close-btn {
          display: none;
          position: absolute; 
          top: 10px; 
          right: 15px; 
          color: white;
          font-size: 24px; 
          cursor: pointer; 
          z-index: 10;
          text-shadow: 1px 1px 3px black;
        }
        .close-btn:hover { color: #ff4c4c; }