/* 生存服专用样式 - 森林绿主题 */
.survival-theme {
    --primary-color: #2d5a27;
    --secondary-color: #4a7c4a;
    --accent-color: #6fbf59;
    --text-color: #fff;
    --glow-color: #6fbf59;
}

.survival-theme .particle-bg {
    background: linear-gradient(45deg, #0f2027, #203a43, #2c5530);
    background-size: 400% 400%;
}

.survival-theme .page-title {
    background: linear-gradient(45deg, #4caf50, #8bc34a, #cddc39);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.survival-theme .glass-card {
    background: rgba(45, 90, 39, 0.2);
    border: 1px solid rgba(111, 191, 89, 0.3);
    box-shadow: 0 8px 32px rgba(45, 90, 39, 0.3);
}

.survival-theme .nav-link.active {
    background: linear-gradient(45deg, #4caf50, #8bc34a);
}

/* 生存服特色样式覆盖 */
.survival-theme .info-item {
    border-color: rgba(111, 191, 89, 0.3);
}

.survival-theme .info-item:hover {
    background: rgba(111, 191, 89, 0.12);
    border-color: rgba(111, 191, 89, 0.5);
}

.survival-theme .info-title {
    color: #6fbf59;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(111, 191, 89, 0.2);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 30px;
}

.feature-list li::before {
    content: '🌲';
    position: absolute;
    left: 0;
    top: 10px;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* 聊天区域样式 */
.chat-container {
    max-width: 800px;
    margin: 0 auto;
    height: 600px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: linear-gradient(45deg, #4caf50, #8bc34a);
    padding: 15px 20px;
    border-radius: 15px 15px 0 0;
    color: white;
    font-weight: bold;
    text-align: center;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.chat-message {
    margin-bottom: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border-left: 4px solid #6fbf59;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.chat-player {
    font-weight: bold;
    color: #6fbf59;
    margin-bottom: 5px;
}

.chat-content {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
}

.chat-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
}

.chat-footer {
    background: rgba(45, 90, 39, 0.3);
    padding: 15px 20px;
    border-radius: 0 0 15px 15px;
    border-top: 1px solid rgba(111, 191, 89, 0.3);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.no-messages {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    padding: 40px 20px;
}

/* 状态指示器 */
.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6fbf59;
    animation: pulse 2s infinite;
    margin-right: 10px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(111, 191, 89, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(111, 191, 89, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(111, 191, 89, 0);
    }
}
