* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #FFFEF6;
    padding: 50px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    height: 100vh;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    animation: bodyFadeIn 0.3s ease forwards;
}

@keyframes bodyFadeIn {
    to {
        opacity: 1;
    }
}

.works-grid {
    display: flex;
    gap: 20px;
    width: max-content;
    min-height: 100%;
    align-items: flex-start;
}

.work-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 350px;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(40px);
    animation: cardSlideIn 0.5s ease forwards;
}

.work-card:nth-child(1) { animation-delay: 0.1s; }
.work-card:nth-child(2) { animation-delay: 0.2s; }
.work-card:nth-child(3) { animation-delay: 0.3s; }
.work-card:nth-child(4) { animation-delay: 0.4s; }
.work-card:nth-child(5) { animation-delay: 0.5s; }
.work-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.work-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 2;
    object-fit: cover;
    display: block;
    background: #ECECEC;
    border-radius: 8px;
    font-size: 20px;
}

.card-name {
    font-size: 24px;
    font-weight: 400;
    color: #1E1E1E;
    white-space: normal;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #A5A5A5;
    white-space: normal;
}