/* 3D Flick Fix Dark Theme Styles */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background: linear-gradient(135deg, #1a1d29 0%, #2c3e50 50%, #34495e 100%);
        color: #e0e0e0;
        min-height: 100vh;
        margin: 0;
        padding: 0;
    }

    /* Main Header (matching your site) */
    .main-header {
        background: #000000;
        color: white;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.5);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 2rem;
    }

    .logo-section .main-logo {
        height: 60px;
        width: 60px;
        object-fit: contain;
    }

    .main-navigation {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .nav-link {
        color: white;
        text-decoration: none;
        padding: 0.5rem 1rem;
        transition: background 0.3s;
        border-radius: 4px;
    }

    .nav-link:hover {
        background: rgba(255,255,255,0.1);
    }

    .nav-dropdown {
        position: relative;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #000;
        min-width: 200px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        border-radius: 4px;
        overflow: hidden;
        z-index: 1001;
    }

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

    .dropdown-content a {
        display: block;
        padding: 0.75rem 1rem;
        color: white;
        text-decoration: none;
        transition: background 0.3s;
        white-space: nowrap;
    }

    .dropdown-content a:hover {
        background: rgba(255,255,255,0.1);
    }

    .footer-logo-img {
        height: 80px;
        width: 80px;
        object-fit: contain;
        margin-bottom: 1rem;
    }

    /* Page Header */
    .page-header {
        text-align: center;
        margin: 2rem 0;
        background: linear-gradient(135deg, rgba(26,29,41,0.9) 0%, rgba(44,62,80,0.8) 100%);
        padding: 2rem;
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.3);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(138,180,248,0.2);
    }

    .page-header h1 {
        font-size: 2.7rem;
        color: #8ab4f8;
        margin-bottom: 0.5rem;
        letter-spacing: 2px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    }

    .page-header p {
        color: #b0b0b0;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .view-nav {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .view-nav a {
        color: #e0e0e0;
        text-decoration: none;
        padding: 0.8rem 1.5rem;
        border-radius: 25px;
        transition: all 0.3s;
        background: rgba(138,180,248,0.1);
        border: 2px solid transparent;
        backdrop-filter: blur(10px);
    }

    .view-nav a:hover, .view-nav a.active {
        background: rgba(138,180,248,0.3);
        border-color: rgba(138,180,248,0.5);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(138,180,248,0.3);
    }

    /* Main Footer */
    .main-footer {
        background: #000000;
        color: white;
        margin-top: 4rem;
        padding: 3rem 0 1rem;
    }

    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        padding: 0 2rem;
    }

    .footer-section h3 {
        color: #8ab4f8;
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }

    .footer-section p {
        color: #b0b0b0;
        margin-bottom: 0.5rem;
    }

    .footer-section a {
        display: block;
        color: #b0b0b0;
        text-decoration: none;
        margin-bottom: 0.5rem;
        transition: color 0.3s;
    }

    .footer-section a:hover {
        color: #8ab4f8;
    }

    .footer-logo-img {
        height: 80px;
        width: auto;
        margin-bottom: 1rem;
    }

    .social-links {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
    }

    .social-link {
        display: inline-block !important;
        font-size: 1.5rem;
        padding: 0.5rem;
        background: rgba(138,180,248,0.1);
        border-radius: 8px;
        transition: all 0.3s;
    }

    .social-link:hover {
        background: rgba(138,180,248,0.3);
        transform: translateY(-2px);
    }

    .footer-bottom {
        border-top: 1px solid rgba(138,180,248,0.2);
        margin-top: 2rem;
        padding-top: 1rem;
        text-align: center;
        color: #666;
    }

    .container {
        display: flex;
        min-height: 100vh;
    }

    main {
        flex: 1;
        padding: 2rem 3vw;
        max-width: 1200px;
        margin: 0 auto;
    }

    header {
        text-align: center;
        margin-bottom: 2rem;
        background: linear-gradient(135deg, rgba(26,29,41,0.9) 0%, rgba(44,62,80,0.8) 100%);
        padding: 2rem 0;
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.3);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(138,180,248,0.2);
    }

    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .logo-img {
        height: 60px;
        width: auto;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
        background: radial-gradient(ellipse at center, rgba(26,29,41,0.8) 0%, transparent 70%);
        border-radius: 10px;
        padding: 5px;
    }

    header h1 {
        font-size: 2.7rem;
        color: #8ab4f8;
        margin-bottom: 0.3rem;
        letter-spacing: 2px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    }

    header p {
        color: #b0b0b0;
        font-size: 1.1rem;
    }

    .main-nav {
        margin-top: 1.5rem;
        display: flex;
        justify-content: center;
        gap: 1rem;
    }

    .main-nav a {
        color: #e0e0e0;
        text-decoration: none;
        padding: 0.8rem 1.5rem;
        border-radius: 25px;
        transition: all 0.3s;
        background: rgba(138,180,248,0.1);
        border: 2px solid transparent;
        backdrop-filter: blur(10px);
    }

    .main-nav a:hover, .main-nav a.active {
        background: rgba(138,180,248,0.3);
        border-color: rgba(138,180,248,0.5);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(138,180,248,0.3);
    }

    .controls {
        display: flex;
        gap: 1rem;
        margin-bottom: 2rem;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
    }

    .styled-select,
    .auto-width-input {
        background: #232634;
        color: #e0e0e0;
        border: 1px solid #33374d;
        border-radius: 6px;
        padding: 0.7rem 1rem;
        font-size: 1rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        transition: border 0.2s, width 0.2s;
        outline: none;
    }

    .styled-select:focus,
    .auto-width-input:focus {
        border-color: #8ab4f8;
    }

    .auto-width-input {
        min-width: 150px;
        width: auto;
        box-sizing: content-box;
    }

    .input-measure {
        position: absolute !important;
        visibility: hidden !important;
        height: 0 !important;
        pointer-events: none !important;
        left: 0 !important;
        top: 0 !important;
        z-index: -1 !important;
    }

    .stats {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 3rem;
        flex-wrap: wrap;
    }

    .stat {
        text-align: center;
        background: rgba(35,38,52,0.8);
        padding: 1.5rem;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(138,180,248,0.2);
        min-width: 120px;
    }

    .stat .number {
        display: block;
        font-size: 2.5rem;
        font-weight: bold;
        color: #8ab4f8;
    }

    .stat .label {
        font-size: 1.1rem;
        color: rgba(224,224,224,0.8);
    }

    .categories-overview {
        margin-bottom: 3rem;
        text-align: center;
    }

    .categories-overview h2 {
        color: #8ab4f8;
        font-size: 2.5rem;
        margin-bottom: 2rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        letter-spacing: 1px;
    }

    .category-buttons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .category-button {
        display: block;
        background: rgba(35,38,52,0.6);
        border: 2px solid rgba(138,180,248,0.3);
        border-radius: 15px;
        padding: 1.5rem;
        text-decoration: none;
        color: #e0e0e0;
        transition: all 0.3s;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .category-button:hover {
        transform: translateY(-5px);
        background: rgba(138,180,248,0.2);
        border-color: rgba(138,180,248,0.6);
        box-shadow: 0 8px 25px rgba(138,180,248,0.3);
    }

    .category-name {
        display: block;
        font-size: 1.3rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
        color: #8ab4f8;
    }

    .category-count {
        display: block;
        font-size: 0.9rem;
        color: rgba(224,224,224,0.7);
    }

    .category-section {
        margin-bottom: 4rem;
        background: rgba(35,38,52,0.6);
        padding: 2rem;
        border-radius: 20px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(138,180,248,0.2);
    }

    .category-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #33374d;
    }

    .category-header h2 {
        color: #8ab4f8;
        font-size: 1.5rem;
        letter-spacing: 1px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .category-count-header {
        color: rgba(224,224,224,0.7);
        font-size: 1rem;
        background: rgba(138,180,248,0.2);
        padding: 0.5rem 1rem;
        border-radius: 20px;
    }
    
    /* NEW Category Special Styling */
    .new-category-button {
        background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 50%, #ff9ff3 100%) !important;
        border: 2px solid rgba(255, 107, 107, 0.6) !important;
        animation: newCategoryPulse 3s ease-in-out infinite;
        position: relative;
        overflow: hidden;
    }

    .new-category-button::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
        animation: shimmer 2s linear infinite;
        pointer-events: none;
    }

    .new-category-button:hover {
        transform: translateY(-8px) scale(1.02) !important;
        box-shadow: 0 12px 30px rgba(255, 107, 107, 0.5) !important;
        border-color: rgba(255, 107, 107, 0.8) !important;
    }

    .new-category-section {
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(238, 90, 36, 0.1) 100%) !important;
        border: 2px solid rgba(255, 107, 107, 0.3) !important;
        position: relative;
    }

    .new-category-section::before {
        content: '🆕 RECENTLY ADDED';
        position: absolute;
        top: -1px;
        right: 20px;
        background: linear-gradient(135deg, #ff6b6b, #ee5a24);
        color: white;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        font-weight: bold;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }

    .new-category-section .category-header h2 {
        background: linear-gradient(135deg, #ff6b6b, #ee5a24);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: none;
    }

    /* Special styling for movies in NEW category to show original category */
    .movie-original-category {
        color: rgba(138,180,248,0.8) !important;
        font-size: 0.85rem !important;
        font-style: italic !important;
        margin-bottom: 0.3rem !important;
    }

    /* Enhanced NEW badge animation for NEW category section */
    .new-category-section .new-badge {
        animation: newBadgePulse 1.5s ease-in-out infinite, rotate 4s linear infinite;
        background: linear-gradient(135deg, #ff6b6b, #ee5a24, #ff9ff3);
        box-shadow: 0 2px 15px rgba(255, 107, 107, 0.6);
    }

    /* Keyframe animations */
    @keyframes newCategoryPulse {
        0%, 100% { 
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
            transform: translateY(-5px) scale(1);
        }
        50% { 
            box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
            transform: translateY(-7px) scale(1.01);
        }
    }

    @keyframes shimmer {
        0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
        100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    }

    @keyframes rotate {
        0% { transform: rotate(0deg) scale(1); }
        25% { transform: rotate(2deg) scale(1.02); }
        50% { transform: rotate(0deg) scale(1); }
        75% { transform: rotate(-2deg) scale(1.02); }
        100% { transform: rotate(0deg) scale(1); }
    }

    /* Mobile responsive adjustments for NEW category */
    @media (max-width: 900px) {
        .new-category-section::before {
            font-size: 0.7rem;
            padding: 0.3rem 0.6rem;
            right: 10px;
        }
    }

    @media (max-width: 600px) {
        .new-category-section::before {
            position: relative;
            top: 0;
            right: 0;
            display: block;
            text-align: center;
            border-radius: 10px;
            margin-bottom: 1rem;
        }
    }

    .movies-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 2rem;
    }

    .movie-card {
        background: #232634;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 4px 24px rgba(0,0,0,0.25);
        transition: transform 0.2s, box-shadow 0.2s;
        border: 1px solid rgba(138,180,248,0.1);
        position: relative;
    }

    .movie-card:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 8px 32px rgba(138,180,248,0.15);
        border-color: rgba(138,180,248,0.3);
    }

    .movie-card-link {
        display: block;
        text-decoration: none;
        color: inherit;
        height: 100%;
        min-height: 420px;
        display: flex;
        flex-direction: column;
    }

    .movie-card img {
        width: 100%;
        height: 320px;
        object-fit: contain;
        background: #181a20;
    }

    .no-poster {
        width: 100%;
        height: 320px;
        background: linear-gradient(135deg, rgba(138,180,248,0.2) 0%, rgba(118,75,162,0.2) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(224,224,224,0.7);
        border-bottom: 1px solid rgba(138,180,248,0.2);
    }

    .poster-placeholder {
        text-align: center;
    }

    .poster-placeholder p {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .poster-placeholder small {
        font-size: 0.8rem;
        color: rgba(224,224,224,0.5);
    }

    .movie-info {
        padding: 1rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .movie-card h3 {
        font-size: 1.1rem;
        color: #8ab4f8;
        margin-bottom: 0.5rem;
        transition: color 0.2s;
    }

    .movie-card:hover h3 {
        color: #fff;
    }

    .movie-card p {
        color: #b0b0b0;
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }

    .movie-genre {
        color: rgba(138,180,248,0.8) !important;
        font-size: 0.9rem !important;
    }

    .movie-rating {
        color: #ffd700 !important;
        font-weight: bold !important;
    }

    /* Enhanced movie stats in cards */
    .movie-stats {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 0.5rem;
    }

    .movie-size {
        color: rgba(138,180,248,0.7) !important;
        font-size: 0.8rem !important;
        font-weight: bold !important;
    }

    /* NEW Badge for Recently Added Movies */
    .new-badge {
        position: absolute;
        top: 8px;
        right: 8px;
        background: linear-gradient(135deg, #ff6b6b, #ee5a24);
        color: white;
        font-size: 0.7rem;
        font-weight: bold;
        padding: 0.3rem 0.6rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
        z-index: 10;
        animation: newBadgePulse 2s ease-in-out infinite;
    }
    
    /* Enhanced metadata badges */
    .badge-3d {
        background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
        color: white;
        padding: 0.2rem 0.6rem;
        border-radius: 12px;
        font-size: 0.8rem;
        font-weight: bold;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }

    .badge-hdr {
        background: linear-gradient(135deg, #f093fb, #f5576c);
        color: white;
        padding: 0.2rem 0.6rem;
        border-radius: 12px;
        font-size: 0.8rem;
        font-weight: bold;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }

    .badge-quality {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        padding: 0.2rem 0.6rem;
        border-radius: 12px;
        font-size: 0.8rem;
        font-weight: bold;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }

    /* Enhanced version cards */
    .version-details p {
        margin-bottom: 0.7rem;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .version-details strong {
        color: #8ab4f8;
        display: inline-block;
        min-width: 100px;
    }

    @keyframes newBadgePulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); box-shadow: 0 2px 12px rgba(255, 107, 107, 0.6); }
    }

    /* Alphabetical Info Section */
    .alphabetical-info {
        background: rgba(35,38,52,0.8);
        padding: 1.5rem;
        border-radius: 15px;
        margin-bottom: 2rem;
        text-align: center;
        border: 1px solid rgba(138,180,248,0.2);
        backdrop-filter: blur(10px);
    }

    .alphabetical-info p {
        margin-bottom: 0.8rem;
        color: rgba(224,224,224,0.9);
        font-size: 1rem;
    }

    .alphabetical-info p:last-child {
        margin-bottom: 0;
    }

    .categories-link {
        color: #8ab4f8;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s;
    }

    .categories-link:hover {
        color: #fff;
        text-decoration: underline;
    }

    /* Alphabet Navigation */
    .alphabet-nav {
        background: rgba(35,38,52,0.8);
        padding: 2rem;
        border-radius: 20px;
        margin-bottom: 3rem;
        text-align: center;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(138,180,248,0.2);
        position: sticky;
        top: 100px;
        z-index: 100;
    }

    .alphabet-nav-title {
        color: #8ab4f8;
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .alphabet-nav-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .alphabet-button {
        display: inline-block;
        padding: 0.8rem 1rem;
        background: rgba(138,180,248,0.1);
        color: #e0e0e0;
        text-decoration: none;
        border-radius: 10px;
        transition: all 0.3s;
        font-weight: bold;
        font-size: 1.1rem;
        border: 2px solid transparent;
        min-width: 45px;
        text-align: center;
        position: relative;
    }

    .alphabet-button:hover {
        background: rgba(138,180,248,0.3);
        border-color: rgba(138,180,248,0.5);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(138,180,248,0.3);
        color: #fff;
    }

    .alphabet-button.active {
        background: rgba(138,180,248,0.4);
        border-color: rgba(138,180,248,0.7);
        color: #fff;
        box-shadow: 0 4px 15px rgba(138,180,248,0.4);
    }

    .alphabet-button::after {
        content: attr(data-count);
        position: absolute;
        top: -8px;
        right: -8px;
        background: #8ab4f8;
        color: #1a1d29;
        font-size: 0.7rem;
        padding: 2px 6px;
        border-radius: 10px;
        font-weight: bold;
        min-width: 16px;
        text-align: center;
        line-height: 1.2;
    }

    /* Letter Sections */
    .letter-section {
        margin-bottom: 4rem;
        background: rgba(35,38,52,0.6);
        padding: 2rem;
        border-radius: 20px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(138,180,248,0.2);
        scroll-margin-top: 180px; /* Account for sticky nav */
    }

    .letter-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid rgba(138,180,248,0.3);
        flex-wrap: wrap;
        gap: 1rem;
    }

    .letter-title-container {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .letter-title {
        color: #8ab4f8;
        font-size: 3rem;
        font-weight: bold;
        letter-spacing: 3px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        margin: 0;
    }

    .letter-count {
        color: rgba(224,224,224,0.7);
        font-size: 1.1rem;
        background: rgba(138,180,248,0.2);
        padding: 0.7rem 1.5rem;
        border-radius: 25px;
        font-weight: bold;
    }

    /* Letter Sort Controls */
    .letter-sort-controls {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .sort-label {
        color: rgba(224,224,224,0.8);
        font-size: 0.9rem;
        margin-right: 0.5rem;
        white-space: nowrap;
    }

    .sort-button {
        background: rgba(138,180,248,0.1);
        color: #e0e0e0;
        border: 1px solid rgba(138,180,248,0.3);
        border-radius: 20px;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        cursor: pointer;
        transition: all 0.3s;
        white-space: nowrap;
    }

    .sort-button:hover {
        background: rgba(138,180,248,0.2);
        border-color: rgba(138,180,248,0.5);
        transform: translateY(-1px);
    }

    .sort-button.active {
        background: rgba(138,180,248,0.4);
        border-color: rgba(138,180,248,0.7);
        color: #fff;
        font-weight: bold;
    }

    /* Random Movie Picker Section */
    .random-movie-section {
        background: rgba(35,38,52,0.8);
        padding: 1.5rem;
        border-radius: 15px;
        margin-bottom: 2rem;
        text-align: center;
        border: 1px solid rgba(138,180,248,0.2);
        backdrop-filter: blur(10px);
    }

    .random-movie-section h3 {
        color: #8ab4f8;
        margin-bottom: 0.5rem;
        font-size: 1.3rem;
    }

    .random-movie-section p {
        color: rgba(224,224,224,0.8);
        margin-bottom: 1rem;
    }

    .random-movie-button {
        background: linear-gradient(135deg, #8ab4f8 0%, #764ba2 100%);
        color: white;
        border: none;
        border-radius: 25px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 4px 15px rgba(138,180,248,0.3);
    }

    .random-movie-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(138,180,248,0.4);
    }

    .random-movie-button:active {
        transform: translateY(0);
    }

    /* Random Movie Result Card */
    .random-movie-card {
        background: rgba(35,38,52,0.9);
        border-radius: 15px;
        padding: 1.5rem;
        margin-top: 1rem;
        border: 1px solid rgba(138,180,248,0.3);
    }

    .random-movie-content {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .random-poster {
        width: 80px;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .random-no-poster {
        width: 80px;
        height: 120px;
        background: rgba(138,180,248,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .random-movie-info h4 {
        color: #8ab4f8;
        margin-bottom: 0.5rem;
        font-size: 1.2rem;
    }

    .random-movie-info p {
        color: rgba(224,224,224,0.8);
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
    }

    .random-new-badge {
        background: linear-gradient(135deg, #ff6b6b, #ee5a24);
        color: white;
        font-size: 0.7rem;
        font-weight: bold;
        padding: 0.2rem 0.5rem;
        border-radius: 10px;
        margin-left: 0.5rem;
    }

    .random-actions {
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
        flex-wrap: wrap;
    }

    .view-movie-btn, .jump-to-letter-btn {
        background: rgba(138,180,248,0.2);
        color: #e0e0e0;
        text-decoration: none;
        border: 1px solid rgba(138,180,248,0.4);
        border-radius: 20px;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        transition: all 0.3s;
        cursor: pointer;
        display: inline-block;
    }

    .view-movie-btn:hover, .jump-to-letter-btn:hover {
        background: rgba(138,180,248,0.4);
        border-color: rgba(138,180,248,0.6);
        transform: translateY(-1px);
    }

    /* Flash Highlight Animation for Movie Cards */
    @keyframes flashHighlight {
        0%, 100% { 
            transform: scale(1); 
            box-shadow: 0 4px 24px rgba(0,0,0,0.25); 
        }
        50% { 
            transform: scale(1.05); 
            box-shadow: 0 8px 32px rgba(255,215,0,0.6); 
            border-color: rgba(255,215,0,0.8);
        }
    }

    /* Smooth grid transitions */
    .movies-grid {
        transition: opacity 0.3s ease;
    }

    /* Letter section entrance animation */
    .letter-section {
        animation: fadeInUp 0.6s ease-out;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Movie card updates for alphabetical view */
    .letter-section .movie-card .movie-category {
        color: rgba(138,180,248,0.6) !important;
        font-size: 0.85rem !important;
        font-style: italic;
    }

    /* Movie Page Styles */
    .movie-page {
        background: rgba(35,38,52,0.8);
        padding: 2rem;
        border-radius: 20px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(138,180,248,0.2);
    }

    .movie-header {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .movie-poster img {
        width: 100%;
        border-radius: 15px;
    }

    .movie-info h1 {
        color: #8ab4f8;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .year {
        color: rgba(224,224,224,0.6);
        font-weight: normal;
    }

    .movie-meta {
        display: flex;
        gap: 1rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .movie-meta span {
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
        backdrop-filter: blur(10px);
    }

    .movie-meta .category {
        background: rgba(138,180,248,0.3);
        color: white;
        border: 1px solid rgba(138,180,248,0.5);
    }

    .rating {
        background: rgba(243,156,18,0.3);
        color: white;
        border: 1px solid rgba(243,156,18,0.5);
    }

    .runtime, .genre {
        background: rgba(224,224,224,0.1);
        color: white;
        border: 1px solid rgba(224,224,224,0.2);
    }

    .plot {
        margin-top: 1.5rem;
        line-height: 1.8;
        color: rgba(224,224,224,0.9);
    }

    .trailer {
        margin: 2rem 0;
    }

    .trailer iframe {
        width: 100%;
        height: 400px;
        border-radius: 15px;
    }

    .versions {
        margin-top: 2rem;
    }

    .versions h3 {
        color: #8ab4f8;
        margin-bottom: 1rem;
    }

    .versions-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }

    .version-card {
        background: rgba(24,26,32,0.6);
        padding: 1.5rem;
        border-radius: 15px;
        border-left: 4px solid #8ab4f8;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

    .version-card h4 {
        color: #8ab4f8;
        margin-bottom: 1rem;
    }

    .version-details p {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        color: rgba(224,224,224,0.8);
    }

    #return-to-top {
        position: fixed;
        bottom: 32px;
        right: 32px;
        z-index: 10000;
        background: #232634;
        color: #8ab4f8;
        border: none;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        font-size: 2rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        cursor: pointer;
        opacity: 0.85;
        transition: opacity 0.2s, background 0.2s;
        display: none;
    }

    #return-to-top:hover {
        background: #8ab4f8;
        color: #232634;
        opacity: 1;
    }

    footer {
        text-align: center;
        margin: 3rem 0 1rem;
        color: rgba(224,224,224,0.6);
        padding: 2rem 0;
        border-top: 1px solid rgba(138,180,248,0.2);
    }

    .footer-logo {
        height: 30px;
        margin-bottom: 1rem;
        opacity: 0.7;
    }

    /* Enhanced scroll behavior */
    html {
        scroll-behavior: smooth;
    }

    /* Responsive Design Updates */
    @media (max-width: 900px) {
        .container {
            flex-direction: column;
        }
        
        main {
            padding: 1rem;
        }
        
        .movie-header {
            grid-template-columns: 1fr;
            text-align: center;
        }
        
        .movie-poster {
            max-width: 300px;
            margin: 0 auto;
        }
        
        .controls {
            flex-direction: column;
            gap: 0.5rem;
            align-items: stretch;
        }
        
        .auto-width-input,
        .styled-select {
            width: 100%;
        }
        
        .alphabet-nav {
            position: static;
            top: auto;
            padding: 1.5rem;
        }
        
        .alphabet-nav-container {
            gap: 0.3rem;
        }
        
        .alphabet-button {
            padding: 0.6rem 0.8rem;
            font-size: 1rem;
            min-width: 40px;
        }
        
        .letter-header {
            flex-direction: column;
            align-items: stretch;
            text-align: center;
        }
        
        .letter-title-container {
            justify-content: center;
        }
        
        .letter-sort-controls {
            justify-content: center;
            margin-top: 1rem;
        }
        
        .sort-button {
            font-size: 0.75rem;
            padding: 0.3rem 0.6rem;
        }
        
        .letter-title {
            font-size: 2.5rem;
        }
        
        .letter-section {
            scroll-margin-top: 20px;
        }
        
        .random-movie-content {
            flex-direction: column;
            text-align: center;
        }
        
        .random-actions {
            justify-content: center;
        }
    }

    @media (max-width: 600px) {
        .movies-grid {
            grid-template-columns: 1fr;
        }
        
        .stats {
            flex-direction: column;
            align-items: center;
        }
        
        .main-nav {
            flex-direction: column;
            align-items: center;
        }
        
        .category-buttons {
            grid-template-columns: 1fr;
        }
        
        .category-header {
            flex-direction: column;
            gap: 1rem;
            text-align: center;
        }
        
        header h1 {
            font-size: 2rem;
        }
        
        .logo {
            flex-direction: column;
        }
        
        .alphabet-nav-container {
            gap: 0.2rem;
        }
        
        .alphabet-button {
            padding: 0.5rem 0.6rem;
            font-size: 0.9rem;
            min-width: 35px;
        }
        
        .alphabet-button::after {
            font-size: 0.6rem;
            padding: 1px 4px;
            top: -6px;
            right: -6px;
        }
        
        .letter-title {
            font-size: 2rem;
            letter-spacing: 2px;
        }
        
        .alphabetical-info {
            padding: 1rem;
            font-size: 0.9rem;
        }
        
        .letter-sort-controls {
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .sort-label {
            margin-right: 0;
        }
        
        .new-badge {
            font-size: 0.6rem;
            padding: 0.2rem 0.4rem;
            top: 6px;
            right: 6px;
        }
    /* Subdomain Indicator */
    .subdomain-indicator {
        text-align: center;
        margin-bottom: 1rem;
    }

    .subdomain-badge {
        display: inline-block;
        background: rgba(138,180,248,0.2);
        color: #8ab4f8;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: bold;
        border: 1px solid rgba(138,180,248,0.4);
        backdrop-filter: blur(10px);
    }

    /* Main Site Link Styling */
    .main-site-link {
        color: #8ab4f8 !important;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s;
    }

    .main-site-link:hover {
        color: #fff !important;
        text-decoration: underline;
    }

    /* Site Info Banner */
    .site-info-banner {
        background: linear-gradient(135deg, rgba(138,180,248,0.15) 0%, rgba(118,75,162,0.15) 100%);
        padding: 1.5rem;
        border-radius: 15px;
        margin-bottom: 2rem;
        text-align: center;
        border: 1px solid rgba(138,180,248,0.3);
        backdrop-filter: blur(10px);
    }

    .site-info-banner p {
        margin: 0;
        color: rgba(224,224,224,0.9);
        font-size: 1rem;
    }

    /* Footer Subdomain Note */
    .subdomain-note {
        display: block;
        color: rgba(138,180,248,0.7);
        font-size: 0.8rem;
        margin-top: 0.5rem;
        font-style: italic;
    }

    /* Updated Navigation for Subdomain */
    .main-navigation .nav-link {
        position: relative;
    }

    .main-navigation .nav-link[href*="3dflickfix.net"]:not([href*="movielist"]) {
        /* Style external main site links differently */
        color: rgba(255,255,255,0.9);
    }

    .main-navigation .nav-link[href*="3dflickfix.net"]:not([href*="movielist"]):hover {
        background: rgba(138,180,248,0.2);
    }

    /* Dropdown separator styling */
    .dropdown-content hr {
        border: none;
        border-top: 1px solid rgba(255,255,255,0.2);
        margin: 0.5rem 0;
    }

    /* Enhanced quick links in footer */
    .footer-section a[href*="3dflickfix.net"]:not([href*="movielist"])::before {
        content: "🔗 ";
        opacity: 0.7;
    }

    /* Mobile responsive updates for subdomain elements */
    @media (max-width: 900px) {
        .subdomain-badge {
            font-size: 0.8rem;
            padding: 0.4rem 0.8rem;
        }
        
        .site-info-banner {
            padding: 1rem;
            font-size: 0.9rem;
        }
        
        .subdomain-note {
            font-size: 0.7rem;
        }
    }

    @media (max-width: 600px) {
        .subdomain-indicator {
            margin-bottom: 0.5rem;
        }
        
        .subdomain-badge {
            font-size: 0.75rem;
            padding: 0.3rem 0.6rem;
        }
        
        .site-info-banner {
            margin-bottom: 1rem;
        }
    /* Breadcrumb Navigation */
    .breadcrumb-nav {
        margin-bottom: 2rem;
        padding: 1rem;
        background: rgba(35,38,52,0.6);
        border-radius: 10px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(138,180,248,0.2);
    }

    .breadcrumbs {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .breadcrumbs a {
        color: #8ab4f8;
        text-decoration: none;
        transition: color 0.3s;
        padding: 0.2rem 0.5rem;
        border-radius: 5px;
    }

    .breadcrumbs a:hover {
        color: #fff;
        background: rgba(138,180,248,0.2);
    }

    .breadcrumbs span:not(.current) {
        color: rgba(224,224,224,0.6);
        margin: 0 0.2rem;
    }

    .breadcrumbs .current {
        color: rgba(224,224,224,0.8);
        font-weight: bold;
    }

    /* Movie Actions */
    .movie-actions {
        display: flex;
        gap: 1rem;
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(138,180,248,0.2);
        justify-content: center;
        flex-wrap: wrap;
    }

    .action-btn {
        display: inline-block;
        padding: 1rem 1.5rem;
        background: rgba(138,180,248,0.2);
        color: #e0e0e0;
        text-decoration: none;
        border-radius: 25px;
        transition: all 0.3s;
        border: 2px solid rgba(138,180,248,0.4);
        backdrop-filter: blur(10px);
        font-weight: bold;
    }

    .action-btn:hover {
        background: rgba(138,180,248,0.4);
        border-color: rgba(138,180,248,0.6);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(138,180,248,0.3);
        color: #fff;
    }

    .action-btn.main-site-btn {
        background: linear-gradient(135deg, rgba(138,180,248,0.3) 0%, rgba(118,75,162,0.3) 100%);
        border-color: rgba(138,180,248,0.5);
    }

    .action-btn.main-site-btn:hover {
        background: linear-gradient(135deg, rgba(138,180,248,0.5) 0%, rgba(118,75,162,0.5) 100%);
        border-color: rgba(138,180,248,0.7);
        }
    /* Enhanced movie page responsive design */
    @media (max-width: 900px) {
        .breadcrumb-nav {
            padding: 0.8rem;
            margin-bottom: 1.5rem;
        }
        
        .breadcrumbs {
            font-size: 0.9rem;
        }
        
        .movie-actions {
            flex-direction: column;
            align-items: center;
        }
        
        .action-btn {
            width: 100%;
            max-width: 300px;
            text-align: center;
        }
    }

    @media (max-width: 600px) {
        .breadcrumbs {
            font-size: 0.8rem;
            gap: 0.3rem;
        }
        
        .breadcrumbs a, .breadcrumbs .current {
            padding: 0.1rem 0.3rem;
        }
        
        .movie-actions {
            margin-top: 2rem;
            padding-top: 1.5rem;
        }
        
        .action-btn {
            padding: 0.8rem 1.2rem;
            font-size: 0.9rem;
        }
    }