/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
}

.logo-img {
    width: 32px;
    height: 32px;
    display: block;
}

.logo-text {
    color: #1d1d1f;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: #0071e3;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0071e3;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* 主要内容区域 */
.main-content {
    padding-top: 20px;
    padding-bottom: 60px;
}

.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #86868b;
    margin-bottom: 30px;
    font-size: 16px;
}

.share-date {
    text-align: center;
    color: #86868b;
    font-size: 14px;
    margin-bottom: 10px;
}

.share-date span {
    color: #1d1d1f;
    font-weight: 500;
}

/* 公告板块 */
.announcement-section {
    margin-top: 20px;
}

.announcement-box {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    border-radius: 12px;
    padding: 20px 30px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.announcement-text {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

/* 账号共享 */
.accounts-section {
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.account-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.account-item {
    margin-bottom: 15px;
}

.account-item:last-child {
    margin-bottom: 0;
}

.account-item label {
    display: block;
    font-size: 14px;
    color: #86868b;
    margin-bottom: 8px;
    font-weight: 500;
}

.account-value {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e5e5e7;
    min-width: 0;
}

.account-text {
    flex: 1;
    font-size: 15px;
    color: #1d1d1f;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    overflow-wrap: break-word;
    min-width: 0;
}

.copy-btn {
    background-color: #0071e3;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.copy-btn:hover {
    background-color: #0077ed;
}

.copy-btn:active {
    background-color: #0051a5;
}

.copy-btn.copied {
    background-color: #34c759;
}

/* 账号购买 */
.purchase-section {
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.purchase-box {
    text-align: center;
}

.purchase-desc {
    font-size: 16px;
    color: #86868b;
    margin-bottom: 30px;
    line-height: 1.8;
}

.purchase-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #1d1d1f;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: #34c759;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.purchase-btn {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1d1d1f;
    padding: 14px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.5);
}

/* 使用教程 */
.tutorial-section {
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tutorial-steps {
    margin-top: 30px;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 15px;
    color: #86868b;
    line-height: 1.7;
}

.tutorial-image {
    margin-top: 30px;
    text-align: center;
}

.tutorial-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 注意事项 */
.notice-section {
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.notice-list {
    margin-top: 30px;
}

.notice-item {
    margin-bottom: 25px;
    padding-left: 0;
}

.notice-item:last-child {
    margin-bottom: 0;
}

.notice-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.notice-desc {
    font-size: 15px;
    color: #86868b;
    line-height: 1.7;
}

/* 底部版权 */
.footer {
    background-color: #1d1d1f;
    color: #f5f5f7;
    padding: 30px 20px;
    text-align: center;
}

.copyright {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-note {
    font-size: 12px;
    color: #86868b;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .accounts-section {
        padding: 30px 15px;
        margin: 20px 15px;
        max-width: 100%;
    }

    .accounts-section .container {
        padding: 0;
        max-width: 100%;
    }

    .accounts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .account-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 20px 15px;
    }

    .account-item {
        margin-bottom: 12px;
    }

    .account-value {
        flex-wrap: nowrap;
        padding: 10px 12px;
        gap: 8px;
    }

    .account-text {
        font-size: 13px;
        flex: 1;
        min-width: 0;
        word-break: break-all;
        overflow-wrap: break-word;
    }

    .copy-btn {
        font-size: 12px;
        padding: 6px 12px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .purchase-features {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }

    .step-item {
        flex-direction: column;
    }

    .step-number {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .announcement-box {
        padding: 15px 20px;
    }

    .accounts-section {
        padding: 25px 10px;
        margin: 15px 10px;
    }

    .accounts-section .container {
        padding: 0;
    }

    .accounts-grid {
        gap: 15px;
    }

    .account-card {
        padding: 18px 12px;
        width: 100%;
    }

    .account-item label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .account-value {
        padding: 10px;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .account-text {
        font-size: 12px;
        line-height: 1.5;
        flex: 1;
        min-width: 0;
        word-break: break-all;
        overflow-wrap: break-word;
    }

    .copy-btn {
        font-size: 11px;
        padding: 5px 10px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .purchase-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}
