@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Crimson+Text:wght@400;600&family=Courier+Prime&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0a;
    color: #e8d4b0;
    font-family: 'Crimson Text', serif;
    overflow-x: hidden;
    position: relative;
}

/* Vintage Film Grain Effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 1px,
            rgba(255,255,255,.03) 1px,
            rgba(255,255,255,.03) 2px
        );
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0) }
    10% { transform: translate(-5%, -10%) }
    30% { transform: translate(3%, 15%) }
    50% { transform: translate(12%, 9%) }
    70% { transform: translate(9%, 4%) }
    90% { transform: translate(-1%, 7%) }
}

/* Neue Hero-Hintergründe */
.hero-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-background.active {
    opacity: 0.4;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
}

/* Hero Content Transitions */
.hero-content.transitioning {
    opacity: 0;
    transform: translateX(-20px);
}

/* Schöne Boxen für Meta-Informationen */
.hero-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.hero-meta span {
    padding: 8px 16px;
    background: rgba(0,0,0,0.7);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #e8d4b0;
    font-family: 'Courier Prime', monospace;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.hero-meta span:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.8);
    transform: translateY(-1px);
}

/* Progress Bar */
.hero-progress {
    position: absolute;
    bottom: 30px;
    left: 50px;
    right: 50px;
    height: 4px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 2px;
    z-index: 3;
    overflow: hidden;
}

.hero-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #f5d347);
    border-radius: 2px;
    width: 0%;
    transition: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.hero-progress-bar.running {
    animation: progress-fill 8s linear;
}

@keyframes progress-fill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 60px;
    left: 50px;
    display: flex;
    gap: 12px;
    z-index: 3;
}

.hero-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.hero-indicator.active {
    background: #d4af37;
    transform: scale(1.1);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.hero-indicator:hover {
    background: rgba(212, 175, 55, 0.7);
    transform: scale(1.05);
}

/* Header - FIXED Z-INDEX */
header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s;
}

header.scrolled {
    padding: 15px 50px;
    background: rgba(0,0,0,0.98);
}

.logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 42px;
    color: #d4af37;
    text-shadow: 
        0 0 20px rgba(212, 175, 55, 0.5),
        0 0 40px rgba(212, 175, 55, 0.3),
        0 0 60px rgba(212, 175, 55, 0.1);
    letter-spacing: 3px;
    position: relative;
}

.logo::before {
    content: "★";
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
    font-size: 24px;
    animation: sparkle 3s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: translateY(-50%) rotate(15deg) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) rotate(15deg) scale(1.2); }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #d4af37;
    font-size: 28px;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: #e8d4b0;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
    position: relative;
    font-family: 'Courier Prime', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 50px;
    background: 
        radial-gradient(ellipse at top, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.hero::before {
    display: none !important;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 72px;
    color: #d4af37;
    text-shadow: 
        3px 3px 6px rgba(0,0,0,0.7),
        0 0 30px rgba(212, 175, 55, 0.3);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero .year {
    font-family: 'Courier Prime', monospace;
    font-size: 24px;
    color: #a89474;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #c9b691;
}

.btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border: none;
    font-family: 'Bebas Neue', cursive;
    font-size: 20px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #d4af37;
    color: #0a0a0a;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}

.btn-secondary:hover {
    background: #d4af37;
    color: #0a0a0a;
}

/* Content Container */
.content-wrapper {
    position: relative;
    z-index: 2;
    background: #0a0a0a;
}

/* Trending Section */
.trending-section {
    display: flex;
    gap: 50px;
    padding: 60px 50px;
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
}

.trending-classics {
    flex: 1;
}

.trending-classics h2,
.coming-soon h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
    color: #d4af37;
    margin-bottom: 25px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.trending-classics h2::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: '\f06d'; /* fa-fire */
    font-size: 24px;
}

.coming-soon h2::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: '\f03d'; /* fa-video */
    font-size: 24px;
}

.trending-list {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 20px;
}

.trending-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-item:hover {
    background: rgba(212, 175, 55, 0.1);
    padding-left: 10px;
}

.trending-rank {
    font-family: 'Bebas Neue', cursive;
    font-size: 36px;
    color: #d4af37;
    width: 50px;
    text-align: center;
}

.trending-info h4 {
    font-size: 20px;
    color: #e8d4b0;
    margin-bottom: 5px;
}

.trending-info p {
    font-family: 'Courier Prime', monospace;
    font-size: 14px;
    color: #a89474;
}

/* Coming Soon */
.coming-soon {
    flex: 1;
}

.coming-soon-item {
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.coming-soon-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.6s;
}

.coming-soon-item:hover::before {
    left: 100%;
}

.coming-soon-item:hover {
    transform: translateX(5px);
    border-color: #d4af37;
}

.coming-date {
    font-family: 'Bebas Neue', cursive;
    font-size: 18px;
    color: #d4af37;
    margin-bottom: 5px;
}

.coming-title {
    font-size: 22px;
    color: #e8d4b0;
    margin-bottom: 5px;
}

.coming-type {
    font-family: 'Courier Prime', monospace;
    font-size: 14px;
    color: #a89474;
    font-style: italic;
}

/* Movie Categories */
.categories {
    padding: 60px 50px;
    background: #0a0a0a;
    position: relative;
    z-index: 2;
}

.category {
    margin-bottom: 50px;
}

.category h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 36px;
    color: #d4af37;
    margin-bottom: 20px;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.category h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #d4af37;
}

/* Verbesserte Movie Row */
.movie-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    cursor: grab;
}

.movie-row::-webkit-scrollbar {
    height: 8px;
}

.movie-row::-webkit-scrollbar-track {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 4px;
}

.movie-row::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.5);
    border-radius: 4px;
}

.movie-row::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.7);
}

/* Verbesserte Movie Card Styles */
.movie-card {
    position: relative;
    min-width: 280px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: #000;
}

.movie-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card:hover img {
    transform: scale(1.05);
}

/* Overlay für bessere Textlesbarkeit */
.movie-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Verbesserte Movie Info */
.movie-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    background: none;
}

.movie-info h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
}

.movie-info p {
    color: #d4af37;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.8),
        0 0 6px rgba(0, 0, 0, 0.6);
    font-family: 'Courier Prime', monospace;
}

/* Hover-Effekt für Text */
.movie-card:hover .movie-info h3 {
    color: #d4af37;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 12px rgba(212, 175, 55, 0.5);
}

.movie-card:hover .movie-info p {
    color: #ffffff;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(0, 0, 0, 0.7);
}

/* Features Section */
.features {
    padding: 80px 50px;
    background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
    text-align: center;
}

.features h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 48px;
    color: #d4af37;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.features-subtitle {
    font-size: 22px;
    color: #a89474;
    margin-bottom: 50px;
    font-style: italic;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 40px 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 28px;
    color: #d4af37;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 18px;
    color: #c9b691;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #000;
    padding: 60px 50px 40px;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    color: #d4af37;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #a89474;
    text-decoration: none;
    font-family: 'Courier Prime', monospace;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-family: 'Courier Prime', monospace;
    color: #666;
    font-size: 14px;
}

.footer-bottom a {
    color: #d4af37;
    text-decoration: none;
}

/* Film reel decoration */
.film-reel {
    position: fixed;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    opacity: 0.05;
    animation: rotate 20s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

.film-reel::before,
.film-reel::after {
    content: '';
    position: absolute;
    border: 20px solid #d4af37;
    border-radius: 50%;
    width: 100%;
    height: 100%;
}

.film-reel::after {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
}

/* Mobile Responsive für Hero */
@media (max-width: 768px) {
    .hero-progress,
    .hero-indicators {
        left: 25px;
        right: 25px;
    }
    
    .hero-indicators {
        left: 25px;
    }
    
    .hero-meta {
        gap: 10px;
    }
    
    .hero-meta span {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    .logo {
        font-size: 32px;
    }
    
    .logo::before {
        left: -20px;
        font-size: 18px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.98);
        padding: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s;
        z-index: 9998;
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero {
        height: 70vh;
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero .year {
        font-size: 20px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 18px;
    }
    
    .trending-section {
        flex-direction: column;
        padding: 40px 20px;
    }
    
    .categories {
        padding: 40px 20px;
    }
    
    .category h2 {
        font-size: 28px;
    }
    
    .movie-card {
        min-width: 200px;
        height: 300px;
    }
    
    .movie-info {
        padding: 15px;
    }
    
    .movie-info h3 {
        font-size: 16px;
    }
    
    .movie-info p {
        font-size: 12px;
    }
    
    .features {
        padding: 60px 20px;
    }
    
    .features h2 {
        font-size: 36px;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    footer {
        padding: 40px 20px 30px;
    }
    
    .film-reel {
        display: none;
    }
}

@media (max-width: 480px) {
    .movie-card {
        min-width: 160px;
        height: 240px;
    }
    
    .movie-info {
        padding: 12px;
    }
    
    .movie-info h3 {
        font-size: 14px;
    }
    
    .movie-info p {
        font-size: 11px;
    }
}