        :root { --primary: #e50914; --bg: #141414; }
        body { font-family: 'Segoe UI', sans-serif; background: var(--bg); color: white; text-align: center; margin: 0; padding: 0; overflow-x: hidden; }
        
        #bgBlur { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.15; filter: blur(50px); background-size: cover; background-position: center; transition: 0.8s; }
        
        #heroSection { width: 100%; height: 220px; background-size: cover; background-position: center top; display: flex; align-items: flex-end; justify-content: center; position: relative; border-bottom: 3px solid var(--primary); transition: 0.6s; }
        #heroOverlay { background: linear-gradient(transparent, var(--bg)); width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
        #heroContent { position: relative; z-index: 2; padding-bottom: 10px; }
        #heroTitle { font-size: 1.8rem; margin: 0; text-shadow: 2px 2px 10px rgba(0,0,0,0.9); }

        .tabs { display: flex; justify-content: center; gap: 10px; margin: 15px 0; }
        .tab-btn { padding: 8px 20px; border-radius: 5px; border: 2px solid var(--primary); background: transparent; color: white; cursor: pointer; font-weight: bold; transition: 0.3s; font-size: 0.85rem; }
        .tab-btn.active { background: var(--primary); }

        .search-box { display: flex; justify-content: center; margin-bottom: 10px; }
        input { padding: 10px; width: 60%; max-width: 350px; border-radius: 5px 0 0 5px; border: none; outline: none; }
        .search-btn { padding: 10px 18px; border-radius: 0 5px 5px 0; background: var(--primary); color: white; border: none; cursor: pointer; font-weight: bold; }

        .endpoint-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 10px; padding: 0 10px; }
        .end-btn { padding: 6px 12px; border-radius: 20px; border: 1px solid #444; background: #1a1a1a; color: white; cursor: pointer; font-size: 0.75rem; }
        .end-btn.active { background: var(--primary); border-color: var(--primary); }

        #movieInfo { display: none; max-width: 900px; width: 92%; margin: 10px auto; padding: 12px; background: #1a1a1a; border-left: 4px solid var(--primary); border-radius: 5px; text-align: left; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
        #movieOverview { font-size: 0.85rem; line-height: 1.4; margin: 0; color: #eee; }

        #playerContainer { background: #000; width: 95%; max-width: 900px; aspect-ratio: 16 / 9; margin: 10px auto; border: 1px solid #333; display: flex; align-items: center; justify-content: center; }
        iframe { width: 100%; height: 100%; border: none; }

        /* The Pro-Tip Box style from your test */
        #adNote { display: none; max-width: 900px; width: 90%; margin: 10px auto; background: rgba(229, 9, 20, 0.1); border: 1px solid var(--primary); padding: 10px; border-radius: 8px; font-size: 0.8rem; color: #ffcccc; }

        #serverContainer { display: none; justify-content: center; gap: 8px; margin: 10px; flex-wrap: wrap; }
        .server-btn { padding: 5px 12px; border-radius: 20px; border: 1px solid #444; background: #222; color: #ccc; cursor: pointer; font-size: 0.75rem; }
        .server-btn.active { background: var(--primary); color: white; }

        #genreContainer { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 10px; }
        .genre-btn { padding: 5px 10px; border-radius: 20px; border: 1px solid #333; background: #1a1a1a; color: #999; cursor: pointer; font-size: 0.7rem; }
        .genre-btn.active { background: var(--primary); color: white; }

        #trendingSection { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; padding: 15px; max-width: 1200px; margin: 0 auto; }
        .movie-card { cursor: pointer; background: #1a1a1a; border-radius: 8px; overflow: hidden; transition: 0.3s; border: 1px solid #222; }
        .movie-card img { width: 100%; display: block; }
        .movie-card p { font-size: 0.75rem; padding: 8px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        
        #tvControls { display: none; margin: 5px; background: #1a1a1a; padding: 8px; border-radius: 8px; display: inline-block; }
        #tvControls input { width: 45px; border-radius: 5px; margin: 0 4px; text-align: center; padding: 6px; border: none; }
