/* 修炼页面特定样式 */
.cultivation-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.cultivation-method {
    background: #1a1b26;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid #2a2a35;
}

.cultivation-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: #3498db;
}

.method-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.method-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 22px;
}

.method-title {
    font-size: 18px;
    font-weight: bold;
    color: #e0e0e0;
}

.method-description {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.method-stats {
    background: #22222d;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #2a2a35;
}

.method-stats p {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    color: #e0e0e0;
}

.method-actions {
    display: flex;
    justify-content: center;
}

.cultivation-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.cultivation-btn:hover {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.cultivation-btn i {
    margin-right: 8px;
}

.method-icon.breathing {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.method-icon.meditation {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
}

.method-icon.sword {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.method-icon.scripture {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
}

.method-icon.element {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.method-icon.qi {
    background: rgba(52, 73, 94, 0.2);
    color: #34495e;
}

.cultivation-progress {
    background: #1a1b26;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    border: 1px solid #2a2a35;
}

.technique-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.technique-name {
    font-size: 18px;
    font-weight: bold;
    color: #e0e0e0;
}

.level-badge {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.skill-bars {
    margin-top: 20px;
}

.skill-bar {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    font-size: 14px;
    font-weight: bold;
    color: #e0e0e0;
}

.skill-percentage {
    font-size: 14px;
    color: #aaa;
}

.skill-progress {
    height: 6px;
    background: #333340;
    border-radius: 3px;
    position: relative;
}

.skill-progress .bar {
    position: absolute;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(to right, #3498db, #2980b9);
}

/* 添加进度条宽度类 */
.width-25 { width: 25%; }
.width-30 { width: 30%; }
.width-45 { width: 45%; }
.width-60 { width: 60%; }
.width-75 { width: 75%; }
.width-85 { width: 85%; }

/* 响应式调整 */
@media (max-width: 768px) {
    .cultivation-methods {
        grid-template-columns: 1fr;
    }
    
    .technique-level {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .level-badge {
        margin-top: 10px;
    }
} 