/* 创作中心页面专属样式 */
.btcy-creation-layout {
    position: relative;
    min-height: 100vh;
}

/* 创作类型卡片 */
.btcy-type-card {
    transform: translateY(0);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btcy-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1.5rem;
}

.btcy-type-card:hover::before {
    opacity: 1;
}

.btcy-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(244, 114, 182, 0.3);
}

.btcy-type-icon {
    transition: all 0.3s ease;
}

.btcy-type-card:hover .btcy-type-icon {
    transform: scale(1.15) rotate(10deg);
}

.btcy-type-btn {
    position: relative;
    overflow: hidden;
}

.btcy-type-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btcy-type-btn:hover::before {
    left: 100%;
}

/* 作品卡片样式 */
.btcy-work-card {
    transition: all 0.4s ease;
    position: relative;
}

.btcy-work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(244, 114, 182, 0.2);
}

.btcy-work-cover {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.btcy-work-cover img {
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

.btcy-work-card:hover .btcy-work-cover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.btcy-work-overlay {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btcy-work-type,
.btcy-work-likes {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 创作者支持卡片 */
.btcy-support-card {
    transition: all 0.3s ease;
    position: relative;
}

.btcy-support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(244, 114, 182, 0.2);
}

.btcy-support-icon {
    transition: all 0.3s ease;
}

.btcy-support-card:hover .btcy-support-icon {
    transform: scale(1.1) rotate(5deg);
}

/* 支持计划横幅 */
.btcy-join-program {
    position: relative;
    overflow: hidden;
}

.btcy-join-program::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 114, 182, 0.1), transparent);
    animation: programShine 4s infinite;
}

@keyframes programShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* 创作标签动画 */
.btcy-creation-tag {
    transition: all 0.2s ease;
}

.btcy-creation-tag:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
}

/* 作品标签悬停 */
.btcy-work-tags span {
    transition: all 0.2s ease;
    position: relative;
}

.btcy-work-tags span:hover {
    transform: scale(1.1) translateY(-2px);
}

.btcy-work-tags span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: inherit;
}

.btcy-work-tags span:hover::before {
    opacity: 1;
}

/* 进入动画序列 */
.btcy-types-grid > div {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpType 0.6s ease forwards;
}

.btcy-types-grid > div:nth-child(1) { animation-delay: 0.1s; }
.btcy-types-grid > div:nth-child(2) { animation-delay: 0.2s; }
.btcy-types-grid > div:nth-child(3) { animation-delay: 0.3s; }
.btcy-types-grid > div:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUpType {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btcy-works-grid > div {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideInLeftWork 0.8s ease forwards;
}

.btcy-works-grid > div:nth-child(1) { animation-delay: 0.2s; }
.btcy-works-grid > div:nth-child(2) { animation-delay: 0.4s; }
.btcy-works-grid > div:nth-child(3) { animation-delay: 0.6s; }

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

/* 支持卡片动画 */
.btcy-support-grid > div {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpSupport 0.6s ease forwards;
}

.btcy-support-grid > div:nth-child(1) { animation-delay: 0.1s; }
.btcy-support-grid > div:nth-child(2) { animation-delay: 0.2s; }
.btcy-support-grid > div:nth-child(3) { animation-delay: 0.3s; }
.btcy-support-grid > div:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUpSupport {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .btcy-feature-icon {
        width: 4rem;
        height: 4rem;
    }
    
    .btcy-type-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .btcy-support-icon {
        width: 3rem;
        height: 3rem;
    }
}