/* ============================================
   掌舵者百家乐软件 - 完整样式表
   ============================================ */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

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

/* ============================================
   Header 区域
   ============================================ */

.header {
    background: #ffffff;
    height: 80px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

/* 桌面端布局 */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-download {
    display: none;
}

/* 默认隐藏手机端菜单相关元素 */
.mobile-menu-trigger,
.mobile-dropdown-menu,
.menu-overlay {
    display: none;
}

/* 左侧品牌区域 */
.brand-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.brand-name a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color 0.2s;
}

.brand-name a:hover {
    color: #2563eb;
}

.brand-tagline {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
}

.highlight-year {
    color: #2563eb;
    font-weight: 600;
}

/* 中间导航 */
.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
}

.nav-list a {
    font-size: 15px;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-list a:hover {
    color: #2563eb;
}

/* 桌面端 active 样式 - 蓝色下划线 */
.nav-list > li > a.active,
.nav-list li a.active {
    color: #2563eb !important;
    position: relative;
}

.nav-list > li > a.active::after,
.nav-list li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #2563eb;
    border-radius: 2px;
}

/* 右侧下载按钮 - 桌面端 */
.desktop-download {
    display: block;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-download:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ============================================
   手机端 Header - 隐藏导航，只保留下载按钮
   ============================================ */

@media (max-width: 968px) {
    .header {
        height: auto;
        padding: 0;
    }

    .header-content {
        flex-direction: column;
        height: auto;
        gap: 0;
    }

    /* 第一行：面包屑按钮 + 下载按钮 */
    .header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 16px;
        border-bottom: none;
        width: 100%;
        position: relative;
    }

    /* 隐藏logo和品牌区（底部导航已有） */
    .brand-section {
        display: none !important;
    }

    /* 显示手机端下载按钮 */
    .mobile-download {
        display: block !important;
    }

    .mobile-download .btn-download {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* 隐藏桌面导航 */
    .main-nav {
        display: none !important;
    }

    .desktop-download {
        display: none !important;
    }

    /* ============================================
       手机端面包屑下拉导航栏（仅在手机端显示）
       ============================================ */
    
    /* 显示面包屑按钮 */
    .mobile-menu-trigger {
        display: block;
    }

            .breadcrumb-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        background: linear-gradient(135deg, #2563eb, #1e40af);
        color: #ffffff;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        padding: 8px 14px;
        border-radius: 8px;
        border: none;
        transition: all 0.2s;
        -webkit-tap-highlight-color: transparent;
        box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
    }

    .breadcrumb-btn:hover,
    .breadcrumb-btn:active {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
    }

    .breadcrumb-btn svg {
        width: 22px;
        height: 22px;
        stroke: currentColor;
        stroke-width: 2.5;
    }

    /* 下拉菜单样式 - 侧滑抽屉 */
    .mobile-dropdown-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: #ffffff;
        z-index: 1001;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
        flex-direction: column;
    }

    .mobile-dropdown-menu.active {
        transform: translateX(0);
    }

    /* 菜单头部 */
    .menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #e5e7eb;
        background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
        flex-shrink: 0;
    }

    .menu-title {
        font-size: 18px;
        font-weight: 700;
        color: #ffffff;
    }

    .menu-close {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #ffffff;
        transition: all 0.2s;
        -webkit-tap-highlight-color: transparent;
    }

    .menu-close:hover,
    .menu-close:active {
        background: rgba(255, 255, 255, 0.3);
    }

    .menu-close svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
    }

    /* 菜单导航列表 */
    .menu-nav {
        flex: 1;
        overflow-y: auto;
        padding: 10px 0 80px 0;
    }

    .menu-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .menu-item {
        border-bottom: 1px solid #f3f4f6;
    }

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 20px;
        color: #374151;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.2s;
        -webkit-tap-highlight-color: transparent;
    }

    .menu-link:hover,
    .menu-link:active {
        background: #eff6ff;
        color: #2563eb;
    }

    .menu-link.active {
        background: #eff6ff;
        color: #2563eb;
        border-right: 3px solid #2563eb;
    }

    .menu-icon {
        font-size: 20px;
        width: 24px;
        text-align: center;
    }

    /* 菜单底部CTA */
    .menu-footer {
        padding: 16px 20px;
        border-top: 1px solid #e5e7eb;
        background: #f9fafb;
        flex-shrink: 0;
        margin-bottom: 60px;
    }

    .menu-cta-btn {
        display: block;
        width: 100%;
        padding: 12px;
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
        color: #ffffff;
        text-align: center;
        text-decoration: none;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 600;
        transition: all 0.2s;
    }

    .menu-cta-btn:hover,
    .menu-cta-btn:active {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }

    /* 遮罩层 */
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* 防止菜单打开时背景滚动 */
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 480px) {

    .header-top {
        padding: 8px 12px;
    }
}

/* ============================================
   手机端底部固定导航栏
   ============================================ */

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 968px) {
    /* 页面底部留出空间 */
    body {
        padding-bottom: 56px !important;
    }

    /* 底部导航显示 */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 56px;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
        z-index: 999;
        align-items: stretch;
    }

    .mbn-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        text-decoration: none;
        color: #9ca3af;
        font-size: 10px;
        font-weight: 500;
        transition: color 0.2s;
        position: relative;
        -webkit-tap-highlight-color: transparent;
    }

    .mbn-item svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        stroke: currentColor;
    }

    .mbn-item span {
        line-height: 1;
        white-space: nowrap;
    }

    .mbn-item:hover,
    .mbn-item.mbn-active {
        color: #2563eb;
    }

    /* 当前页顶部蓝色指示线 */
    .mbn-item.mbn-active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 28px;
        height: 2px;
        background: #2563eb;
        border-radius: 0 0 3px 3px;
    }

    /* 中间购买按钮突出 */
    .mbn-center {
        position: relative;
        top: -8px;
    }

    .mbn-icon-wrap {
        width: 44px;
        height: 44px;
        background: #2563eb;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
        margin-bottom: 3px;
        transition: background 0.2s;
    }

    .mbn-center svg {
        stroke: #ffffff !important;
    }

    .mbn-center span {
        color: #2563eb !important;
        font-weight: 600;
    }

    .mbn-center:hover .mbn-icon-wrap,
    .mbn-center.mbn-active .mbn-icon-wrap {
        background: #1d4ed8;
    }

    /* 去掉中间按钮的顶部指示线 */
    .mbn-center::before,
    .mbn-center.mbn-active::before {
        display: none !important;
    }
}

/* ============================================
   CTA 区域
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.cta-section a {
    position: relative;
    z-index: 11;
    pointer-events: auto;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h3 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.cta-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    min-width: 120px;
}

.cta-btn-primary {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .cta-section {
        padding: 32px 20px;
        margin: 0 10px;
    }

    .cta-section h3 {
        font-size: 22px;
    }

    .cta-subtitle {
        font-size: 13px;
    }

    .cta-btn {
        padding: 10px 24px;
        font-size: 14px;
        min-width: 100px;
    }
}

/* ============================================
   Footer 区域
   ============================================ */

.footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 24px 0;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: flex-start;
    text-align: center;
    font-size: 14px;
}

.footer-links a {
    color: #4b5563;
    text-decoration: none;
    margin: 0;
    padding: 0 6px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer-links a:not(:last-child)::after {
    content: "|";
    margin-left: 6px;
    color: #bbb;
}

.footer-links a:hover {
    color: #2563eb;
}

.footer-copyright {
    flex-shrink: 0;
    text-align: right;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

.footer-copyright a {
    color: #2563eb;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer {
        padding: 20px 0;
        margin-top: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 8px 20px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-copyright {
        text-align: center;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        gap: 6px 16px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-copyright {
        font-size: 11px;
    }
}

/* ============================================
   主要内容区域
   ============================================ */

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

.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h2 {
    font-size: 36px;
    color: #1e40af;
    margin-bottom: 10px;
    font-weight: 800;
}

.page-title p {
    font-size: 16px;
    color: #64748b;
}

/* ============================================
   公共组件样式
   ============================================ */

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
    margin: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h3 {
    font-size: 28px;
    color: #1e40af;
    margin-bottom: 8px;
}

.section-header p {
    color: #64748b;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.cta-button.secondary {
    background: #ffffff;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: #eff6ff;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: #3b82f6;
}

/* 购买流程步骤 */
.steps {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    transition: all 0.3s;
}

.step.active {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
}

.step-text {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

/* 产品选择卡片 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #3b82f6;
}

.product-card.popular {
    border-color: #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    padding: 5px 40px;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.product-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.product-name {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1e293b;
    font-weight: 700;
}

.product-desc {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-price {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #3b82f6;
}

.product-original {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 25px;
}

.product-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.product-features li {
    padding: 8px 0;
    color: #475569;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
}

.select-btn {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.select-btn:hover, .select-btn.selected {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* 支付区域 */
.payment-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    display: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.payment-section.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #1e40af;
    font-weight: 700;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.payment-method {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.payment-method.selected {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.payment-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.payment-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1e293b;
}

.payment-desc {
    font-size: 12px;
    color: #64748b;
}

.payment-details {
    background: #f8fafc;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    display: none;
    border: 1px solid #e2e8f0;
}

.payment-details.active {
    display: block;
    animation: fadeIn 0.5s;
}

.qr-container {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.qr-box {
    text-align: center;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.qr-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.qr-text {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.payment-info {
    flex: 1;
    min-width: 300px;
}

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

.info-label {
    color: #64748b;
    font-weight: 500;
}

.info-value {
    color: #3b82f6;
    font-weight: 700;
    font-family: monospace;
}

.copy-btn {
    background: #eff6ff;
    border: 1px solid #3b82f6;
    color: #3b82f6;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 10px;
    transition: all 0.3s;
    font-weight: 500;
}

.copy-btn:hover {
    background: #3b82f6;
    color: #fff;
}

.countdown {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
}

.countdown-text {
    color: #dc2626;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.countdown-time {
    font-size: 32px;
    font-weight: 800;
    color: #dc2626;
    font-family: monospace;
}

.usdt-address {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    word-break: break-all;
    font-family: monospace;
    font-size: 14px;
    color: #3b82f6;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.network-select {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.network-btn {
    padding: 8px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.network-btn.active {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #3b82f6;
}

.card-key-section {
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
    border: 2px solid #3b82f6;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    display: none;
    position: relative;
    overflow: hidden;
}

.card-key-section.active {
    display: block;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(59, 130, 246, 0.2); }
    to { box-shadow: 0 0 40px rgba(59, 130, 246, 0.3); }
}

.success-icon {
    font-size: 60px;
    margin-bottom: 20px;
    color: #10b981;
}

.success-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #1e293b;
    font-weight: 700;
}

.success-desc {
    color: #64748b;
    margin-bottom: 30px;
}

.card-key-box {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card-key-label {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.card-key-value {
    font-size: 24px;
    font-family: 'Courier New', monospace;
    color: #3b82f6;
    letter-spacing: 3px;
    word-break: break-all;
    font-weight: 700;
    user-select: all;
}

.card-key-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #3b82f6;
}

.warning-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    text-align: left;
}

.warning-title {
    color: #92400e;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-list {
    list-style: none;
    color: #78350f;
    font-size: 14px;
    line-height: 1.8;
}

.warning-list li::before {
    content: '•';
    color: #f59e0b;
    margin-right: 10px;
}

.order-check {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.input-group {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 30px auto;
    flex-wrap: wrap;
    justify-content: center;
}

.input-field {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #334155;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.input-field:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
}

.input-field::placeholder {
    color: #94a3b8;
}

.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 9999;
    font-weight: 600;
}

.toast.show {
    transform: translateX(0);
}

/* ============================================
   USDT支付专用样式
   ============================================ */

.usdt-payment-box {
    background: #f8fafc;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e2e8f0;
}

.usdt-payment-box .network-select {
    margin-bottom: 30px;
}

.usdt-payment-box .qr-container {
    align-items: flex-start;
}

.usdt-payment-box .payment-info {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.usdt-payment-box .info-row {
    padding: 12px 0;
}

.usdt-payment-box .warning-box {
    background: #fffbeb;
    border-color: #fde68a;
}

.usdt-payment-box .warning-list li {
    color: #92400e;
}

.usdt-payment-box .countdown {
    background: #fef2f2;
    border-color: #fecaca;
}

.usdt-payment-box .countdown-text {
    color: #dc2626;
}

/* ============================================
   响应式设计
   ============================================ */

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-title h2 {
        font-size: 26px;
    }

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

    .payment-section, .order-check {
        padding: 30px 20px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .qr-container {
        flex-direction: column;
    }

    .step {
        padding: 10px 15px;
    }

    .step-text {
        font-size: 12px;
    }

    .usdt-payment-box {
        padding: 20px;
    }

    .usdt-payment-box .qr-container {
        flex-direction: column;
    }

    .usdt-payment-box .payment-info {
        min-width: unset;
        width: 100%;
    }
}