/* TV Magazin - Cinematic Netflix Style */
:root {
    --bg-dark: #09090b;
    --bg-card: #18181b;
    --border-color: #27272a;
    --cinema-red: #e50914;
    --cinema-red-dark: #b80710;
    --text-white: #ffffff;
    --text-silver: #e4e4e7;
    --text-muted: #a1a1aa;
    --font-impact: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-silver);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.cinema-header {
    background-color: rgba(9, 9, 11, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cinema-logo {
    font-family: var(--font-impact);
    font-size: 2.2rem;
    color: var(--cinema-red);
    text-decoration: none;
    letter-spacing: 1px;
}

.cinema-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-silver);
    transition: var(--transition);
}

.nav-item:hover {
    color: var(--cinema-red);
}

.nav-btn-red {
    text-decoration: none;
    background-color: var(--cinema-red);
    color: var(--text-white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-btn-red:hover {
    background-color: var(--cinema-red-dark);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.4);
}

/* Hero Spotlight */
.cinema-hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    overflow: hidden;
    background-color: #050505;
    background-image: url('images/unsplash_1489599849927-2ee91cede3ba.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Cinema Dropdown styles */
.cinema-dropdown {
    position: relative;
    display: inline-block;
}

.cinema-dropdown-toggle {
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-silver);
    transition: var(--transition);
    border: none;
    background: none;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.cinema-dropdown-toggle::after {
    content: '▼';
    font-size: 0.6rem;
    color: var(--cinema-red);
}

.cinema-dropdown-toggle:hover {
    color: var(--cinema-red);
}

.cinema-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    min-width: 250px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.9);
    z-index: 1000;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    border-radius: 4px;
    animation: fadeIn 0.2s ease;
}

.cinema-dropdown-content a {
    color: var(--text-silver);
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-family: var(--font-body);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.cinema-dropdown-content a:last-child {
    border-bottom: none;
}

.cinema-dropdown-content a:hover {
    background-color: rgba(229, 9, 20, 0.1);
    color: var(--text-white);
    padding-left: 1.5rem;
}

.cinema-dropdown:hover .cinema-dropdown-content {
    display: block;
}

.hero-bg-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.25;
    background-image: radial-gradient(circle, #e50914 1px, transparent 1px);
    background-size: 24px 24px;
}

.cinema-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--bg-dark) 40%, transparent 80%),
                linear-gradient(0deg, var(--bg-dark) 5%, transparent 40%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin-left: 5%;
}

.spotlight-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cinema-red);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-impact);
    font-size: 5rem;
    line-height: 0.95;
    color: var(--text-white);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-silver);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-btn-action {
    display: inline-block;
    background-color: var(--text-white);
    color: var(--bg-dark);
    font-family: var(--font-body);
    font-weight: 700;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.hero-btn-action:hover {
    background-color: var(--cinema-red);
    color: var(--text-white);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

/* Sections */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-title {
    font-family: var(--font-impact);
    font-size: 2.5rem;
    color: var(--text-white);
    letter-spacing: 1px;
    margin-bottom: 3rem;
    border-left: 4px solid var(--cinema-red);
    padding-left: 1rem;
}

/* Platforms Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.platform-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.platform-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.platform-card.netflix-red::after { background-color: var(--cinema-red); }
.platform-card.max-blue::after { background-color: #0056ff; }
.platform-card.sky-purple::after { background-color: #5b21b6; }

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--cinema-red);
    box-shadow: 0 10px 25px rgba(229, 9, 20, 0.05);
}

.platform-name {
    font-family: var(--font-impact);
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.platform-info {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Shows Grid */
.shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.show-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.show-card:hover {
    transform: scale(1.02);
    border-color: var(--cinema-red);
}

.show-img-placeholder {
    height: 220px;
    background-color: #1e1b1b;
}

.pattern-besa {
    background-image: repeating-linear-gradient(45deg, #1e1e1e, #1e1e1e 10px, #e50914 10px, #e50914 11px, #1e1e1e 11px, #1e1e1e 20px);
}

.pattern-sluzbenik {
    background-image: linear-gradient(135deg, #121212 25%, transparent 25%),
                      linear-gradient(225deg, #121212 25%, transparent 25%),
                      linear-gradient(45deg, #121212 25%, transparent 25%),
                      linear-gradient(315deg, #121212 25%, #181818 25%);
    background-size: 30px 30px;
}

.show-body {
    padding: 2rem;
}

.show-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cinema-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.show-body h3 {
    font-family: var(--font-impact);
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.show-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Quiz Section */
.quiz-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4rem;
}

.quiz-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.quiz-meta {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cinema-red);
    letter-spacing: 2px;
}

.quiz-title {
    font-family: var(--font-impact);
    font-size: 2.5rem;
    color: var(--text-white);
    margin: 0.8rem 0;
    letter-spacing: 1px;
}

.quiz-desc {
    color: var(--text-muted);
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.step-question {
    font-size: 1.3rem;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 2.5rem;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 450px;
    margin: 0 auto;
}

.quiz-opt {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-silver);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.quiz-opt:hover {
    border-color: var(--cinema-red);
    background-color: rgba(229, 9, 20, 0.05);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Result Design */
.quiz-result-card {
    text-align: center;
    animation: fadeIn 0.6s ease;
}

.result-star {
    font-size: 3.5rem;
    color: var(--cinema-red);
    margin-bottom: 1rem;
}

.result-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.rec-title {
    font-family: var(--font-impact);
    font-size: 3rem;
    color: var(--text-white);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.rec-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.rec-meta span {
    color: var(--cinema-red);
    font-weight: 700;
}

.rec-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    color: var(--text-silver);
}

.cinema-restart-btn {
    background-color: var(--cinema-red);
    color: var(--text-white);
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
}

.cinema-restart-btn:hover {
    background-color: var(--cinema-red-dark);
}

/* Footer */
.cinema-footer {
    background-color: #050505;
    border-top: 1px solid var(--border-color);
    padding: 5rem 1.5rem 2.5rem 1.5rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-family: var(--font-impact);
    font-size: 2rem;
    color: var(--cinema-red);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-links-col h4 {
    font-family: var(--font-impact);
    color: var(--cinema-red);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links-col a:hover {
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .cinema-hero {
        height: auto;
        padding: 6rem 1.5rem;
    }
    .hero-content {
        margin-left: 0;
    }
    .quiz-box {
        padding: 2.5rem 1.5rem;
    }
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Rich Content Pages Styles */
.content-section {
    padding: 5rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.content-section h1 {
    font-family: var(--font-impact);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.8rem;
    letter-spacing: 1px;
}

.content-section h2 {
    font-family: var(--font-impact);
    font-size: 2.2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--cinema-red);
    letter-spacing: 1px;
}

.content-section h3 {
    font-size: 1.4rem;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-white);
    font-weight: 700;
}

.content-section p {
    font-size: 1.05rem;
    color: var(--text-silver);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.content-section ul, .content-section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-silver);
    font-weight: 300;
}

.content-section strong {
    color: var(--text-white);
    font-weight: 700;
}

.back-to-home {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--cinema-red);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
}

.back-to-home:hover {
    color: var(--text-white);
    transform: translateX(-5px);
}


/* Cinema Dropdowns (replacing custom cinema-dropdown class with nav-item-dropdown) */
.cinema-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-trigger {
    cursor: pointer;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-card);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--cinema-red);
    z-index: 1000;
    padding: 0.5rem 0;
}
.dropdown-menu a {
    color: var(--text-silver);
    font-family: var(--font-body);
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    transition: var(--transition);
}
.dropdown-menu a:hover {
    background-color: rgba(229, 9, 20, 0.08);
    color: var(--cinema-red);
    padding-left: 1.5rem;
}
.nav-item-dropdown:hover .dropdown-menu {
    display: block;
}

/* General Content Links */
p a, .faq-answer a, .faq-block a {
    color: var(--cinema-red);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition);
}
p a:hover, .faq-answer a:hover, .faq-block a:hover {
    color: var(--text-white);
    text-decoration: none;
}
p a:visited, .faq-answer a:visited, .faq-block a:visited {
    color: var(--cinema-red);
}

/* Hero Spotlight Slider Styles */
.slider-container {
    position: relative;
    padding: 0 !important;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--bg-dark) 45%, transparent 85%),
                linear-gradient(0deg, var(--bg-dark) 5%, transparent 40%);
    z-index: 0;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin-left: 10%;
    text-align: left;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    font-size: 1.5rem;
    padding: 1rem 0.8rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--cinema-red);
    border-color: var(--cinema-red);
}

.prev-btn {
    left: 2rem;
}

.next-btn {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active, .slider-dot:hover {
    background: var(--cinema-red);
    transform: scale(1.25);
}

@media (max-width: 768px) {
    .slider-btn {
        display: none;
    }
    .hero-slide .hero-content {
        margin-left: 0;
    }
}
