.video-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    text-align: center;
}

.video-hero h2 {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    margin-bottom: 15px;
}

.video-hero p {
    font-size: 22px;
    opacity: 0.9;
}

.video-main {
    padding: 60px 20px;
}

/* Video Categories */
.video-categories {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 12px 30px;
    background: rgba(157, 78, 221, 0.2);
    border: 2px solid rgba(157, 78, 221, 0.3);
    border-radius: 25px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
}

.category-btn.active, .category-btn:hover {
    background: var(--gradient-1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Featured Video */
.featured-video {
    background: var(--card-bg);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
}

.featured-video h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.featured-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.video-player-large {
    width: 100%;
}

.video-thumbnail {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.video-thumbnail:hover .play-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: transform 0.3s;
}

.video-thumbnail:hover .play-button {
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}

.video-quality {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-2);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.featured-info h4 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.video-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.views, .date {
    color: rgba(224, 212, 247, 0.7);
}

.video-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(224, 212, 247, 0.8);
    margin-bottom: 20px;
}

.video-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 15px;
    background: rgba(157, 78, 221, 0.2);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 20px;
    font-size: 14px;
}

/* Custom Video CTA */
.custom-video-cta {
    background: var(--gradient-2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    text-align: center;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-icon {
    font-size: 64px;
}

.cta-text {
    flex: 1;
    text-align: left;
}

.cta-text h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 18px;
    opacity: 0.9;
}

/* Videos Grid */
.videos-section h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.video-card {
    background: var(--card-bg);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(157, 78, 221, 0.4);
}

.play-button-small {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--accent-color);
    line-height: 1.4;
    min-height: 50px;
}

.video-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.video-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.video-author span {
    font-size: 14px;
    color: rgba(224, 212, 247, 0.8);
}

.video-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(224, 212, 247, 0.7);
}

.video-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.price-badge {
    background: var(--gradient-1);
}

.price-badge.free {
    background: #4CAF50;
}

/* My Videos Section */
.my-videos-section {
    background: var(--card-bg);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
}

.my-videos-section h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.my-videos-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.my-video-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 15px;
    padding: 25px;
    position: relative;
}

.my-video-status {
    position: absolute;
    top: 25px;
    right: 25px;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.my-video-status.completed {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.my-video-status.processing {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
}

.my-video-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 25px;
    margin-bottom: 20px;
}

.my-video-thumbnail {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.my-video-thumbnail img {
    width: 100%;
    display: block;
}

.play-overlay-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}

.processing-thumbnail {
    background: rgba(157, 78, 221, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
}

.processing-icon {
    font-size: 48px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.my-video-info h4 {
    font-size: 22px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.my-video-info p {
    font-size: 16px;
    color: rgba(224, 212, 247, 0.8);
    margin: 8px 0;
}

.processing-progress {
    margin-top: 15px;
}

.processing-progress .progress-bar {
    background: rgba(0, 0, 0, 0.3);
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.processing-progress .progress-fill {
    background: var(--gradient-1);
    height: 100%;
}

.my-video-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Video Player Modal */
.modal-content.video-player-modal {
    max-width: 95vw;
    max-height: 95vh;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 350px;
}

.video-player-container {
    padding: 30px;
    background: #000;
}

#mainVideoPlayer {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 25px;
}

.video-details {
    padding: 20px;
    background: var(--card-bg);
    border-radius: 10px;
}

.video-details h3 {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.video-sidebar {
    background: var(--card-bg);
    padding: 30px 20px;
    overflow-y: auto;
}

.video-sidebar h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.related-videos {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-video-item {
    display: flex;
    gap: 12px;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s;
}

.related-video-item:hover {
    background: rgba(157, 78, 221, 0.2);
}

.related-video-thumb {
    width: 100px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.related-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-video-info h5 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
    line-height: 1.3;
}

.related-video-info p {
    font-size: 12px;
    color: rgba(224, 212, 247, 0.6);
}

/* Custom Video Order Form */
.video-order-summary {
    background: rgba(157, 78, 221, 0.1);
    border: 2px solid rgba(157, 78, 221, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
}

.video-order-summary h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.total-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 15px 0;
}

.delivery-time {
    font-size: 16px;
    color: rgba(224, 212, 247, 0.7);
}

/* Responsive */
@media (max-width: 1200px) {
    .featured-content {
        grid-template-columns: 1fr;
    }
    
    .modal-content.video-player-modal {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .video-hero h2 {
        font-size: 32px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-text {
        text-align: center;
    }
    
    .my-video-content {
        grid-template-columns: 1fr;
    }
}
