/* 秘境探索页面特定样式 */
.exploration-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.map-section {
    background: rgba(35, 35, 45, 0.6);
    border: 1px solid #3a3a4a;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3a3a4a;
}

.map-title {
    font-size: 18px;
    font-weight: bold;
    color: #d4b48c;
    display: flex;
    align-items: center;
}

.map-title i {
    margin-right: 10px;
    color: #88aade;
}

.map-actions {
    display: flex;
    align-items: center;
}

.map-actions select {
    padding: 8px 12px;
    border: 1px solid #3a3a4a;
    border-radius: 4px;
    background: rgba(30, 30, 40, 0.6);
    color: #ccc;
    margin-left: 10px;
}

.map-container {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #2a3a4a, #1a2a3a);
    border-radius: 6px;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 30, 0.3);
}

.location-marker {
    position: absolute;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.location-marker:hover {
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 10;
}

.location-marker.village {
    background: rgba(46, 204, 113, 0.8);
}

.location-marker.mountain {
    background: rgba(142, 68, 173, 0.8);
}

.location-marker.forest {
    background: rgba(39, 174, 96, 0.8);
}

.location-marker.cave {
    background: rgba(52, 73, 94, 0.8);
}

.location-marker.lake {
    background: rgba(52, 152, 219, 0.8);
}

.location-marker.dungeon {
    background: rgba(192, 57, 43, 0.8);
}

.location-marker.current {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

.location-marker:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    filter: blur(2px);
}

.location-tooltip {
    position: absolute;
    background: rgba(25, 25, 35, 0.95);
    color: #ccc;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    z-index: 100;
    border: 1px solid #3a3a4a;
}

.location-marker:hover + .location-tooltip {
    opacity: 1;
}

/* 点击区域 */
#village1 { top: 35%; left: 20%; }
#mountain1 { top: 15%; left: 40%; }
#forest1 { top: 45%; left: 60%; }
#cave1 { top: 70%; left: 30%; }
#lake1 { top: 55%; left: 80%; }
#dungeon1 { top: 25%; left: 85%; }

.details-section {
    background: rgba(35, 35, 45, 0.6);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #3a3a4a;
}

.location-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3a3a4a;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: rgba(40, 50, 80, 0.3);
    color: #88aade;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    border: 1px solid #4a5a8a;
}

.location-info {
    flex-grow: 1;
}

.location-name {
    font-size: 18px;
    font-weight: bold;
    color: #d4b48c;
    margin-bottom: 5px;
}

.location-level {
    font-size: 12px;
    color: #88aade;
    background: rgba(30, 30, 40, 0.6);
    padding: 3px 8px;
    border-radius: 10px;
    display: inline-block;
}

.location-desc {
    margin-bottom: 20px;
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

.location-stats {
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid #3a3a4a;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #3a3a4a;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    color: #d4b48c;
    display: flex;
    align-items: center;
}

.stat-label i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.stat-value {
    color: #88aade;
    font-weight: bold;
}

.difficulty-high {
    color: #ff9e80;
}

.difficulty-medium {
    color: #ffd180;
}

.difficulty-low {
    color: #88cc88;
}

/* 行动按钮 */
.exploration-actions {
    margin-bottom: 20px;
}

.action-row {
    display: flex;
    margin-bottom: 10px;
}

.action-row:last-child {
    margin-bottom: 0;
}

.explore-btn {
    background: linear-gradient(to bottom, #3a3a55, #2a2a45);
    color: #ccc;
    border: 1px solid #4a4a6a;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    flex-grow: 1;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.explore-btn:last-child {
    margin-right: 0;
}

.explore-btn:hover {
    background: linear-gradient(to bottom, #4a4a65, #3a3a55);
    color: #d4b48c;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

.explore-btn i {
    margin-right: 8px;
}

.explore-btn.gather {
    background: linear-gradient(to bottom, #2a4a3a, #1a3a2a);
    border: 1px solid #3a5a4a;
}

.explore-btn.gather:hover {
    background: linear-gradient(to bottom, #3a5a4a, #2a4a3a);
}

.explore-btn.combat {
    background: linear-gradient(to bottom, #4a2a2a, #3a1a1a);
    border: 1px solid #5a3a3a;
}

.explore-btn.combat:hover {
    background: linear-gradient(to bottom, #5a3a3a, #4a2a2a);
}

.explore-btn.long {
    background: linear-gradient(to bottom, #3a2a4a, #2a1a3a);
    border: 1px solid #4a3a5a;
}

.explore-btn.long:hover {
    background: linear-gradient(to bottom, #4a3a5a, #3a2a4a);
}

/* 邂逅部分 */
.encounters-section {
    margin-top: 25px;
}

.encounters-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #d4b48c;
    display: flex;
    align-items: center;
}

.encounters-title i {
    margin-right: 10px;
    color: #ce93d8;
}

.encounters-list {
    max-height: 400px;
    overflow-y: auto;
}

.encounter-item {
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid #3a3a4a;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #88aade;
    transition: transform 0.2s;
}

.encounter-item:hover {
    transform: translateX(5px);
    background: rgba(40, 40, 50, 0.6);
}

.encounter-item:last-child {
    margin-bottom: 0;
}

.encounter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.encounter-name {
    font-size: 16px;
    font-weight: bold;
    color: #d4b48c;
    display: flex;
    align-items: center;
}

.encounter-name i {
    margin-right: 8px;
    color: #88aade;
}

.encounter-level {
    font-size: 12px;
    color: #88aade;
    background: rgba(30, 30, 40, 0.6);
    padding: 3px 8px;
    border-radius: 10px;
}

.encounter-desc {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 12px;
}

.encounter-rewards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.encounter-reward {
    font-size: 12px;
    color: #88aade;
    background: rgba(30, 30, 40, 0.6);
    padding: 5px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    border: 1px solid #3a3a4a;
}

.encounter-reward i {
    margin-right: 5px;
    color: #d4b48c;
}

.encounter-reward.exp {
    background: rgba(40, 50, 20, 0.3);
    color: #ffd180;
    border-color: #5a5a3a;
}

.encounter-reward.item {
    background: rgba(40, 50, 80, 0.3);
    color: #88aade;
    border-color: #4a5a8a;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .exploration-container {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .encounters-list {
        max-height: 300px;
    }
    
    .action-row {
        flex-direction: column;
    }
    
    .explore-btn {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .explore-btn:last-child {
        margin-bottom: 0;
    }
} 