/* CSS Document */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

:root {
--primary: #FF6B35;
--primary-dark: #E05A2B;
--primary-light: #FF9E6D;
--secondary: #4A6572;
--accent: #F9AA33;
--background: #FFF9F5;
--card-bg: #FFFFFF;
--text-dark: #333333;
--text-medium: #666666;
--text-light: #999999;
--divider: #EEEEEE;
--shadow: rgba(0, 0, 0, 0.08);
}

body {
background-color: var(--background);
color: var(--text-dark);
padding-bottom: 70px;
overflow-x: hidden;
line-height: 1.6;
}

/* 顶部导航 */
.top-bar {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: white;
padding: 15px;
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 2px 10px var(--shadow);
}

.logo {
font-size: 1.4rem;
font-weight: 700;
display: flex;
align-items: center;
}

.logo-icon {
width: 30px;
height: 30px;
background: white;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
margin-right: 10px;
font-weight: bold;
}

.nav-btn {
width: 36px;
height: 36px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
font-weight: bold;
}

.nav-btn:hover {
background: rgba(255, 255, 255, 0.3);
}

/* 幻灯片 */
.slider-container {
margin: 15px;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 6px 16px var(--shadow);
height: 180px;
position: relative;
}

.slider {
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--primary), var(--accent));
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
padding: 20px;
text-align: center;
}

.slider h2 {
font-size: 1.6rem;
margin-bottom: 10px;
text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slider p {
font-size: 1rem;
max-width: 80%;
opacity: 0.9;
margin-bottom: 15px;
}

.slider-btn {
background: white;
color: var(--primary);
padding: 8px 20px;
border-radius: 20px;
font-weight: 600;
text-decoration: none;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.slider-indicators {
position: absolute;
bottom: 15px;
display: flex;
}

.indicator {
width: 8px;
height: 8px;
border-radius: 50%;
background: rgba(255,255,255,0.5);
margin: 0 4px;
}

.indicator.active {
background: white;
}

/* 文章内容区域 */
.article-container {
background: var(--card-bg);
margin: 15px;
border-radius: 16px;
padding: 25px 20px;
box-shadow: 0 3px 10px var(--shadow);
}

.article-header {
border-bottom: 1px solid var(--divider);
padding-bottom: 20px;
margin-bottom: 25px;
}

.article-title {
font-size: 1.6rem;
font-weight: 700;
color: var(--primary-dark);
margin-bottom: 15px;
line-height: 1.4;
}

.article-meta {
display: flex;
justify-content: space-between;
font-size: 0.9rem;
color: var(--text-medium);
}

.article-date, .article-source {
display: flex;
align-items: center;
}

.article-date::before {

margin-right: 8px;
}

.article-source::before {

margin-right: 8px;
}

.article-content {
font-size: 1.05rem;
line-height: 1.8;
}

.article-content p {
margin-bottom: 20px;
text-align: justify;
}

.article-content h3 {
color: var(--primary-dark);
margin: 25px 0 15px;
padding-left: 10px;
border-left: 4px solid var(--primary);
}

.article-content ul {
padding-left: 25px;
margin-bottom: 20px;
}

.article-content li {
margin-bottom: 10px;
}

.highlight {
background: #FFF0E6;
padding: 15px;
border-left: 3px solid var(--primary);
margin: 20px 0;
border-radius: 0 8px 8px 0;
}

/* 广告区域 */
.ad-section {
margin: 30px 15px;
}

.ad-title {
font-size: 1.2rem;
font-weight: 600;
color: var(--primary-dark);
margin-bottom: 15px;
padding-left: 10px;
border-left: 4px solid var(--primary);
}

.ad-container {
background: #FFF9F2;
border-radius: 16px;
height: 120px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
border: 1px solid #FFE5D4;
color: var(--primary);
font-weight: 500;
font-size: 1.1rem;
}

/* 分享区域 */
.share-section {
margin: 30px 15px;
text-align: center;
}

.share-title {
font-size: 1.2rem;
font-weight: 600;
color: var(--primary-dark);
margin-bottom: 20px;
}

.copy-btn {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: white;
border: none;
border-radius: 30px;
padding: 15px 30px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
transition: all 0.3s;
}

.copy-btn:hover {
transform: translateY(-3px);
box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.copy-btn::before {

margin-right: 10px;
font-size: 1.2rem;
}

.copy-success {
color: var(--primary);
margin-top: 15px;
font-weight: 500;
display: none;
}

/* 联系方式 */
.contact-section {
margin: 15px;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
border-radius: 16px;
padding: 25px 20px;
text-align: center;
box-shadow: 0 6px 16px var(--shadow);
color: white;
}

.contact-title {
font-size: 1.3rem;
margin-bottom: 20px;
font-weight: 700;
}

.contact-info {
font-size: 1rem;
margin-bottom: 12px;
display: flex;
align-items: center;
justify-content: center;
}

.contact-phone {
font-size: 1.6rem;
font-weight: 800;
margin: 15px 0;
letter-spacing: 1px;
}

.contact-btn {
display: inline-block;
background: white;
color: var(--primary-dark);
padding: 12px 30px;
border-radius: 30px;
font-weight: 700;
text-decoration: none;
margin-top: 10px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 底部信息 */
.footer {
text-align: center;
padding: 25px 15px 15px;
color: var(--text-light);
font-size: 0.85rem;
line-height: 1.6;
}

.social-icons {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 20px;
}

.social-icon {
width: 38px;
height: 38px;
border-radius: 50%;
background: #FFF0E6;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
font-size: 1.1rem;
font-weight: bold;
}

/* 底部导航 */
.bottom-nav {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: var(--card-bg);
display: flex;
box-shadow: 0 -4px 12px var(--shadow);
z-index: 100;
padding: 8px 0;
border-top: 1px solid var(--divider);
}

.nav-item {
flex: 1;
text-align: center;
font-size: 0.75rem;
color: var(--text-medium);
text-decoration: none;
display: flex;
flex-direction: column;
align-items: center;
transition: all 0.3s ease;
}

.nav-icon {
width: 26px;
height: 26px;
margin-bottom: 4px;
background: #FFF0E6;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
font-size: 1rem;
transition: all 0.3s ease;
font-weight: bold;
}

.nav-item.active {
color: var(--primary-dark);
font-weight: 600;
}

.nav-item.active .nav-icon {
background: linear-gradient(135deg, var(--primary), var(--accent));
color: white;
transform: translateY(-5px);
}

/* 导航菜单 */
.nav-menu {
position: fixed;
top: 0;
right: -300px;
width: 280px;
height: 100%;
background: var(--card-bg);
z-index: 1000;
box-shadow: -5px 0 15px rgba(0,0,0,0.1);
transition: right 0.4s ease;
padding: 70px 20px 20px;
}

.nav-menu.active {
right: 0;
}

.nav-menu h3 {
color: var(--primary-dark);
margin-bottom: 25px;
font-size: 1.4rem;
padding-bottom: 10px;
border-bottom: 2px solid var(--primary-light);
}

.menu-items {
list-style: none;
}

.menu-item {
padding: 16px 0;
border-bottom: 1px solid var(--divider);
}

.menu-item a {
text-decoration: none;
color: var(--text-dark);
font-weight: 500;
display: flex;
align-items: center;
transition: all 0.2s;
}

.menu-item a:hover {
color: var(--primary);
padding-left: 5px;
}

.menu-icon {
width: 28px;
height: 28px;
background: #FFF0E6;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
color: var(--primary);
font-weight: bold;
}

.overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.5);
z-index: 999;
display: none;
}

.overlay.active {
display: block;
}

.close-btn {
position: absolute;
top: 20px;
right: 20px;
width: 36px;
height: 36px;
border-radius: 50%;
background: #FFF0E6;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: var(--primary);
font-weight: bold;
}

a {
text-decoration: none;
}