        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #b85959;
            color: white;
        }

        /* ===================================== Sección de Películas ======================================= */
        #peliculas {
            padding: 80px 20px;
            background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
            min-height: 100vh;
        }

        .peliculas-container {
            max-width: 1800px;
            margin: 0 auto;
        }

        /* Header */
        .peliculas-header {
            text-align: center;
            margin-bottom: 60px;
            animation: fadeInDown 0.8s ease;
        }

        .peliculas-header h1 {
            font-size: 4em;
            margin-bottom: 15px;
            background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 800;
        }

        .peliculas-header p {
            font-size: 1.4em;
            color: #999;
            margin-bottom: 30px;
        }

        /* Barra de búsqueda y filtros */
        .search-filter-section {
            background: rgba(255,255,255,0.05);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 50px;
            animation: fadeInUp 0.8s ease;
        }

        .search-bar {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }

        .search-input-wrapper {
            flex: 1;
            min-width: 300px;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 18px 60px 18px 25px;
            background: rgba(54, 47, 47, 0.1);
            border: 2px solid rgba(255,255,255,0.2);
            border-radius: 50px;
            color: white;
            font-size: 1.1em;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            background: rgba(255,255,255,0.15);
            border-color: #e50914;
        }

        .search-input::placeholder {
            color: rgba(255,255,255,0.5);
        }

        .search-icon {
            position: absolute;
            right: 25px;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255,255,255,0.5);
            font-size: 1.3em;
        }

        .filter-buttons {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 14px 28px;
            background: rgba(255,255,255,0.1);
            border: 2px solid rgba(255,255,255,0.2);
            border-radius: 30px;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            font-size: 1em;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .filter-btn:hover {
            background: rgba(229, 9, 20, 0.2);
            border-color: #e50914;
            transform: translateY(-2px);
        }

        .filter-btn.active {
            background: #e50914;
            border-color: #e50914;
        }

        /* Categorías de películas */
        .movies-category {
            margin-bottom: 60px;
        }

        .category-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .category-header h2 {
            font-size: 2.2em;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .category-header h2 i {
            color: #e50914;
        }

        .view-all-btn {
            color: #e50914;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1em;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .view-all-btn:hover {
            gap: 15px;
        }

        /* Grid de películas */
        .movies-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
        }

        .movie-card {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.4s ease;
            background: #1f1f1f;
            animation: fadeInUp 0.8s ease backwards;
        }

        .movie-card:hover {
            transform: translateY(-15px) scale(1.03);
            box-shadow: 0 25px 70px rgba(229, 9, 20, 0.5);
            z-index: 10;
        }

        .movie-poster-wrapper {
            position: relative;
            width: 100%;
            height: 400px;
            overflow: hidden;
        }

        .movie-poster {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .movie-card:hover .movie-poster {
            transform: scale(1.15);
        }

        .movie-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(160, 48, 48, 0.95) 0%, transparent 50%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .movie-card:hover .movie-overlay {
            opacity: 1;
        }

        .movie-badges {
            position: absolute;
            top: 15px;
            left: 15px;
            right: 15px;
            display: flex;
            justify-content: space-between;
            z-index: 5;
        }

        .badge {
            padding: 6px 15px;
            border-radius: 6px;
            font-size: 0.85em;
            font-weight: 700;
        }

        .badge-new {
            background: #e50914;
        }

        .badge-quality {
            background: rgba(0,0,0,0.8);
            border: 1px solid rgba(255,255,255,0.3);
        }

        .badge-rating {
            background: #ffc107;
            color: #000;
        }

        .movie-info {
            padding: 25px;
        }

        .movie-title {
            font-size: 1.3em;
            font-weight: 700;
            margin-bottom: 10px;
            color: white;
            line-height: 1.3;
        }

        .movie-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 12px;
            font-size: 0.95em;
            color: #999;
            flex-wrap: wrap;
        }

        .movie-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .movie-rating {
            color: #ffc107;
            font-weight: 700;
        }

        .movie-description {
            color: #bbb;
            font-size: 0.95em;
            line-height: 1.6;
            margin-bottom: 18px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .movie-genres {
            display: flex;
            gap: 8px;
            margin-bottom: 18px;
            flex-wrap: wrap;
        }

        .genre-tag {
            padding: 4px 12px;
            background: rgba(255,255,255,0.1);
            border-radius: 15px;
            font-size: 0.85em;
            color: #ccc;
        }

        .movie-actions {
            display: flex;
            gap: 10px;
        }

        .btn-action {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 700;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 1em;
        }

        .btn-play {
            background: #e50914;
            color: white;
        }

        .btn-play:hover {
            background: #f40612;
            transform: scale(1.05);
        }

        .btn-info {
            background: rgba(255,255,255,0.15);
            color: white;
        }

        .btn-info:hover {
            background: rgba(255,255,255,0.25);
        }

        /* Modal del reproductor */
        .movie-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.95);
            z-index: 9999;
            overflow-y: auto;
            padding: 50px 20px;
        }

        .movie-modal.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        .modal-content {
            position: relative;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            background: #1f1f1f;
            border-radius: 20px;
            overflow: hidden;
            animation: scaleIn 0.4s ease;
        }

        .modal-player {
            width: 100%;
            aspect-ratio: 16/9;
            background: #000;
        }

        .modal-player iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .modal-details {
            padding: 40px;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 25px;
            gap: 20px;
        }

        .modal-title-section h2 {
            font-size: 2.5em;
            margin-bottom: 15px;
            line-height: 1.2;
        }

        .modal-meta {
            display: flex;
            gap: 20px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }

        .modal-meta span {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #999;
            font-size: 1.1em;
        }

        .modal-description {
            color: #ccc;
            line-height: 1.8;
            margin-bottom: 30px;
            font-size: 1.1em;
        }

        .modal-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 25px;
            padding: 30px 0;
            border-top: 1px solid rgba(255,255,255,0.1);
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .info-item h4 {
            color: #999;
            font-size: 0.95em;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .info-item p {
            color: white;
            font-size: 1.05em;
        }

        .close-modal-btn {
            position: absolute;
            top: 25px;
            right: 25px;
            width: 45px;
            height: 45px;
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(10px);
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 1.5em;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .close-modal-btn:hover {
            background: #e50914;
            transform: rotate(90deg) scale(1.1);
        }

        /* Animaciones */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .movies-grid {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
                gap: 20px;
            }
        }

        @media (max-width: 768px) {
            .peliculas-header h1 {
                font-size: 2.5em;
            }

            .search-bar {
                flex-direction: column;
            }

            .search-input-wrapper {
                min-width: 100%;
            }

            .movies-grid {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                gap: 15px;
            }

            .movie-poster-wrapper {
                height: 280px;
            }

            .category-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .modal-details {
                padding: 25px;
            }

            .modal-title-section h2 {
                font-size: 1.8em;
            }

            .modal-info-grid {
                grid-template-columns: 1fr;
            }
        }