/* ──────────────────────────────
   works.css — 作品展示页专用样式
   ────────────────────────────── */

/* 全局基础 */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.8;
    color: #333;
    background-color: #ffffff;
}

/* 统一 section-header 样式（备用） */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #165DFF;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.eyebrow-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #165DFF, transparent);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: black;
    line-height: 1.2;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ── works 页专属：hero 底部融入白色内容区 ── */
.page-hero {
    background: linear-gradient(180deg,
            #3d82e8 0%,
            #5b9cf6 25%,
            #a8c8ff 60%,
            #daeaff 80%,
            #ffffff 100%);
}

.page-hero::after {
    background: linear-gradient(to bottom, transparent, #ffffff);
}

/* ── 主体区 ── */
.works-main {
    padding: 60px 0 120px;
    background: #ffffff;
}

.works-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ══════════════════════════════
   空状态主卡
   ══════════════════════════════ */
.works-coming-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #0d2f7a 0%, #1a52cc 45%, #2563eb 100%);
    padding: 64px 72px;
    margin-bottom: 72px;
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 360px;
}

/* 背景光晕层 */
.works-coming-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 15% 50%, rgba(99, 179, 255, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 80% 30%, rgba(147, 112, 255, 0.15) 0%, transparent 55%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.2' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
    z-index: 0;
}

.works-coming-content {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
}

/* 状态徽标 */
.works-coming-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px 5px 10px;
    border-radius: 100px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.works-dot-pulse {
    font-size: 7px !important;
    color: #4ade80;
    animation: dotPulse 1.8s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

/* 主标题 */
.works-coming-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 30, 120, 0.3);
}

/* 描述 */
.works-coming-desc {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    max-width: 540px;
    margin-bottom: 32px;
}

/* 进度条 */
.works-coming-progress {
    margin-bottom: 36px;
}

.works-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 10px;
    max-width: 480px;
}

.works-progress-fill {
    height: 100%;
    width: 38%;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    border-radius: 100px;
    position: relative;
    animation: progressShimmer 2.5s ease-in-out infinite;
}

.works-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmerSlide 2.5s ease-in-out infinite;
}

@keyframes progressShimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes shimmerSlide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(300%);
    }
}

.works-progress-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.03em;
}

/* 按钮 */
.works-coming-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.works-coming-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 右侧装饰区 */
.works-coming-deco {
    position: relative;
    z-index: 2;
    width: 240px;
    height: 240px;
    flex-shrink: 0;
}

/* 同心圆环 */
.works-deco-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringRotate 20s linear infinite;
}

.works-deco-ring--1 {
    width: 80px;
    height: 80px;
    border-color: rgba(255, 255, 255, 0.18);
    animation-duration: 12s;
}

.works-deco-ring--2 {
    width: 150px;
    height: 150px;
    border-color: rgba(255, 255, 255, 0.10);
    animation-duration: 20s;
    animation-direction: reverse;
}

.works-deco-ring--3 {
    width: 230px;
    height: 230px;
    border-color: rgba(255, 255, 255, 0.06);
    animation-duration: 30s;
}

@keyframes ringRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 漂浮图标 */
.works-deco-icon {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    animation: iconFloat 3s ease-in-out infinite;
}

.works-deco-icon--1 {
    top: 8%;
    left: 38%;
    animation-delay: 0s;
}

.works-deco-icon--2 {
    top: 38%;
    right: 2%;
    animation-delay: 0.8s;
}

.works-deco-icon--3 {
    bottom: 8%;
    left: 32%;
    animation-delay: 1.6s;
}

.works-deco-icon--4 {
    top: 38%;
    left: 2%;
    animation-delay: 2.4s;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ══════════════════════════════
   预告卡片区
   ══════════════════════════════ */
.works-preview-section {}



/* 4列网格 */
.works-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 单张预告卡 */
.works-preview-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e8edf5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.works-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(22, 93, 255, 0.1);
}

/* 封面区 */
.works-preview-cover {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.works-preview-cover--game {
    background: linear-gradient(135deg, #0f2d6b 0%, #1d4ed8 55%, #3b82f6 100%);
}

.works-preview-cover--video {
    background: linear-gradient(135deg, #3b0a6e 0%, #7c3aed 50%, #c026d3 100%);
}

.works-preview-cover--creative {
    background: linear-gradient(135deg, #064e3b 0%, #059669 50%, #10b981 100%);
}

.works-preview-cover--music {
    background: linear-gradient(135deg, #78350f 0%, #d97706 50%, #f59e0b 100%);
}

/* 模糊装饰层 */
.works-preview-blur {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/svg%3E");
}

/* 封面覆盖层 */
.works-preview-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.works-preview-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 26px;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
}

.works-preview-card:hover .works-preview-icon {
    transform: scale(1.1);
}

.works-preview-lock {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* 卡片内容 */
.works-preview-body {
    padding: 24px;
}

.works-preview-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.works-preview-tag--blue {
    background: rgba(29, 78, 216, 0.09);
    color: #1d4ed8;
}

.works-preview-tag--purple {
    background: rgba(124, 58, 237, 0.09);
    color: #7c3aed;
}

.works-preview-tag--green {
    background: rgba(5, 150, 105, 0.09);
    color: #059669;
}

.works-preview-tag--orange {
    background: rgba(217, 119, 6, 0.10);
    color: #b45309;
}

.works-preview-body h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.works-preview-body p {
    font-size: 14px;
    line-height: 1.65;
    color: #6b7280;
    margin-bottom: 16px;
}

/* 状态指示 */
.works-preview-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
}

.works-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.works-status-dot--active {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    animation: activePulse 2s ease-in-out infinite;
}

.works-status-dot--pending {
    background: #f59e0b;
}

@keyframes activePulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08);
    }
}

/* ══════════════════════════════
   响应式
   ══════════════════════════════ */
@media (max-width: 1200px) {
    .works-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1100px) {
    .works-coming-card {
        padding: 52px 48px;
    }

    .works-coming-title {
        font-size: 40px;
    }
}

@media (max-width: 900px) {
    .works-coming-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        padding: 44px 40px;
    }

    .works-coming-deco {
        display: none;
    }

    .works-coming-title {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .works-main {
        padding: 40px 0 80px;
    }

    .works-coming-card {
        padding: 36px 28px;
        border-radius: 20px;
        margin-bottom: 52px;
    }

    .works-coming-title {
        font-size: 30px;
    }

    .works-coming-desc {
        font-size: 15px;
    }

    .works-preview-grid {
        grid-template-columns: 1fr;
    }

    .works-preview-header h3 {
        font-size: 26px;
    }
}