body {
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding-top: 85px;
    padding-bottom: 75px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.5);
}

.navbar-brand-custom {
    font-weight: bold;
    color: #dc3545 !important;
    text-decoration: none;
}

main {
    width: 100%;
}


/* Slider & Scroll Logik */
.no-scrollbar {
    overflow-x: auto;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar.grabbing { cursor: grabbing; }

/* Card Effekte */
@media (min-width: 992px) {
    .hover-shadow-transition {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .hover-shadow-transition:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
}

.btn-xs { padding: 0.25rem 0.5rem; font-size: 0.75rem; border-radius: 0.2rem; }

.star-icon {
    display: block; /* Verhindert das Inline-Spacing Problem */
    object-fit: contain;
}

.star-icon.active {
    filter: drop-shadow(0 0 1px rgba(255, 193, 7, 0.6));
}

.star-icon.inactive {
    filter: grayscale(1) brightness(0.3);
    opacity: 0.5;
}

/* Wichtig für den Teil-Stern Effekt */
.star-rating .position-relative div img {
    position: absolute;
    top: 0;
    left: 0;
}

/* Detailseite Spezifisch */
.text-info-custom { color: #40e0d0 !important; }
.bg-info-custom { background-color: #40e0d0 !important; }

.poster-container img {
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.hover-scale {
    transition: all 0.2s ease;
}
.hover-scale:hover {
    transform: scale(1.05);
    background: rgba(255, 0, 0, 0.1) !important;
    border-color: #ff0000 !important;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3) !important;
}

.backdrop-placeholder {
    height: 450px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.poster-placeholder {
    aspect-ratio: 2/3;
    background: #2a2a2a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.3);
}

#liveSearch::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1; /* Firefox fix */
}

/* Für ältere Browser / Webkit */
#liveSearch::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Fix für die verrutschten Sterne */
.star-rating {
    vertical-align: middle;
    display: inline-flex !important;
    align-items: center;
}

.star-container {
    display: block;
    line-height: 0; /* Verhindert, dass Whitespace den Stern nach oben drückt */
}

.star-icon {
    display: block;
    object-fit: contain;
}

/* Optional: Ein leichter Glow für die Sterne passend zum Boss-Theme */
.star-container img:not(.star-empty) {
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.5));
}
