/* Aflamecoz — Watch Page Extra Styles */

/* Full-width player on watch page */
body.watch-page .container { max-width: 1100px; }

.player-wrapper {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%;
    box-shadow: 0 8px 40px rgba(0,0,0,.8);
    margin-bottom: 16px;
}

.player-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Loading overlay */
.player-loading {
    position: absolute;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    color: #555;
    font-size: 14px;
    z-index: 5;
}

.player-loading .spinner {
    width: 44px;
    height: 44px;
    border: 3px solid #222;
    border-top-color: var(--accent, #e50000);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Server tabs highlight */
.server-tab {
    position: relative;
    overflow: hidden;
}
.server-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--accent, #e50000);
    transform: scaleX(0);
    transition: transform 0.2s;
}
.server-tab.active::after { transform: scaleX(1); }

/* Report button */
.btn-report {
    background: none;
    border: 1px solid #444;
    color: #888;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-ar, 'Cairo', Arial, sans-serif);
}
.btn-report:hover { border-color: var(--accent, #e50000); color: var(--accent, #e50000); }

/* Watch page info bar */
.watch-info-bar {
    background: var(--bg-secondary, #1a1a1a);
    border: 1px solid var(--border, #333);
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    font-size: 13px;
}
.watch-info-bar .info-item { display: flex; align-items: center; gap: 5px; color: #888; }
.watch-info-bar .info-item strong { color: #fff; }

/* Mobile: full-width player */
@media (max-width: 768px) {
    body.watch-page .container { padding: 0; }
    .player-wrapper { border-radius: 0; margin-bottom: 0; }
    .watch-section > .container > *:not(.player-wrapper) { padding: 0 12px; }
    .server-tab { padding: 7px 12px; font-size: 12px; }
}
