Load M3U Playlist
Loading channels...
#topButton { position: fixed; bottom: 40px; right: 40px; display: none; /* Hidden by default */ background-color: #555; color: white; border: none; padding: 12px 16px; border-radius: 4px; cursor: pointer; font-size: 16px; z-index: 1000; opacity: 0.7; transition: opacity 0.3s; } #topButton:hover { opacity: 1; } * { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary-bg: #1a1a1a; --secondary-bg: #2d2d2d; --text-primary: #ffffff; --text-secondary: #b3b3b3; --accent-color: #e50914; --border-color: #404040; --hover-bg: #404040; --card-bg: #2d2d2d; --input-bg: #333333; } [data-theme="light"] { --primary-bg: #ffffff; --secondary-bg: #f5f5f5; --text-primary: #000000; --text-secondary: #666666; --accent-color: #e50914; --border-color: #ddd; --hover-bg: #f0f0f0; --card-bg: #ffffff; --input-bg: #f8f8f8; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--primary-bg); color: var(--text-primary); transition: all 0.3s ease; line-height: 1.6; } /* Header Styles */ .header { position: fixed; top: 0; left: 0; right: 0; background: var(--secondary-bg); padding: 1rem; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); z-index: 1000; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--accent-color); } .logo { display: flex; align-items: center; gap: 1rem; } .logo img { height: 40px; width: auto; border-radius: 8px; } .logo h1 { font-size: 1.5rem; color: var(--accent-color); font-weight: bold; } .header-controls { display: flex; align-items: center; gap: 1rem; } .theme-toggle, .contact-btn { background: var(--accent-color); color: white; border: none; padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; font-size: 0.9rem; transition: all 0.3s ease; } .theme-toggle:hover, .contact-btn:hover { background: #d40812; transform: translateY(-2px); } /* Main Content */ .main-content { margin-top: 80px; padding: 2rem; max-width: 1400px; margin-left: auto; margin-right: auto; } /* Playlist Input Section */ .playlist-section { background: var(--card-bg); padding: 2rem; border-radius: 12px; margin-bottom: 2rem; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); border: 1px solid var(--border-color); } .playlist-section h2 { margin-bottom: 1rem; color: var(--accent-color); font-size: 1.3rem; } .input-group { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; } .playlist-input { flex: 1; min-width: 300px; padding: 0.75rem; background: var(--input-bg); border: 2px solid var(--border-color); border-radius: 8px; color: var(--text-primary); font-size: 1rem; } .playlist-input:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1); } .load-btn { background: var(--accent-color); color: white; border: none; padding: 0.75rem 2rem; border-radius: 8px; cursor: pointer; font-size: 1rem; font-weight: 600; transition: all 0.3s ease; } .load-btn:hover { background: #d40812; transform: translateY(-2px); } /* Search Section */ .search-section { margin-bottom: 2rem; } .search-input { width: 100%; padding: 1rem; background: var(--input-bg); border: 2px solid var(--border-color); border-radius: 12px; color: var(--text-primary); font-size: 1.1rem; background-image: url('data:image/svg+xml;charset=utf-8,'); background-repeat: no-repeat; background-position: 15px center; background-size: 20px; padding-left: 50px; } .search-input:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1); } /* Channel Grid */ .channels-grid { display: inline; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; padding: 1rem 0; } .channel-card { background: var(--card-bg); border-radius: 12px; overflow: hidden; cursor: pointer; transition: all 0.3s ease; border: 1px solid var(--border-color); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); } .channel-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); border-color: var(--accent-color); } .channel-logo { width: 100%; height: 180px; object-fit: cover; background: var(--secondary-bg); } .channel-info { padding: 1rem; } .channel-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-primary); } .channel-type { display: inline-block; background: var(--accent-color); color: white; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; } /* Video Modal */ .video-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.9); z-index: 2000; animation: fadeIn 0.3s ease; } .video-modal.active { display: flex; align-items: center; justify-content: center; } .video-container { position: relative; max-width: 90vw; max-height: 90vh; background: #000; border-radius: 12px; overflow: hidden; } .video-player { width: 100%; height: auto; max-height: 80vh; min-height: 400px; } .close-btn { position: absolute; top: 15px; right: 15px; background: rgba(0, 0, 0, 0.7); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; z-index: 2001; transition: all 0.3s ease; } .close-btn:hover { background: var(--accent-color); transform: scale(1.1); } /* Popup Ad */ .popup-ad { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 3000; animation: slideInUp 0.5s ease; } .popup-ad.active { display: flex; align-items: center; justify-content: center; } .popup-content { background: var(--card-bg); padding: 2rem; border-radius: 15px; text-align: center; max-width: 400px; width: 90%; position: relative; border: 2px solid var(--accent-color); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } .popup-close { position: absolute; top: 10px; right: 15px; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; } .visit-site-btn { background: var(--accent-color); color: white; border: none; padding: 1rem 2rem; border-radius: 8px; cursor: pointer; font-size: 1rem; font-weight: 600; margin-top: 1rem; transition: all 0.3s ease; } .visit-site-btn:hover { background: #d40812; transform: translateY(-2px); } /* Animations */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideInUp { from { opacity: 0; transform: translateY(100px); } to { opacity: 1; transform: translateY(0); } } /* Loading Spinner */ .loading { display: none; text-align: center; padding: 2rem; } .spinner { display: inline-block; width: 40px; height: 40px; border: 4px solid var(--border-color); border-top: 4px solid var(--accent-color); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Responsive Design */ @media (max-width: 768px) { .header { flex-direction: column; gap: 1rem; padding: 1rem 0.5rem; } .header-controls { width: 100%; justify-content: center; } .main-content { margin-top: 120px; padding: 1rem; } .input-group { flex-direction: column; } .channels-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; } .video-container { max-width: 95vw; max-height: 85vh; } .video-player { min-height: 250px; } } @media (max-width: 480px) { .channels-grid { grid-template-columns: 1fr; } .logo h1 { font-size: 1.2rem; } .playlist-section { padding: 1rem; } } /* Error Message */ .error-message { background: #dc3545; color: white; padding: 1rem; border-radius: 8px; margin: 1rem 0; display: none; } /* Success Message */ .success-message { background: #28a745; color: white; padding: 1rem; border-radius: 8px; margin: 1rem 0; display: none; }
Loading channels...
Want to support my shopee affiliate? Click this pop up message