* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    color: #25D366;
    font-size: 2.8rem;
}

.logo-text h1 {
    font-size: 2.2rem;
    color: #075E54;
}

.logo-text p {
    color: #666;
    font-size: 0.95rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #075E54;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #25D366;
}

/* 主要内容区域 */
.main-content {
    margin-bottom: 50px;
}

/* 登录区域 */
.login-section {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.section-title {
    color: #075E54;
    margin-bottom: 25px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #25D366;
}

.login-info {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #25D366;
}

.qr-container {
    text-align: center;
    margin: 30px 0;
}

.qr-code {
    width: 220px;
    height: 220px;
    background: linear-gradient(45deg, #25D366, #128C7E);
    margin: 0 auto 20px;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code::before,
.qr-code::after {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border: 8px solid white;
    border-radius: 6px;
}

.qr-code::after {
    width: 20px;
    height: 20px;
    border: 4px solid white;
    top: 20px;
    left: 20px;
}

.qr-text {
    color: #666;
    max-width: 280px;
    margin: 0 auto;
}

.login-steps {
    margin-top: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.step-number {
    background-color: #25D366;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-weight: bold;
}

/* 文章列表区域 */
.articles-section {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.date-badge {
    background-color: #128C7E;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.articles-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

/* 自定义滚动条 */
.articles-list::-webkit-scrollbar {
    width: 6px;
}

.articles-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.articles-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.article-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.article-item:hover {
    background-color: #f9f9f9;
}

.article-item:last-child {
    border-bottom: none;
}

.article-date {
    color: #25D366;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-title {
    font-size: 1.2rem;
    color: #075E54;
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
}

.article-title:hover {
    color: #25D366;
}

.article-summary {
    color: #666;
    font-size: 0.95rem;
}

.new-badge {
    background-color: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 10px;
    vertical-align: middle;
}

/* 底部区域 */
footer {
    background-color: #075E54;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
    border-radius: 12px 12px 0 0;
}



.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .login-section,
    .articles-section {
        padding: 20px;
    }

    .logo-text h1 {
        font-size: 1.8rem;
    }
}



/* 页脚链接样式 */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #128C7E;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #075E54;
    text-decoration: underline;
}

/* 政策页面样式 */
.policy-section,
.terms-section,
.cookie-section {
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.policy-header,
.terms-header,
.cookie-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #128C7E;
}

.policy-header h1,
.terms-header h1,
.cookie-header h1 {
    color: #128C7E;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.update-date {
    color: #666;
    font-style: italic;
    font-size: 14px;
}

.policy-section-item,
.terms-section-item,
.cookie-section-item {
    margin-bottom: 30px;
}

.policy-section-item h2,
.terms-section-item h2,
.cookie-section-item h2 {
    color: #075E54;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.policy-section-item h3,
.terms-section-item h3,
.cookie-section-item h3 {
    color: #128C7E;
    margin: 15px 0 10px;
}

.policy-section-item ul,
.terms-section-item ul,
.cookie-section-item ul {
    padding-left: 20px;
    margin: 10px 0;
}

.policy-section-item li,
.terms-section-item li,
.cookie-section-item li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.back-to-home {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #128C7E;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.back-button:hover {
    background: #075E54;
}

/* Cookie特定样式 */
.cookie-type {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #128C7E;
}

.cookie-type h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
}

.cookie-table {
    overflow-x: auto;
    margin: 20px 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookie-table th {
    background: #128C7E;
    color: white;
    padding: 12px;
    text-align: left;
}

.cookie-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.cookie-table tr:nth-child(even) {
    background: #f9f9f9;
}

.browser-instructions {
    background: #f0f9f7;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.browser-instructions h3 {
    color: #075E54;
    margin-top: 0;
}

.cookie-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.cookie-notice i {
    color: #f39c12;
    margin-right: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {

    .policy-section,
    .terms-section,
    .cookie-section {
        padding: 20px;
        margin: 10px;
    }

    .footer-links {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    .cookie-table {
        font-size: 14px;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 8px;
    }
}