* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --primary: #e50914; --bg: #0a0a0a; --card: #141414; --text: #ffffff; --border: #222; --gold: #ffc107; --input-bg: #1a1a1a; --modal-overlay: rgba(0,0,0,0.95); }
[data-theme="light"] { --bg: #f5f5f5; --card: #ffffff; --text: #1a1a1a; --border: #ddd; --input-bg: #eeeeee; --modal-overlay: rgba(255,255,255,0.95); }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); transition: background 0.3s, color 0.3s; }
header { padding: 15px 5%; background: var(--card); position: sticky; top: 0; z-index: 1000; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 10px; }
.logo { color: var(--primary); font-weight: 800; font-size: 24px; cursor: pointer; transition: opacity 0.2s; }
.logo:hover { opacity: 0.8; }
.header-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.theme-btn { background: var(--primary); color: white; border: none; padding: 6px 15px; border-radius: 20px; cursor: pointer; font-size: 11px; font-weight: bold; transition: transform 0.1s ease; }
.theme-btn:active { transform: scale(0.95); }
.login-btn { background: #3498db; color: white; border: none; padding: 6px 15px; border-radius: 20px; cursor: pointer; font-size: 11px; font-weight: bold; }
.login-btn:hover { background: #2980b9; }
.logout-user-btn { background: #e67e22; color: white; border: none; padding: 6px 15px; border-radius: 20px; cursor: pointer; font-size: 11px; font-weight: bold; }
.logout-user-btn:hover { background: #d35400; }
.filter-type-btn { background: var(--input-bg); color: var(--text); border: 1px solid var(--border); padding: 6px 15px; border-radius: 20px; cursor: pointer; font-size: 12px; font-weight: bold; transition: transform 0.1s ease; }
.filter-type-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.filter-type-btn:active { transform: scale(0.95); }
.update-btn-header { background: #2196f3; color: white; border: none; padding: 6px 15px; border-radius: 20px; cursor: pointer; font-size: 11px; font-weight: bold; transition: all 0.3s ease; }
.update-btn-header:hover { background: #0b7dda; transform: scale(1.02); }
#movieCount { font-size: 12px; background: var(--input-bg); padding: 5px 12px; border-radius: 15px; border: 1px solid var(--border); display: inline-flex; align-items: center; gap: 5px; }
.count-wrapper { display: flex; align-items: center; gap: 10px; }
.search-section { padding: 30px 5% 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.search-wrapper { position: relative; width: 100%; max-width: 600px; margin: 0 auto; }
#movieSearch { width: 100%; padding: 15px 45px 15px 25px; border-radius: 30px; border: 2px solid var(--border); background: var(--input-bg); color: var(--text); outline: none; font-size: 16px; }
.clear-search-btn { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text); font-size: 20px; cursor: pointer; padding: 5px; border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; opacity: 0.6; transition: all 0.2s; }
.clear-search-btn:hover { opacity: 1; background: rgba(229,9,20,0.1); color: var(--primary); }
.clear-search-btn.hidden { display: none; }
.filter-group { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; margin: 20px 0; }
.filter-group select { padding: 10px 20px; border-radius: 25px; background: var(--card); color: var(--text); border: 1px solid var(--border); cursor: pointer; font-size: 14px; min-width: 150px; }

/* MOVIE GRID */
.movie-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); 
    gap: 20px; 
    padding: 20px 2%; 
    width: 100%; 
    margin: 0;
    box-sizing: border-box; 
}

.movie-grid.dashboard-hidden { 
    margin-left: 0;
    width: 100%;
}

.movie-grid:not(.dashboard-hidden) { 
    margin-left: 280px;
    width: calc(100% - 280px);
}

.movie-card { background: var(--card); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: transform 0.3s ease; cursor: pointer; }
.movie-card:hover { transform: translateY(-8px); border-color: var(--primary); }
.img-container { position: relative; aspect-ratio: 2 / 3; background: #1a1a1a; }
.movie-card img { width: 100%; height: 100%; object-fit: cover; }
.quality-tag { position: absolute; top: 10px; left: 10px; background: #2ecc71; color: white; font-size: 9px; font-weight: bold; padding: 3px 6px; border-radius: 4px; z-index: 1; }
.quality-tag.sd-blue { background: #007bff; }
.pending-badge { 
    position: absolute; 
    top: 10px; 
    left: 90px; 
    background: #e67e22; 
    color: white; 
    font-size: 9px; 
    font-weight: bold; 
    padding: 3px 6px; 
    border-radius: 4px; 
    z-index: 2; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.new-badge-poster { position: absolute; top: 10px; left: 45px; background: #e50914; color: white; font-size: 9px; font-weight: bold; padding: 3px 6px; border-radius: 4px; z-index: 2; box-shadow: 0 2px 4px rgba(0,0,0,0.3); animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.9; } }
.info { padding: 15px; text-align: center; }
.info h3 { font-size: 14px; margin: 0 0 8px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; color: var(--text); display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; text-align: center; line-height: 1.3; max-width: 100%; }
.stars { color: var(--gold); font-size: 16px; margin-bottom: 10px; }
.rating-number { font-size: 12px; margin-left: 8px; opacity: 0.8; }
.play-btn { background: var(--primary); color: white; padding: 8px; border-radius: 8px; font-size: 11px; font-weight: bold; display: block; text-align: center; }
#loadMoreBtn { display: block; margin: 20px auto 50px; padding: 12px 30px; background: var(--primary); color: white; border: none; border-radius: 30px; cursor: pointer; }

/* MODAL */
#detailModal { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.92); 
    z-index: 10000; 
    align-items: center; 
    justify-content: center; 
}

.modal-box { 
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); 
    width: 90%; 
    max-width: 1100px; 
    display: flex; 
    flex-direction: row; 
    position: relative; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); 
    border: 1px solid rgba(255,255,255,0.1);
    max-height: 85vh;
}

.modal-poster { 
    width: 35%; 
    min-width: 280px;
    object-fit: contain; 
    background: #000; 
    border-right: 1px solid rgba(255,255,255,0.1);
}

.modal-info { 
    flex: 1;
    padding: 30px 35px; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    max-height: 85vh; 
    overflow-y: auto; 
    background: transparent;
    text-align: left;
}

.modal-info::-webkit-scrollbar { width: 6px; }
.modal-info::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 10px; }
.modal-info::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

.modal-info h2 { 
    font-size: 32px; 
    margin-bottom: 5px; 
    color: #fff; 
    font-weight: 700; 
    letter-spacing: -0.5px;
    text-align: left;
}

.modal-meta-bar { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 12px; 
    margin: 10px 0; 
    font-size: 14px; 
    color: #ccc; 
    align-items: center; 
    justify-content: flex-start;
}

.modal-meta-bar span { 
    background: rgba(255,255,255,0.1); 
    padding: 4px 12px; 
    border-radius: 20px; 
}

.modal-meta-bar .year-badge { 
    background: var(--primary); 
    color: white; 
}

.pending-status-badge { 
    background: #e67e22 !important; 
    color: white !important; 
    animation: pulse 1.5s ease-in-out infinite; 
}

.rating-section { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 15px; 
    margin: 10px 0; 
    background: rgba(0,0,0,0.3); 
    padding: 10px 15px; 
    border-radius: 12px; 
}

.rating-section > div:first-child { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    flex-wrap: wrap; 
}

.rating-section > div:last-child { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    flex-wrap: wrap; 
}

.rating-stars-big { 
    color: #ffc107; 
    font-size: 22px; 
    letter-spacing: 3px; 
}

.rating-value-big { 
    font-size: 24px; 
    font-weight: bold; 
    color: #ffc107; 
}

.rating-count { 
    font-size: 13px; 
    opacity: 0.7; 
}

.modal-description { 
    font-size: 15px; 
    line-height: 1.6; 
    color: #ddd; 
    margin: 15px 0; 
    border-left: 3px solid var(--primary); 
    padding-left: 16px; 
    text-align: left;
}

/* INFO GRID - 2 ΣΤΗΛΕΣ με μεγαλύτερη γραμματοσειρά */
.info-grid { 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px; 
    margin: 15px 0; 
    background: rgba(0,0,0,0.2); 
    padding: 15px; 
    border-radius: 16px; 
}

.info-grid-item { 
    display: flex; 
    flex-direction: column; 
    gap: 6px;
}

.info-grid-label { 
    font-size: 14px;
    font-weight: 600; 
    color: var(--text); 
    opacity: 0.8;
    text-align: left; 
}

.info-grid-value { 
    font-size: 16px;
    color: var(--text); 
    font-weight: 500; 
    text-align: left; 
    word-break: break-word;
}

/* ACTORS - 90px ΧΩΡΙΣ ΚΟΚΚΙΝΟ ΠΕΡΙΒΛΗΜΑ */
.actors-container { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 15px; 
    margin-top: 5px; 
    justify-content: flex-start; 
    padding: 0; 
}

.actor-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    cursor: pointer; 
    transition: all 0.2s ease; 
    text-align: center; 
    width: 100px; 
    background: transparent; 
    padding: 8px 5px; 
    border-radius: 8px; 
}

.actor-item:hover { 
    transform: translateY(-3px); 
    background: rgba(229,9,20,0.1); 
}

.actor-avatar { 
    width: 90px;
    height: 90px;
    border-radius: 12px; 
    object-fit: cover; 
    margin-bottom: 8px; 
    border: none;
}

.actor-placeholder { 
    width: 90px;
    height: 90px;
    border-radius: 12px; 
    background: #34495e; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 36px;
    color: white; 
    margin-bottom: 8px; 
}

.actor-name { 
    font-size: 13px; 
    font-weight: 600; 
    text-align: center; 
    color: #eee; 
    max-width: 100px; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

/* ΟΛΑ ΤΑ ΚΟΥΜΠΙΑ ΜΕΣΑ ΣΤΟ MODAL - ΙΔΙΟ ΜΕΓΕΘΟΣ */
.modal-icon-btn, .download-btn-yts {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-family: inherit;
}

.modal-icon-btn:hover, .download-btn-yts:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.modal-icon-btn.danger:hover {
    background: #e50914;
}

.download-btn-yts {
    background: linear-gradient(135deg, #e50914 0%, #b80710 100%);
}

.download-btn-yts:hover {
    background: linear-gradient(135deg, #b80710 0%, #8b0610 100%);
    transform: translateY(-2px);
}

.close-modal { 
    position: absolute; 
    top: 15px; 
    right: 20px; 
    background: rgba(0,0,0,0.6); 
    backdrop-filter: blur(8px); 
    color: white; 
    border: 1px solid rgba(255,255,255,0.2); 
    border-radius: 50%; 
    width: 40px; 
    height: 40px; 
    cursor: pointer; 
    font-size: 20px; 
    z-index: 20; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: all 0.2s;
}

.close-modal:hover { 
    background: var(--primary); 
    transform: rotate(90deg);
}

/* RESPONSIVE */
@media (max-width: 768px) { 
    .modal-box { 
        flex-direction: column; 
        border-radius: 0; 
        width: 100%; 
        height: 100%; 
        max-height: 100vh;
    } 
    .modal-poster { 
        width: 100%; 
        min-width: auto;
        max-height: 40vh; 
        object-fit: contain; 
        background: #000; 
    } 
    .modal-info { 
        width: 100%; 
        padding: 20px; 
    } 
    .modal-info h2 { 
        font-size: 24px; 
    } 
    .close-modal { 
        top: 10px; 
        right: 15px; 
        width: 35px; 
        height: 35px; 
        font-size: 18px;
    }
    .movie-grid { 
        padding: 15px 10px;
        gap: 12px;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .movie-grid:not(.dashboard-hidden) { 
        margin-left: 0 !important;
        width: 100% !important;
    }
    .dashboard { display: none; }
    .new-badge-poster { left: 55px; }
    .pending-badge { left: 110px; }
    
    /* Responsive για ηθοποιούς σε κινητά */
    .actor-avatar { 
        width: 70px; 
        height: 70px; 
    }
    .actor-placeholder { 
        width: 70px; 
        height: 70px; 
        font-size: 28px;
    }
    .actor-name { 
        font-size: 11px; 
        max-width: 80px;
    }
    .actor-item { 
        width: 80px;
    }
    
    /* Responsive για info grid σε κινητά */
    .info-grid { 
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .info-grid-label { 
        font-size: 12px;
    }
    .info-grid-value { 
        font-size: 14px;
    }
}

#backToTop { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--primary); color: white; border: none; border-radius: 50%; font-size: 20px; cursor: pointer; display: none; z-index: 3000; }
.dashboard { position: fixed; left: 20px; top: 100px; width: 280px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 15px; z-index: 100; backdrop-filter: blur(10px); transition: all 0.3s ease; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.dashboard-header h3 { margin: 0; font-size: 14px; color: var(--primary); }
.close-dash-btn { background: none; border: none; color: var(--text); font-size: 18px; cursor: pointer; padding: 0 5px; opacity: 0.7; transition: opacity 0.2s; }
.close-dash-btn:hover { opacity: 1; color: var(--primary); }
.dashboard-stats { display: flex; flex-direction: column; gap: 8px; }
.stat-item { display: flex; justify-content: space-between; font-size: 12px; padding: 5px 0; border-bottom: 1px solid var(--border); }
.stat-label { font-weight: 500; opacity: 0.8; }
.stat-value { font-weight: 700; color: var(--primary); }
.dashboard-actions { margin-top: 15px; display: flex; flex-direction: column; gap: 8px; }
.dash-btn { background: var(--input-bg); border: 1px solid var(--border); color: var(--text); padding: 6px; border-radius: 8px; font-size: 11px; cursor: pointer; transition: all 0.2s; }
.dash-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.add-movie-modal, .edit-movie-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--card); padding: 25px; border-radius: 16px; z-index: 5000; width: 90%; max-width: 700px; max-height: 85vh; overflow-y: auto; border: 1px solid var(--border); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.add-movie-modal h2, .edit-movie-modal h2 { color: var(--primary); margin-bottom: 20px; text-align: center; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 13px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px; background: var(--input-bg); border: 1px solid var(--border); color: var(--text); border-radius: 8px; font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.modal-buttons { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.modal-buttons button { padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; }
.btn-save { background: #2ecc71; color: white; }
.btn-cancel { background: #e74c3c; color: white; }
.btn-tmdb { background: #01b4e4; color: white; padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer; }
.version-badge { position: fixed; bottom: 10px; left: 10px; font-size: 10px; opacity: 0.5; background: var(--card); padding: 4px 8px; border-radius: 8px; z-index: 100; }
.toast-message { position: fixed; bottom: 20px; right: 20px; padding: 12px 24px; border-radius: 8px; z-index: 10000; animation: slideIn 0.3s ease; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Request Tabs */
.request-tab-btn { background: var(--input-bg); color: var(--text); border: none; padding: 8px 20px; border-radius: 20px; cursor: pointer; font-size: 14px; transition: all 0.2s; }
.request-tab-btn.active { background: var(--primary); color: white; }
.request-tab-btn:hover { background: var(--primary); color: white; opacity: 0.8; }
/* ============ ΜΕΓΑΛΥΤΕΡΕΣ ΓΡΑΜΜΑΤΟΣΕΙΡΕΣ ΣΤΟ MODAL ============ */
.modal-info {
    font-size: 18px;
}

.modal-info h2 {
    font-size: 36px;
}

.modal-description {
    font-size: 17px;
    line-height: 1.7;
}

.info-grid-label {
    font-size: 16px;
}

.info-grid-value {
    font-size: 18px;
    font-weight: 500;
}

.rating-stars-big {
    font-size: 30px;
}

.rating-value-big {
    font-size: 32px;
}

.actor-name {
    font-size: 15px;
}

.modal-meta-bar span {
    font-size: 14px;
    padding: 5px 14px;
}

/* ============ ΜΕΓΑΛΥΤΕΡΑ ΚΟΥΜΠΙΑ ΣΥΛΛΟΓΩΝ ============ */
.collections-section {
    text-align: left;
    margin: 18px 0;
    padding: 12px;
    background: var(--input-bg);
    border-radius: 12px;
}

.collections-label {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    color: var(--primary);
}

.collections-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

.collection-btn {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--border);
    background: var(--input-bg);
    color: var(--text);
}

.collection-btn.active {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary);
}

.collection-btn:hover {
    background: rgba(229,9,20,0.15);
    transform: translateY(-2px);
}
/* ============ ΠΡΟΣΘΗΚΗ ΓΙΑ SUGGESTION POPUP ============ */

/* Suggestion Platform Buttons */
.suggestion-platform-btn {
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-platform-btn:hover {
    transform: translateY(-2px);
}

/* Scrollbar για το popup */
#freeSuggestionPopup::-webkit-scrollbar {
    width: 6px;
}

#freeSuggestionPopup::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

#freeSuggestionPopup::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Για Firefox */
#freeSuggestionPopup {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(255,255,255,0.05);
}
/* ============ ΝΟΜΙΚΑ MODALS ============ */
.legal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    z-index: 20000;
    align-items: center;
    justify-content: center;
}

.legal-modal-content {
    background: var(--card);
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow: hidden;
    border: 2px solid var(--primary);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.legal-modal-content h2 {
    color: var(--primary);
    padding: 20px 25px 0 25px;
    margin: 0;
    font-size: 24px;
}

.legal-scroll {
    padding: 0 25px 25px 25px;
    max-height: calc(85vh - 70px);
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
}

.legal-scroll h3 {
    color: var(--primary);
    margin: 20px 0 10px 0;
    font-size: 18px;
}

.legal-scroll ul {
    margin: 10px 0 10px 20px;
}

.legal-scroll li {
    margin: 5px 0;
}

.legal-date {
    margin-top: 20px;
    font-size: 12px;
    opacity: 0.6;
    text-align: right;
}

.legal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text);
    transition: color 0.2s;
    z-index: 20001;
}

.legal-close:hover {
    color: var(--primary);
}

/* ============ FOOTER ============ */
.site-footer {
    margin-top: 60px;
    padding: 30px 5% 20px;
    background: var(--card);
    border-top: 1px solid var(--border);
    font-size: 12px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-disclaimer {
    opacity: 0.6;
    margin-bottom: 15px;
    font-size: 11px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-disclaimer a {
    color: var(--primary);
    text-decoration: none;
}

.footer-copyright {
    opacity: 0.4;
    font-size: 10px;
}

/* GDPR buttons inside modal */
#gdprExportBtn, #gdprDeleteBtn {
    transition: all 0.2s ease;
}

#gdprExportBtn:hover, #gdprDeleteBtn:hover {
    transform: translateY(-2px);
}
/* ΤΕΛΙΚΗ ΔΥΝΑΤΗ ΛΥΣΗ */
.modal-icon-btn, .download-btn-yts, #modalDownloadBtn, #modalAddBtn {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: inline-flex !important;
    pointer-events: auto !important;
    z-index: 999999 !important;
    position: relative !important;
    cursor: pointer !important;
}
/* ============ ΠΡΟΤΕΙΝΟΜΕΝΗ ΤΑΙΝΙΑ - ΠΛΗΡΕΣ ΠΛΑΤΟΣ ============ */
#featuredMovieContainer {
    width: 100%;
    margin: 0 0 30px 0 !important;
}

#featuredMovieContainer > div > div {
    border-radius: 0 !important;
}

/* Responsive για κινητά */
@media (max-width: 700px) {
    #featuredMovieContainer > div > div > div {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    #featuredPoster {
        margin: 0 auto;
    }
    
    #featuredTitle {
        font-size: 24px !important;
    }
    
    #featuredDesc {
        margin-left: auto;
        margin-right: auto;
    }
    
    #featuredWatchBtn, #featuredWatchlistBtn {
        flex: 1;
    }
}

/* Hover effects για τα κουμπιά */
#featuredWatchBtn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

#featuredWatchlistBtn:hover {
    transform: translateY(-2px);
    background: rgba(229,9,20,0.1);
}
/* ============ LIGHT THEME FIX FOR FEATURED MOVIE ============ */
[data-theme="light"] #featuredDesc {
    color: #1a1a1a !important;
    text-shadow: none !important;
}

[data-theme="light"] #featuredMovieContainer p {
    color: #1a1a1a !important;
}

[data-theme="light"] #featuredHeroBg > div {
    background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.7) 100%) !important;
}

[data-theme="light"] #featuredTitle {
    text-shadow: none !important;
}

[data-theme="light"] #featuredYear,
[data-theme="light"] #featuredQuality,
[data-theme="light"] #featuredType {
    color: #1a1a2e !important;
    background: rgba(0,0,0,0.1) !important;
}

[data-theme="light"] #featuredStars {
    color: #e67e22 !important;
}

[data-theme="light"] #featuredWatchlistBtn {
    background: rgba(0,0,0,0.05) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}
/* Απόκρυψη της μικρής αφίσας στο banner της προτεινόμενης ταινίας */
#featuredPoster {
    display: none !important;
}
/* Διόρθωση backdrop - κάλυψη όλου του banner */
#featuredHeroBg {
    position: relative;
    width: 100%;
    min-height: 450px;
    background-size: cover !important;
    background-position: center 25% !important;
    background-repeat: no-repeat !important;
}

#featuredHeroBg > div {
    position: relative;
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    backdrop-filter: brightness(0.7);
}

/* Για κινητά */
@media (max-width: 768px) {
    #featuredHeroBg {
        min-height: 550px;
    }
    #featuredHeroBg > div {
        min-height: 550px;
    }
}
/* Μετακίνηση μπάρας αναζήτησης στο header */
.header-controls .search-wrapper {
    width: 220px;
    margin-right: 5px;
}
.header-controls .search-wrapper input {
    width: 100%;
    padding: 6px 28px 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    background: var(--input-bg);
    border: 1px solid var(--border);
    color: var(--text);
}
.header-controls .clear-search-btn {
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
}
@media (max-width: 850px) {
    .header-controls .search-wrapper {
        width: 100%;
        order: 2;
        margin: 5px 0;
    }
}
/* Απόκρυψη του παλιού search-section (αν υπάρχει) */
.search-section {
    display: none;
}
/* Τα φίλτρα τα αφήνουμε όπως είναι, αλλά αν θες μπορείς να τα στοιχίσεις */
.filter-group {
    margin-top: 10px;
    margin-bottom: 20px;
}
/* Μεγαλύτερη γραμματοσειρά για την περίληψη στο banner */
#featuredDesc {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* Αν θέλεις ακόμα μεγαλύτερη, π.χ. 18px, άλλαξε την τιμή */

/* Κάνει το backdrop πιο ζωντανό, μειώνοντας το μαύρο overlay */
#featuredHeroBg > div {
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.3) 100%) !important;
}

/* Για ακόμα πιο ανοιχτό (ζωντανό) αποτέλεσμα, χρησιμοποίησε αυτό: */
/*
#featuredHeroBg > div {
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.15) 100%) !important;
}
*/

/* Στο light theme, κάνε το overlay ακόμα πιο ανοιχτόχρωμο (λευκό διάφανο) */
[data-theme="light"] #featuredHeroBg > div {
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.2) 100%) !important;
}
/* Τίτλος προτεινόμενης ταινίας – λευκός στο dark, μαύρος στο light */
#featuredTitle {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

[data-theme="light"] #featuredTitle {
    color: #1a1a1a !important;
    text-shadow: none;
}