/* 门户网站样式 - 足球INSIGHT */
:root {
    --primary-green: #247820;
    --primary-green-dark: #1d5f1d;
    --primary-green-light: #4CAF50;
    --secondary-green: #8BC34A;
    --accent-green: #CDDC39;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-light: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #247820 0%, #4CAF50 100%);
    --gradient-secondary: linear-gradient(135deg, #8BC34A 0%, #CDDC39 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* 头部导航 */
.site-header {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 80px;
    height: auto;
    border-radius: 8px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
    animation: colorChange 5s infinite;
}

@keyframes colorChange {
    0% { color: var(--primary-green); }
    50% { color: var(--primary-green-light); }
    100% { color: var(--primary-green); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-green);
    transform: translateY(-1px);
}

.nav-menu li a i {
    font-size: 0.85rem;
}

/* 用户区域 */
.user-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 顶栏登录表单 */
.header-login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

.header-auth-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.auth-link {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: var(--primary-green-dark);
    text-decoration: underline;
}

.auth-separator {
    color: var(--text-light);
    font-size: 0.75rem;
}

.header-input {
    padding: 6px 10px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 0.7rem;
    width: 100px;
    background: var(--bg-white);
    transition: all 0.3s ease;
}

.header-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(36, 120, 32, 0.1);
}

.header-login-btn {
    background: var(--primary-green);
    color: white;
    border: 1px solid var(--primary-green);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-login-btn:hover {
    background: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(36, 120, 32, 0.3);
}

.login-btn {
    background: var(--primary-green);
    color: white;
    border: 1px solid var(--primary-green);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-btn:hover {
    background: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(36, 120, 32, 0.3);
}

/* 主要内容区域 */
main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #6ede6e 0%, #34922f 50%, #0a7c28 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-btn {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-btn.primary {
    background: white;
    color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* 内容区域通用样式 */
.content-section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* API亮点区域 */
.api-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.highlight-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.highlight-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.highlight-title {
    font-size: 1.1rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 600;
}

.highlight-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* 数据分析平台展示 */
.platform-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.platform-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-green);
}

.platform-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    text-align: center;
}

.platform-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.platform-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
    font-size: 0.9rem;
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--bg-light);
    color: var(--primary-green);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(36, 120, 32, 0.2);
}

.feature-tag i {
    color: var(--primary-green);
    font-size: 0.8rem;
}


.screenshot-placeholder:hover {
    border-color: var(--primary-green);
    background: rgba(36, 120, 32, 0.05);
}

.screenshot-placeholder i {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.screenshot-placeholder p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

/* 平台截图样式 */
.screenshot-placeholder {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 20px 0;
    background: #f5f5f5;
    padding: 5px;
}

.screenshot-placeholder:hover {
    transform: translateY(-5px);
}

.screenshot-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* 平台演示区域 */
.demo-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.demo-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.demo-header i {
    font-size: 2rem;
    color: var(--primary-green);
}

.demo-header h3 {
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.demo-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.demo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    border: 1px solid rgba(36, 120, 32, 0.1);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* 添加一些动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 为演示卡片添加动画 */
.demo-card:nth-child(1) {
    animation: slideInLeft 0.6s ease;
}

.demo-card:nth-child(2) {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.demo-card:nth-child(3) {
    animation: slideInRight 0.6s ease 0.4s both;
}

/* 为平台卡片添加动画 */
.platform-card:nth-child(1) {
    animation: slideInLeft 0.6s ease;
}

.platform-card:nth-child(2) {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.platform-card:nth-child(3) {
    animation: slideInRight 0.6s ease 0.4s both;
}

/* 功能网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.feature-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
}

/* API文档区域 */
.doc-section {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    overflow: hidden;
}

.endpoint {
    margin: 0;
    padding: 30px;
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.3s ease;
}

.endpoint:last-child {
    border-bottom: none;
}

.endpoint:hover {
    background-color: var(--bg-light);
}

.endpoint h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.endpoint-url {
    background: var(--text-dark);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    margin: 15px 0;
    display: inline-block;
    font-size: 0.9rem;
}

.method {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    margin-right: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.method.get {
    background: #FF9800;
}

.method.post {
    background: #4CAF50;
}

/* 示例区域 */
.example-section {
    background: var(--bg-light);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    padding: 40px;
}

.example-code {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.example-code h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.example-code pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

.example-code code {
    color: #81c784;
}

/* 联系区域 */
.contact-section {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto;
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-green);
    outline: none;
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(36, 120, 32, 0.1);
}

.submit-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 页脚 */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: var(--secondary-green);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-green);
}

.footer-bottom {
    text-align: center;
    padding: 30px 0 0;
    border-top: 1px solid #444;
    margin-top: 40px;
    color: #999;
}

.beian-info {
    margin-top: 15px;
    font-size: 0.9rem;
}

.beian-info p {
    margin: 0;
    color: #999;
}

.beian-info a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian-info a:hover {
    color: var(--secondary-green);
}
/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content-guide {
    background: var(--bg-white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.modal-header h2 {
    color: var(--primary-green);
    font-size: 1.8rem;
    font-weight: 600;
}

.modal-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

/* 用户下拉菜单 */
.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 20px;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.user-name {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.subscription-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.subscription-badge.premium {
    background: #FFD700;
    color: var(--text-dark);
}

.subscription-badge.free {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.user-dropdown-items {
    padding: 15px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background: var(--bg-light);
}

.dropdown-item i {
    width: 18px;
    color: var(--primary-green);
}

.logout-item {
    color: #dc3545;
}

.logout-item:hover {
    background: #f8d7da;
}

.logout-item i {
    color: #dc3545;
}

/* 消息提示框 */
.message-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 30px;
    border-radius: 15px;
    z-index: 3000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    animation: messageSlideIn 0.3s ease;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
        height: 70px;
    }
    
    .site-title {
        font-size: 1.4rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .content-section {
        padding: 60px 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .api-highlights,
    .features-grid,
    .platform-showcase,
    .demo-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .example-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .demo-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .user-area {
        gap: 8px;
    }
    
    .header-login-form {
        gap: 6px;
    }

    .header-auth-links {
        margin-top: 3px;
        gap: 6px;
    }

    .auth-link {
        font-size: 0.65rem;
    }
    
    .header-input {
        width: 80px;
        font-size: 0.7rem;
        padding: 5px 8px;
    }
    
    .header-login-btn {
        padding: 5px 8px;
        font-size: 0.7rem;
    }
    
    .header-login-btn span {
        display: none;
    }
    
    .login-btn span {
        display: none;
    }
    
    .modal-content-guide {
        width: 95%;
        margin: 10% auto;
        padding: 30px 20px;
    }
    
    .platform-features {
        justify-content: flex-start;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .highlight-card,
    .feature-card {
        padding: 30px 20px;
    }
    
    .endpoint {
        padding: 20px;
    }
}

/* 额外的样式 - 用于替代内联样式 */

/* 隐藏元素 */
.hidden {
    display: none !important;
}

/* 联系区域样式 */
.contact-links-container {
    text-align: center;
    margin-bottom: 40px;
}

.contact-links-wrapper {
    display: inline-flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--bg-white);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-link img {
    width: 24px;
    height: 24px;
}

/* 模态框标题样式 */
.modal-title-container {
    display: flex;
    align-items: center;
}

.modal-title {
    margin-right: 10px;
}

.modal-logo {
    max-width: 80px;
    height: auto;
}

/* 表单布局样式 */
.form-row {
    display: flex;
    align-items: center;
}

.form-row label {
    margin-right: 10px;
}

.form-row input {
    flex: 1;
}

/* 特殊文本样式 */
.note-text {
    text-align: center;
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
}

.api-note {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

/* API服务功能标题样式 */
.api-features-title {
    margin-top: 60px;
}

/* 背景色样式 */
.bg-light {
    background: var(--bg-light);
}

/* 用户信息区域 */
.user-info-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 文档区域 */
.doc-section {
    display: none;
}

.doc-section.show {
    display: block;
}

/* API文档表格样式 */
.params-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.params-table th,
.params-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.params-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.params-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.response-example {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    font-family: monospace;
    overflow-x: auto;
    margin-top: 20px;
}

.required {
    color: #e53935;
    font-weight: bold;
}

.optional {
    color: #7cb342;
}

/* 用户头像按钮样式 */
.user-menu-dropdown {
    position: relative;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem;
    border: none;
    border-radius: 25px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-avatar-btn:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

#username {
    font-size: 1.5vw;
    border: 1px solid #307032;
    border-radius: 50%;
    padding: 0.5vw;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5vw;
    height: 2.5vw;
    transition: all 0.3s ease;
    background-color: #e6f4e6;
    color: #307032;
    box-sizing: border-box;
}
.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #307032, #45a049);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.dropdown-arrow {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

.user-avatar-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* 响应式调整补充 */
@media (max-width: 768px) {
    .user-dropdown-menu {
        width: 200px;
    }

    .quick-api-key-btn span {
        display: none;
    }

    .quick-api-key-btn {
        padding: 8px;
    }
}

/* 用户下拉菜单箭头 */
.user-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

/* API密钥相关样式 */
.api-key-content {
    margin: 20px 0;
}

.api-key-display {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.api-key-display input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-family: monospace;
}

/* 快速API密钥按钮 */
.quick-api-key-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.quick-api-key-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.quick-api-key-btn i {
    font-size: 14px;
}

/* 用户订阅信息样式 */
.user-subscription-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.subscription-expiry {
    font-size: 12px;
    color: #666;
}

.user-dropdown-divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 0;
}

.dropdown-divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 5px 0;
}

/* 平台跳转按钮样式 */
.platform-cta {
    text-align: center;
    margin: 40px 0;
}

.platform-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(36, 120, 32, 0.3);
    border: none;
    cursor: pointer;
}

.platform-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(36, 120, 32, 0.4);
    background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
    color: white;
    text-decoration: none;
}

.platform-cta-btn i {
    font-size: 1.2rem;
}

.platform-cta-note {
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-style: italic;
}

/* 平台整体展示图样式 */
.platform-overview {
    margin: 40px 0;
    text-align: center;
}

.platform-image-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.platform-image-container:hover {
    transform: translateY(-5px);
}

.platform-overview-image {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    text-align: left;
}

.image-overlay h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.image-overlay p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* 功能演示截图区域样式 */
.demo-screenshots {
    margin: 60px 0 40px;
}

.demo-screenshots-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.screenshot-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.demo-screenshot {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.screenshot-caption {
    padding: 20px;
}

.screenshot-caption h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.screenshot-caption p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .platform-cta-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .platform-cta-btn i {
        font-size: 1.1rem;
    }
    
    .platform-cta-note {
        font-size: 0.9rem;
        margin: 0 20px;
    }
    
    .platform-image-container {
        margin: 0 20px;
    }
    
    .image-overlay {
        padding: 30px 20px 20px;
    }
    
    .image-overlay h3 {
        font-size: 1.3rem;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 20px;
    }
    
    .demo-screenshot {
        height: 200px;
    }
    
    .screenshot-caption {
        padding: 15px;
    }
    
    .demo-screenshots-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
}

/* 新的用户界面样式 */
.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(48, 112, 50, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 112, 50, 0.4);
}

/* 用户信息区域 */
.user-info-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 访问慢按钮 */
.slow-access-section {
    position: relative;
}

.slow-access-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    color: #6c757d;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.slow-access-btn:hover {
    background: #e9ecef;
    color: #495057;
}

/* 收藏按钮 */
.favorites-section {
    position: relative;
}

.favorites-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff3cd;
    color: #856404;
    padding: 8px 12px;
    border: 1px solid #ffeaa7;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    position: relative;
}

.favorites-btn:hover {
    background: #ffeaa7;
    color: #6c5700;
}

.favorites-count {
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    position: absolute;
    top: -5px;
    right: -5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.favorites-count.show {
    opacity: 1;
}

/* 收藏模态框样式 */
.favorites-modal-content {
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.favorites-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.favorites-modal-header h2 {
    margin: 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: #f8f9fa;
    color: #333;
}

.favorites-tabs {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.favorites-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.7rem;
    color: #6c757d;
    transition: all 0.3s ease;
    position: relative;
}

.favorites-tab.active {
    color: var(--primary-green);
    background: white;
    border-bottom: 2px solid var(--primary-green);
}

.favorites-tab:hover {
    background: #e9ecef;
}

.tab-count {
    background: #e9ecef;
    color: #6c757d;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
}

.favorites-tab.active .tab-count {
    background: var(--primary-green);
    color: white;
}

.favorites-content {
    flex: 1;
    overflow: hidden;
}

.favorites-tab-content {
    display: none;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
}

.favorites-tab-content.active {
    display: block;
}

.favorites-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.empty-favorites {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-favorites i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-favorites p {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.empty-favorites small {
    font-size: 0.9rem;
    opacity: 0.7;
}

.favorite-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.favorite-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.favorite-item-info {
    flex: 1;
}

.favorite-item-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.favorite-item-details {
    font-size: 0.7rem;
    color: #6c757d;
}

.favorite-item-actions {
    display: flex;
    gap: 8px;
}

.favorite-action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.view-btn {
    background: var(--primary-green);
    color: white;
}

.view-btn:hover {
    background: var(--primary-green-dark);
}

.remove-btn {
    background: #dc3545;
    color: white;
}

.remove-btn:hover {
    background: #c82333;
}

.favorites-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.clear-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.clear-all-btn:hover {
    background: #c82333;
}

/* 订阅管理模态框样式 */
.subscription-modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.subscription-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.subscription-modal-header h2 {
    margin: 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-subscription-status {
    padding: 20px;
}

.status-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.status-card.free {
    border-color: #dee2e6;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.status-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.status-icon.free {
    background: #6c757d;
}

.status-info {
    flex: 1;
}

.status-info h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.2rem;
}

.status-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.status-badge {
    display: flex;
    align-items: center;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge.premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #856404;
}

.badge.free {
    background: #f8f9fa;
    color: #6c757d;
}

.status-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    color: #6c757d;
    font-size: 0.9rem;
}

.detail-row .value {
    color: #333;
    font-weight: 500;
}

.subscription-plans {
    padding: 20px;
}

.subscription-plans h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.3rem;
}

.plan-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.plan-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.plan-card.selected {
    border-color: var(--primary-green);
    background: #f8fff8;
}

.plan-card.featured {
    border-color: var(--primary-green);
    background: linear-gradient(135deg, #f8fff8, #f0fff0);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.plan-header {
    margin-bottom: 20px;
}

.plan-header h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.2rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.plan-price .currency {
    font-size: 1.2rem;
    color: #6c757d;
}

.plan-price .amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-green);
}

.plan-price .period {
    font-size: 1rem;
    color: #6c757d;
}

.plan-savings {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.plan-features {
    margin-bottom: 25px;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #333;
    font-size: 0.9rem;
}

.plan-features i {
    color: #28a745;
    width: 16px;
}

.plan-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: var(--primary-green);
    color: white;
}

.plan-btn:hover {
    background: var(--primary-green-dark);
    transform: translateY(-1px);
}

.plan-btn.featured {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.renew-btn {
    background: var(--primary-green);
    color: white;
}

.renew-btn:hover {
    background: var(--primary-green-dark);
    transform: translateY(-1px);
}

.cancel-btn {
    background: #6c757d;
    color: white;
}

.cancel-btn:hover {
    background: #5a6268;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .status-details {
        grid-template-columns: 1fr;
    }
    
    .favorites-tabs {
        flex-direction: column;
    }
    
    .favorites-tab {
        border-bottom: 1px solid #e9ecef;
    }
    
    .favorites-tab.active {
        border-bottom: 2px solid var(--primary-green);
    }
    
    .favorite-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .favorite-item-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.312);
}

.modal-content-guide {
    background-color: rgba(255, 255, 255, 0.9);
    margin: 8% auto;
    padding: 25px;
    border: 1px solid #307032;
    width: 75%;
    max-width: 28vw;
    max-height: 55vh;
    border-radius: 10px;
    color: #2b2b2b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#login-logo {
    max-width: 40%;
    height: auto;
    display: block;
    padding-bottom: 5%;
}


#registerModal .modal-content-guide, #forgetModal .modal-content-guide {
    margin: 8% auto;
    padding: 25px;
    border: 1px solid #307032;
    width: 75%;
    max-width: 28vw;
    max-height: 75vh;
    border-radius: 10px;
    color: #2b2b2b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-group {
    margin-bottom: 1vw;
}

.form-group label {
    display: block;
    margin-bottom: 0.5vw;
    color: #2b2b2b;
}

.form-group input {
    width: 95%;
    padding: 0.5vw;
    border: 0.15vw solid #307032;
    border-radius: 0.4vw;
    background-color: #f5f5f5e7;
    color: #2b2b2b;
}

/* 旧的用户区域样式 - 已被新的美化样式替代 */
.auth-buttons {
    margin-left: auto;
    margin-right: 1.25rem;
}

#userInfo {
    color: #2b2b2b;
    margin-left: 0.625rem;
}

#userInfo i {
    margin-right: 0.3125rem;
}

/* 旧的登录按钮样式 - 保留作为后备 */
.old-login-btn {
  font-size: 2vw;
  color: #154a08;
}

#ModalloginBtn, #ModalregisterBtn, #ModalbackBtn, #ModalguidebackBtn, #ModalforgetbackBtn, #forgetBtn {
    color: rgb(12, 11, 11); /* 白色文字 */
    padding: 0.5vw 1vw; /* 内边距，跟随modal变大变小 */
    border: 0.15vw solid #307032;
    border-radius: 0.4vw; /* 圆角 */
    cursor: pointer; /* 鼠标指针 */
    font-size: 1vw; /* 字体大小，跟随modal变大变小 */
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease; /* 添加过渡效果 */
}

#ModalguideregisterBtn, #ModalguideloginBtn {
    color: rgb(12, 11, 11); /* 白色文字 */
    padding: 1vw 2vw; /* 内边距，跟随modal变大变小 */
    border: 0.15vw solid #307032;
    border-radius: 0.4vw; /* 圆角 */
    cursor: pointer; /* 鼠标指针 */
    font-size: 1.3vw; /* 字体大小，跟随modal变大变小 */
    float: right; /* 最右 */
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease; /* 添加过渡效果 */
}

#ModalloginBtn:hover, #ModalregisterBtn:hover, #ModalbackBtn:hover, #ModalguideBtn:hover, #ModalguideregisterBtn:hover, #ModalguideloginBtn:hover, #ModalguidebackBtn:hover, #ModalforgetbackBtn:hover, #forgetBtn:hover {
    background-color: #45a049; /* 悬停时的背景颜色 */
    color: #ffffff; /* 悬停时的文字颜色 */
    box-shadow: 0 0.3vw 0.6vw rgba(0, 0, 0, 0.3); /* 添加阴影效果 */
    transform: scale(1.05); /* 悬停时放大效果 */
}

#ModalloginBtn:active, #ModalregisterBtn:active, #ModalbackBtn:active, #ModalguideBtn:active, #ModalguideregisterBtn:active, #ModalguideloginBtn:active, #ModalguidebackBtn:active, #ModalforgetbackBtn:active, #forgetBtn:active {
    box-shadow: 0 0.1vw 0.3vw rgba(0, 0, 0, 0.2) inset; /* 点击时的内阴影效果 */
    transform: scale(0.98); /* 点击时缩小效果 */
}
#ModalforgetBtn {
  color: #206e26;
  background-color: rgba(32, 110, 38, 0.1);
  padding: 0.5vw 0.5vw;
  border: 0.1vw solid #206e26;
  border-radius: 0.3vw;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
  margin-bottom: 0.5vw;
}
#ModalforgetBtn:hover {
  background-color: rgba(32, 110, 38, 0.2);
  box-shadow: 0 0.3vw 0.6vw rgba(0, 0, 0, 0.3);
  transform: translateY(-0.2vw);
  margin-bottom: 0.5vw;
}
#ModalforgetBtn:active {
  background-color: rgba(32, 110, 38, 0.3);
  box-shadow: 0 0.1vw 0.3vw rgba(0, 0, 0, 0.2) inset;
  transform: scale(0.98);
  margin-bottom: 0.5vw;
}

.subscription-reminder {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2vw;
    border-radius: 1vw;
    box-shadow: 0 0.4vw 2vw rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    border: 0.2vw solid #307032;
}

.reminder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vw;
}

.reminder-content h3 {
    color: #307032;
    font-size: 1.8vw;
    margin: 0;
}

.reminder-content p {
    color: #666;
    font-size: 1.2vw;
    margin: 0;
}

.reminder-content button {
    background-color: #307032;
    color: white;
    border: none;
    padding: 1vw 2vw;
    border-radius: 0.5vw;
    font-size: 1.2vw;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reminder-content button:hover {
    background-color: #45a049;
    transform: translateY(-0.2vw);
}

.subscription-required {
    position: relative;
}

.subscription-required[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

#registerModal .modal-content-guide {
  overflow-y: auto;
}
#forgetModal .modal-content-guide {
  overflow-y: auto;
}

#guideModal .modal-content-guide {
  overflow-y: auto;
}

#guideModal .modal-content-guide::-webkit-scrollbar {
  width: 0.8vw;
}

#guideModal .modal-content-guide::-webkit-scrollbar-thumb {
  background: #bfc0bf;
  border-radius: 0.4vw;
}

#guideModal .modal-content-guide::-webkit-scrollbar-thumb:hover {
  background: #bfc0bf;
}


#username {
  font-size: 1.5vw;
  border: 1px solid #307032;
  border-radius: 50%;
  padding: 0.5vw;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5vw;
  height: 2.5vw;
  transition: all 0.3s ease;
  background-color: #e6f4e6;
  color: #307032;
  box-sizing: border-box;
}

#username:hover {
  background-color: #cce6cc;
  transform: scale(1.1);
}

#userInfoDiv {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  position: absolute;
  top: 50px;
  right: 50px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

#logoutBtn {
  margin-top: 10px;
  padding: 5px 10px;
  border: none;
  background-color: #307032;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

#passwordErrorDiv {
  position: fixed;
  top: 50%;
  left: 50%;
  font-size: 1.5vw;
  transform: translateX(-50%);
  background-color: crimson;
  color: white;
  padding: 20px 40px;
  border-radius: 10px;
  z-index: 1001;
}
#passwordSuccessDiv {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5vw;
  color: white;
  background-color: #307032;
  padding: 20px 40px;
  border-radius: 10px;
  z-index: 1001;
}

#h2-guide {
  font-size: 1.8vw;
  color: #307032;
  margin-bottom: 1.5vh;
}

#p-guide {
  margin: 1.2vh 0;
}

#ul-guide {
  list-style-type: none;
  padding: 0;
  margin: 1.5vh 0;
}

#li-guide {
  margin: 1vh 0;
  padding-left: 1.5vw;
  position: relative;
}

#li-guide:before {
  content: "•";
  color: #307032;
  position: absolute;
  left: 0;
}

#b-guide {
  color: #307032;
  font-weight: 600;
}

#a-guide {
  color: #307032;
  text-decoration: none;
  transition: color 0.3s ease;
}

#a-guide:hover {
  color: #29b959;
  text-decoration: underline;
}

#note-guide {
  font-style: italic;
  color: #666;
  font-size: 1.1vw;
  margin-top: 2vh;
}
#sendCaptchaBtn, #forgetCaptchaBtn {
    background-color: #247820;
    width: 10vw;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.2vw;
    margin: 4px 2px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  #sendCaptchaBtn:hover {
    background-color: #29b959;
    transform: scale(1.05);
  }

  /* 订阅管理模态框样式 */
.subscription-modal-content {
    max-width: 900px;
    min-height: 80vh;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    font-size: 0.92rem;
  }
  
  .subscription-modal-header {
    background: linear-gradient(135deg, #307032, #20c997);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-size: 0.98rem;
  }
  
  .subscription-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
  }
  
  @keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  
  .subscription-modal-header h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
    position: relative;
  }
  
  .subscription-modal-header .modal-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
    font-size: 0.95rem;
  }
  
  .subscription-modal-header .modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
  }
  
  /* 当前订阅状态 */
  .current-subscription-status {
    padding: 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
  }
  
  .status-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #ffd700;
    font-size: 0.95rem;
  }
  
  .status-card.free {
    border-left-color: #6c757d;
  }
  
  .status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.95rem;
  }
  
  .status-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ff8f00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    margin-right: 15px;
  }
  
  .status-icon.free {
    background: linear-gradient(135deg, #6c757d, #495057);
  }
  
  .status-info h3 {
    margin: 0;
    color: #333;
    font-size: 1.05rem;
    font-weight: 600;
  }
  
  .status-info p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 0.8rem;
  }
  
  .status-badge .badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .status-badge .badge.premium {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
  }
  
  .status-badge .badge.free {
    background: #6c757d;
    color: white;
  }
  
  .status-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    font-size: 0.92rem;
  }
  
  .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.92rem;
  }
  
  .detail-row:last-child {
    border-bottom: none;
  }
  
  .detail-row .label {
    color: #666;
    font-size: 0.8rem;
  }
  
  .detail-row .value {
    color: #333;
    font-weight: 600;
    font-size: 0.8rem;
  }
  
  /* 订阅套餐选择 */
  .subscription-plans {
    padding: 30px;
    font-size: 0.95rem;
  }
  
  .subscription-plans h3 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
  }
  
  .plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.95rem;
  }

  @media (max-width: 1100px) {
    .plans-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 700px) {
    .plans-grid {
      grid-template-columns: 1fr;
    }
  }
  
  .plan-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    font-size: 0.95rem;
  }
  
  .plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #307032;
  }
  
  .plan-card.featured {
    border-color: #307032;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
    transform: scale(1.05);
  }
  
  .plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #307032, #20c997);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
  }
  
  .plan-header h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
  }
  
  .plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .plan-price .currency {
    font-size: 0.85rem;
    color: #666;
    margin-right: 2px;
  }
  
  .plan-price .amount {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
  }
  
  .plan-price .period {
    font-size: 0.85rem;
    color: #666;
    margin-left: 2px;
  }
  
  .plan-features ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
  }
  
  .plan-features li {
    padding: 7px 0;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    font-size: 0.92rem;
  }
  
  .plan-features li i {
    color: #28a745;
    margin-right: 10px;
    width: 16px;
  }
  
  .plan-features li i.fa-star {
    color: #ffd700;
  }
  
  .plan-features li i.fa-gift {
    color: #ff6b35;
  }
  
  .plan-btn {
    width: 100%;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #307032, #20c997);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    font-size: 0.92rem;
  }
  
  .plan-btn:hover {
    background: linear-gradient(135deg, #307032, #20c997);
    transform: translateY(-2px);
  }
  
  .plan-btn.featured {
    background: linear-gradient(135deg, #307032, #20c997);
  }
  
  .plan-btn.featured:hover {
    background: linear-gradient(135deg, #307032, #20c997);
  }
  
  /* 套餐按钮禁用状态 */
  .plan-btn:disabled {
    background: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    transform: none !important;
    opacity: 0.6;
  }
  
  .plan-btn:disabled:hover {
    background: #cccccc !important;
    transform: none !important;
  }
  
  /* 支付状态指示器动画 */
  @keyframes slideInRight {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes slideOutRight {
    from {
      transform: translateX(0);
      opacity: 1;
    }
    to {
      transform: translateX(100%);
      opacity: 0;
    }
  }
  
  /* 订阅历史 */
.subscription-history {
    padding: 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-size: 0.95rem;
}

.subscription-history h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subscription-history h3 i {
    color: var(--primary-green);
}

.history-list {
    max-height: 300px;
    overflow-y: auto;
    font-size: 0.92rem;
    margin-bottom: 25px;
}

.history-item {
    background: white;
    border-radius: 12px;
    padding: 15px 18px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    font-size: 0.92rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.history-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.history-item.success {
    border-left-color: #28a745;
}

.history-item.expired {
    border-left-color: #dc3545;
}

.history-item.active {
    border-left-color: var(--primary-green);
}

.history-item-info h4 {
    margin: 0 0 6px 0;
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
}

.history-item-info p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.history-item-status {
    text-align: right;
}

.history-status-badge {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-status-badge.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.history-status-badge.expired {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.history-status-badge.active {
    background: linear-gradient(135deg, var(--primary-green), #20c997);
    color: white;
}

.history-amount {
    color: #333;
    font-weight: 700;
    margin-top: 6px;
    font-size: 0.95rem;
}

/* 快速续费区域 */
.quick-renewal {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    border: 2px solid var(--primary-green);
    box-shadow: 0 4px 15px rgba(36, 120, 32, 0.1);
}

.quick-renewal h4 {
    margin: 0 0 8px 0;
    color: var(--primary-green);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-renewal h4 i {
    color: #ffd700;
}

.quick-renewal p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.9rem;
}

.quick-renewal-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-renewal-btn {
    flex: 1;
    min-width: 150px;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.quick-renewal-btn.monthly {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.quick-renewal-btn.quarterly {
    background: linear-gradient(135deg, var(--primary-green), #20c997);
    color: white;
}

.quick-renewal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.quick-renewal-btn small {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
}

.quick-renewal-btn i {
    font-size: 1.1rem;
}

/* 空历史记录样式 */
.empty-history {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-history i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
    color: #dee2e6;
}

.empty-history p {
    font-size: 1.1rem;
    margin: 0;
    color: #6c757d;
}
  
  
  .action-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
  }
  
  .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .renew-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
  }
  
  .renew-btn:hover {
    background: linear-gradient(135deg, #307032, #20c997);
  }
  
  .cancel-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
  }
  
  .cancel-btn:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
  }