/* roulang page: index */
:root {
            --primary: #E50914;
            --primary-hover: #b20710;
            --bg-dark: #141414;
            --bg-card: #1f1f1f;
            --text-main: #ffffff;
            --text-secondary: #b3b3b3;
            --border-color: #333;
            --shadow: 0 4px 12px rgba(0,0,0,0.5);
            --radius: 8px;
            --container-width: 1200px;
            --transition: all 0.3s ease;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-main);
            line-height: 1.6;
            font-size: 16px;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        ul {
            list-style: none;
        }

        /* Container */
        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        header {
            background-color: rgba(20, 20, 20, 0.95);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            border-bottom: 1px solid var(--border-color);
            padding: 15px 0;
        }

        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            color: var(--primary);
            letter-spacing: 1px;
        }

        .logo span {
            color: var(--text-main);
        }

        nav ul {
            display: flex;
            gap: 30px;
        }

        nav a {
            font-size: 16px;
            color: var(--text-secondary);
            font-weight: 500;
        }

        nav a:hover, nav a.active {
            color: var(--primary);
        }

        .cta-btn {
            background-color: var(--primary);
            color: white;
            padding: 10px 24px;
            border-radius: 4px;
            font-weight: bold;
            border: none;
            cursor: pointer;
            transition: var(--transition);
        }

        .cta-btn:hover {
            background-color: var(--primary-hover);
            transform: translateY(-2px);
        }

        /* Hero Section */
        .hero {
            height: 80vh;
            background: linear-gradient(to bottom, rgba(20,20,20,0.3), var(--bg-dark)), url('https://images.unsplash.com/photo-1536440136628-849c177e76a1?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            margin-top: 60px;
        }

        .hero-content {
            max-width: 800px;
            padding: 20px;
        }

        .hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.8);
        }

        .hero p {
            font-size: 20px;
            color: var(--text-secondary);
            margin-bottom: 40px;
        }

        .search-bar {
            display: flex;
            max-width: 600px;
            margin: 0 auto;
        }

        .search-bar input {
            flex: 1;
            padding: 15px 20px;
            border: 1px solid var(--border-color);
            background: rgba(0,0,0,0.6);
            color: white;
            border-radius: 4px 0 0 4px;
            outline: none;
        }

        .search-bar button {
            padding: 15px 30px;
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-weight: bold;
        }

        /* Sections General */
        section {
            padding: 60px 0;
        }

        .section-title {
            font-size: 28px;
            margin-bottom: 40px;
            border-left: 4px solid var(--primary);
            padding-left: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .view-all {
            font-size: 16px;
            color: var(--primary);
        }

        /* Grid Layouts */
        .grid-4 {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        /* Cards */
        .card {
            background-color: var(--bg-card);
            border-radius: var(--radius);
            overflow: hidden;
            transition: var(--transition);
            border: 1px solid transparent;
        }

        .card:hover {
            transform: scale(1.05);
            box-shadow: var(--shadow);
            border-color: var(--primary);
        }

        .card-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            position: relative;
        }

        .badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: var(--primary);
            color: white;
            padding: 4px 8px;
            font-size: 12px;
            border-radius: 4px;
            font-weight: bold;
        }

        .card-content {
            padding: 15px;
        }

        .card-title {
            font-size: 18px;
            margin-bottom: 10px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-meta {
            font-size: 14px;
            color: var(--text-secondary);
            display: flex;
            justify-content: space-between;
        }

        /* Live Stream Specifics */
        .live-thumb {
            position: relative;
        }
        
        .live-indicator {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: #ff0000;
            color: white;
            padding: 2px 6px;
            font-size: 12px;
            border-radius: 2px;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        /* Categories */
        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 15px;
        }

        .cat-card {
            background: linear-gradient(45deg, #1f1f1f, #2a2a2a);
            padding: 30px;
            text-align: center;
            border-radius: var(--radius);
            transition: var(--transition);
            cursor: pointer;
        }

        .cat-card:hover {
            background: var(--primary);
            color: white;
        }

        /* Stats */
        .stats-container {
            display: flex;
            justify-content: space-around;
            background-color: var(--bg-card);
            padding: 40px;
            border-radius: var(--radius);
            margin: 40px 0;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 36px;
            font-weight: bold;
            color: var(--primary);
            display: block;
        }

        .stat-label {
            color: var(--text-secondary);
            font-size: 14px;
        }

        /* FAQ */
        .faq-item {
            background-color: var(--bg-card);
            margin-bottom: 15px;
            border-radius: var(--radius);
            overflow: hidden;
        }

        .faq-question {
            padding: 20px;
            cursor: pointer;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .faq-answer {
            padding: 0 20px 20px;
            color: var(--text-secondary);
            font-size: 15px;
            line-height: 1.6;
        }

        /* Footer */
        footer {
            background-color: #000;
            padding: 60px 0 20px;
            margin-top: 60px;
            border-top: 1px solid var(--border-color);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-col h3 {
            color: white;
            margin-bottom: 20px;
            font-size: 18px;
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col a {
            color: var(--text-secondary);
        }

        .footer-col a:hover {
            color: var(--primary);
        }

        .copyright {
            text-align: center;
            color: var(--text-secondary);
            font-size: 14px;
            padding-top: 20px;
            border-top: 1px solid #222;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .grid-4 { grid-template-columns: repeat(2, 1fr); }
            .grid-3 { grid-template-columns: repeat(2, 1fr); }
            .hero h1 { font-size: 36px; }
        }

        @media (max-width: 768px) {
            .header-inner { flex-direction: column; gap: 15px; }
            nav ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
            .grid-4, .grid-3 { grid-template-columns: 1fr; }
            .hero { height: 60vh; }
            .hero h1 { font-size: 28px; }
            .footer-grid { grid-template-columns: 1fr; }
            .search-bar { flex-direction: column; }
            .search-bar input { border-radius: 4px; margin-bottom: 10px; }
            .search-bar button { border-radius: 4px; }
        }

/* roulang page: category1 */
:root {
            --primary: #E50914;
            --primary-hover: #b20710;
            --bg-dark: #141414;
            --bg-card: #1f1f1f;
            --text-main: #ffffff;
            --text-secondary: #b3b3b3;
            --border-color: #333;
            --shadow: 0 4px 12px rgba(0,0,0,0.5);
            --radius: 8px;
            --container-width: 1200px;
            --transition: all 0.3s ease;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-main);
            line-height: 1.6;
            font-size: 16px;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }
        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        /* Header */
        header {
            background-color: rgba(20, 20, 20, 0.95);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            border-bottom: 1px solid var(--border-color);
            padding: 15px 0;
        }
        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: var(--primary);
            letter-spacing: 1px;
        }
        .logo span {
            color: var(--text-main);
        }
        nav ul {
            display: flex;
            gap: 30px;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        nav a {
            font-size: 16px;
            color: var(--text-secondary);
            font-weight: 500;
        }
        nav a:hover, nav a.active {
            color: var(--primary);
        }
        .cta-btn {
            background-color: var(--primary);
            color: white;
            padding: 10px 24px;
            border-radius: 4px;
            font-weight: bold;
            border: none;
            cursor: pointer;
            transition: var(--transition);
        }
        .cta-btn:hover {
            background-color: var(--primary-hover);
            transform: translateY(-2px);
        }
        /* Hero Section */
        .hero {
            height: 60vh;
            background: linear-gradient(to bottom, rgba(20,20,20,0.3), var(--bg-dark)), url('https://images.unsplash.com/photo-1536440136628-849c177e76a1?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            margin-top: 60px;
            position: relative;
        }
        .hero-content {
            max-width: 800px;
            padding: 20px;
            z-index: 2;
        }
        .hero h1 {
            font-size: 42px;
            margin-bottom: 15px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.8);
        }
        .hero p {
            font-size: 18px;
            color: var(--text-secondary);
            margin-bottom: 30px;
        }
        .search-bar {
            display: flex;
            max-width: 600px;
            margin: 0 auto;
        }
        .search-bar input {
            flex: 1;
            padding: 15px 20px;
            border: 1px solid var(--border-color);
            background: rgba(0,0,0,0.6);
            color: white;
            border-radius: 4px 0 0 4px;
            outline: none;
        }
        .search-bar button {
            padding: 15px 30px;
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-weight: bold;
        }
        /* Categories */
        .categories-section {
            padding: 40px 0;
            background-color: #1a1a1a;
        }
        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 20px;
        }
        .cat-card {
            background: linear-gradient(45deg, #1f1f1f, #2a2a2a);
            padding: 40px 20px;
            text-align: center;
            border-radius: var(--radius);
            transition: var(--transition);
            cursor: pointer;
            border: 1px solid var(--border-color);
        }
        .cat-card:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-5px);
        }
        .cat-icon {
            font-size: 32px;
            margin-bottom: 10px;
            display: block;
        }
        /* Main Content Grid */
        .content-section {
            padding: 60px 0;
        }
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 15px;
        }
        .section-title {
            font-size: 24px;
            color: var(--text-main);
            margin: 0;
        }
        .filter-bar {
            display: flex;
            gap: 15px;
            margin-bottom: 30px;
        }
        .filter-btn {
            background: transparent;
            border: 1px solid var(--border-color);
            color: var(--text-secondary);
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            transition: var(--transition);
        }
        .filter-btn:hover, .filter-btn.active {
            border-color: var(--primary);
            color: var(--primary);
        }
        .video-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        .video-card {
            background-color: var(--bg-card);
            border-radius: var(--radius);
            overflow: hidden;
            transition: var(--transition);
            border: 1px solid transparent;
            position: relative;
        }
        .video-card:hover {
            transform: scale(1.03);
            box-shadow: var(--shadow);
            border-color: var(--primary);
        }
        .video-thumb {
            width: 100%;
            height: 180px;
            object-fit: cover;
            position: relative;
        }
        .duration {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(0,0,0,0.8);
            color: white;
            padding: 2px 6px;
            font-size: 12px;
            border-radius: 4px;
        }
        .live-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: var(--primary);
            color: white;
            padding: 4px 8px;
            font-size: 12px;
            border-radius: 4px;
            font-weight: bold;
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }
        .video-info {
            padding: 15px;
        }
        .video-title {
            font-size: 16px;
            margin-bottom: 8px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: var(--text-main);
        }
        .video-meta {
            font-size: 14px;
            color: var(--text-secondary);
            display: flex;
            justify-content: space-between;
        }
        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 40px;
        }
        .page-link {
            padding: 10px 15px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            color: var(--text-secondary);
        }
        .page-link:hover, .page-link.active {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        /* Related Categories */
        .related-cats {
            display: flex;
            gap: 20px;
            margin-top: 40px;
            flex-wrap: wrap;
        }
        .rel-cat-link {
            color: var(--primary);
            font-weight: bold;
            border-bottom: 1px solid transparent;
        }
        .rel-cat-link:hover {
            border-bottom-color: var(--primary);
        }
        /* Footer */
        footer {
            background-color: #0a0a0a;
            padding: 60px 0 30px;
            border-top: 1px solid var(--border-color);
            margin-top: 60px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-col h4 {
            color: var(--text-main);
            margin-bottom: 20px;
            font-size: 18px;
        }
        .footer-links {
            list-style: none;
            padding: 0;
        }
        .footer-links li {
            margin-bottom: 10px;
        }
        .footer-links a {
            color: var(--text-secondary);
            font-size: 14px;
        }
        .footer-links a:hover {
            color: var(--primary);
        }
        .copyright {
            text-align: center;
            color: var(--text-secondary);
            font-size: 14px;
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
        }
        /* Responsive */
        @media (max-width: 1024px) {
            .video-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        @media (max-width: 768px) {
            .header-inner {
                flex-direction: column;
                gap: 15px;
            }
            nav ul {
                gap: 15px;
            }
            .hero h1 {
                font-size: 32px;
            }
            .video-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 520px) {
            .video-grid {
                grid-template-columns: 1fr;
            }
            .category-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-grid {
                grid-template-columns: 1fr;
            }
        }
