.clips-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.clips-container {
    margin-top: 2rem;
}

.clips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.clip-card {
    background: var(--gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.clip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.clip-video {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 12px 12px 0 0;
}

.clip-info {
    padding: 1.5rem;
}

.clip-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.clip-author {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clip-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .clips-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

.highlighted-clip {
    position: relative;
    animation: pulseHighlight 2s ease-in-out;
    box-shadow: 0 0 0 4px var(--primary);
    border-radius: 16px;
}

@keyframes pulseHighlight {
    0% { box-shadow: 0 0 0 0 rgba(108, 56, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(108, 56, 255, 0); }
    100% { box-shadow: 0 0 0 4px var(--primary); }
}

.clip-card {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.highlighted-clip {
    z-index: 2;
}

.clip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.share-button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-button:hover {
    color: var(--primary);
    background: rgba(108, 56, 255, 0.1);
    transform: translateY(-2px);
}

.clip-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(108, 56, 255, 0.3);
    z-index: 1000;
    animation: slideUp 0.3s ease-out;
}

.clip-notification.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
}