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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.5;
}

/* 顶部滚动公告栏 */
.global-announcement {
    background-color: #007AFF;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    backdrop-filter: blur(2px);
    z-index: 10;
}

.marquee-wrapper {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeScroll 22s linear infinite;
    will-change: transform;
}

.marquee-content {
    display: inline-block;
    padding-right: 2rem;
}

.global-announcement:hover .marquee-wrapper {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 640px) {
    .global-announcement { font-size: 12px; padding: 8px 0; }
    .marquee-wrapper { animation-duration: 18s; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    padding: 32px 0;
}

h1 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1d1d1f 0%, #3a3a3e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

h2 {
    font-size: 22px;
    margin: 28px 0 16px 0;
    padding-left: 12px;
    border-left: 4px solid #007AFF;
    font-weight: 600;
}

/* 安全公告栏 */
.security-banner {
    background: linear-gradient(105deg, #FFF9E6 0%, #FFEFC0 100%);
    border-left: 5px solid #FF9F0A;
    border-radius: 14px;
    padding: 14px 18px;
    margin: 16px 0 24px 0;
    box-shadow: 0 2px 8px rgba(255, 159, 10, 0.1);
}

.banner-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.banner-icon {
    background: #FF9F0A;
    width: 28px;
    height: 28px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.banner-title {
    font-size: 16px;
    font-weight: 700;
    color: #B45F06;
}

.banner-content {
    color: #7a5a2e;
    font-size: 13px;
    margin-bottom: 6px;
}

.banner-warning-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin-top: 6px;
}

.banner-warning-list li {
    font-size: 12px;
    background: rgba(255, 245, 215, 0.8);
    padding: 4px 10px;
    border-radius: 30px;
}

/* 推荐购买长条 */
.guide-longbar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0 10px;
}
.guide-card-long {
    flex: 1;
    min-width: 200px;
    background: white;
    border-radius: 60px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
    border: 1px solid #e9e9ef;
}
.guide-card-long:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
.guide-text {
    display: flex;
    flex-direction: column;
}
.guide-title-long {
    font-weight: 650;
    font-size: 16px;
    color: #1d1d1f;
}
.guide-desc-long {
    font-size: 12px;
    color: #6e6e73;
}
.guide-btn-long {
    background-color: #007AFF;
    color: white;
    text-decoration: none;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    transition: 0.2s;
    white-space: nowrap;
}
.guide-btn-long:hover {
    background-color: #0056cc;
}

/* 底部全局购买独享长条 */
.purchase-banner-global {
    margin: 20px 0 30px;
    width: 100%;
}
.purchase-banner-global a {
    display: block;
    background: linear-gradient(135deg, #007AFF 0%, #0056cc 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 14px 20px;
    border-radius: 60px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.2);
}
.purchase-banner-global a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
    background: linear-gradient(135deg, #0056cc 0%, #0042a3 100%);
}

/* 教程区域 */
.tutorial-horizontal {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin: 24px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-start;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.tutorial-image-wrap {
    flex: 1.2;
    min-width: 180px;
}
.tutorial-image {
    width: 100%;
    max-width: 280px;
    border-radius: 20px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    display: block;
    margin: 0 auto;
}
.tutorial-steps {
    flex: 2;
    min-width: 220px;
}
.tutorial-steps h3 {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
}
.tutorial-list {
    list-style: none;
    padding-left: 0;
}
.tutorial-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
}
.tutorial-number {
    background-color: #007AFF;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 客服区域 */
.support-longbar {
    background: white;
    border-radius: 60px;
    padding: 12px 24px;
    margin: 20px 0 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #e9e9ef;
}
.support-info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 16px;
    row-gap: 8px;
}
.support-qq {
    font-size: 18px;
    font-weight: 700;
    color: #007AFF;
    background: #eef5ff;
    padding: 4px 12px;
    border-radius: 40px;
}
.support-time {
    font-size: 13px;
    color: #5e5e66;
}
.support-note {
    font-size: 13px;
    color: #6e6e73;
    background: #f8f8fc;
    padding: 5px 14px;
    border-radius: 30px;
}

/* 账号卡片网格 */
.account-section {
    margin: 10px 0 20px 0;
}
.refresh-bar {
    display: flex;
    justify-content: flex-end;
    margin: 16px 0 20px;
}
.refresh-btn {
    background: #007AFF;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 122, 255, 0.2);
}
.refresh-btn:hover {
    background: #0056cc;
    transform: translateY(-1px);
}
.account-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 0 0 16px;
}
.account-card {
    background: white;
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
    border: 1px solid #e9e9ef;
    display: flex;
    flex-direction: column;
}
.account-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
}
.info-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: nowrap;
}
.info-chip {
    background: #f8f8fc;
    border-radius: 30px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #3a3a3e;
    flex: 1;
    text-align: center;
    border: 0.5px solid #e9e9ef;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.region-chip {
    background: #eef5ff;
    color: #0055aa;
}
.status-chip {
    background: #e6f7e6;
    color: #2c6e2c;
}
.account-row, .pwd-row {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.account-label, .pwd-label {
    font-size: 12px;
    font-weight: 600;
    color: #6e6e73;
    background: #f2f2f5;
    padding: 2px 8px;
    border-radius: 30px;
    white-space: nowrap;
}
.account-value, .pwd-value {
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
    word-break: break-all;
    flex: 1;
    font-family: 'SF Mono', Monaco, monospace;
    background: #fafafc;
    padding: 5px 8px;
    border-radius: 12px;
}
.copy-btn, .toggle-pwd-btn {
    background: #f0f0f4;
    border: none;
    border-radius: 30px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #007AFF;
    cursor: pointer;
    transition: 0.2s;
}
.copy-btn:hover, .toggle-pwd-btn:hover {
    background: #e3e3e9;
    color: #0051b3;
}
.card-purchase-btn {
    margin-top: 12px;
    width: 100%;
}
.card-purchase-btn a {
    display: block;
    background: #007AFF;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 40px;
    transition: all 0.2s ease;
}
.card-purchase-btn a:hover {
    background: #0056cc;
    transform: translateY(-1px);
}
.demo-note-wrapper {
    text-align: right;
    margin-top: 8px;
}
.demo-note {
    font-size: 12px;
    background: #f8f8fc;
    padding: 8px 16px;
    border-radius: 40px;
    color: #5e5e66;
    display: inline-block;
}

/* 移动端适配 */
@media (max-width: 780px) {
    .account-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}
@media (max-width: 480px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
    .info-row {
        flex-direction: row;
        gap: 8px;
    }
    .info-chip {
        font-size: 11px;
        padding: 5px 6px;
    }
}

/* toast */
.toast-message {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background-color: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
    white-space: nowrap;
}
.toast-message.show {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.footnote {
    text-align: center;
    font-size: 12px;
    color: #8e8e93;
    margin: 20px 0 10px;
}