﻿/* ========== 基础重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

img {
    max-width: 100%;
    display: block;
}

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    color: #4f46e5;
    background: #eef2ff;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.section-head h2 {
    font-size: 34px;
    color: #111827;
    margin-bottom: 12px;
}

.section-head p {
    color: #6b7280;
    font-size: 16px;
}

/* ========== 导航 ========== */
.header {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 999;
    border-bottom: 1px solid #eef0f3;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
}

    .logo img {
        height: 50px;
        width: auto;
        object-fit: contain;
    }

.nav {
    display: flex;
    gap: 34px;
}

    .nav a {
        font-size: 15px;
        color: #374151;
        font-weight: 500;
        transition: color 0.25s;
    }

        .nav a:hover {
            color: #4f46e5;
        }

.nav-btn-group {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s;
}

.btn-primary {
    background: #4f46e5;
    color: #ffffff;
}

    .btn-primary:hover {
        background: #4338ca;
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(79, 70, 229, 0.25);
    }

.btn-ghost {
    background: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
}

    .btn-ghost:hover {
        background: #f9fafb;
        border-color: #d1d5db;
    }

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-block {
    width: 100%;
}

/* ========== 首屏 Hero 白色新版式 ========== */
.hero {
    background: #ffffff;
    padding: 96px 0 80px;
    overflow: hidden;
}

.hero-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef2ff;
    color: #4f46e5;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 22px;
}

    .hero-badge i {
        width: 7px;
        height: 7px;
        background: #4f46e5;
        border-radius: 50%;
        display: inline-block;
    }

.hero-left h1 {
    font-size: 52px;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

    .hero-left h1 em {
        font-style: normal;
        color: #4f46e5;
    }

.hero-desc {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 36px;
}

.hero-stat strong {
    display: block;
    font-size: 28px;
    color: #111827;
    font-weight: 700;
}

.hero-stat span {
    font-size: 14px;
    color: #6b7280;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.hero-tip {
    font-size: 13px;
    color: #9ca3af;
}

/* 右侧卡片 */
.hero-right {
    position: relative;
    height: 520px;
}

.hero-card {
    position: absolute;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
    border: 1px solid #eef0f3;
    overflow: hidden;
}

.hero-card-blue {
    width: 340px;
    top: 20px;
    right: 40px;
    z-index: 3;
}

.hero-card-purple {
    width: 300px;
    bottom: 10px;
    right: 0;
    z-index: 2;
}

.hero-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    border-bottom: 1px solid #f3f4f6;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-blue {
    background: #3b82f6;
}

.dot-purple {
    background: #a855f7;
}

.hero-card-body {
    padding: 20px;
}

.hero-input {
    margin-bottom: 14px;
}

    .hero-input label {
        display: block;
        font-size: 13px;
        color: #6b7280;
        margin-bottom: 8px;
    }

    .hero-input input {
        width: 100%;
        padding: 12px 14px;
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        font-size: 14px;
        color: #111827;
        outline: none;
    }

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed #eef0f3;
}

    .order-item:last-child {
        border-bottom: none;
    }

.order-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .order-user i {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #a855f7, #6366f1);
        display: inline-block;
    }

    .order-user strong {
        display: block;
        font-size: 14px;
        color: #111827;
    }

    .order-user span {
        font-size: 12px;
        color: #6b7280;
    }

.order-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
}

/* ========== 平台优势 ========== */
.features {
    background: #fafafa;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    padding: 34px 28px;
    border-radius: 20px;
    border: 1px solid #eef0f3;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(17, 24, 39, 0.08);
    }

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #ffffff;
}

    .feature-icon svg {
        width: 26px;
        height: 26px;
    }

    .feature-icon.blue {
        background: linear-gradient(135deg, #3b82f6, #2563eb);
    }

    .feature-icon.purple {
        background: linear-gradient(135deg, #a855f7, #6366f1);
    }

.feature-card h3 {
    font-size: 19px;
    color: #111827;
    margin-bottom: 10px;
}

.feature-card p {
    color: #4b5563;
    font-size: 14px;
}

/* ========== 任务类型 ========== */
.scene-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.scene-card {
    background: #ffffff;
    padding: 34px 28px;
    border-radius: 20px;
    border: 1px solid #eef0f3;
    text-align: center;
    transition: all 0.3s;
}

    .scene-card:hover {
        border-color: #c7d2fe;
        background: #fafbff;
    }

.scene-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .scene-icon svg {
        width: 30px;
        height: 30px;
    }

.scene-card h3 {
    font-size: 19px;
    color: #111827;
    margin-bottom: 10px;
}

.scene-card p {
    color: #4b5563;
    font-size: 14px;
}

/* ========== 交易流程 ========== */
.flow {
    background: #fafafa;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.flow-item {
    background: #ffffff;
    padding: 34px 28px;
    border-radius: 20px;
    border: 1px solid #eef0f3;
    text-align: center;
}

.flow-step {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.flow-item h3 {
    font-size: 19px;
    color: #111827;
    margin-bottom: 10px;
}

.flow-item p {
    color: #4b5563;
    font-size: 14px;
}

/* ========== 热门游戏 ========== */
.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

    .game-tags span {
        padding: 12px 24px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 999px;
        color: #374151;
        font-size: 15px;
        transition: all 0.25s;
        cursor: default;
    }

        .game-tags span:hover {
            background: #eef2ff;
            color: #4f46e5;
            border-color: #c7d2fe;
        }

/* ========== 底部 Footer ========== */
.footer {
    background: #ffffff;
    border-top: 1px solid #eef0f3;
    padding: 70px 0 28px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    margin-bottom: 34px;
}

.footer-brand p {
    margin-top: 14px;
    color: #6b7280;
    font-size: 14px;
    max-width: 340px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 16px;
    color: #111827;
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    margin-bottom: 12px;
    color: #4b5563;
    font-size: 14px;
    transition: color 0.25s;
}

    .footer-col a:hover {
        color: #4f46e5;
    }

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin-bottom: 28px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.copyright {
    font-size: 14px;
    color: #6b7280;
}

.footer-extra {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

    .footer-extra span {
        font-size: 13px;
        color: #6b7280;
    }

.footer-warning {
    color: #ef4444 !important;
}


/* ========== 白色底部 Footer ========== */
.footer {
    background: #ffffff;
    color: #333;
    padding: 0;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 24px;
}

/* 五列主区域 */
.footer-row {
    display: grid;
    grid-template-columns: 1.8fr repeat(4,1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: #555;
    font-size: 14px;
    line-height: 2;
    text-decoration: none;
}

    .footer-col a:hover {
        color: #2563eb;
    }

/* 品牌介绍 */
.footer-logo img {
    height: 32px;
    margin-bottom: 12px;
}

.brand-col p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* 联系我们 */
.footer-email {
    color: #2563eb;
    margin-bottom: 12px;
}

.footer-qr-group {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

.qr-item {
    text-align: center;
}

    .qr-item img {
        width: 76px;
        height: 76px;
        border: 1px solid #eee;
        border-radius: 6px;
        padding: 4px;
        background: #fff;
        display: block;
        margin-bottom: 6px;
    }

    .qr-item span {
        font-size: 12px;
        color: #666;
    }

/* 友情链接 */
.footer-link-row {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 16px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.fl-title {
    font-weight: 600;
    font-size: 14px;
    color: #222;
    flex-shrink: 0;
}

.fl-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

    .fl-list a {
        font-size: 13px;
        color: #555;
        text-decoration: none;
    }

        .fl-list a:hover {
            color: #2563eb;
        }


/* 版权行 */
.footer-copyright-row {
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #666;
}

/* 移动端 */
@media(max-width:900px) {
    .footer-row {
        grid-template-columns: 1fr 1fr;
    }

    .footer-copyright-row {
        flex-direction: column;
        text-align: center;
    }
}

@media(max-width:560px) {
    .footer-row {
        grid-template-columns: 1fr;
    }

    .footer-tech-info {
        line-height: 1.6;
    }
}




/* ========== 响应式 ========== */
@media (max-width: 980px) {
    .hero-wrap {
        grid-template-columns: 1fr;
    }

    .hero-right {
        height: auto;
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .hero-card-blue,
    .hero-card-purple {
        position: static;
        width: 320px;
    }

    .feature-grid,
    .scene-grid,
    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-left h1 {
        font-size: 40px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-right {
        flex-direction: column;
        align-items: center;
    }

    .hero-card-blue,
    .hero-card-purple {
        width: 100%;
    }

    .section {
        padding: 60px 0;
    }

    .section-head h2 {
        font-size: 28px;
    }

    .feature-grid,
    .scene-grid,
    .flow-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ========== 招募页面样式 ========== */
.invite-section {
    padding: 60px 0;
}

.section-desc {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
    color: #555;
}

.recruit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.recruit-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    transition: 0.2s;
}

    .recruit-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .recruit-card h3 {
        margin-bottom: 12px;
        font-size: 18px;
    }

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin: 40px 0;
}

.step-item {
    text-align: center;
    padding: 20px;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-weight: bold;
    font-size: 20px;
}

.warn-block {
    background: #fff1f1;
    border-radius: 12px;
    padding: 20px;
    margin-top: 40px;
    border: 1px solid #fecdd3;
}

.action-box {
    text-align: center;
    margin: 48px 0;
    padding: 36px;
    background: #f7f8fa;
    border-radius: 16px;
}

/* ========== 公告列表样式 ========== */

/*===== 账号市场页面样式 追加到style.css =====*/
.account-section {
    padding: 60px 0;
}

.filter-bar {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 32px;
    padding: 20px;
    border-radius: 16px;
    background: #f7f8fa;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .filter-item .layui-input, .filter-item .layui-select {
        width: 140px;
    }

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 24px;
}

.account-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
    transition: 0.2s;
}

    .account-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

/* 新增图片区域 */
.card-img-box {
    width: 100%;
    height: 160px;
    background: #f1f5f9;
    overflow: hidden;
}

    .card-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.card-row {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    color: var(--text-2);
}

.price {
    color: #dc2626;
    font-weight: bold;
    font-size: 20px;
}

.card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
