/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background-color: #ffffff;
    font-size: 16px;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 头部导航 - 简约设计 */
.header {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2d3748;
    font-weight: 600;
    font-size: 18px;
    gap: 8px;
}

.logo svg {
    color: #4299e1;
}

.logo-text {
    font-weight: 600;
    letter-spacing: -0.025em;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #718096;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #4299e1;
}

.nav-link.active {
    color: #4299e1;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #4299e1;
    border-radius: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-form-mini {
    display: flex;
    align-items: center;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

.search-form-mini:focus-within {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.search-input-mini {
    border: none;
    background: none;
    outline: none;
    width: 180px;
    font-size: 14px;
    color: #2d3748;
}

.search-input-mini::placeholder {
    color: #a0aec0;
}

.search-btn-mini {
    border: none;
    background: none;
    cursor: pointer;
    color: #718096;
    padding: 4px;
    margin-left: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.search-btn-mini:hover {
    color: #4299e1;
    background: #edf2f7;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 3px;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #718096;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* 主要内容区域 */
main {
    min-height: calc(100vh - 60px - 120px);
    padding: 40px 0;
}

/* 面包屑导航 - 简约设计 */
.breadcrumb {
    margin-bottom: 32px;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    list-style: none;
    font-size: 14px;
    color: #718096;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: #4299e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #3182ce;
}

.breadcrumb .separator {
    margin: 0 12px;
    color: #cbd5e1;
    font-size: 12px;
}

/* 搜索区域 - 简洁卡片设计 */
.search-section {
    text-align: center;
    margin-bottom: 64px;
    padding: 48px 24px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-section h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.search-description {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 32px;
    font-weight: 400;
}

.search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
}

.search-form:focus-within {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #1e293b;
    background: transparent;
    border-radius: 12px;
}

.search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-btn {
    padding: 16px 24px;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px;
}

.search-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.search-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.4);
}

/* 简化的首页横幅 */
.hero-simple {
    text-align: center;
    margin-bottom: 64px;
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    margin-top: -40px;
}

.hero-simple .hero-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.hero-simple .hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    font-weight: 400;
}

.data-update-info {
    margin-top: 24px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.update-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.update-date {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    margin-left: 4px;
}

/* 热门站点快速链接 */
.hot-stations {
    margin-bottom: 64px;
    padding: 48px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #64748b;
    margin-bottom: 32px;
}

.hot-stations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hot-stations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hot-stations-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.station-quick-link {
    display: block;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.station-quick-link:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.station-name {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.station-desc {
    display: block;
    font-size: 14px;
    color: #64748b;
}

.station-quick-link:hover .station-name {
    color: #3b82f6;
}

/* 地区导航网格 - 简约设计 */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.region-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

.region-card:hover {
    border-color: #4299e1;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.1);
    transform: translateY(-2px);
}

.region-title {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
}

.region-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.2s ease;
}

.region-title a:hover {
    color: #4299e1;
}

.region-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.city-link {
    display: inline-block;
    padding: 6px 12px;
    background: #f7fafc;
    color: #4a5568;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.city-link:hover {
    background: #4299e1;
    color: #ffffff;
}

.more-link {
    display: inline-block;
    padding: 6px 12px;
    color: #4299e1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.more-link:hover {
    color: #3182ce;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background: #0052a3;
}

.tide-link {
    display: inline-block;
    padding: 12px 24px;
    color: #0066cc;
    text-decoration: none;
    border: 1px solid #0066cc;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.tide-link:hover {
    background: #0066cc;
    color: #fff;
}

/* 省份城市列表 */
.sections {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* 省份区块样式 */
.province-section {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: transform 0.2s, box-shadow 0.2s;
}

.province-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.province-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.province-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.province-header a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.province-header a:hover {
    color: #0066cc;
}

.province-count {
    font-size: 14px;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.province-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.city-card {
    display: block;
    padding: 12px 16px;
    background: #f8fafc;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.city-card:hover {
    background: #0066cc;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

/* 城市卡片 */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.city-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.city-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.city-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.city-title a {
    color: #1e293b;
    text-decoration: none;
}

.city-title a:hover {
    color: #0066cc;
}

.city-meta {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
}

.stations-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.station-tag {
    display: inline-block;
    padding: 4px 8px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s;
}

.station-tag:hover {
    background: #0066cc;
    color: #fff;
}

.more-stations {
    display: inline-block;
    padding: 4px 8px;
    color: #0066cc;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    background: #eff6ff;
    border-radius: 4px;
}

.more-stations:hover {
    background: #dbeafe;
}

/* 页面标题 */
.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 16px;
    color: #64748b;
}

.header-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* 站点网格 */
.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.station-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.station-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.station-header {
    margin-bottom: 16px;
}

.station-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.station-title a {
    color: #1e293b;
    text-decoration: none;
}

.station-title a:hover {
    color: #0066cc;
}

.tide-preview h4 {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 12px;
}

.tide-times {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tide-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 14px;
}

.tide-time .time {
    font-weight: 600;
    color: #1e293b;
}

.tide-time .type {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.tide-time .type.high {
    background: #dbeafe;
    color: #1d4ed8;
}

.tide-time .type.low {
    background: #fef3c7;
    color: #d97706;
}

.tide-time .height {
    color: #64748b;
    font-size: 13px;
}

.no-data {
    color: #94a3b8;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.station-actions {
    margin-top: 16px;
    text-align: center;
}

/* 当前状态卡片 */
.current-status {
    margin-bottom: 48px;
}

.status-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.status-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
    text-align: center;
}

.status-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
}

.status-info > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-info .label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.status-info .value {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.status-info .value.status-high {
    color: #dc2626;
}

.status-info .value.status-low {
    color: #0066cc;
}

/* 7天预报 */
.tide-forecast {
    margin-bottom: 48px;
}

.tide-forecast h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
    text-align: center;
}

.forecast-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.day-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #e2e8f0;
}

.day-card.today {
    border-color: #0066cc;
    box-shadow: 0 0 0 1px #0066cc;
}

.day-header {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.day-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.day-header .weekday {
    font-size: 12px;
    color: #64748b;
}

.today-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #0066cc;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 500;
}

.tide-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tide-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.tide-item.tide-high {
    background: #dbeafe;
    color: #1d4ed8;
}

.tide-item.tide-low {
    background: #fef3c7;
    color: #d97706;
}

.tide-time {
    font-weight: 600;
}

.tide-height {
    font-size: 11px;
    opacity: 0.8;
}

/* 使用说明 */
.usage-tips, .search-tips {
    margin-bottom: 48px;
}

.usage-tips h2, .search-tips h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.tip-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.tip-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.tip-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* 当前状态 */
.current-status {
    margin-bottom: 32px;
}

.status-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.status-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.status-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.status-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.status-item .label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.status-item .value {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.status-item .value.status-high {
    color: #1d4ed8;
}

.status-item .value.status-low {
    color: #d97706;
}

/* 潮汐预报 */
.tide-forecast {
    margin-bottom: 32px;
}

.tide-forecast h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
}

.forecast-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.day-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.day-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.day-card.today {
    border-color: #0066cc;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.day-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.weekday {
    font-size: 14px;
    color: #64748b;
}

.today-badge {
    background: #0066cc;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.tide-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 相关站点 */
.related-stations {
    margin-bottom: 32px;
}

.related-stations h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.stations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.station-link {
    display: inline-block;
    padding: 8px 16px;
    background: #f8fafc;
    color: #475569;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.station-link:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
    transform: translateY(-1px);
}

/* 搜索页面 */
.search-section {
    text-align: center;
    margin-bottom: 48px;
}

.search-section h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.search-description {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 32px;
}



/* 搜索结果 */
.search-results {
    margin-bottom: 32px;
}

.search-results h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.search-info {
    color: #64748b;
    margin-bottom: 24px;
    font-size: 14px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.result-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s;
}

.result-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.result-type {
    display: inline-block;
    background: #0066cc;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.result-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.result-location {
    font-size: 14px;
    color: #64748b;
}

.no-results {
    text-align: center;
    padding: 48px 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.no-results h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.no-results p {
    color: #64748b;
}

/* 搜索建议 */
.search-suggestions {
    margin-bottom: 32px;
}

.search-suggestions h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #f8fafc;
    color: #475569;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.suggestion-tag:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
    transform: translateY(-1px);
}

.search-suggestions, .popular-searches {
    margin-top: 32px;
}

.search-suggestions h3, .popular-searches h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.suggestion-category {
    margin-bottom: 32px;
}

.suggestion-category h3 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.suggestion-tags, .search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.suggestion-tag, .search-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    border-radius: 16px;
    font-size: 14px;
    transition: all 0.2s;
}

.suggestion-tag:hover, .search-tag:hover {
    background: #0066cc;
    color: #fff;
}

/* 站点地图样式 */
.sitemap-header {
    text-align: center;
    margin-bottom: 48px;
}

.sitemap-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.sitemap-description {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.sitemap-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.sitemap-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0066cc;
}

.sitemap-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-links li {
    margin-bottom: 8px;
}

.sitemap-links a {
    color: #4299e1;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s ease;
    display: block;
    padding: 4px 0;
}

.sitemap-links a:hover {
    color: #3182ce;
    text-decoration: underline;
}

.sitemap-footer {
    text-align: center;
    padding: 32px;
    background: #f1f5f9;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.sitemap-footer p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.sitemap-footer p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

/* 移动端站点地图样式 */
@media (max-width: 768px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .sitemap-section {
        padding: 20px;
    }
    
    .sitemap-header h1 {
        font-size: 28px;
    }
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 32px 0;
}

.page-link {
    display: inline-block;
    padding: 8px 12px;
    color: #475569;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.2s;
}

.page-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.page-link.current {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

/* 底部 */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 48px 0 24px;
    margin-top: 64px;
}

.footer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-section h3, .footer-section h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section h3 {
    font-size: 18px;
}

.footer-section h4 {
    font-size: 16px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    text-align: center;
}

.footer-copyright p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 12px;
    color: #94a3b8;
}

/* 极简底部样式 - 零留白 */
.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 0;
    margin-top: 16px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 24px;
}

/* 左侧：版权和免责声明 */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: left;
}

.footer-copyright {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: white;
    line-height: 1.1;
}

.footer-disclaimer {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.1;
}

/* 右侧：导航链接 */
.footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 地图链接组 */
.footer-maps {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: nowrap;
}

.map-link {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* 备案链接样式 */
.beian-link {
    color: #87CEEB !important;
    text-decoration: none !important;
    font-size: inherit !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    margin-left: 8px;
}

.beian-link:hover {
    color: #00BFFF !important;
    text-decoration: underline !important;
    background: none !important;
}

.footer-links {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 3px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    line-height: 1;
    background: rgba(255, 255, 255, 0.05);
}

.footer-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
        gap: 16px;
    }
    
    .nav {
        gap: 16px;
    }
    
    .search-input-mini {
        width: 150px;
    }
    
    /* 页脚移动端零留白 */
    .footer {
        padding: 3px 0;
        margin-top: 12px;
    }
    
    .footer-content {
        padding: 0 8px;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 3px;
        text-align: center;
        min-height: auto;
    }
    
    .footer-left {
        text-align: center;
        gap: 1px;
    }
    
    .footer-copyright {
        font-size: 11px;
        line-height: 1;
    }
    
    .footer-disclaimer {
        font-size: 9px;
        line-height: 1.1;
    }
    
    .footer-right {
        justify-content: center;
        flex-direction: column;
        gap: 6px;
    }
    
    .footer-maps {
        gap: 4px;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .footer-links {
        gap: 6px;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .footer-link {
        font-size: 9px;
        padding: 3px 6px;
        line-height: 1;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .stations-grid {
        grid-template-columns: 1fr;
    }
    
    .status-info {
        grid-template-columns: 1fr;
    }
    
    .forecast-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .forecast-container {
        grid-template-columns: 1fr;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-btn {
        border-radius: 0 0 12px 12px;
    }
}

/* 懒加载和性能优化样式 */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazy.loaded {
    opacity: 1;
}

/* 图片懒加载占位符 */
.lazy-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 性能调试信息样式 */
.performance-stats {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    font-family: monospace;
    z-index: 9999;
    max-width: 300px;
}

.performance-stats.hidden {
    display: none;
}

/* 优化滚动性能 */
.scroll-optimized {
    will-change: transform;
    transform: translateZ(0);
}

/* 预加载状态指示器 */
.preload-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #28a745);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preload-indicator.active {
    opacity: 1;
}

/* 面包屑导航样式 */
.breadcrumb {
    margin: 20px 0;
    padding: 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-current {
    color: #6c757d;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #6c757d;
    user-select: none;
}

/* 响应式面包屑导航 */
@media (max-width: 768px) {
    .breadcrumb-list {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .breadcrumb-separator {
        margin: 0 6px;
    }
    
    .breadcrumb-item {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* 移动端优化增强 */
@media (max-width: 768px) {
    /* 触摸友好的按钮和链接 */
    .btn, .search-btn, .nav a, .breadcrumb-item a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 16px;
    }
    
    /* 改进的导航菜单 */
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .nav a {
        padding: 8px 12px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }
    
    .nav a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }
    
    /* 移动端卡片优化 */
    .province-card, .city-card, .station-card {
        margin-bottom: 16px;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .province-card:active, .city-card:active, .station-card:active {
        transform: scale(0.98);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    }
    
    /* 移动端表格优化 */
    .tide-table {
        font-size: 14px;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .tide-table th, .tide-table td {
        padding: 12px 8px;
        text-align: center;
    }
    
    /* 移动端搜索优化 */
    .search-form {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        padding: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    
    .search-input {
        border: none;
        background: transparent;
        font-size: 16px; /* 防止iOS缩放 */
        padding: 12px 16px;
    }
    
    .search-btn {
        border-radius: 12px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    
    /* 移动端性能监控样式 */
    .performance-stats {
        position: fixed;
        bottom: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 11px;
        z-index: 1000;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    /* 超小屏幕优化 */
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* 单列布局 */
    .cities-grid, .stations-grid, .tips-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .forecast-container {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    /* 紧凑的卡片设计 */
    .province-card, .city-card, .station-card {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .card-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .card-description {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* 移动端表格滚动 */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    }
    
    /* 移动端面包屑优化 */
    .breadcrumb-list {
        padding: 6px 12px;
        font-size: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    
    .breadcrumb-item {
        display: inline-block;
        max-width: 100px;
    }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .header-content {
        flex-direction: row;
        height: 60px;
        padding: 8px 0;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .cities-grid, .stations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 移除hover效果，使用active状态 */
    .btn:hover, .nav a:hover, .province-card:hover, .city-card:hover, .station-card:hover {
        transform: none;
        box-shadow: initial;
    }
    
    .btn:active, .nav a:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* 增大点击区域 */
    .nav a, .breadcrumb-item a {
        padding: 12px 16px;
        margin: 4px;
    }
    
    /* 移动端菜单按钮显示 */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
    }
}

/* 底部样式 - 多列布局 */
.footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 48px 0 32px 0;
    margin-top: 64px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    font-size: 14px;
    color: #4299e1;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 2px 0;
}

.footer-link:hover {
    color: #3182ce;
}

.footer-info {
    margin-top: 16px;
}

.footer-copyright {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 4px;
    font-weight: 500;
}

.footer-disclaimer {
    font-size: 13px;
    color: #718096;
    line-height: 1.5;
}

/* 潮汐知识介绍样式 */
.tide-info {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.info-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.info-card h3 {
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.info-card p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 14px;
}

/* 地区导航样式优化 */
.regions-section {
    padding: 60px 0;
}

.regions-section .section-title {
    text-align: center;
    margin-bottom: 16px;
}

.regions-section .section-subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 40px;
    font-size: 16px;
}

/* 页面介绍样式 */
.province-intro,
.city-intro,
.station-intro {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #3182ce;
}

.province-intro p,
.city-intro p,
.station-intro p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

/* 移动端底部样式 */
@media (max-width: 768px) {
    .footer {
        padding: 24px 0;
        margin-top: 48px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-info {
        order: 2;
    }
    
    .footer-links {
        order: 1;
        justify-content: center;
    }
    
    .tide-info {
        padding: 40px 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .regions-section {
        padding: 40px 0;
    }
}