/* FILMBRAND - Globale Styles */

:root {
    --fb-bg: #0b0b0f;
    --fb-surface: rgba(255, 255, 255, 0.025);
    --fb-border: rgba(255, 255, 255, 0.08);
    --fb-ink: #e5e7eb;
    --fb-muted: #9ca3af;
    --fb-accent: #B11226;
    --fb-primary-text: #ff4d63;
    --fb-header-height: 60px;
    --fb-gold: #EAB308;
}

/* Kontrast: Primary-Text auf Dark-Background heller darstellen (ohne Buttons/BGs zu ändern) */
.dark .text-primary,
.dark .hover\:text-primary:hover,
.dark .focus\:text-primary:focus,
.dark .active\:text-primary:active,
.dark .group-hover\:text-primary,
.dark .group-hover\:text-primary:hover {
    color: var(--fb-primary-text) !important;
}

.dark .text-primary\/80 {
    color: rgba(255, 77, 99, 0.8) !important;
}

.dark .hover\:text-primary\/80:hover {
    color: rgba(255, 77, 99, 0.8) !important;
}

/* Dezenter, minimaler Hintergrund */
body {
    background-color: var(--fb-bg);
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05), transparent 28%),
        radial-gradient(circle at 80% 0%, rgba(177, 18, 38, 0.12), transparent 24%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.02), transparent 60%);
    color: var(--fb-ink);
}

/* Line Clamp für Titel */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Scroll Margin für Genre-Navigation */
.scroll-mt-24 {
    scroll-margin-top: 6rem;
}

/* Hero CTA */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    background: var(--fb-accent);
    color: #ffffff !important;
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}
.hero-cta:hover {
    background-color: #C3162C;
}
.hero-cta svg {
    width: 0.9rem;
    height: 0.9rem;
}

/* Chart CTA */
.chart-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #f7f9ff;
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
}
.chart-cta:hover {
    background: rgba(255, 255, 255, 0.06);
}
.chart-cta svg {
    width: 0.85rem;
    height: 0.85rem;
}

/* Bebas Neue Font Class */
.font-bebas {
    font-family: 'Bebas Neue', sans-serif;
}

/* Header / Navigation - dezenter Minimalstil */
.fb-header {
    background: rgba(9, 9, 12, 0.95);
    border-bottom: 1px solid var(--fb-border);
}

.fb-nav-link {
    color: var(--fb-muted);
    padding: 0.2rem 0.5rem;
    transition: color 0.2s ease;
}

.fb-nav-link:hover {
    color: #fff;
}

.fb-nav-link.is-active {
    color: #fff;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

/* Subtile Oberflächen-Helfer */
.fb-surface {
    background: var(--fb-surface);
    border: 1px solid var(--fb-border);
    backdrop-filter: blur(10px);
}

/* Detailseite: aktive Zustände für Like- und Bookmark-Buttons */
[data-like-button].liked {
    border-color: rgba(239, 68, 68, 0.7); /* rot-500 */
    background-color: rgba(239, 68, 68, 0.18);
}

[data-like-button].liked svg {
    color: #f97373; /* heller Rotton */
}

[data-bookmark-button].bookmarked {
    border-color: rgba(248, 250, 252, 0.7); /* fast weiß */
    background-color: rgba(248, 250, 252, 0.14);
}

[data-bookmark-button].bookmarked svg {
    color: #e5e7eb; /* neutral-200 */
}

/* Home: Filmbrand Landing Styles (aus home.php ausgelagert) */
.glass { 
    background: rgba(23, 23, 23, 0.6); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.05);
}
.glow-primary { box-shadow: 0 0 40px rgba(239, 68, 68, 0.15); }
.glow-accent { box-shadow: 0 0 60px rgba(56, 189, 248, 0.1); }
.page-filmbrand {
    position: relative;
}
.page-filmbrand::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}
.section-divider {
    border-top: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 -1px 0 rgba(255,255,255,0.02);
}
.card-hover {
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.card-hover:hover {
    border-color: rgba(255,255,255,0.1);
}
.card-glow {
    position: absolute;
    inset: -1px;
    background: radial-gradient(120% 100% at 50% 0%, rgba(239, 68, 68, 0.08), rgba(14, 165, 233, 0.06));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hover-lift:hover { opacity: 0.9; }
.gradient-text {
    background: linear-gradient(135deg, #fafafa 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ticker-wrapper { overflow: hidden; }
.ticker-track { display: flex; width: max-content; }
.top-ticker-container {

    top: var(--fb-header-height, 72px);
    z-index: 40;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-ticker-shell {
    min-height: 28px;
    padding: 2px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 10px;
}
.streaming-skeleton {
    animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.hero-title {
    font-size: clamp(1.65rem, 3.2vw, 2.7rem);
}
@media (min-width: 640px) {
    .hero-title {
        font-size: clamp(1.95rem, 2.9vw, 3.1rem);
    }
}
@media (min-width: 1024px) {
    .hero-title {
        font-size: clamp(2.35rem, 2.8vw, 3.4rem);
    }
}
.hero-title--long {
    font-size: clamp(1.5rem, 2.9vw, 2.45rem);
}
@media (min-width: 640px) {
    .hero-title--long {
        font-size: clamp(1.8rem, 2.6vw, 2.85rem);
    }
}
@media (min-width: 1024px) {
    .hero-title--long {
        font-size: clamp(2.1rem, 2.5vw, 3.15rem);
    }
}
.hero-title--xlong {
    font-size: clamp(1.35rem, 2.6vw, 2.2rem);
}
@media (min-width: 640px) {
    .hero-title--xlong {
        font-size: clamp(1.55rem, 2.3vw, 2.5rem);
    }
}
@media (min-width: 1024px) {
    .hero-title--xlong {
        font-size: clamp(1.9rem, 2.2vw, 2.9rem);
    }
}
