.work-premium {
    padding: 100px 5%;
}

.container-premium {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header-premium {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.work-grid-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 0.5rem 2rem;
    margin: 0 auto;
}

.work-grid-wrapper::before,
.work-grid-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.work-grid-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.work-grid-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.work-grid {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollWork 40s linear infinite;
    will-change: transform;
    padding: 0.5rem 0;
}

.work-grid:hover {
    animation-play-state: paused;
}

@keyframes scrollWork {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.work-card {
    flex: 0 0 320px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 280px;
    max-width: 320px;
}

.work-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.work-card-inner {
    padding: 2rem;
}

.work-image {
    height: 180px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-links {
    display: flex;
    gap: 1rem;
}

.work-link {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.work-link:hover {
    transform: scale(1.1);
}

.work-icon span {
    color: var(--text-secondary);
}

.work-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.work-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.work-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.work-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.work-tech span {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border-radius: 20px;
}