/* showcase.css */
:root {
    --primary: #1e3a8a;
    --secondary: #dc2626;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #10b981;
    --warning: #f59e0b;
    --info: #3b82f6;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-700: #495057;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    padding-top: 70px;
}

/* Hero Section */
.showcase-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0f2c61 100%);
    padding: 100px 0 70px;
    position: relative;
    overflow: hidden;
}

.showcase-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,90.7C672,85,768,107,864,128C960,149,1056,171,1152,165.3C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center bottom;
}

.hero-icon-container {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.15);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Video Cards */
.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-thumbnail::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-card:hover .play-icon {
    background: var(--primary);
    color: white;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 5;
}

.video-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.video-player {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.player-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 2px solid var(--gray-200);
}

.player-name {
    font-weight: 500;
    color: var(--primary);
}

.video-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars {
    color: var(--warning);
    font-size: 1rem;
}

.rating-stars i {
    cursor: pointer;
    transition: color 0.2s;
}

.rating-stars i:hover,
.rating-stars i.active {
    color: #ffc107;
}

/* Filters */
.filter-group {
    min-width: 160px;
}

/* Modal */
#videoModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
}

.modal-header {
    background-color: var(--primary);
    color: white;
    border-bottom: none;
}

.modal-footer {
    background-color: var(--gray-100);
    border-top: 1px solid var(--gray-300);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    z-index: 1;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,261.3C672,256,768,224,864,197.3C960,171,1056,149,1152,154.7C1248,160,1344,192,1392,208L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center bottom;
    z-index: -1;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .showcase-hero {
        padding: 80px 0 50px;
    }
    
    .hero-icon-container {
        font-size: 5rem;
        margin-top: 20px;
    }
    
    .filter-group {
        min-width: 100%;
        margin-bottom: 10px;
    }
    
    .video-stats {
        flex-wrap: wrap;
        gap: 8px;
    }
}