/* GEO信息弹窗 - 全新设计 */

/* 问号按钮 */
.geo-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(205, 255, 5, 0.2);
    border: 1px solid #cdff05;
    border-radius: 50%;
    color: #cdff05;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.geo-info-btn:hover {
    background: rgba(205, 255, 5, 0.3);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(205, 255, 5, 0.3);
}

/* 遮罩层 */
.geo-info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geo-info-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 弹窗主体 - 简洁风格 */
.geo-info-modal {
    width: 90vw;
    max-width: 800px;
    max-height: 85vh;
    background: rgba(20, 20, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    overflow: hidden;
    position: relative;
}

.geo-info-modal.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}


/* 弹窗头部 */
.geo-info-header {
    background: transparent;
    color: white;
    padding: 20px 20px 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.geo-info-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}


.geo-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8b6914;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    text-shadow: none;
}

.geo-info-close {
    background: transparent;
    border: none;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.geo-info-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* 弹窗内容 */
.geo-info-content {
    padding: 16px 20px 20px;
    background: transparent;
    max-height: 70vh;
    overflow-y: auto;
}

.geo-subtitle {
    text-align: center;
    margin-bottom: 20px;
    padding-top: 8px;
}

.geo-subtitle p {
    color: #cdff05;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

/* 功能卡片网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}


.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.feature-tag {
    background: rgba(205, 255, 5, 0.1);
    color: #cdff05;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(205, 255, 5, 0.2);
}

.feature-desc {
    color: #ccc;
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-name {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    flex: 1;
}

.feature-value {
    color: #cdff05;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.feature-value::before {
    content: '✓';
    color: #cdff05;
    font-size: 12px;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .geo-info-modal {
        width: 95vw;
        max-height: 90vh;
    }
    
    .geo-info-header {
        padding: 24px 20px 12px;
    }
    
    .geo-info-title {
        font-size: 24px;
    }
    
    .geo-info-content {
        padding: 0 20px 24px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        padding: 20px;
    }
}

/* 滚动条样式 */
.geo-info-content::-webkit-scrollbar {
    width: 6px;
}

.geo-info-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.geo-info-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 3px;
}

.geo-info-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}
