/* 抖音特色区块样式 */
.dy-feature-container {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: #111;
    color: #fff;
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* 背景效果 */
.dy-feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.dy-feature-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 0, 80, 0.1) 0%, rgba(255, 0, 80, 0) 70%),
                      radial-gradient(circle at 85% 30%, rgba(0, 255, 200, 0.1) 0%, rgba(0, 255, 200, 0) 70%);
    opacity: 0.7;
}

.dy-feature-glow {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 40%;
    background: radial-gradient(ellipse at center, rgba(255, 0, 80, 0.2) 0%, rgba(255, 0, 80, 0) 70%);
    filter: blur(50px);
    animation: glow-pulse 10s infinite alternate;
}

@keyframes glow-pulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* 标题样式 */
.dy-feature-header {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
    z-index: 1;
}

.dy-feature-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.dy-title-highlight {
    display: inline-block;
    color: #fe2c55;
    position: relative;
}

.dy-title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #fe2c55, #f12b54);
}

.dy-title-normal {
    display: block;
}

.dy-feature-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* 展示区布局 */
.dy-feature-showcase {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 左侧视觉区域 */
.dy-feature-visual {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.dy-visual-container {
    position: relative;
}

.dy-visual-phone {
    position: relative;
    z-index: 2;
}

.dy-phone-frame {
    position: relative;
    width: 100%;
    padding-bottom: 200%; /* 手机框架的高宽比 */
    overflow: hidden;
    border-radius: 30px;
    background: #000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1),
                0 0 30px rgba(254, 44, 85, 0.3);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.dy-phone-frame:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.dy-phone-screen {
    position: absolute;
    top: 1%;
    left: 1%;
    width: 98%;
    height: 98%;
    border-radius: 28px;
    overflow: hidden;
    background: #000;
}

.dy-screen-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#dy-feature-video {
    display: block;
}

#dy-feature-fallback {
    display: none;
}

.dy-visual-decoration {
    position: absolute;
    right: -30px;
    top: 30%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 3;
}

.dy-decoration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dy-decoration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.dy-decoration-item i {
    font-size: 24px;
    margin-bottom: 5px;
}

.dy-likes i {
    color: #fe2c55;
}

.dy-comments i {
    color: #25f4ee;
}

.dy-shares i {
    color: #fff;
}

.dy-counter {
    font-weight: 700;
    font-size: 18px;
}

/* 右侧内容区域 */
.dy-feature-content {
    flex: 1;
    min-width: 300px;
    max-width: 580px;
}

.dy-feature-tabs {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
                inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.dy-tab-triggers {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dy-tab-trigger {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 20px 15px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.dy-tab-trigger:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.dy-tab-trigger.active {
    color: #fff;
    background: rgba(254, 44, 85, 0.1);
}

.dy-tab-trigger.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #fe2c55, #f12b54);
}

.dy-tab-icon {
    font-size: 22px;
}

.dy-tab-content {
    padding: 30px;
}

.dy-tab-panel {
    display: none;
}

.dy-tab-panel.active {
    display: block;
    animation: fade-in 0.5s ease;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dy-panel-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.dy-panel-desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.dy-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.dy-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.dy-feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.dy-feature-item i {
    color: #25f4ee;
    font-size: 18px;
}

.dy-feature-item span {
    font-size: 16px;
}

.dy-panel-cta {
    text-align: right;
}

/* CTA区域 */
.dy-feature-cta {
    position: relative;
    z-index: 1;
    margin-top: 80px;
    text-align: center;
    background: linear-gradient(90deg, rgba(254, 44, 85, 0.15) 0%, rgba(37, 244, 238, 0.15) 100%);
    border-radius: 20px;
    padding: 50px 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.dy-cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #fe2c55, #25f4ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.dy-cta-desc {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 30px;
}

.dy-cta-actions {
    display: flex;
    justify-content: center;
}

/* 按钮样式 */
.dy-btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, #fe2c55, #f12b54);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(254, 44, 85, 0.3);
    transition: all 0.3s ease;
}

.dy-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(254, 44, 85, 0.4);
}

.dy-btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.dy-btn-outline:hover {
    border-color: #fe2c55;
    background: rgba(254, 44, 85, 0.1);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .dy-feature-showcase {
        flex-direction: column;
    }
    
    .dy-feature-visual, .dy-feature-content {
        max-width: 100%;
    }
    
    .dy-phone-frame {
        padding-bottom: 175%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .dy-visual-decoration {
        right: 0;
        top: 20%;
    }
}

@media (max-width: 768px) {
    .dy-feature-container {
        padding: 60px 0;
    }
    
    .dy-feature-title {
        font-size: 32px;
    }
    
    .dy-tab-trigger {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .dy-tab-content {
        padding: 20px;
    }
    
    .dy-feature-cta {
        padding: 40px 20px;
    }
    
    .dy-cta-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .dy-tab-trigger span {
        display: none;
    }
    
    .dy-tab-icon {
        font-size: 20px;
    }
} 