/* 灵兽页面专用样式 */
.beasts-container {
    display: flex;
    gap: 20px;
    height: 100%;
}

/* 左侧灵兽列表 */
.beasts-section {
    flex: 0 0 300px;
    background: rgba(30, 30, 35, 0.7);
    border: 1px solid #3a3a4a;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.beasts-header {
    padding: 15px;
    border-bottom: 1px solid #3a3a4a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #2c2c38, #1e1e28);
}

.beasts-title {
    font-size: 18px;
    font-weight: bold;
    color: #d4b48c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.beasts-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.beasts-filter select {
    background: #2a2a36;
    border: 1px solid #4a4a5a;
    color: #ccc;
    padding: 2px 5px;
    border-radius: 4px;
}

.beasts-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.beast-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #3a3a4a;
    border-radius: 6px;
    margin-bottom: 10px;
    background: rgba(40, 40, 50, 0.5);
    transition: all 0.2s ease;
    cursor: pointer;
}

.beast-item:hover {
    background: rgba(50, 50, 65, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.beast-item.selected {
    background: linear-gradient(to right, #3a3a55, #2a2a45);
    border-color: #6a6a8a;
    box-shadow: 0 0 8px rgba(100, 100, 180, 0.5);
}

.beast-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 30, 40, 0.7);
    border-radius: 50%;
    margin-right: 12px;
    font-size: 22px;
    border: 1px solid #4a4a5a;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.beast-icon.fire {
    background: linear-gradient(135deg, #4a1e1e, #802020);
    border-color: #a03030;
    color: #ff9d6c;
    box-shadow: 0 0 10px rgba(255, 100, 50, 0.3);
}

.beast-icon.water {
    background: linear-gradient(135deg, #1e2e4a, #204080);
    border-color: #3050a0;
    color: #6ccdff;
    box-shadow: 0 0 10px rgba(50, 100, 255, 0.3);
}

.beast-icon.earth {
    background: linear-gradient(135deg, #2a3a1e, #385020);
    border-color: #587030;
    color: #a0d868;
    box-shadow: 0 0 10px rgba(100, 180, 50, 0.3);
}

.beast-icon.metal {
    background: linear-gradient(135deg, #2a2a2a, #4a4a4a);
    border-color: #7a7a7a;
    color: #d0d0d0;
    box-shadow: 0 0 10px rgba(200, 200, 200, 0.3);
}

.beast-icon.wood {
    background: linear-gradient(135deg, #1e3a2a, #206040);
    border-color: #308060;
    color: #68d8a0;
    box-shadow: 0 0 10px rgba(50, 180, 100, 0.3);
}

.beast-info {
    flex: 1;
}

.beast-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
    color: #d4b48c;
}

.beast-level {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 4px;
}

.beast-element {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.beast-element span {
    background: rgba(40, 40, 50, 0.7);
    padding: 2px 6px;
    border-radius: 4px;
    color: #ccc;
}

.beast-loyalty {
    color: #88cc88;
}

.beast-item.locked {
    opacity: 0.7;
    cursor: not-allowed;
    background: rgba(30, 30, 40, 0.4);
}

.beast-item.locked:hover {
    transform: none;
    box-shadow: none;
    background: rgba(30, 30, 40, 0.4);
}

.quick-actions {
    padding: 15px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #3a3a4a;
    background: rgba(25, 25, 30, 0.7);
}

.action-button {
    flex: 1;
    background: linear-gradient(to bottom, #3a3a50, #2a2a40);
    border: 1px solid #4a4a6a;
    color: #ccc;
    padding: 8px 0;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.action-button:hover {
    background: linear-gradient(to bottom, #4a4a60, #3a3a50);
    box-shadow: 0 0 8px rgba(100, 100, 180, 0.4);
}

.action-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(to bottom, #333340, #232330);
}

.action-button.disabled:hover {
    box-shadow: none;
}

/* 右侧灵兽详情 */
.beast-details-section {
    flex: 1;
    background: rgba(30, 30, 35, 0.7);
    border: 1px solid #3a3a4a;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-y: auto;
    padding: 20px;
    gap: 20px;
}

.beast-main-info {
    display: flex;
    gap: 20px;
    background: rgba(25, 25, 30, 0.7);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #3a3a4a;
}

.beast-avatar {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(35, 35, 45, 0.8);
    border-radius: 50%;
    font-size: 48px;
    border: 2px solid #4a4a5a;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.beast-avatar.fire {
    background: linear-gradient(135deg, #5a2525, #902525);
    border-color: #b03535;
    color: #ffa07a;
    box-shadow: 0 0 20px rgba(255, 100, 50, 0.4);
}

.beast-profile {
    flex: 1;
}

.beast-profile-header {
    margin-bottom: 15px;
}

.beast-profile-header h3 {
    margin: 0 0 5px 0;
    color: #d4b48c;
    font-size: 24px;
    font-weight: bold;
}

.beast-type {
    font-size: 14px;
    color: #aaa;
}

.beast-level-info {
    margin-bottom: 15px;
}

.level-badge {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(to right, #3a3a55, #2a2a45);
    border: 1px solid #4a4a6a;
    border-radius: 4px;
    color: #d4b48c;
    font-size: 14px;
    margin-bottom: 8px;
}

.progress-bar {
    height: 10px;
    background: rgba(30, 30, 40, 0.7);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #5a7a9a, #3a5a7a);
    border-radius: 5px;
}

.exp-text {
    font-size: 12px;
    color: #aaa;
}

.beast-description {
    font-size: 14px;
    line-height: 1.5;
    color: #ccc;
    padding: 10px;
    background: rgba(40, 40, 50, 0.5);
    border-radius: 6px;
    border: 1px solid #3a3a4a;
}

/* 属性区域 */
.beast-attributes, .beast-skills, .beast-training {
    background: rgba(25, 25, 30, 0.7);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #3a3a4a;
}

.attributes-header, .skills-header, .training-header {
    margin-bottom: 15px;
    border-bottom: 1px solid #3a3a4a;
    padding-bottom: 10px;
}

.attributes-header h3, .skills-header h3, .training-header h3 {
    margin: 0;
    color: #d4b48c;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.attributes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.attribute {
    background: rgba(35, 35, 45, 0.6);
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #3a3a4a;
}

.attribute-name {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.attribute-value {
    font-size: 18px;
    color: #d4b48c;
    font-weight: bold;
}

.attr-bonus {
    color: #88cc88;
    font-weight: normal;
}

/* 技能区域 */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-item {
    display: flex;
    gap: 15px;
    background: rgba(35, 35, 45, 0.6);
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #3a3a4a;
}

.skill-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 30, 40, 0.7);
    border-radius: 50%;
    font-size: 18px;
    border: 1px solid #4a4a5a;
    flex-shrink: 0;
}

.skill-icon.fire {
    background: linear-gradient(135deg, #4a1e1e, #802020);
    border-color: #a03030;
    color: #ff9d6c;
}

.skill-icon.locked {
    background: #2a2a35;
    color: #666;
}

.skill-info {
    flex: 1;
}

.skill-name {
    font-size: 16px;
    font-weight: bold;
    color: #d4b48c;
    margin-bottom: 6px;
}

.skill-description {
    font-size: 13px;
    color: #bbb;
    margin-bottom: 8px;
    line-height: 1.4;
}

.skill-level, .skill-requirement {
    font-size: 12px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 10px;
}

.small-progress {
    flex: 1;
    height: 6px;
    background: rgba(30, 30, 40, 0.7);
    border-radius: 3px;
    overflow: hidden;
}

.small-progress-fill {
    height: 100%;
    background: linear-gradient(to right, #5a7a9a, #3a5a7a);
    border-radius: 3px;
}

.skill-item.locked {
    opacity: 0.7;
}

/* 培养区域 */
.training-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.training-option {
    background: rgba(35, 35, 45, 0.6);
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #3a3a4a;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.option-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 40, 55, 0.8);
    border-radius: 50%;
    font-size: 24px;
    border: 1px solid #4a4a6a;
    color: #d4b48c;
    margin-bottom: 5px;
}

.option-info {
    text-align: center;
    margin-bottom: 10px;
}

.option-name {
    font-size: 16px;
    font-weight: bold;
    color: #d4b48c;
    margin-bottom: 5px;
}

.option-desc {
    font-size: 12px;
    color: #aaa;
}

.option-btn {
    background: linear-gradient(to bottom, #3a3a50, #2a2a40);
    border: 1px solid #4a4a6a;
    color: #ccc;
    padding: 6px 15px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.option-btn:hover {
    background: linear-gradient(to bottom, #4a4a60, #3a3a50);
    box-shadow: 0 0 8px rgba(100, 100, 180, 0.4);
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .beasts-container {
        flex-direction: column;
    }
    
    .beasts-section {
        flex: 0 0 auto;
        max-height: 300px;
    }
    
    .attributes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .training-options {
        grid-template-columns: 1fr;
    }
} 