/* ================================
   Global
================================ */

* {
    box-sizing: border-box;
}

:root {
    --bg: #f6f7fb;
    --card: #ffffff;
    --text: #17181c;
    --muted: #8a8f9c;
    --border: #e9ebf0;

    --primary: #635bff;
    --primary-hover: #5148e8;

    --success: #16a36a;
    --success-bg: #ecfaf4;

    --warning: #a76b00;
    --warning-bg: #fff8e7;

    --shadow:
        0 1px 2px rgba(16, 24, 40, .03),
        0 8px 30px rgba(16, 24, 40, .055);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    min-height: 100vh;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif;

    color: var(--text);

    background:
        radial-gradient(circle at 50% -15%,
            rgba(99, 91, 255, .10),
            transparent 38%),
        var(--bg);

    -webkit-font-smoothing: antialiased;
}


/* ================================
   Header
================================ */

header {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding: 58px 0 30px;
}

header h1 {
    margin: 0;

    font-size: 42px;
    line-height: 1.15;

    font-weight: 760;

    letter-spacing: -1.8px;

    background:
        linear-gradient(110deg,
            #111827 0%,
            #4f46e5 65%,
            #7c3aed 100%);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

header>p {
    margin: 13px 0 0;

    color: #737985;

    font-size: 16px;
}


/* ================================
   Warning
================================ */

.warn {
    position: relative;

    margin-top: 25px;

    padding: 15px 18px 15px 45px;

    border: 1px solid #ece8d8;

    border-radius: 13px;

    background: rgba(255, 252, 242, .92);

    color: #75652d;

    font-size: 13px;

    line-height: 1.7;

    box-shadow:
        0 3px 12px rgba(120, 90, 0, .025);
}

.warn::before {
    content: "!";

    position: absolute;

    left: 17px;
    top: 50%;

    width: 20px;
    height: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border-radius: 50%;

    background: #f4b942;

    color: white;

    font-size: 12px;
    font-weight: 800;
}


/* ================================
   Main
================================ */

main {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding-bottom: 70px;
}


/* ================================
   Count
================================ */

.count {
    display: flex;

    align-items: center;

    margin-bottom: 17px;

    color: #7b808c;

    font-size: 13px;
    font-weight: 600;
}

.count::before {
    content: "";

    width: 7px;
    height: 7px;

    margin-right: 8px;

    border-radius: 50%;

    background: #16a36a;

    box-shadow:
        0 0 0 4px rgba(22, 163, 106, .10);
}


/* ================================
   Grid
================================ */

.grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 17px;
}


/* ================================
   Card
================================ */

.card {
    position: relative;

    min-width: 0;

    padding: 21px;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: rgba(255, 255, 255, .94);

    box-shadow: var(--shadow);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.card:hover {
    transform: translateY(-3px);

    border-color: rgba(99, 91, 255, .20);

    box-shadow:
        0 2px 5px rgba(16, 24, 40, .03),
        0 16px 40px rgba(16, 24, 40, .09);
}


/* 顶部渐变线 */

.card::before {
    content: "";

    position: absolute;

    left: 22px;
    right: 22px;
    top: 0;

    height: 3px;

    border-radius: 0 0 8px 8px;

    background:
        linear-gradient(90deg,
            #635bff,
            #8b5cf6,
            #a855f7);
}


/* ================================
   Header inside Card
================================ */

.head {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 21px;
}

.head h2 {
    display: flex;

    align-items: center;

    margin: 0;

    font-size: 18px;

    line-height: 1.3;

    font-weight: 700;

    letter-spacing: -.3px;
}

.head h2::before {
    content: "🇺🇸";

    margin-right: 8px;

    font-size: 17px;
}


/* ================================
   Badge
================================ */

.badge {
    display: inline-flex;

    align-items: center;
    gap: 6px;

    flex-shrink: 0;

    padding: 5px 9px;

    border: 1px solid #d9f2e7;

    border-radius: 999px;

    background: var(--success-bg);

    color: var(--success);

    font-size: 11px;

    font-weight: 700;
}

.badge i {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #16a36a;

    box-shadow:
        0 0 0 3px rgba(22, 163, 106, .09);
}


/* ================================
   Label
================================ */

.label {
    margin: 13px 0 7px;

    color: #9297a3;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .35px;
}


/* ================================
   Field
================================ */

.field {
    display: flex;

    align-items: center;

    min-width: 0;

    min-height: 44px;

    padding: 4px 5px 4px 13px;

    border: 1px solid #e9ebf0;

    border-radius: 11px;

    background: #f8f9fb;

    transition:
        background .18s ease,
        border-color .18s ease;
}

.field:hover {
    border-color: #dcdfea;

    background: #f6f7fa;
}


/* ================================
   Email / Password
================================ */

.email,
.pass {
    flex: 1;

    min-width: 0;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    color: #30343b;

    font-size: 13px;

    font-family:
        "SFMono-Regular",
        Menlo,
        Monaco,
        Consolas,
        monospace;
}

.pass {
    letter-spacing: 2px;
}


/* ================================
   Copy button
================================ */

.field button {
    position: relative;

    flex-shrink: 0;

    height: 34px;

    padding: 0 13px;

    border: 0;

    border-radius: 8px;

    background: #635bff;

    color: white;

    font-size: 12px;

    font-weight: 650;

    cursor: pointer;

    transition:
        background .16s ease,
        transform .12s ease,
        box-shadow .16s ease;
}

.field button:hover {
    background: var(--primary-hover);

    box-shadow:
        0 4px 12px rgba(99, 91, 255, .20);
}

.field button:active {
    transform: scale(.95);
}


/* ================================
   Message
================================ */

.box {
    position: relative;

    margin-top: 7px;

    padding: 11px 12px 11px 36px;

    border: 1px solid #f0e5c7;

    border-radius: 10px;

    background: var(--warning-bg);

    color: var(--warning);

    font-size: 11.5px;

    line-height: 1.55;
}

.box::before {
    content: "⚠";

    position: absolute;

    left: 12px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 13px;
}


/* ================================
   Footer
================================ */

.foot {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 17px;

    padding-top: 14px;

    border-top: 1px solid #f0f1f4;

    color: #9a9faa;

    font-size: 10.5px;
}

.foot time {
    color: #707582;

    font-family:
        "SFMono-Regular",
        Menlo,
        Monaco,
        Consolas,
        monospace;
}


/* ================================
   Responsive
================================ */

@media (max-width: 980px) {

    .grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    header h1 {
        font-size: 36px;
    }
}


@media (max-width: 640px) {

    header,
    main {
        width: calc(100% - 28px);
    }

    header {
        padding-top: 34px;
        padding-bottom: 22px;
    }

    header h1 {
        font-size: 30px;

        letter-spacing: -1px;
    }

    header>p {
        font-size: 14px;
    }

    .warn {
        padding: 13px 14px 13px 40px;

        font-size: 12px;
    }

    .grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .card {
        padding: 18px;

        border-radius: 16px;
    }

    .head h2 {
        font-size: 17px;
    }
}


/* sadads */
/* ================================
   联系与服务
================================ */

.links-section {
    margin: 45px auto 30px;
    max-width: 900px;
}

.links-section h2 {
    margin: 0;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
}

.links-desc {
    margin: 8px 0 25px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eee;
    text-decoration: none;
    color: #222;
    transition: all .2s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .09);
    border-color: #ddd;
}

.link-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 21px;
    background: #f5f5f5;
}

.link-info {
    flex: 1;
    min-width: 0;
}

.link-info strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.link-info span {
    display: block;
    color: #999;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-arrow {
    color: #bbb;
    font-size: 25px;
    transition: transform .2s ease;
}

.link-card:hover .link-arrow {
    transform: translateX(4px);
    color: #666;
}

/* X */
.link-card.x .link-icon {
    background: #000;
    color: #fff;
}

/* Telegram */
.link-card.tg .link-icon {
    background: #e8f7ff;
}

/* YouTube */
.link-card.youtube .link-icon {
    background: #fff0f0;
    color: #e62117;
}

/* 小火箭 */
.link-card.rocket .link-icon {
    background: #fff4e8;
}

/* 商店 */
.link-card.shop .link-icon {
    background: #f1edff;
}

/* 加速 */
.link-card.network .link-icon {
    background: #eafaf0;
}


/* 手机端 */
@media (max-width: 600px) {

    .links-section {
        margin: 35px 15px 25px;
    }

    .links-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .link-card {
        padding: 15px;
    }

    .link-icon {
        width: 42px;
        height: 42px;
    }
}




/* ================================
   使用说明按钮
================================ */

.guide-section {
    max-width: 900px;
    margin: 25px auto;
}

.guide-btn {
    width: 100%;
    padding: 18px 22px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1px solid #e8e8e8;
    border-radius: 16px;

    background: #fff;
    color: #222;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .04);

    transition: all .2s ease;
}

.guide-btn span {
    color: #999;
    font-size: 13px;
    font-weight: 400;
}

.guide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}


/* ================================
   弹窗
================================ */

.guide-modal {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 9999;
}

.guide-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* 背景 */

.guide-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(5px);
}


/* 弹窗主体 */

.guide-box {
    position: relative;

    width: calc(100% - 30px);
    max-width: 560px;
    max-height: 85vh;

    display: flex;
    flex-direction: column;

    background: #fff;
    border-radius: 22px;

    box-shadow: 0 25px 80px rgba(0, 0, 0, .25);

    overflow: hidden;

    animation: guideShow .2s ease;
}

@keyframes guideShow {
    from {
        opacity: 0;
        transform: translateY(15px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* 关闭按钮 */

.guide-close {
    position: absolute;

    right: 15px;
    top: 15px;

    width: 34px;
    height: 34px;

    border: none;
    border-radius: 50%;

    background: #f5f5f5;

    font-size: 24px;
    line-height: 30px;

    color: #777;

    cursor: pointer;

    z-index: 2;
}

.guide-close:hover {
    background: #eee;
}


/* 标题 */

.guide-header {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 25px 25px 20px;

    border-bottom: 1px solid #eee;
}

.guide-logo {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #fff3e6;

    font-size: 25px;
}

.guide-header h2 {
    margin: 0;

    font-size: 19px;
}

.guide-header p {
    margin: 5px 0 0;

    color: #999;
    font-size: 13px;
}


/* 内容 */

.guide-content {
    padding: 22px 25px;

    overflow-y: auto;
}

.guide-content h3 {
    margin: 25px 0 15px;

    font-size: 16px;
}

.guide-content h3:first-of-type {
    margin-top: 20px;
}


/* 提示 */

.guide-tip {
    padding: 14px 16px;

    border-radius: 12px;

    background: #f6f9ff;

    color: #555;

    font-size: 14px;
    line-height: 1.7;
}


/* 步骤 */

.guide-step {
    display: flex;
    gap: 13px;

    margin-bottom: 17px;
}

.guide-step>span {
    width: 28px;
    height: 28px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #111;
    color: #fff;

    font-size: 13px;
    font-weight: 600;
}

.guide-step strong {
    display: block;

    margin-bottom: 4px;

    font-size: 14px;
}

.guide-step p {
    margin: 0;

    color: #888;

    font-size: 13px;
    line-height: 1.6;
}


/* 警告 */

.guide-warning {
    padding: 14px 16px;

    border-radius: 12px;

    background: #fff7ed;
    border: 1px solid #ffe4c7;

    color: #795548;

    font-size: 13px;
    line-height: 1.7;
}

.guide-warning p {
    margin: 5px 0;
}


/* 底部按钮 */

.guide-confirm {
    margin: 0 25px 22px;

    height: 46px;

    border: none;
    border-radius: 12px;

    background: #111;
    color: #fff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
}

.guide-confirm:hover {
    opacity: .9;
}


/* 手机端 */

@media (max-width: 600px) {

    .guide-section {
        margin: 20px 15px;
    }

    .guide-box {
        width: calc(100% - 24px);
        max-height: 88vh;

        border-radius: 18px;
    }

    .guide-header {
        padding: 20px;
    }

    .guide-content {
        padding: 18px 20px;
    }

    .guide-confirm {
        margin-left: 20px;
        margin-right: 20px;
    }

    .guide-header h2 {
        font-size: 17px;
        padding-right: 25px;
    }
}