/* ============================================
   陈熊猫系列IP 页面 - 专属样式
   视觉语言与 comic.css 保持一致（暖色系、圆角卡片）
   ============================================ */

/* 页面容器 */
.figure-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 24px 80px;
}

/* 标题区：居中 + 装饰线 */
.figure-hero {
    text-align: center;
    margin-bottom: 48px;
}
.figure-page-title {
    font-size: 34px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 1px;
    margin: 0;
}
.figure-hero::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    border-radius: 2px;
    background: var(--primary, #8B6F47);
    margin: 18px auto 0;
    opacity: 0.6;
}

/* 网格：桌面 2 列，手机 2 列 */
.figure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 860px;
    margin: 0 auto;
}

/* 卡片：盲盒/照片风格 */
.figure-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 18px 18px 22px;
    box-shadow: 0 6px 20px rgba(139, 111, 71, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default; /* 不可点击，仅展示 */
}
.figure-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(139, 111, 71, 0.22);
}

/* 图片区：圆角内框 + 浅暖底，不裁切 */
.figure-thumb {
    border-radius: 14px;
    background: #F8F5F0;
    height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
    perspective: 600px;
}
.figure-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.figure-card:hover .figure-thumb img {
    transform: scale(1.03);
}

/* 玩偶名称 */
.figure-name {
    text-align: center;
    margin-top: 16px;
    font-size: 19px;
    font-weight: 600;
    color: #4A3B2A;
}

/* 手机端：仍为 2 列，缩小间距与图片高度 */
@media (max-width: 768px) {
    .figure-page {
        padding: 40px 16px 56px;
    }
    .figure-page-title {
        font-size: 26px;
    }
    .figure-grid {
        gap: 16px;
    }
    .figure-card {
        padding: 12px 12px 16px;
        border-radius: 16px;
    }
    .figure-thumb {
        height: 200px;
        border-radius: 12px;
    }
    .figure-name {
        margin-top: 12px;
        font-size: 16px;
    }
}
