 .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
        }

        .video-card {
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .video-card:hover {
            transform: scale(1.03);
        }

        .video-thumbnail img {
            width: 100%;
            height: auto;
            display: block;
        }

        .video-title {
            padding: 10px;
            font-weight: bold;
            text-align: center;
        }

        /* Fenêtre modale */
        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0; top: 0;
            width: 100%; height: 100%;
            background-color: rgba(0,0,0,0.7);
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            position: relative;
            background-color: #000;
            border-radius: 10px;
            padding: 0;
            max-width: 90%;
            width: 700px;
        }

        .modal-content iframe {
            width: 100%;
            height: 400px;
            border: none;
            border-radius: 10px;
        }

        .close-btn {
            position: absolute;
            top: -15px;
            right: -15px;
            background: red;
            color: white;
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            font-size: 18px;
            cursor: pointer;
        }