/* Reset and base styles */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
            background-color: #363b43;
            color: #fff;
            line-height: 1.6;
            min-height: 100vh;
            position: relative;
            padding-bottom: 40px;
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        
        /* Loading overlay */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #363b43;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s;
        }
        
        .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* Header styles */
        .header {
            background-color: #363b43;
            padding: 15px 0;
            border-bottom: 1px solid #3a3f48;
        }
        
        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #fff;
        }
        
        .tagline {
            display: block;
            font-size: 16px;
            font-weight: normal;
            margin-top: 5px;
            text-align: left;
        }
        
        .search-form {
            display: flex;
            flex: 1;
            max-width: 400px;
            margin: 0 auto;
        }
        
        .search-input {
            flex: 1;
            height: 36px;
            border: none;
            border-radius: 4px 0 0 4px;
            padding: 0 12px;
            font-size: 14px;
        }
        
        .search-button {
            height: 36px;
            padding: 0 15px;
            background-color: #5a6470;
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-size: 14px;
        }
        
        .nav {
            display: flex;
            gap: 20px;
        }
        
        .nav-link {
            color: #fff;
            font-size: 16px;
            padding: 5px;
        }
        
        .nav-link:hover {
            text-decoration: underline;
        }
        
        /* Mobile menu styles */
        .nav-mobile {
            display: none;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            width: 100%;
            margin: 10px 0;
        }
        
        .nav-mobile-link {
            font-size: 14px;
            padding: 6px 10px;
            background-color: #2b2f36;
            border-radius: 4px;
            color: white;
            text-align: center;
        }
        
        /* Main content */
        .main {
            max-width: 1200px;
            margin: 20px auto;
            padding: 0 15px;
        }
        
        .video-container {
            margin-bottom: 30px;
            background-color: #2b2f36;
            border-radius: 4px;
            overflow: hidden;
        }
        
        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
        }
        
        .video-wrapper video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #000;
        }
        
        .video-info {
            padding: 20px;
        }
        
        .video-title {
            font-size: 24px;
            margin-bottom: 10px;
            font-weight: normal;
        }
        
        .video-meta {
            display: flex;
            flex-wrap: wrap;
            font-size: 14px;
            color: #bbb;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .video-description {
            margin-bottom: 20px;
            line-height: 1.6;
        }
        
        .video-tags {
            margin-bottom: 20px;
        }
        
        .tag {
            display: inline-block;
            background-color: #4a4f57;
            color: #fff;
            padding: 5px 10px;
            margin: 0 5px 5px 0;
            border-radius: 4px;
            font-size: 12px;
        }
        
        /* Related videos */
        .section-title {
            font-size: 20px;
            margin-bottom: 20px;
            color: #fff;
            font-weight: normal;
        }
        
        .related-videos {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .video-card {
            background-color: #2b2f36;
            border-radius: 0;
            overflow: hidden;
            transition: transform 0.2s;
            position: relative;
        }
        
        .video-card:hover {
            transform: translateY(-5px);
        }
        
        .thumbnail-container {
            position: relative;
            aspect-ratio: 16/9;
            overflow: hidden;
            background-color: #000;
        }
        
        .thumbnail {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }
        
        .thumbnail-container:hover .thumbnail {
            transform: scale(1.05);
        }
        
        .platform-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(0, 0, 0, 0.6);
            color: white;
            text-align: center;
            padding: 8px;
            font-weight: 500;
            z-index: 3;
        }
        
        .card-info {
            padding: 10px;
        }
        
        .card-title {
            font-size: 16px;
            margin-bottom: 8px;
            line-height: 1.4;
            height: 2.8em;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        
        .card-meta {
            display: flex;
            flex-wrap: wrap;
            font-size: 14px;
            color: #bbb;
            gap: 5px 15px;
        }
        
        /* Popular models */
        .popular-models {
            margin-top: 40px;
        }
        
        .models-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .model-item {
            background-color: #2b2f36;
            border-radius: 4px;
            padding: 8px 12px;
            transition: background-color 0.2s;
        }
        
        .model-item:hover {
            background-color: #4a4f57;
        }
        
        /* Footer */
        .footer {
            max-width: 1200px;
            margin: 40px auto 20px;
            padding: 20px 15px;
            border-top: 1px solid #444;
            text-align: center;
            font-size: 14px;
            color: #bbb;
        }
        
        .footer p {
            margin-bottom: 15px;
            line-height: 1.6;
        }
        
        .footer-links {
            margin: 15px 0;
        }
        
        .footer-links a {
            color: #fff;
            margin: 0 10px;
            text-decoration: underline;
        }
        
        .bottom-line {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background-color: #000;
            z-index: 100;
        }
        
        /* Responsive adjustments */
        @media (max-width: 1100px) {
            .related-videos {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 800px) {
            .related-videos {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .header-container {
                flex-direction: column;
                align-items: stretch;
            }
            
            .logo {
                text-align: center;
            }
            
            .tagline {
                text-align: center;
            }
            
            .search-form {
                max-width: 100%;
                order: 3;
            }
            
            .nav {
                display: none;
            }
            
            .nav-mobile {
                display: flex;
                order: 2;
            }
            
            .video-title {
                font-size: 20px;
            }
        }
        
        @media (max-width: 480px) {
            .related-videos {
                grid-template-columns: 1fr;
            }
            
            .video-meta {
                flex-direction: column;
                gap: 5px;
            }
            
            .bottom-line {
                display: none;
            }
            
            .nav-mobile {
                padding: 5px 0;
                margin: 0 -5px;
            }
            
            .nav-mobile-link {
                margin: 0;
                flex: 0 0 auto;
                font-size: 13px;
                padding: 5px 8px;
            }
        }.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.video-preview.visible {
    display: block;
}


/* Title with show more functionality */
.video-title {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: normal;
    position: relative;
}

.video-title.collapsed {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 80px; /* Space for "show more" button */
}

.show-more-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #4a4f57;
    color: #fff;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.show-more-btn:hover {
    background: #5a6470;
}

/* Adjust for mobile */
@media (max-width: 800px) {
    .video-title {
        font-size: 20px;
    }
    
    .video-title.collapsed {
        padding-right: 70px;
    }
    
    .show-more-btn {
        font-size: 12px;
        padding: 3px 8px;
    }
}
