/* ========================================
   Content Shared Styles
   Shared between tv_detail.php and detail.php (movie)
   Extracted from movie-detail.css (canonical reference)
   ======================================== */

/* Player Overlay — Click-to-Play on backdrop */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.play-button svg {
    width: 32px;
    height: 32px;
    fill: #18181b;
    margin-left: 4px;
}

.play-overlay:hover .play-button {
    transform: scale(1.1);
    background: #fff;
}

/* Player Iframe Container */
.player-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: none;
}

.player-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   Action Buttons (Trailer / Like / Add)
   ======================================== */

.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text);
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
}

.btn-trailer {
    background: transparent;
    border: 1px solid var(--text-muted);
}

.btn-trailer:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-like.active {
    background: var(--accent);
    border-color: var(--accent);
}

/* ========================================
   Add to List Dropdown
   ======================================== */

.dropdown-wrapper {
    position: relative;
    display: flex;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 180px;
    display: none;
    z-index: 100;
    margin-top: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ========================================
   Cast Section — Base Spacing
   ======================================== */

.cast-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}