.ffff {
    background-color: #da7f09;
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.5s ease-in-out;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #121212;
    color: #ffffff;
    animation: fadeIn 1.5s ease-in-out;
}

header {
    background-color: #1f1f1f;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

header .logo {
    font-size: 1rem;
    font-weight: bold;
    color: #1d76db;
}

header nav {
    display: flex;
    gap: 10px;
}

header nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #f4c10f;
}

.hero {
    background-image: url('c/header.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero h1,
.hero p,
.hero button {
    position: relative;
    z-index: 2;
    margin-top: 260px;
}

.hero p {
    font-size: 0.9rem;
    margin: 10px 0;
}

.hero button {
    padding: 8px 15px;
    font-size: 0.9rem;
    color: #121212;
    background-color: #f4c10f;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero button:hover {
    background-color: #e0b509;
}

.main-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 10px;
    max-width: 100%;
    margin: 0 auto;
    width: 95%;
}

.movie-card {
    position: relative;
    background-color: #1f1f1f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.movie-card:hover {
    transform: scale(1.50) translateY(-45px) rotate(3.5deg);
    box-shadow: 0 17px 30px rgba(0, 0, 0, 0.9), 0 0 50px rgba(56, 7, 1, 0.6);
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0.3s ease;
}

.movie-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.movie-card .content {
    padding: 10px;
}

.movie-card .content h3 {
    margin: 0;
    font-size: 1.0rem;
    color: #f4c10f;
}

.movie-card .content p {
    margin: 0px 0;
    font-size: 0.8rem;
    line-height: 1.0;
    color: #cccccc;
}

/* Categories Section */
.categories-section {
    margin: 40px auto;
    width: 85%;
    max-width: 100%;
}

.categories-title {
    text-align: center;
    font-size: 2.5rem;
    color: #f4c10f;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.category-card {
    position: relative;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    transition: background 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(244, 193, 15, 0.3);
}

.category-card:hover::before {
    background: linear-gradient(135deg, rgba(244, 193, 15, 0.2), rgba(0, 0, 0, 0.6));
}

.category-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #f4c10f;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.category-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.category-description {
    font-size: 0.9rem;
    color: #cccccc;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Category specific backgrounds */
.category-horror {
    background-image: url('https://images.unsplash.com/photo-1520637836862-4d197d17c90a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.category-action {
    background-image: url('https://images.unsplash.com/photo-1489599735734-79b4169c2a78?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.category-comedy {
    background-image: url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.category-scifi {
    background-image: url('https://images.unsplash.com/photo-1446776877081-d282a0f896e2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.category-drama {
    background-image: url('https://images.unsplash.com/photo-1489599735734-79b4169c2a78?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.category-thriller {
    background-image: url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.categories-container .category-card:nth-child(1) { animation-delay: 0.1s; }
.categories-container .category-card:nth-child(2) { animation-delay: 0.2s; }
.categories-container .category-card:nth-child(3) { animation-delay: 0.3s; }
.categories-container .category-card:nth-child(4) { animation-delay: 0.4s; }
.categories-container .category-card:nth-child(5) { animation-delay: 0.5s; }
.categories-container .category-card:nth-child(6) { animation-delay: 0.6s; }

/* Watchlist Section Styles */
.watchlist-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.watchlist-section h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.watchlist-items-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.empty-watchlist {
    text-align: center;
    color: #ccc;
    padding: 2rem;
    font-style: italic;
}

.watchlist-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.watchlist-item:hover {
    transform: translateY(-2px);
}

.watchlist-movie-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    position: relative;
}

.watchlist-movie-card img {
    width: 60px;
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 1rem;
}

.watchlist-content {
    flex: 1;
    color: #fff;
}

.watchlist-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.watchlist-genre {
    margin: 0 0 0.3rem 0;
    color: #ccc;
    font-size: 0.9rem;
}

.watchlist-added {
    margin: 0;
    color: #999;
    font-size: 0.8rem;
}

.watchlist-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.3s ease;
}

.watchlist-remove:hover {
    background: rgba(255, 0, 0, 0.9);
}

/* Watchlist Button Styles */
.watchlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.watchlist-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.watchlist-btn span {
    font-size: 1.2rem;
}

/* Scrollbar styling for watchlist */
.watchlist-items-container::-webkit-scrollbar {
    width: 8px;
}

.watchlist-items-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.watchlist-items-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.watchlist-items-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Zwei-Spalten Layout für Watchlist */
.watchlist-columns-container {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.watchlist-column {
    flex: 1;
    min-width: 0;
}

.column-title {
    text-align: center;
    color: #f4c10f;
    font-size: 2rem;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #da7f09, #f4c10f);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.films-column .column-title {
    background: linear-gradient(135deg, #da7f09, #f4c10f);
}

.series-column .column-title {
    background: linear-gradient(135deg, #2196F3, #03DAC6);
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

/* Random Film Finder Banner Styles */
.random-finder-banner {
    width: 95%;
    max-width: 1400px;
    margin: 30px auto;
    background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 50%, #1f1f1f 100%);
    border-radius: 15px;
    border: 2px solid rgba(244, 193, 15, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
}

.random-banner-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 280px;
}

/* Left Side: Filters */
.random-filters-side {
    padding: 25px;
    border-right: 1px solid rgba(244, 193, 15, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.filters-header h3 {
    color: #f4c10f;
    font-size: 1.5rem;
    margin: 0 0 5px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.filters-header p {
    color: #cccccc;
    font-size: 0.9rem;
    margin: 0 0 20px 0;
    opacity: 0.8;
}

.filters-compact {
    flex: 1;
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.compact-select {
    background: #333333;
    color: #ffffff;
    border: 1px solid rgba(244, 193, 15, 0.3);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.compact-select:hover {
    border-color: rgba(244, 193, 15, 0.6);
    background: #3a3a3a;
}

.compact-select:focus {
    outline: none;
    border-color: #f4c10f;
    box-shadow: 0 0 8px rgba(244, 193, 15, 0.3);
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin: 15px 0 10px 0;
}

.find-btn {
    flex: 1;
    background: linear-gradient(135deg, #f4c10f 0%, #da7f09 100%);
    color: #121212;
    border: none;
    padding: 12px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(244, 193, 15, 0.3);
}

.find-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(244, 193, 15, 0.5);
}

.find-btn.loading {
    animation: pulse 1s infinite;
    pointer-events: none;
}

.find-btn.loading .btn-icon {
    animation: spin 0.5s linear infinite;
}

.reset-btn {
    background: #444444;
    color: #cccccc;
    border: none;
    padding: 12px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.reset-btn:hover {
    background: #555555;
    transform: rotate(180deg);
}

.filter-counter {
    text-align: center;
    color: #cccccc;
    font-size: 0.8rem;
    padding: 8px;
    background: rgba(244, 193, 15, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(244, 193, 15, 0.2);
}

#filteredCount {
    color: #f4c10f;
    font-weight: bold;
}

/* Right Side: Result */
.random-result-side {
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-placeholder {
    text-align: center;
    color: #666666;
}

.placeholder-content {
    opacity: 0.7;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.placeholder-content h4 {
    color: #888888;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
}

.placeholder-content p {
    color: #666666;
    font-size: 0.9rem;
    margin: 0;
}

.result-display {
    width: 100%;
    animation: slideInRight 0.5s ease-out;
}

.result-movie {
    display: flex;
    gap: 15px;
    align-items: center;
}

.result-poster {
    position: relative;
    flex-shrink: 0;
}

.result-poster img {
    width: 90px;
    height: 135px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.result-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 8px 6px 4px 6px;
    border-radius: 0 0 8px 8px;
}

.result-tags-overlay {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.tag-overlay {
    background: rgba(244, 193, 15, 0.9);
    color: #121212;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: bold;
}

.result-details {
    flex: 1;
    min-width: 0;
}

.result-details h4 {
    color: #f4c10f;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.result-details p {
    color: #cccccc;
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-actions-compact {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.action-btn.primary {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    flex: 1;
}

.action-btn.secondary {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
}

.action-btn.watchlist {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.footer {
    background-color: #1f1f1f;
    text-align: center;
    padding: 10px;
    margin-top: 40px;
}

.footer p {
    margin: 0;
    color: #cccccc;
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* MOBILE RESPONSIVE STYLES - CLEANED UP */
@media (max-width: 1200px) {
    .watchlist-columns-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .random-banner-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .random-filters-side {
        border-right: none;
        border-bottom: 1px solid rgba(244, 193, 15, 0.2);
    }
}

@media (max-width: 768px) {
    /* Header Mobile */
    header {
        padding: 12px 8px;
        flex-direction: column;
        gap: 8px;
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(31, 31, 31, 0.95);
        backdrop-filter: blur(10px);
    }

    header .logo {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 5px;
    }

    header nav {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    header nav a {
        font-size: 0.8rem;
        padding: 6px 10px;
        background-color: rgba(244, 193, 15, 0.1);
        border-radius: 15px;
        transition: all 0.3s ease;
    }

    header nav a:hover {
        background-color: rgba(244, 193, 15, 0.3);
    }

    /* Hero Mobile */
    .hero {
        min-height: 200px;
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        padding: 20px 10px;
    }

    .hero h1 {
        font-size: 1.1rem;
        margin-top: 50px;
        padding: 0 10px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.8rem;
        padding: 0 10px;
    }

    /* MOVIE CARDS - MOBILE: 2 PER ROW - FIXED FOR LONGER COVERS */
    .main-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px 8px;
        width: 98%;
        margin: 0 auto;
    }

    .movie-card {
        border-radius: 10px;
        background-color: #1f1f1f;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
        transition: transform 0.2s ease;
        display: flex;
        flex-direction: column;
    }

    /* Disable hover effects on mobile */
    .movie-card:hover {
        transform: none;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
        z-index: 1;
    }

    .movie-card:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }

    /* FIXED: Mobile Image Sizing - LONGER COVERS */
    .movie-card img {
        width: 100%;
        height: 240px; /* INCREASED from 200px to 240px for longer covers */
        object-fit: cover;
        object-position: center top;
        background: #2a2a2a;
    }

    .movie-card .content {
        padding: 8px;
        text-align: center;
        flex: 0 0 auto;
        background: #1f1f1f;
        min-height: 50px;
    }

        .movie-card .content h3 {
        font-size: 0.8rem;
        margin: 0;
        line-height: 1.2;
        color: #f4c10f;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-weight: bold;
        min-height: 2.4em;
    }

    /* Hide descriptions on mobile */
    .movie-card .content p {
        display: none;
    }

    /* Random Finder Mobile */
    .random-finder-banner {
        width: 98%;
        margin: 15px auto;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .random-filters-side {
        padding: 15px;
        border-right: none;
        border-bottom: 1px solid rgba(244, 193, 15, 0.2);
        background: rgba(0, 0, 0, 0.1);
    }

    .filters-header h3 {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 8px;
    }

    .filters-header p {
        text-align: center;
        font-size: 0.8rem;
        margin-bottom: 12px;
        opacity: 0.9;
    }

    .filter-row {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 8px;
    }

    .compact-select {
        padding: 12px 10px;
        font-size: 0.9rem;
        border-radius: 10px;
        background: #2a2a2a;
        border: 1px solid rgba(244, 193, 15, 0.4);
        color: #ffffff;
        width: 100%;
        box-sizing: border-box;
        font-size: 16px; /* Prevents iOS zoom */
        -webkit-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4c10f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px;
    }

    .compact-select:focus {
        outline: 2px solid #f4c10f;
        outline-offset: 2px;
        border-color: #f4c10f;
        box-shadow: 0 0 8px rgba(244, 193, 15, 0.4);
    }

    .filter-actions {
        flex-direction: row;
        gap: 10px;
        margin: 12px 0;
    }

    .find-btn {
        flex: 1;
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: 25px;
        font-weight: bold;
        min-height: 48px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .find-btn:focus {
        outline: 2px solid #f4c10f;
        outline-offset: 2px;
    }

    .find-btn.loading {
        pointer-events: none;
        opacity: 0.7;
    }

    .find-btn.loading::after {
        content: '';
        width: 16px;
        height: 16px;
        border: 2px solid transparent;
        border-top: 2px solid #121212;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-left: 8px;
    }

    .reset-btn {
        padding: 14px 16px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .filter-counter {
        font-size: 0.8rem;
        padding: 8px;
        text-align: center;
        background: linear-gradient(135deg, rgba(244, 193, 15, 0.1), rgba(218, 127, 9, 0.1));
        border: 1px solid rgba(244, 193, 15, 0.3);
        border-radius: 8px;
        margin-top: 8px;
        backdrop-filter: blur(5px);
    }

    #filteredCount {
        font-size: 1.1em;
        font-weight: bold;
    }

    /* Result Section Mobile */
    .random-result-side {
        padding: 15px;
        min-height: 300px;
    }

    .result-placeholder {
        min-height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .placeholder-content {
        text-align: center;
        opacity: 0.6;
    }

    .placeholder-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
        opacity: 0.4;
    }

    .placeholder-content h4 {
        color: #888888;
        font-size: 1.1rem;
        margin: 0 0 6px 0;
    }

    .placeholder-content p {
        color: #666666;
        font-size: 0.85rem;
        margin: 0;
        line-height: 1.3;
    }

    .result-display {
        animation: slideInUp 0.4s ease-out;
    }

    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .result-movie {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        align-items: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        padding: 15px;
        border: 1px solid rgba(244, 193, 15, 0.1);
    }

    .result-poster {
        align-self: center;
        position: relative;
    }

    .result-poster img {
        width: 140px;
        height: 210px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
        object-fit: cover;
        background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
        transition: opacity 0.3s ease;
    }

    .result-details {
        width: 100%;
        text-align: center;
    }

    .result-details h4 {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .result-details p {
        text-align: center;
        font-size: 0.9rem;
        line-height: 1.4;
        -webkit-line-clamp: 4;
        margin-bottom: 15px;
        max-width: 100%;
    }

    .result-actions-compact {
        justify-content: center;
        gap: 8px;
        width: 100%;
        flex-wrap: wrap;
    }

    .action-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-height: 44px;
        border-radius: 22px;
        flex: 1;
        min-width: 100px;
        max-width: 150px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .action-btn:focus {
        outline: 2px solid #f4c10f;
        outline-offset: 2px;
    }

    .action-btn.primary {
        order: 1;
        background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    }

    .action-btn.secondary {
        order: 2;
        background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    }

    .action-btn.watchlist {
        order: 3;
        background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    }

    /* Section Headers Mobile */
    .section-header h2 {
        font-size: 1.6rem;
        margin: 25px 0 10px 0;
        padding: 0 10px;
        text-align: center;
    }

    .section-header h3 {
        font-size: 0.9rem;
        margin: 0 8px 15px 8px;
        padding: 12px;
        border-radius: 8px;
    }

    .ffff {
        font-size: 0.85rem;
        margin: 0 8px 15px 8px;
        padding: 12px;
        border-radius: 8px;
    }

    /* Categories Mobile */
    .categories-section {
        width: 98%;
        margin: 20px auto;
    }

    .categories-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .categories-container {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 8px;
    }

    .category-card {
        height: 100px;
        border-radius: 10px;
    }

    .category-card:hover {
        transform: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    }

    .category-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
        background-color: rgba(244, 193, 15, 0.1);
    }

    .category-icon {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }

    .category-name {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .category-description {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    /* Watchlist Mobile */
    .watchlist-section {
        margin: 1rem auto;
        padding: 0 8px;
    }

    .watchlist-items-container {
        max-height: 250px;
        padding: 8px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .watchlist-item:hover {
        transform: none;
    }

    .watchlist-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
        background-color: rgba(244, 193, 15, 0.1);
    }

    .watchlist-movie-card {
        padding: 10px;
    }

    .watchlist-movie-card img {
        width: 45px;
        height: 68px;
        margin-right: 10px;
    }

    .watchlist-content h4 {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .watchlist-genre {
        font-size: 0.75rem;
    }

    .watchlist-added {
        font-size: 0.7rem;
    }

    .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .column-title {
        font-size: 1.5rem;
        padding: 10px;
    }

    /* Footer Mobile */
    .footer {
        margin-top: 25px;
        padding: 12px 8px;
    }

    .footer p {
        font-size: 0.7rem;
    }

    /* Touch Optimizations */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    body {
        overflow-x: hidden;
        padding-bottom: env(safe-area-inset-bottom);
    }

    header {
        padding-top: max(12px, env(safe-area-inset-top));
        padding-left: max(8px, env(safe-area-inset-left));
        padding-right: max(8px, env(safe-area-inset-right));
        border-bottom: 1px solid rgba(244, 193, 15, 0.2);
    }

    .main-container,
    .random-finder-banner {
        margin-left: max(auto, env(safe-area-inset-left));
        margin-right: max(auto, env(safe-area-inset-right));
        padding-bottom: 20px;
    }

    .movie-card,
    .result-display,
    .find-btn {
        will-change: transform;
        transform: translateZ(0);
    }

    .main-container {
        contain: layout style paint;
        justify-items: stretch;
    }

    .movie-card img,
    .result-poster img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    .movie-card img:not([src]),
    .movie-card img[src=""],
    .result-poster img:not([src]),
    .result-poster img[src=""] {
        opacity: 0.5;
    }

    .movies-section {
        margin: 15px 0;
    }

    .section-header {
        margin-bottom: 10px;
    }
}

/* VERY SMALL SCREENS */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1rem;
        margin-top: 40px;
    }

    .main-container {
        gap: 8px;
        padding: 8px 6px;
    }

    .movie-card img {
        height: 220px; /* INCREASED from 180px for longer covers on small screens */
    }

    .movie-card .content h3 {
        font-size: 0.75rem;
    }

    .result-poster img {
        width: 120px;
        height: 180px;
    }

        .section-header h2 {
        font-size: 1.4rem;
    }

    .section-header h3 {
        font-size: 0.8rem;
        padding: 10px;
    }

    .random-filters-side,
    .random-result-side {
        padding: 12px;
    }

    .filters-header h3 {
        font-size: 1.1rem;
    }

    .filters-header p {
        font-size: 0.75rem;
    }

    .compact-select {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .find-btn {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .result-details h4 {
        font-size: 1.1rem;
    }

    .result-details p {
        font-size: 0.8rem;
    }

    .action-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
        min-width: 80px;
    }

    .filter-counter {
        font-size: 0.75rem;
        padding: 6px;
    }
}

/* ULTRA SMALL SCREENS */
@media (max-width: 360px) {
    .main-container {
        gap: 6px;
        padding: 6px 4px;
    }

    .movie-card img {
        height: 200px; /* INCREASED from 160px for longer covers on ultra small screens */
    }

    .movie-card .content {
        padding: 6px;
        min-height: 40px;
    }

    .movie-card .content h3 {
        font-size: 0.7rem;
        -webkit-line-clamp: 1;
    }

    .random-filters-side,
    .random-result-side {
        padding: 10px;
    }

    .compact-select {
        padding: 8px 6px;
        font-size: 0.8rem;
    }

    .find-btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .result-actions-compact {
        flex-direction: column;
        gap: 6px;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
        min-width: auto;
    }

    .result-poster img {
        width: 100px;
        height: 150px;
    }
}

/* ACCESSIBILITY & PERFORMANCE ENHANCEMENTS */
@media (prefers-color-scheme: dark) {
    .random-finder-banner {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
        border-color: rgba(244, 193, 15, 0.3);
    }

    .compact-select {
        background: #1a1a1a;
        border-color: rgba(244, 193, 15, 0.5);
    }

    .movie-card {
        background-color: #0f0f0f;
    }
}

@media (prefers-contrast: high) {
    .random-finder-banner,
    .movie-card,
    .compact-select {
        border-width: 2px;
        border-color: #f4c10f;
    }

    .find-btn {
        border: 2px solid #121212;
    }
}

@media (prefers-reduced-motion: reduce) {
    .random-finder-banner::before,
    .find-btn.loading,
    .find-btn.loading .btn-icon,
    .find-btn.loading::after,
    .result-display,
    .categories-container .category-card,
    body,
    .ffff {
        animation: none;
    }

    .action-btn:hover,
    .find-btn:hover,
    .reset-btn:hover,
    .movie-card:hover,
    .category-card:hover,
    .watchlist-item:hover {
        transform: none;
    }

    .movie-card:active,
    .category-card:active {
        transform: none;
    }
}

/* ERROR & SUCCESS STATES */
.error-state {
    text-align: center;
    padding: 20px;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 8px;
    margin: 10px;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.success-state {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    margin: 10px;
}

.loading-skeleton {
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* SHIMMER ANIMATION FOR BANNER */
.random-finder-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f4c10f, #da7f09, #f4c10f);
    /* animation: shimmer 3s infinite; */
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* FINAL CLEANUP - REMOVE ANY REMAINING DUPLICATES */
@media (max-width: 768px) {
    /* Ensure no hover effects interfere on mobile */
    .movie-card:hover {
        transform: none !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4) !important;
        z-index: 1 !important;
    }

    .category-card:hover {
        transform: none !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) !important;
    }

    .watchlist-item:hover {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .movie-card:hover {
        transform: none !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4) !important;
        z-index: 1 !important;
    }

    .movie-card:active {
        transform: scale(0.95);
    }
}


/* MOBILE RESPONSIVE STYLES - UPDATED */
@media (max-width: 768px) {
    /* MOVIE CARDS - MOBILE: 2 PER ROW - FIXED COVER DISPLAY */
    .main-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px 8px;
        width: 98%;
        margin: 0 auto;
    }

    .movie-card {
        border-radius: 10px;
        background-color: #1f1f1f;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
        transition: transform 0.2s ease;
        display: flex;
        flex-direction: column;
        height: auto; /* Allow natural height */
    }

    /* FIXED: Mobile Image Sizing - FULL COVER DISPLAY */
    .movie-card img {
        width: 100%;
        height: 280px; /* INCREASED from 240px for full cover display */
        object-fit: cover;
        object-position: center top; /* Show top of cover properly */
        background: #2a2a2a;
        border-radius: 0; /* Remove border radius for full coverage */
    }

    .movie-card .content {
        padding: 8px;
        text-align: center;
        flex: 0 0 auto;
        background: #1f1f1f;
        min-height: 50px;
    }

    .movie-card .content h3 {
        font-size: 0.8rem;
        margin: 0;
        line-height: 1.2;
        color: #f4c10f;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-weight: bold;
        min-height: 2.4em;
    }

    /* Hide descriptions on mobile */
    .movie-card .content p {
        display: none;
    }

    /* RANDOM FINDER - MOBILE: FULL WIDTH RESULT */
    .random-finder-banner {
        width: 98%;
        margin: 15px auto;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .random-banner-container {
        grid-template-columns: 1fr; /* Single column on mobile */
        min-height: auto;
    }

    .random-filters-side {
        padding: 15px;
        border-right: none;
        border-bottom: 1px solid rgba(244, 193, 15, 0.2);
        background: rgba(0, 0, 0, 0.1);
    }

    /* RANDOM RESULT - FULL WIDTH ON MOBILE */
    .random-result-side {
        padding: 15px;
        min-height: 300px;
        width: 100%; /* Full width */
    }

    .result-placeholder {
        min-height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .result-display {
        animation: slideInUp 0.4s ease-out;
        width: 100%; /* Full width */
    }

    .result-movie {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        align-items: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        padding: 15px;
        border: 1px solid rgba(244, 193, 15, 0.1);
        width: 100%; /* Full width */
        box-sizing: border-box;
    }

    .result-poster {
        align-self: center;
        position: relative;
        width: 100%; /* Full width container */
        max-width: 200px; /* Max width for poster */
    }

    .result-poster img {
        width: 100%;
        height: 300px; /* INCREASED height for better cover display */
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
        object-fit: cover;
        object-position: center top; /* Show top of cover properly */
        background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
        transition: opacity 0.3s ease;
    }

    .result-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        padding: 8px 6px 4px 6px;
        border-radius: 0 0 12px 12px;
    }

    .result-details {
        width: 100%;
        text-align: center;
    }

    .result-details h4 {
        font-size: 1.3rem; /* Slightly larger on mobile */
        text-align: center;
        margin-bottom: 12px;
        line-height: 1.3;
        color: #f4c10f;
    }

    .result-details p {
        text-align: center;
        font-size: 0.9rem;
        line-height: 1.4;
        -webkit-line-clamp: 4;
        margin-bottom: 15px;
        max-width: 100%;
        color: #cccccc;
    }

    .result-actions-compact {
        justify-content: center;
        gap: 8px;
        width: 100%;
        flex-wrap: wrap;
    }

    .action-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-height: 44px;
        border-radius: 22px;
        flex: 1;
        min-width: 100px;
        max-width: 150px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}

/* VERY SMALL SCREENS - FURTHER ADJUSTMENTS */
@media (max-width: 480px) {
    .movie-card img {
        height: 260px; /* INCREASED from 220px for better cover display */
    }

    .result-poster img {
        height: 280px; /* INCREASED height for small screens */
    }

    .result-details h4 {
        font-size: 1.2rem;
    }

    .result-details p {
        font-size: 0.85rem;
    }
}

/* ULTRA SMALL SCREENS - FINAL ADJUSTMENTS */
@media (max-width: 360px) {
    .movie-card img {
        height: 240px; /* INCREASED from 200px for ultra small screens */
    }

    .result-poster img {
        height: 260px; /* INCREASED height for ultra small screens */
    }

    .result-actions-compact {
        flex-direction: column;
        gap: 6px;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
        min-width: auto;
    }
}

/* HIDE PLACEHOLDER WHEN RESULT IS SHOWN */
.result-display:not([style*="display: none"]) ~ .result-placeholder,
.result-display[style*="display: block"] ~ .result-placeholder {
    display: none !important;
}

/* ENSURE FULL WIDTH USAGE ON MOBILE */
@media (max-width: 768px) {
    .random-result-side .result-placeholder {
        width: 100%;
        text-align: center;
    }
    
    .random-result-side .result-display {
        width: 100%;
    }
    
    /* Hide placeholder when result is active */
    .random-result-side:has(.result-display[style*="display: block"]) .result-placeholder {
        display: none;
    }
}

/* Drag Instructions */
.drag-instructions {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    max-width: 400px;
    text-align: center;
    display: none;
}

.instructions-content h4 {
    color: #f4c10f;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.instructions-content p {
    margin: 10px 0;
    line-height: 1.5;
}

.close-instructions {
    background: linear-gradient(135deg, #f4c10f 0%, #da7f09 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.close-instructions:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 193, 15, 0.3);
}

/* Context Menu */
.movie-context-menu {
    background: rgba(0, 0, 0, 0.95);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    min-width: 200px;
}

.context-menu-content {
    padding: 0;
}

.context-menu-header {
    background: linear-gradient(135deg, #f4c10f 0%, #da7f09 100%);
    color: white;
    padding: 12px 16px;
    font-weight: bold;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Context Menu (continued) */
.context-menu-item {
    padding: 12px 16px;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.context-menu-item:hover {
    background: rgba(244, 193, 15, 0.2);
}

.context-menu-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

/* Drag Handle */
.drag-handle {
    position: absolute;
    top: 10px;
    right: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    cursor: grab;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    padding: 5px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
}

.movie-card:hover .drag-handle {
    opacity: 1;
}

.drag-handle:hover {
    color: #f4c10f;
    background: rgba(0, 0, 0, 0.6);
}

.drag-handle:active {
    cursor: grabbing;
}

/* Notifications Container */
.drag-notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: none;
}

/* Enhanced Movie Card States */
.movie-card.moving {
    animation: moveHighlight 0.5s ease;
}

@keyframes moveHighlight {
    0% { box-shadow: 0 0 0 0 rgba(244, 193, 15, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(244, 193, 15, 0.3); }
    100% { box-shadow: 0 0 0 0 rgba(244, 193, 15, 0); }
}

/* Drag Zone Indicators */
.main-container.drag-zone-active::before {
    content: "📦 Hier ablegen";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(244, 193, 15, 0.9);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Mobile Touch Improvements */
@media (max-width: 768px) {
    .drag-handle {
        display: none;
    }
    
    .movie-card {
        touch-action: manipulation;
    }
    
    .movie-card.touch-dragging {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        border: 2px solid #f4c10f;
    }
    
    .drag-instructions {
        max-width: 90%;
        padding: 20px;
    }
    
    .movie-context-menu {
        min-width: 250px;
        max-width: 90vw;
    }
}

/* Accessibility Improvements */
.movie-card:focus {
    outline: 3px solid #f4c10f;
    outline-offset: 2px;
}

.movie-card[aria-grabbed="true"] {
    opacity: 0.7;
    transform: scale(1.05);
}

/* Undo/Redo Notification */
.undo-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(-50%) translateY(100px);
    transition: all 0.3s ease;
}

.undo-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.undo-btn {
    background: #f4c10f;
    color: black;
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
}

.undo-btn:hover {
    background: #da7f09;
    color: white;
}

/* Loading State for Drag Operations */
.movie-card.drag-loading {
    position: relative;
    pointer-events: none;
}

.movie-card.drag-loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    z-index: 10;
}

.movie-card.drag-loading::before {
    content: "⏳";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    z-index: 11;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Drag Performance Optimizations */
.main-container.dragging-active {
    will-change: transform;
}

.main-container.dragging-active .movie-card {
    will-change: transform, opacity;
}

/* Custom Scrollbar for Better Drag Experience */
.main-container::-webkit-scrollbar {
    width: 8px;
}

.main-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.main-container::-webkit-scrollbar-thumb {
    background: rgba(244, 193, 15, 0.5);
    border-radius: 4px;
}

.main-container::-webkit-scrollbar-thumb:hover {
    background: rgba(244, 193, 15, 0.8);
}

/* Drag Drop Zones */
.drop-zone {
    min-height: 100px;
    border: 2px dashed transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    margin: 10px 0;
}

.drop-zone.active {
    border-color: #f4c10f;
    background: rgba(244, 193, 15, 0.1);
    color: #f4c10f;
}

.drop-zone.hover {
    border-color: #e91e63;
    background: rgba(233, 30, 99, 0.1);
    color: #e91e63;
    transform: scale(1.02);
}

/* Batch Operations */
.batch-operations {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px;
    border-radius: 10px;
    display: none;
    gap: 10px;
    z-index: 1000;
}

.batch-operations.show {
    display: flex;
}

.batch-btn {
    background: #f4c10f;
    color: black;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.batch-btn:hover {
    background: #da7f09;
    color: white;
    transform: translateY(-2px);
}

/* Selection Mode */
.movie-card.selectable {
    cursor: pointer;
    position: relative;
}

.movie-card.selected::after {
    content: "✓";
    position: absolute;
    top: 10px;
    left: 10px;
    background: #4caf50;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 10;
}

.movie-card.selected {
    border: 3px solid #4caf50;
    transform: scale(0.95);
}




/* Selection Toggle Button */
.selection-toggle {
    background: linear-gradient(135deg, #f4c10f 0%, #da7f09 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin: 10px 0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.selection-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 193, 15, 0.3);
}

.selection-toggle:active {
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .selection-toggle {
        width: 100%;
        justify-content: center;
        margin: 15px 0;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .batch-operations {
        bottom: 10px;
        right: 10px;
        left: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .batch-btn {
        flex: 1;
        min-width: 120px;
        margin: 2px;
    }
}


/* Ultra-realistic book picking effect */
.movie-card {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    transform-style: preserve-3d;
    perspective: 1200px;
}

.movie-card:hover {
    transform: 
        translateY(-20px) 
        translateZ(50px)
        rotateX(8deg) 
        rotateY(-5deg) 
        scale(1.03);
    z-index: 100;
}

.movie-card img {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    transform-origin: center bottom;
}

.movie-card:hover img {
    transform: 
        rotateX(-8deg) 
        rotateY(5deg) 
        translateZ(20px);
    box-shadow: 
        0 35px 60px rgba(0, 0, 0, 0.6),
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    filter: brightness(1.15) contrast(1.1) saturate(1.1);
}

/* Realistic page flip effect */
.movie-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        transparent 45%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.2) 55%,
        transparent 60%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 8px;
}

.movie-card:hover::after {
    opacity: 1;
}




/* Parallax Cinema Section */
.parallax-cinema-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px 0;
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax-back {
    transform: translateZ(-100px) scale(1.1);
}

.parallax-mid {
    transform: translateZ(-50px) scale(1.05);
}

.parallax-front {
    transform: translateZ(0);
    z-index: 10;
}

/* Cinema Screen Background */
.cinema-screen {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border: 8px solid #333;
    border-radius: 20px;
    box-shadow: 
        0 0 50px rgba(244, 193, 15, 0.3),
        inset 0 0 100px rgba(0, 0, 0, 0.8);
    opacity: 0.3;
}

.cinema-screen::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(ellipse at center, 
        rgba(244, 193, 15, 0.1) 0%, 
        transparent 70%);
    animation: screenGlow 4s ease-in-out infinite alternate;
}

@keyframes screenGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.05); }
}

/* Floating Elements */
.floating-popcorn, .floating-film, .floating-tickets {
    position: absolute;
    font-size: 3rem;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.floating-popcorn {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.floating-film {
    top: 30%;
    right: 20%;
    animation-delay: 2s;
}

.floating-tickets {
    bottom: 25%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    75% { transform: translateY(-15px) rotate(2deg); }
}

/* Cinema Seats */
.cinema-seats {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.4;
}

.seat-row {
    display: flex;
    gap: 10px;
    perspective: 500px;
}

.seat {
    width: 30px;
    height: 35px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 8px 8px 15px 15px;
    position: relative;
    transform: rotateX(15deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.seat.occupied {
    background: linear-gradient(145deg, #8b0000, #660000);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.seat::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 20px;
    background: inherit;
    border-radius: 8px 8px 0 0;
}

/* Main Content */
.parallax-content {
    position: relative;
    z-index: 20;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.parallax-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    display: inline-block;
    color: #f4c10f;
    text-shadow: 
        0 0 10px rgba(244, 193, 15, 0.8),
        0 0 20px rgba(244, 193, 15, 0.6),
        0 0 30px rgba(244, 193, 15, 0.4);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-1 2s infinite;
    color: #ff0040;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 2s infinite;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% {
        transform: translate(0);
    }
    15%, 49% {
        transform: translate(-2px, 2px);
    }
}

@keyframes glitch-2 {
    0%, 20%, 21%, 62%, 63%, 99%, 100% {
        transform: translate(0);
    }
    21%, 62% {
        transform: translate(2px, -2px);
    }
}

.parallax-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: #da7f09;
}

/* Statistics */
.parallax-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #f4c10f;
    text-shadow: 0 0 20px rgba(244, 193, 15, 0.5);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* Buttons */
.parallax-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.parallax-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
    justify-content: center;
}

.parallax-btn.primary {
    background: linear-gradient(135deg, #f4c10f 0%, #da7f09 100%);
    color: #000;
    box-shadow: 0 8px 25px rgba(244, 193, 15, 0.3);
}

.parallax-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(244, 193, 15, 0.5);
    background: linear-gradient(135deg, #ffcd1f 0%, #ea8f19 100%);
}

.parallax-btn.secondary {
    background: transparent;
    color: #f4c10f;
    border: 2px solid #f4c10f;
    box-shadow: 0 8px 25px rgba(244, 193, 15, 0.1);
}

.parallax-btn.secondary:hover {
    background: rgba(244, 193, 15, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(244, 193, 15, 0.3);
}

/* Animated Particles */
.parallax-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #f4c10f;
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 8s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 12s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 1s;
    animation-duration: 11s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Design - Fortsetzung */
@media (max-width: 768px) {
    .parallax-cinema-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .parallax-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .parallax-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .parallax-btn {
        min-width: 250px;
    }
    
    .floating-popcorn, .floating-film, .floating-tickets {
        font-size: 2rem;
    }
    
    .cinema-screen {
        width: 90%;
        height: 50%;
    }
    
    .seat-row {
        gap: 5px;
    }
    
    .seat {
        width: 20px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .parallax-title {
        font-size: 2rem;
    }
    
    .parallax-subtitle {
        font-size: 1.2rem;
    }
    
    .parallax-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Scroll-triggered animations */
.parallax-cinema-section.in-view .parallax-title {
    animation: slideInUp 1s ease-out;
}

.parallax-cinema-section.in-view .parallax-subtitle {
    animation: slideInUp 1s ease-out 0.2s both;
}

.parallax-cinema-section.in-view .parallax-stats {
    animation: slideInUp 1s ease-out 0.4s both;
}

.parallax-cinema-section.in-view .parallax-buttons {
    animation: slideInUp 1s ease-out 0.6s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Parallax Effect on Scroll */
.parallax-cinema-section.scrolling .parallax-back {
    transform: translateZ(-100px) scale(1.1) translateY(var(--scroll-speed-slow));
}

.parallax-cinema-section.scrolling .parallax-mid {
    transform: translateZ(-50px) scale(1.05) translateY(var(--scroll-speed-medium));
}

.parallax-cinema-section.scrolling .parallax-front {
    transform: translateZ(0) translateY(var(--scroll-speed-fast));
}










/* Grundlegende Stile für den Parallax-Bereich */
.parallax-section {
    position: relative;
    width: 100%;
    height: 50vh; /* Vollbildhöhe */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax-Effekt */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff; /* Textfarbe */
    text-align: center;
    background-repeat: no-repeat;
}

.parallax-section-fixed {
    position: relative;
    width: 100%;
    height: 50vh; /* Vollbildhöhe */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff; /* Textfarbe */
    text-align: center;
    background-repeat: no-repeat;
}

.parallax-content {
    z-index: 10;
    max-width: 80%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Textlesbarkeit */
}

h1 {
    font-size: 3em;
    margin: 0;
}

p {
    font-size: 1.5em;
    margin-top: 20px;
}

/* Media Queries für kleinere Bildschirme */
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll; /* Deaktiviert Parallax-Effekt auf mobilen Geräten */
    }
    .parallax-content h1 {
        font-size: 2em;
    }
    .parallax-content p {
        font-size: 1.2em;
    }
}