html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #f8f5f0;  
    color: #333;
}

/* ---- 顶部介绍 ---- */
#intro {
    max-width: 800px;
    margin: 40px auto 20px;
    text-align: center;
    padding: 0 20px;
}

.intro-content h3 {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 10px 0 15px;
    color: #3b5e4a;  /* 深绿 */
}

.intro-content .logo-icon {
    font-size: 3rem;
}

.intro-content p {
    margin: 8px 0;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.supported-text {
    font-weight: 500;
    color: #2d6a4f; /* 柔和绿 */
}

.note-text {
    font-size: 0.95rem;
    color: #999;
}

/* 热门目的地标签 */
.hot-tags {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #3b5e4a;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.tag:hover {
    background: #3b5e4a;
    color: #fff;
    border-color: #3b5e4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 94, 74, 0.2);
}

/* ---- 地图区域 ---- */
#map-wrapper {
    display: flex;
    justify-content: center;
    padding: 0 20px 40px;
}

#map-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 55vh;          /* 地图高度占视口 55%，相对小一些 */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    background: #fff;
}

#map {
    width: 100%;
    height: 100%;
}

/* 右上角切换图例按钮 */
#toggleLegend {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000;
    padding: 6px 16px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 13px;
    color: #3b5e4a;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: background 0.3s;
}

#toggleLegend:hover {
    background: #f0f0f0;
    border-color: #3b5e4a;
}

/* 图例 - 右下角 */
#legend {
    position: absolute;
    bottom: 20px;
    right: 15px;
    background: rgba(255,255,255,0.92);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    z-index: 1000;
    font-size: 13px;
    line-height: 1.6;
    backdrop-filter: blur(6px);
    border: 1px solid #eee;
}

#legend h4 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #3b5e4a;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-color {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.2);
}

.leaflet-popup-content-wrapper {
    font-size: 14px;
    border-radius: 8px;
}