/* =========================
   GLOBAL VIDEOS PH360
========================= */

body {
    background: #000;
    color: #fff;
    margin: 0;
    font-family: Arial, sans-serif;
}

.page-wrapper {
    max-width: 1380px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* TITRES */

.page-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    text-align: center;
    color: #ff8c00;
    font-size: 18px;
    margin-bottom: 30px;
}

/* BOUTONS */

.top-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.btn-ph {
    padding: 14px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    background: linear-gradient(45deg, #ff8c00, #ffa733);
    color: #000;
    transition: 0.2s;
}

.btn-ph:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    color: #000;
}

/* BOX COMPTEUR */

.counter-box {
    max-width: 480px;
    margin: 0 auto 35px;
    text-align: center;
    background: linear-gradient(145deg, #3a3a3a, #222);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 0 20px rgba(255,140,0,0.2),
        0 0 40px rgba(255,140,0,0.15);
    font-weight: 700;
}

.counter-box span {
    color: #ff8c00;
}

/* GRID VIDEOS */

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
}

.videos-grid.single {
    grid-template-columns: minmax(320px, 900px);
    justify-content: center;
}

/* CARD VIDEO */

.video-card {
    background: linear-gradient(145deg, #3a3a3a, #222);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 0 20px rgba(255,140,0,0.22),
        0 0 40px rgba(255,140,0,0.18);
    display: flex;
    flex-direction: column;
}

/* IMAGE — IMPORTANT (corrige ton problème) */

.video-image {
    width: 100%;
    height: 240px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 16px;
    background: #111;
    padding: 6px;
}

/* TITRE */

.video-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* TEXTE */

.video-accroche {
    font-size: 15px;
    color: #ddd;
    margin-bottom: 14px;
    flex-grow: 1;
}

/* META */

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    color: #ffb866;
    margin-bottom: 14px;
}

/* BOUTON */

.watch-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    background: #0d6efd;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.watch-btn:hover {
    filter: brightness(1.05);
    color: #fff;
}

/* VIDE */

.empty-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    background: #222;
    border-radius: 12px;
}

.groups-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 20px !important;
}

.media-card {
    background: linear-gradient(145deg, #3a3a3a, #222) !important;
    border-radius: 16px !important;
    padding: 18px !important;
    text-align: center !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow:
        0 0 20px rgba(255,140,0,0.25),
        0 0 40px rgba(255,140,0,0.25),
        0 0 80px rgba(255,140,0,0.15) !important;
    transition: 0.2s !important;
    height: 100% !important;
}

.media-card-image {
    width: 100% !important;
    height: 180px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    background: #111 !important;
    padding: 6px !important;
    display: block !important;
}

body {
    background: #000 !important;
    color: #fff !important;
}