/* 悟道系统样式 */
.enlightenment-container {
    display: flex;
    gap: 20px;
    height: 100%;
}

/* 左侧状态面板 */
.enlightenment-status {
    flex: 0 0 350px;
    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;
    padding: 20px;
    gap: 20px;
}

.status-header h3 {
    margin: 0 0 15px 0;
    color: #d4b48c;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3a3a4a;
}

.comprehension-stats {
    background: rgba(35, 35, 45, 0.6);
    border: 1px solid #3a3a4a;
    border-radius: 8px;
    padding: 15px;
}

.comprehension-level {
    margin-bottom: 15px;
}

.comprehension-title {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 8px;
}

.level-badge {
    display: inline-block;
    padding: 5px 10px;
    background: linear-gradient(to right, #4a4a65, #3a3a55);
    color: #d4b48c;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    border: 1px solid #5a5a7a;
}

.comprehension-progress {
    margin-top: 10px;
}

.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, #6a7a9a, #5a6a8a);
    border-radius: 5px;
}

.progress-text {
    font-size: 12px;
    color: #aaa;
    text-align: right;
}

.enlightenment-attributes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.attribute {
    background: rgba(40, 40, 50, 0.6);
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #3a3a4a;
}

.attribute-name {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 5px;
}

.attribute-value {
    font-size: 16px;
    color: #d4b48c;
    font-weight: bold;
}

.attr-bonus {
    color: #88cc88;
    font-weight: normal;
}

.enlightenment-insights {
    background: rgba(35, 35, 45, 0.6);
    border: 1px solid #3a3a4a;
    border-radius: 8px;
    padding: 15px;
}

.insights-header {
    font-size: 16px;
    color: #d4b48c;
    margin-bottom: 10px;
    font-weight: bold;
}

.insights-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 180px;
    overflow-y: auto;
}

.insight-item {
    background: rgba(40, 40, 50, 0.6);
    border: 1px solid #3a3a4a;
    border-radius: 6px;
    padding: 10px;
}

.insight-time {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.insight-text {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 8px;
    line-height: 1.4;
}

.insight-gain {
    font-size: 13px;
    color: #88cc88;
    padding: 3px 8px;
    background: rgba(50, 70, 50, 0.3);
    border-radius: 4px;
    display: inline-block;
}

.meditation-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.meditation-btn {
    background: linear-gradient(to bottom, #4a4a65, #3a3a55);
    border: 1px solid #5a5a7a;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.meditation-btn:hover {
    background: linear-gradient(to bottom, #5a5a75, #4a4a65);
    box-shadow: 0 0 15px rgba(100, 100, 150, 0.3);
}

.cooldown-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #aaa;
}

.cooldown-value {
    color: #88cc88;
}

/* 右侧内容区域 */
.enlightenment-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.enlightenment-methods, .dao-comprehension {
    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);
    padding: 20px;
}

.methods-header h3, .comprehension-header h3 {
    margin: 0 0 15px 0;
    color: #d4b48c;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3a3a4a;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.method-card {
    background: rgba(35, 35, 45, 0.6);
    border: 1px solid #3a3a4a;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.method-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: rgba(45, 45, 55, 0.6);
}

.method-card.active {
    background: linear-gradient(to bottom, #3a3a55, #2a2a45);
    border-color: #6a6a8a;
    box-shadow: 0 0 10px rgba(100, 100, 150, 0.4);
}

.method-card.locked {
    opacity: 0.7;
    cursor: not-allowed;
}

.method-card.locked:hover {
    transform: none;
    box-shadow: none;
    background: rgba(35, 35, 45, 0.6);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 30, 40, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #d4b48c;
    margin: 0 auto 5px auto;
    border: 1px solid #4a4a5a;
}

.method-details {
    text-align: center;
}

.method-name {
    font-size: 16px;
    font-weight: bold;
    color: #d4b48c;
    margin-bottom: 5px;
}

.method-desc {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 10px;
    line-height: 1.4;
}

.method-effect {
    font-size: 13px;
    color: #88cc88;
    background: rgba(50, 60, 50, 0.3);
    padding: 5px 8px;
    border-radius: 4px;
}

.method-effect span {
    color: #aaa;
}

/* 道法领悟区域 */
.dao-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.category-tab {
    padding: 8px 15px;
    background: rgba(35, 35, 45, 0.6);
    border: 1px solid #3a3a4a;
    border-radius: 6px;
    color: #ccc;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.category-tab:hover {
    background: rgba(45, 45, 55, 0.6);
    color: #d4b48c;
}

.category-tab.active {
    background: linear-gradient(to bottom, #3a3a55, #2a2a45);
    border-color: #6a6a8a;
    color: #d4b48c;
    box-shadow: 0 0 8px rgba(100, 100, 150, 0.3);
}

.category-tab.locked {
    opacity: 0.7;
    cursor: not-allowed;
    background: rgba(30, 30, 35, 0.4);
}

.category-tab.locked:hover {
    background: rgba(30, 30, 35, 0.4);
    color: #ccc;
}

.dao-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dao-circle-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.dao-circle {
    width: 300px;
    height: 300px;
    position: relative;
    border: 1px solid #3a3a4a;
    border-radius: 50%;
    background: rgba(35, 35, 45, 0.6);
}

.dao-node {
    position: absolute;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(40, 40, 50, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* 五行节点位置 */
.dao-node-gold-position { top: 10%; left: 50%; }
.dao-node-wood-position { top: 35%; left: 85%; }
.dao-node-water-position { top: 75%; left: 75%; }
.dao-node-fire-position { top: 75%; left: 25%; }
.dao-node-earth-position { top: 35%; left: 15%; }

.dao-node:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.dao-node.gold {
    background: radial-gradient(circle, #705010, #503010);
    border: 2px solid #906020;
    box-shadow: 0 0 10px rgba(144, 96, 32, 0.5);
}

.dao-node.wood {
    background: radial-gradient(circle, #205020, #103010);
    border: 2px solid #307030;
    box-shadow: 0 0 10px rgba(48, 112, 48, 0.5);
}

.dao-node.water {
    background: radial-gradient(circle, #104070, #102050);
    border: 2px solid #2060a0;
    box-shadow: 0 0 10px rgba(32, 96, 160, 0.5);
}

.dao-node.fire {
    background: radial-gradient(circle, #702010, #501010);
    border: 2px solid #903020;
    box-shadow: 0 0 10px rgba(144, 48, 32, 0.5);
}

.dao-node.earth {
    background: radial-gradient(circle, #705030, #503020);
    border: 2px solid #906040;
    box-shadow: 0 0 10px rgba(144, 96, 64, 0.5);
}

.node-icon {
    font-size: 22px;
    color: #d4b48c;
    margin-bottom: 5px;
}

.node-name {
    font-size: 10px;
    color: #ccc;
    text-align: center;
}

.node-level {
    font-size: 9px;
    color: #88cc88;
    text-align: center;
}

.dao-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #404060, #303050);
    border: 2px solid #505070;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 0 20px rgba(80, 80, 112, 0.5);
}

.center-icon {
    font-size: 24px;
    color: #d4b48c;
    margin-bottom: 5px;
}

.center-text {
    font-size: 10px;
    color: #ccc;
    text-align: center;
}

.dao-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.connection {
    stroke: #3a3a4a;
    stroke-width: 2;
}

.connection.gold-wood {
    stroke: #906020;
}

.connection.wood-water {
    stroke: #307030;
}

.connection.water-fire {
    stroke: #2060a0;
}

.connection.fire-earth {
    stroke: #903020;
}

.connection.earth-gold {
    stroke: #906040;
}

.connection.gold-center, .connection.wood-center, .connection.water-center,
.connection.fire-center, .connection.earth-center {
    stroke: #505070;
    stroke-dasharray: 4;
}

.dao-description {
    background: rgba(35, 35, 45, 0.6);
    border: 1px solid #3a3a4a;
    border-radius: 8px;
    padding: 15px;
}

.dao-description h4 {
    margin: 0 0 10px 0;
    color: #d4b48c;
    font-size: 18px;
}

.dao-description p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 15px;
}

.dao-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.benefit-item {
    background: rgba(40, 40, 50, 0.6);
    border: 1px solid #3a3a4a;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
}

.benefit-name {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 5px;
}

.benefit-value {
    font-size: 16px;
    color: #88cc88;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .enlightenment-container {
        flex-direction: column;
    }
    
    .enlightenment-status {
        flex: none;
        width: 100%;
    }
    
    .methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dao-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .dao-benefits {
        grid-template-columns: 1fr;
    }
    
    .enlightenment-attributes {
        grid-template-columns: 1fr;
    }
} 