/* 教程页面样式 */
.tutorial-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.tutorial-row {
    margin-bottom: 4rem;
}

.video-preview {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.play-btn:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.tutorial-content {
    padding: 2rem;
}

.tutorial-content h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.tutorial-text {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

.tutorial-text p {
    margin-bottom: 1.2rem;
    text-align: left;
}

.tutorial-text p:last-child {
    margin-bottom: 0;
}

@media (prefers-color-scheme: dark) {
    .tutorial-text p {
        color: #e2e8f0;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tutorial-row {
        margin-bottom: 2rem;
    }
    
    .tutorial-content {
        padding: 1rem 0;
    }
}

.video-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 宽高比 */
    background: #000;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-text {
    color: #666;
    line-height: 1.6;
}
