*, *::before, *::after { box-sizing: border-box; }

.film-container { max-width: 100%; }

/* ════════════════════════════════
   TABS — TITLURI
════════════════════════════════ */
.film-tabs .tab-titles {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    border-bottom: 2px solid rgba(201,168,76,0.3);
    margin-top: 12px;
}

.film-tabs .tab-link {
    flex: 1;
    height: 40px;
    background: #111111;
    color: #b8ad96;
    border: none;
    border-right: 1px solid rgba(201,168,76,0.15);
    cursor: pointer;
    text-align: center;
    line-height: 40px;
    font-size: 13px;
    font-family: 'Rajdhani', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background .25s, color .25s, transform .2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.film-tabs .tab-link:last-child { border-right: none; }

.film-tabs .tab-link:hover {
    background: rgba(201,168,76,0.1);
    color: #e8c96a;
}

.film-tabs .tab-link.active {
    background: rgba(201,168,76,0.14);
    color: #e8c96a;
    border-bottom: 2px solid #c9a84c;
    margin-bottom: -2px;
}

.film-tabs .tab-link img {
    display: block;
    height: 20px;
    width: 20px;
}

/* ════════════════════════════════
   TABS — CONȚINUT
════════════════════════════════ */
.film-tabs .tab-contents { position: relative; }

.film-tabs .tab-contents .tab-content {
    display: none;
    min-height: 1px;
}

.film-tabs .tab-contents .tab-content.active {
    display: block;
}

/* VIDEO */
.film-tabs .tab-contents .tab-content iframe,
.film-tabs .tab-contents .tab-content video {
    width: 100%;
    height: 400px;
    max-height: 400px;
    border: none !important;
    outline: none !important;
}

/* ════════════════════════════════
   VIDEO HOLDER / PLACEHOLDER
════════════════════════════════ */
.video-holder {
    width: 100%;
    height: 400px;
    background: #080808;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d0d0d;
}

/* ════════════════════════════════
   HD BADGE
════════════════════════════════ */
.hd-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 17px;
    background: linear-gradient(135deg, #9a7230, #c9a84c);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Rajdhani', Arial, sans-serif;
    border-radius: 3px;
    text-align: center;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ════════════════════════════════
   INFO FILM — DETALII
════════════════════════════════ */
.film-details {
    color: #b8ad96;
    padding: 4px 4px;
    margin: 0 0 6px 0;
    width: 100%;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Rajdhani', Arial, sans-serif;
    line-height: 1.4;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.film-details h3 {
    margin-bottom: 10px;
    font-size: 16px;
    font-family: 'Cinzel', serif;
    color: #c9a84c;
    border-bottom: 1px solid rgba(201,168,76,0.2);
    padding-bottom: 5px;
    letter-spacing: 0.05em;
}

.film-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.film-details li {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    color: #b8ad96;
}

.film-details li:last-child { border-bottom: none; }

.film-details a {
    color: #c9a84c;
    text-decoration: none;
    word-break: break-word;
    transition: color .2s;
}

.film-details a:hover {
    color: #e8c96a;
    text-decoration: none;
}

.film-details a.external-link { color: #e8c96a; }
.film-details a.external-link:hover { color: #f0ead6; }

/* ════════════════════════════════
   LOADING SPINNER
════════════════════════════════ */
.spinner {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(201,168,76,0.15);
    border-top: 3px solid #c9a84c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 992px) {
    .film-details { font-size: 15px; padding: 5px 8px; }
    .film-details h3 { font-size: 15px; }
}

@media (max-width: 768px) {
    .film-tabs .tab-link {
        font-size: 12px;
        height: 35px;
        line-height: 35px;
    }
    .film-tabs .tab-contents .tab-content iframe,
    .film-tabs .tab-contents .tab-content video {
        height: 300px;
    }
    .video-holder { height: 300px; }
}

@media (max-width: 600px) {
    .film-details { font-size: 14px; padding: 5px 8px; border-radius: 6px; }
    .film-details h3 { font-size: 14px; margin-bottom: 8px; }
    .film-details li { margin-bottom: 4px; padding-bottom: 4px; }
    .film-tabs .tab-link img { height: 18px; width: 16px; }
    .hd-badge { width: 18px; height: 15px; font-size: 10px; }
}

@media (max-width: 480px) {
    .film-details { padding: 4px 6px; font-size: 14px; }
    .film-details h3 { font-size: 13px; }
    .video-holder { height: 260px; }
}