:root {
    --primary: #165DFF;
    --secondary: #36CFC9;
    --dark: #1D2129;
    --gray: #86909C;
    --gray-light: #F2F3F5;
    --border: #E5E7EB;
    --gradient: linear-gradient(135deg, #ff171c 0%, #5d3fff 100%);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--dark);
    font-family: "PingFang SC", "Microsoft YaHei", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

.auto-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.voucher-hero {
    position: relative;
    overflow: hidden;
    padding: 144px 0 66px;
    background:
        radial-gradient(circle at 17% 18%, rgba(255, 23, 28, 0.28), transparent 24%),
        radial-gradient(circle at 83% 15%, rgba(93, 63, 255, 0.32), transparent 28%),
        radial-gradient(circle at 50% 86%, rgba(22, 93, 255, 0.22), transparent 36%),
        linear-gradient(135deg, #111827 0%, #1f2a54 48%, #2b185c 100%);
}

.voucher-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 82%);
    pointer-events: none;
}

.voucher-hero::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -180px;
    width: 920px;
    height: 300px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(28px);
    pointer-events: none;
}

.voucher-hero .auto-container {
    position: relative;
    z-index: 1;
}

.hero-content-wrap {
    max-width: 1120px;
    min-height: 560px;
    margin: 0 auto;
    text-align: center;
}

.gpt-art-badge {
    position: relative;
    isolation: isolate;
    width: fit-content;
    min-height: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.92);
    box-shadow:
        0 14px 34px rgba(93, 63, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(18px);
}

.gpt-art-badge::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: -1;
    border-radius: 999px;
    background:
        radial-gradient(circle at 28% 50%, rgba(255, 23, 28, 0.24), transparent 30%),
        radial-gradient(circle at 78% 50%, rgba(93, 63, 255, 0.26), transparent 34%);
    filter: blur(16px);
    opacity: 0.78;
}

.gpt-art-new {
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.16em;
    background: linear-gradient(135deg, #4f46e5 0%, #ef4444 100%);
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.24);
}

.gpt-art-text {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #b7c8ff 52%, #ffb7c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.04em;
    text-shadow:
        0 1px 0 #ffffff,
        0 10px 24px rgba(22, 93, 255, 0.1);
}

.hero-copy {
    max-width: 1040px;
    margin: 0 auto;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.voucher-hero h1 {
    max-width: 980px;
    margin: 0 auto 18px;
    color: #ffffff;
    font-family: "PingFang SC", "Microsoft YaHei", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(42px, 6.2vw, 76px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.06em;
    text-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.voucher-hero h1 span {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #cdd8ff 45%, #ffccd5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.voucher-hero p {
    max-width: 920px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.82);
    font-family: "PingFang SC", "Microsoft YaHei", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(15px, 1.7vw, 18px);
    line-height: 1.85;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.board-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.board-badges {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.board-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    background: #f1f5ff;
}

.board-feature-badge i {
    color: #165DFF;
}

.model-pricing-board {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.pricing-board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0;
    text-align: left;
}

.pricing-board-head h2 {
    margin: 0 0 4px;
    color: #111827;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 900;
}

.pricing-board-head p {
    margin: 0;
    color: #6B7280;
    font-size: 14px;
    line-height: 1.6;
}

.pricing-board-pill {
    flex-shrink: 0;
    padding: 9px 14px;
    border-radius: 999px;
    color: #165DFF;
    font-size: 13px;
    font-weight: 900;
    background: rgba(22, 93, 255, 0.09);
}

.model-price-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.model-price-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 20px;
    text-align: left;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.model-price-card::after {
    content: "";
    position: absolute;
    right: -36px;
    top: -36px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(22, 93, 255, 0.08);
}

.model-price-card.is-hot {
    border-color: rgba(22, 93, 255, 0.34);
    box-shadow: 0 12px 30px rgba(22, 93, 255, 0.1);
}

.model-name {
    position: relative;
    z-index: 1;
    margin-bottom: 6px;
    color: #111827;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.model-tag {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-bottom: 14px;
    padding: 4px 9px;
    border-radius: 999px;
    color: #5d3fff;
    font-size: 12px;
    font-weight: 800;
    background: rgba(93, 63, 255, 0.08);
}

.price-line {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid rgba(229, 231, 235, 0.78);
    color: #4E5969;
    font-size: 13px;
    font-weight: 700;
}

.price-line strong {
    color: #111827;
    font-size: 15px;
    font-weight: 900;
}

.hero-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 168px;
    height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 46%, #ef4444 100%);
    box-shadow:
        0 14px 32px rgba(79, 70, 229, 0.26),
        0 0 0 rgba(239, 68, 68, 0);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease;
}

.hero-primary-btn:hover {
    transform: translateY(-2px) scale(1.035);
    filter: saturate(1.08);
    box-shadow:
        0 18px 40px rgba(79, 70, 229, 0.32),
        0 0 28px rgba(239, 68, 68, 0.2);
}

.hero-primary-btn:active {
    transform: translateY(0) scale(0.99);
}

section {
    padding: 74px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 42px;
}

.section-title h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    font-weight: 900;
}

.section-title p {
    margin: 0;
    color: var(--gray);
    font-size: 17px;
}

.voucher-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.voucher-card {
    position: relative;
    overflow: hidden;
    min-height: 292px;
    padding: 28px;
    border: 1px solid rgba(229, 231, 235, 0.96);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.voucher-card:hover {
    transform: translateY(-6px);
    border-color: rgba(22, 93, 255, 0.24);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.12);
}

.voucher-card.highlight {
    border: 2px solid rgba(22, 93, 255, 0.56);
    background: linear-gradient(180deg, #fff 0%, #F7FAFF 100%);
}

.voucher-card::before {
    content: "";
    position: absolute;
    right: -48px;
    top: -48px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: rgba(22, 93, 255, 0.08);
}

.voucher-tag {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    background: rgba(22, 93, 255, 0.09);
}

.voucher-card.highlight .voucher-tag {
    color: #fff;
    background: var(--gradient);
}

.voucher-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 26px 0 10px;
}

.voucher-price strong {
    font-size: 48px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1px;
}

.voucher-price span {
    color: var(--gray);
    font-weight: 700;
}

.voucher-title {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 900;
}

.voucher-desc {
    min-height: 52px;
    margin: 0 0 24px;
    color: #4E5969;
    line-height: 1.7;
}

.voucher-buy-btn {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    background: var(--gradient);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voucher-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(93, 63, 255, 0.22);
}

.usage-panel {
    border-radius: 26px;
    padding: 34px;
    color: #fff;
    background: linear-gradient(135deg, #0F172A 0%, #1D2B64 50%, #5d3fff 100%);
    box-shadow: 0 22px 50px rgba(29, 43, 100, 0.24);
}

.usage-panel h2 {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 900;
}

.usage-panel p {
    max-width: 780px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.usage-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.usage-address {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 14px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rule-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.rule-item {
    padding: 22px;
    border-radius: 18px;
    background: #F7FAFF;
}

.rule-item i {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 14px;
}

.rule-item h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 900;
}

.rule-item p {
    margin: 0;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

.voucher-modal-mask {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.56);
    backdrop-filter: blur(8px);
}

.voucher-modal-mask.active {
    display: flex;
}

.voucher-modal {
    width: min(440px, 100%);
    padding: 30px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.26);
}

.modal-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #fff;
    font-size: 24px;
    background: var(--gradient);
}

.voucher-modal h3 {
    margin: 18px 0 10px;
    font-size: 24px;
    font-weight: 900;
}

.voucher-modal p {
    margin: 0 0 18px;
    color: #4E5969;
    line-height: 1.8;
}

.selected-voucher {
    padding: 14px 16px;
    margin-bottom: 22px;
    border-radius: 14px;
    color: var(--primary);
    font-weight: 900;
    background: rgba(22, 93, 255, 0.08);
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-actions button,
.modal-actions a {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
}

.modal-cancel {
    border: 1px solid var(--border);
    color: #4E5969;
    background: #fff;
}

.modal-confirm {
    border: 0;
    color: #fff;
    background: var(--gradient);
}

@media (max-width: 900px) {
    .nav-list {
        display: none;
    }

    .topbar-login-right .login-list {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .voucher-hero {
        padding: 64px 0 58px;
    }

    .hero-content-wrap {
        text-align: center;
        min-height: auto;
    }

    .gpt-art-badge {
        margin: 0;
    }

    .board-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .board-badges {
        justify-content: flex-start;
    }

    .hero-copy {
        max-width: 680px;
        margin: 0 auto;
    }

    .voucher-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

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

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

@media (max-width: 640px) {
    .auto-container {
        width: min(100% - 24px, 1200px);
    }

    .header-topbar-list {
        height: 64px;
    }

    .logo img {
        height: 36px;
    }

    .voucher-hero {
        padding: 48px 0 46px;
    }

    .hero-content-wrap {
        min-height: auto;
    }

    .gpt-art-badge {
        gap: 8px;
        padding: 8px 10px;
    }

    .gpt-art-text {
        font-size: 28px;
    }

    .voucher-hero h1 {
        font-size: 34px;
        letter-spacing: -0.04em;
    }

    .voucher-hero p {
        font-size: 15px;
        line-height: 1.75;
    }

    .hero-primary-btn {
        width: 100%;
        max-width: 280px;
    }

    .model-pricing-board {
        margin-top: 28px;
        padding: 14px;
        border-radius: 22px;
    }

    .pricing-board-head {
        padding: 6px 4px 14px;
    }

    .board-badges {
        gap: 8px;
    }

    .board-feature-badge {
        height: 32px;
        padding: 0 10px;
        font-size: 12px;
    }

    .model-price-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 50px 0;
    }

    .voucher-grid,
    .rule-grid {
        grid-template-columns: 1fr;
    }

    .voucher-card {
        min-height: auto;
        padding: 24px;
    }

    .usage-panel {
        padding: 26px;
    }

    .usage-panel h2 {
        font-size: 24px;
    }

    .modal-actions {
        grid-template-columns: 1fr;
    }
}
