/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 导航栏 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 60px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b35;
    text-decoration: none;
    margin-right: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 0 20px;
    line-height: 60px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff6b35;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 20px;
    min-width: 600px;
    z-index: 1001;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.province-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.province-region h4 {
    color: #ff6b35;
    font-size: 14px;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.province-region a {
    display: block;
    padding: 4px 0;
    line-height: 1.5;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.province-region a:hover {
    color: #ff6b35;
}

/* 主内容区 */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

/* 首页英雄区 */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
    border-radius: 16px;
    margin-bottom: 50px;
}

.hero-section h1 {
    font-size: 48px;
    color: #ff6b35;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 18px;
    color: #666;
}

/* 推荐城市 */
.featured-cities {
    margin-bottom: 50px;
}

.featured-cities h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.city-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    cursor: pointer;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: #ff6b35;
}

.city-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.city-card h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.city-card p {
    font-size: 14px;
    color: #999;
}

/* 所有省份 */
.all-provinces {
    margin-bottom: 50px;
}

.all-provinces h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.province-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.province-tag {
    display: inline-block;
    padding: 8px 20px;
    background: #f5f5f5;
    border-radius: 20px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: all 0.3s;
}

.province-tag:hover {
    background: #ff6b35;
    color: #fff;
}

/* 省份页面 */
.province-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
    border-radius: 16px;
    margin-bottom: 40px;
}

.province-header h1 {
    font-size: 36px;
    color: #ff6b35;
    margin-bottom: 10px;
}

.province-header p {
    font-size: 16px;
    color: #666;
}

/* 二维码网格 */
.qr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.qr-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.qr-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: #ff6b35;
}

.qr-image {
    width: 100%;
    max-width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 8px;
}

.qr-placeholder {
    width: 100%;
    max-width: 180px;
    height: 180px;
    margin: 0 auto 12px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    border: 2px dashed #ddd;
}

.qr-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.qr-desc {
    font-size: 13px;
    color: #999;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}

.pagination a:hover {
    background: #ff6b35;
    color: #fff;
    border-color: #ff6b35;
}

.pagination .current {
    background: #ff6b35;
    color: #fff;
    border-color: #ff6b35;
}

.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* 底部 */
.footer {
    background-color: #f5f5f5;
    padding: 30px 20px;
    text-align: center;
    margin-top: auto;
}

.footer-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.beian {
    margin: 10px 0;
}

.beian a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.beian a:hover {
    color: #ff6b35;
}

.beian span {
    color: #ccc;
    margin: 0 10px;
}

.copyright {
    color: #aaa;
    font-size: 12px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .city-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .qr-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .province-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .city-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .qr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .province-grid {
        grid-template-columns: repeat(2, 1fr);
        min-width: 300px;
    }
    .hero-section h1 {
        font-size: 32px;
    }
    .dropdown-content {
        left: 0;
        transform: none;
        min-width: 300px;
    }
}

@media (max-width: 480px) {
    .city-grid {
        grid-template-columns: 1fr;
    }
    .qr-grid {
        grid-template-columns: 1fr;
    }
    .province-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== 公告页面样式 ===== */
.notice-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
    border-radius: 16px;
    margin-bottom: 40px;
}
.notice-header h1 {
    font-size: 36px;
    color: #ff6b35;
    margin-bottom: 10px;
}
.notice-header p {
    font-size: 16px;
    color: #666;
}
.notice-list {
    max-width: 800px;
    margin: 0 auto;
}
.notice-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 20px;
    transition: all 0.3s;
}
.notice-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: #ff6b35;
}
.notice-date {
    font-size: 13px;
    color: #ff6b35;
    font-weight: 600;
    margin-bottom: 8px;
}
.notice-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.notice-content {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* ===== 上传我的群页面样式 ===== */
.upload-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
    border-radius: 16px;
    margin-bottom: 40px;
}
.upload-header h1 {
    font-size: 36px;
    color: #ff6b35;
    margin-bottom: 10px;
}
.upload-header p {
    font-size: 16px;
    color: #666;
}
.upload-section {
    max-width: 900px;
    margin: 0 auto 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 35px 40px;
}
.upload-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff6b35;
}
.upload-section h3 {
    font-size: 20px;
    color: #333;
    margin: 30px 0 20px;
}
.about-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 15px;
}
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.contact-card {
    background: #fafafa;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
}
.contact-card:hover {
    border-color: #ff6b35;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.contact-icon {
    font-size: 36px;
    margin-bottom: 10px;
}
.contact-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}
.contact-value {
    font-size: 22px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 8px;
    letter-spacing: 2px;
}
.contact-desc {
    font-size: 13px;
    color: #888;
}
.guide-content {
    margin-top: 20px;
}
.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}
.guide-step:last-child {
    border-bottom: none;
}
.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #ff6b35, #ff8f5a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}
.step-content h4 {
    font-size: 17px;
    color: #333;
    margin-bottom: 8px;
}
.step-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}
.step-content .highlight {
    background: #fff3ed;
    color: #ff6b35;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.guide-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fff8f5;
    border: 1px solid #ffe0d0;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
}
.notice-icon {
    font-size: 24px;
    min-width: 30px;
}
.notice-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}
.notice-text strong {
    color: #ff6b35;
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
    .upload-section {
        padding: 25px 20px;
    }
    .guide-step {
        gap: 12px;
    }
    .step-number {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 15px;
    }
}
