/* FM工具箱 - 全局样式 */

/* 基础布局 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fafafa;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

main {
    flex: 1;
}

/* 顶部导航 */
header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

header .logo:hover {
    color: #007bff;
}

.header-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.header-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.header-links a:hover {
    color: #007bff;
}

/* 底部页脚 */
footer {
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 24px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.footer-content a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-content a:hover {
    color: #007bff;
}

.footer-copyright {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 广告位 */
.ad-banner-top {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 20px;
    text-align: center;
    min-height: 50px;
}

.ad-banner-bottom {
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 8px 20px;
    text-align: center;
    min-height: 50px;
}

.ad-container {
    max-width: 728px;
    margin: 0 auto;
    min-height: 38px;
}

/* 响应式 */
@media (max-width: 768px) {
    .header-content {
        padding: 10px 16px;
        flex-direction: column;
        gap: 8px;
    }

    .header-links {
        gap: 16px;
    }

    .footer-content {
        gap: 16px;
        padding: 0 16px;
    }
}
