
/* ====================首页专用样式 Hero区域 ==================== */
.hero {
    margin-top: 70px;
    padding: 45px 0 30px;
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(1.2);
}

.hero-subtitle {
    font-size: 1.0rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* ==================== 世界地图 ==================== */
.world-map-container {
    max-width: 900px;
    margin: 0 auto 1.0rem;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0.5rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.world-map {
    position: relative;
    width: 100%;
    height: 400px;
}

.world-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #06b6d4, #6366f1);
    mask-image: url('/assets/images/world-map.svg');
    -webkit-mask-image: url('/assets/images/world-map.svg');
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.map-point {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.map-point-dot {
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border: 2px solid white;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
    box-shadow: 
        0 0 20px rgba(6, 182, 212, 0.6),
        inset 0 0 5px rgba(255, 255, 255, 0.5);
}

.map-point::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.map-point:hover .map-point-dot {
    transform: scale(1.5);
    background: #0891b2;
    box-shadow: 
        0 0 30px rgba(6, 182, 212, 0.8),
        inset 0 0 8px rgba(255, 255, 255, 0.6);
}

.map-point-label {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    padding: 0.3rem 0.6rem;
    border-radius: 18px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: 0.3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ==================== 快速筛选 ==================== */
.quick-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.0rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

/* ==================== 信任标志 ==================== */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.trust-badge-icon {
    width: 40px;
    height: 40px;
    background: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ==================== 内容区域 ==================== */
.content-wrapper {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 30px 30px 0 0;
    margin-top: -1.0rem;
    padding-top: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

/* ==================== 热门服务器 ==================== */
.hot-servers {
    padding: 1.0rem 0 0.8rem 0;
    background: linear-gradient(180deg, transparent 0%, #f0f9ff 30%, #f0f9ff 70%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.server-list {
    display: grid;
    gap: 1rem;
}

.server-item {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 2rem;
    align-items: center;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
}

.server-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.server-specs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.spec-item {
    text-align: center;
    min-width: 0;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
    margin-bottom: 0.25rem;
}

.spec-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    word-break: break-word;
}

.spec-item:nth-child(2) .spec-value {
    line-height: 1.3;
}

.server-price {
    text-align: center;
    min-width: 100px;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    white-space: nowrap;
}

.server-action {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.server-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

/* ==================== 三列内容区 ==================== */
.content-sections {
    padding: 0.5rem 0 1.0rem 0;
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.0rem;
}

.content-column {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
}

.column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.column-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.column-more {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.column-more:hover {
    color: #0891b2;
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.content-item {
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: block;
    background: white;
}

.content-item:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transform: translateX(3px);
}

.content-item-title {
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .hero {
        margin-top: 80px;
        padding: 20px 0 15px;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.65rem;
    }
    
    .world-map {
        height: 200px;
    }
    
    .map-point-label {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
    
    .quick-filters {
        gap: 0.4rem;
    }
    
    .filter-btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.7rem;
    }
    
    .trust-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem 0.6rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .trust-badge {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.7rem;
        text-align: center;
    }
    
    .trust-badge-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .hot-servers {
        padding: 0.5rem 0;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    .server-item {
        display: flex;
        flex-wrap: wrap;
        padding: 0.75rem;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .server-specs {
        flex: 0 0 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        row-gap: 0.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .spec-label {
        font-size: 0.65rem;
    }
    
    .spec-value {
        font-size: 0.8rem;
    }
    
    .server-price {
        flex: 0 0 33.333%;
        text-align: center;
    }
    
    .price-current {
        font-size: 1.1rem;
    }
    
    .server-action {
        margin-left: auto !important;
        flex: 0 0 auto !important;
        padding: 0.4rem 0.9rem;
        font-size: 0.8rem;
        align-self: center;
    }
    
    .content-sections {
        padding: 0.3rem 0 0.5rem 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .content-column {
        padding: 0.6rem;
    }
    
    .column-header h3 {
        font-size: 1rem;
    }
    
    .column-more {
        font-size: 0.8rem;
    }
    
    .content-item {
        padding: 0.4rem 0.5rem;
    }
    
    .content-item-title {
        font-size: 0.8rem;
    }
}
