/* 演奏技巧页样式 */
body {
    padding-top: 60px;
}

.page-banner {
    height: 300px;
    background: url('../../images/skills/banner.png') no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.page-banner h1 {
    font-size: 40px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-banner p {
    font-size: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.skills-nav {
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 60px;
    z-index: 90;
}

.skills-nav .nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.skills-nav a {
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s;
}

.skills-nav a:hover,
.skills-nav a.active {
    background-color: #333;
    color: #fff;
}

.skills-content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.skill-section {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s;
}

.skill-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.skill-section h3 {
    font-size: 24px;
    color: #333;
    margin: 40px 0 20px;
}

/* 基础姿势部分 */
.posture-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: center;
}

.image-guide {
    position: relative;
}

.image-guide img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.point-marks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.point {
    position: absolute;
    background-color: rgba(255,255,255,0.8);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.text-guide h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.text-guide ul {
    padding-left: 20px;
}

.text-guide li {
    color: #666;
    margin-bottom: 10px;
    list-style: disc;
}

/* 基本技法部分 */
.technique-list {
    display: grid;
    gap: 30px;
}

.technique-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.technique-video {
    position: relative;
    padding-top: 56.25%; /* 16:9 比例 */
}

.technique-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.technique-info h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.technique-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.key-points h5 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.key-points ul {
    padding-left: 20px;
}

.key-points li {
    color: #666;
    margin-bottom: 5px;
    list-style: disc;
}

/* 互动练习部分 */
.practice-content {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
}

.practice-guide {
    text-align: center;
    margin-bottom: 30px;
}

.practice-guide h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.practice-guide p {
    color: #666;
}

.practice-area {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: center;
}

.guqin-interactive {
    position: relative;
}

.guqin-interactive img {
    width: 100%;
    border-radius: 8px;
}

.practice-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.practice-points .point {
    width: 20px;
    height: 20px;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.practice-points .point:hover {
    background-color: rgba(255,255,255,0.8);
    transform: scale(1.2) translate(-50%, -50%);
}

.practice-points .point.correct {
    background-color: rgba(76,175,80,0.8);
    border-color: #4CAF50;
}

.practice-points .point.wrong {
    background-color: rgba(244,67,54,0.8);
    border-color: #F44336;
}

.practice-feedback {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.practice-feedback p {
    color: #666;
    margin-bottom: 15px;
}

.practice-feedback .score {
    font-size: 24px;
    color: #333;
    font-weight: bold;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .skills-nav .nav-content {
        flex-wrap: wrap;
        gap: 10px;
    }

    .skills-nav a {
        font-size: 14px;
        padding: 6px 15px;
    }

    .posture-content,
    .technique-item,
    .practice-area {
        grid-template-columns: 1fr;
    }

    .point {
        font-size: 12px;
        padding: 3px 6px;
    }
} 