/* 法宝页面特定样式 */
.artifacts-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 25px;
}

.artifacts-section {
    background: #1a1b26;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #2a2a35;
}

.artifacts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2a2a35;
}

.artifacts-title {
    font-size: 18px;
    font-weight: bold;
    color: #e0e0e0;
    display: flex;
    align-items: center;
}

.artifacts-title i {
    margin-right: 10px;
    color: #f39c12;
}

.artifacts-filter {
    display: flex;
    align-items: center;
}

.artifacts-filter select {
    padding: 8px 12px;
    border: 1px solid #2a2a35;
    border-radius: 4px;
    background: #22222d;
    color: #e0e0e0;
    margin-left: 10px;
}

.artifacts-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: #444 #222;
}

.artifacts-list::-webkit-scrollbar {
    width: 6px;
}

.artifacts-list::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 3px;
}

.artifacts-list::-webkit-scrollbar-track {
    background-color: #222;
}

.artifact-item {
    background: #22222d;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #2a2a35;
    display: flex;
    align-items: center;
}

.artifact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: #f39c12;
}

.artifact-item.selected {
    border-color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
}

.artifact-item.locked {
    opacity: 0.7;
    filter: grayscale(1);
    cursor: not-allowed;
}

.artifact-icon {
    width: 50px;
    height: 50px;
    background: #2a2a35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: #f39c12;
    flex-shrink: 0;
    border: 2px solid rgba(243, 156, 18, 0.3);
}

.artifact-icon.weapon {
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.3);
}

.artifact-icon.armor {
    color: #3498db;
    border-color: rgba(52, 152, 219, 0.3);
}

.artifact-icon.accessory {
    color: #9b59b6;
    border-color: rgba(155, 89, 182, 0.3);
}

.artifact-icon.talisman {
    color: #f1c40f;
    border-color: rgba(241, 196, 15, 0.3);
}

.artifact-info {
    flex-grow: 1;
}

.artifact-name {
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.artifact-type {
    font-size: 12px;
    color: #aaa;
}

.artifact-level {
    margin-left: auto;
    padding: 3px 6px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}

.artifact-rarity {
    position: relative;
    font-size: 12px;
    margin-top: 5px;
}

.rarity-stars {
    color: #f1c40f;
    letter-spacing: -2px;
}

.empty-stars {
    color: #333340;
    position: absolute;
    top: 0;
    left: 0;
    letter-spacing: -2px;
}

.artifact-details {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
}

.selected-artifact {
    display: flex;
    background: #22222d;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #2a2a35;
}

.artifact-image {
    width: 120px;
    height: 120px;
    background: #1a1b26;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 40px;
    color: #f39c12;
    border: 2px solid rgba(243, 156, 18, 0.3);
    flex-shrink: 0;
}

.artifact-image.weapon {
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.3);
}

.artifact-image.armor {
    color: #3498db;
    border-color: rgba(52, 152, 219, 0.3);
}

.artifact-image.accessory {
    color: #9b59b6;
    border-color: rgba(155, 89, 182, 0.3);
}

.artifact-image.talisman {
    color: #f1c40f;
    border-color: rgba(241, 196, 15, 0.3);
}

.artifact-details-info {
    flex-grow: 1;
}

.artifact-details-name {
    font-size: 20px;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.artifact-details-type {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 15px;
}

.artifact-details-rarity {
    font-size: 16px;
    margin-bottom: 15px;
}

.artifact-description {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 20px;
}

.artifact-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #e0e0e0;
}

.stat-icon {
    width: 24px;
    height: 24px;
    background: rgba(243, 156, 18, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 12px;
    color: #f39c12;
}

.stat-icon.attack {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.stat-icon.defense {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.stat-icon.spirit {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
}

.stat-icon.health {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.stat-value {
    font-weight: bold;
    margin-left: auto;
}

.enhancement-container {
    background: #22222d;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border: 1px solid #2a2a35;
}

.enhancement-header {
    font-size: 16px;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.enhancement-header i {
    margin-right: 10px;
    color: #f39c12;
}

.enhancement-level {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.current-level {
    font-size: 14px;
    font-weight: bold;
    color: #e0e0e0;
    margin-right: 15px;
}

.level-progress {
    flex-grow: 1;
    height: 8px;
    background: #333340;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.level-fill {
    position: absolute;
    height: 100%;
    width: 45%;
    background: linear-gradient(to right, #f1c40f, #f39c12);
    border-radius: 4px;
}

.max-level {
    font-size: 14px;
    font-weight: bold;
    color: #e0e0e0;
    margin-left: 15px;
}

.enhancement-materials {
    background: #1a1b26;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #2a2a35;
}

.materials-title {
    font-size: 14px;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.materials-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.material-item {
    background: #22222d;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    align-items: center;
    border: 1px solid #2a2a35;
}

.material-icon {
    width: 30px;
    height: 30px;
    background: rgba(243, 156, 18, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 14px;
    color: #f39c12;
}

.material-info {
    flex-grow: 1;
}

.material-name {
    font-size: 12px;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 3px;
}

.material-quantity {
    font-size: 11px;
    color: #aaa;
}

.material-quantity.insufficient {
    color: #e74c3c;
}

.enhancement-actions {
    display: flex;
    justify-content: center;
}

.enhance-btn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.enhance-btn:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.enhance-btn i {
    margin-right: 8px;
}

.enhance-btn.disabled {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.enhancement-preview {
    margin-top: 20px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #2ecc7133;
}

.preview-title {
    font-size: 14px;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.preview-title i {
    margin-right: 8px;
    color: #2ecc71;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.preview-stat {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #e0e0e0;
}

.preview-stat-name {
    flex-grow: 1;
}

.preview-stat-value {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.preview-increase {
    color: #2ecc71;
    font-size: 12px;
    margin-left: 5px;
}

.special-abilities {
    margin-top: 20px;
}

.abilities-title {
    font-size: 16px;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.abilities-title i {
    margin-right: 10px;
    color: #9b59b6;
}

.ability-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.ability-item {
    background: #1a1b26;
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid #9b59b6;
}

.ability-name {
    font-size: 14px;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.ability-name i {
    margin-right: 8px;
    color: #9b59b6;
}

.ability-description {
    font-size: 12px;
    color: #aaa;
    line-height: 1.6;
}

.ability-locked {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.ability-locked i {
    margin-right: 5px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .artifacts-container {
        grid-template-columns: 1fr;
    }
    
    .artifacts-list {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .artifacts-list {
        grid-template-columns: 1fr;
    }
    
    .artifact-stats,
    .preview-stats,
    .materials-list {
        grid-template-columns: 1fr;
    }
    
    .selected-artifact {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .artifact-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
} 