/**
 * GOC 크리에이터 롤링 배너 스타일
 * 무한 루프 애니메이션 (오른쪽 → 왼쪽)
 */

.goc-banner-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
    position: relative;
}

.goc-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.goc-banner-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 50px;
}

.goc-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* 뱃지 - 더 눈에 띄게 */
.goc-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow:
        0 4px 20px rgba(102, 126, 234, 0.4),
        0 0 40px rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.goc-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: badge-shine 3s infinite;
}

@keyframes badge-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.goc-title {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
}

.goc-subtitle {
    color: #a0aec0;
    font-size: 17px;
    font-weight: 400;
    margin: 0;
}

.goc-banner-track {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 6%,
        black 94%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 6%,
        black 94%,
        transparent
    );
}

.goc-banner-slider {
    display: flex;
    gap: 28px;
    animation: goc-scroll 50s linear infinite;
    width: fit-content;
}

.goc-banner-slider:hover {
    animation-play-state: paused;
}

@keyframes goc-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 이미지 카드 - 더 크게 */
.goc-creator-card {
    flex-shrink: 0;
    width: 180px;
    text-decoration: none;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.goc-creator-card:hover {
    transform: scale(1.06) translateY(-10px);
}

.goc-creator-image {
    width: 180px;
    height: 320px; /* 9:16 비율 */
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    transition: border-radius 0.3s ease;
}

.goc-creator-card:hover .goc-creator-image {
    border-radius: 0;
}

.goc-creator-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.goc-creator-card:hover .goc-creator-image::after {
    opacity: 1;
}

.goc-creator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.goc-creator-card:hover .goc-creator-image img {
    transform: scale(1.08);
}

.goc-creator-info {
    text-align: center;
    margin-top: 16px;
}

/* 계정명 */
.goc-creator-account {
    display: inline-block;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0;
    transition: color 0.3s ease;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.goc-creator-card:hover .goc-creator-account {
    color: #667eea;
}

/* 반응형 */
@media (max-width: 1024px) {
    .goc-banner-section {
        padding: 60px 0;
    }

    .goc-badge {
        font-size: 13px;
        padding: 10px 24px;
    }

    .goc-title {
        font-size: 30px;
    }

    .goc-creator-card {
        width: 160px;
    }

    .goc-creator-image {
        width: 160px;
        height: 284px;
        border-radius: 16px;
    }

    .goc-banner-slider {
        gap: 24px;
    }

    .goc-creator-account {
        font-size: 14px;
        max-width: 160px;
    }
}

@media (max-width: 768px) {
    .goc-banner-section {
        padding: 50px 0;
    }

    .goc-banner-header {
        margin-bottom: 40px;
    }

    .goc-badge {
        font-size: 12px;
        padding: 8px 20px;
    }

    .goc-title {
        font-size: 26px;
    }

    .goc-subtitle {
        font-size: 15px;
    }

    .goc-creator-card {
        width: 140px;
    }

    .goc-creator-image {
        width: 140px;
        height: 249px;
        border-radius: 14px;
    }

    .goc-banner-slider {
        gap: 18px;
        animation-duration: 40s;
    }

    .goc-creator-account {
        font-size: 13px;
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .goc-banner-section {
        padding: 40px 0;
    }

    .goc-badge {
        font-size: 11px;
        padding: 7px 16px;
    }

    .goc-title {
        font-size: 22px;
    }

    .goc-subtitle {
        font-size: 14px;
    }

    .goc-creator-card {
        width: 120px;
    }

    .goc-creator-image {
        width: 120px;
        height: 213px;
        border-radius: 12px;
    }

    .goc-banner-slider {
        gap: 14px;
        animation-duration: 35s;
    }

    .goc-creator-account {
        font-size: 11px;
        max-width: 120px;
    }

    .goc-creator-info {
        margin-top: 12px;
    }
}
