/* ============ 全局变量 ============ */
:root {
    --bg: #08090a;
    --bg-elevated: #101012;
    --bg-elevated-2: #15151a;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    --text-1: #fafafa;
    --text-2: #a1a1aa;
    --text-3: #71717a;
    --accent: #ff5a00;
    --accent-soft: #ffb38a;
    --accent-2: #7c5cff;
    --safe: #34d399;
    --warn: #fbbf24;

    --font-display: "Microsoft YaHei", "微软雅黑", sans-serif;
    --font-body: "Microsoft YaHei", "微软雅黑", sans-serif;
    --font-mono: "Microsoft YaHei", "微软雅黑", sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text-1);
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-image: radial-gradient(ellipse 90% 60% at 86% 0%, rgba(255, 90, 0, 0.15), transparent 60%), radial-gradient(ellipse 60% 40% at 20% 100%, rgba(124, 92, 255, 0.05), transparent 60%);
    background-attachment: fixed;

}

::selection {
    background: var(--accent);
    color: #000;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

.header,
.header *,
.testPageMain,
.testPageMain *,
.footer,
.footer * {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

.header {
    background-color: rgba(8, 9, 10, 0.65);
    background-repeat: no-repeat;
    background-size: cover;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.testPageMain {
    width: 100%;
    min-height: calc(100vh - 64px);
    padding-top: 64px;
}




/* 新的 */
/* CSS Variables - Dark Mode Theme Colors */
:root {
    --primary-orange: #FF6B00;
    --primary-orange-hover: #E05A00;

    --bg-main: #121212;
    --bg-card: #1E1E1E;
    --bg-table-header: #2A2A2A;

    --text-light: #FFFFFF;
    --text-normal: #D1D5DB;
    --text-muted: #9CA3AF;

    --border-color: #333333;
    --border-light: #444444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* --- Hero --- */
.hero {
    color: var(--text-light);
    text-align: center;
    padding: 144px 20px 80px 20px;
}

.containerTop {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.btn-main-cta {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--text-light);
    padding: 12px 60px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 400;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-main-cta:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
}

/* --- Rewards Section --- */
.rewards-section {
    padding: 0 20px 80px;
}

.rewards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.reward-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    color: var(--text-normal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.reward-card h2 {
    text-align: center;
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.reward-item {
    margin-bottom: 20px;
}

.reward-item h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    gap: 8px;
}

.reward-list li {
    font-size: 14px;
    color: var(--text-normal);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 8px;
}
.reward-list li.bordernone{
   border-bottom: none;
}
.reward-list li.pb12{
  padding-bottom: 12px;
}
.reward-list-item {
    display: flex;
    flex-direction: column;

}

.reward-list-itemp {
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    color: var(--text-muted);
}

.reward-list li span {
    color: var(--primary-orange);
    font-weight: bold;
}

/* ★ 纯橙色发光渐变文字 */
.text-gradient {
    background: linear-gradient(90deg, #FF9A44, #FF6B00, #FF3D00, #FF6B00, #FF9A44);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: shine 3.5s linear infinite;
    font-weight: 900;
    padding: 0 8px;
    letter-spacing: 2px;
    display: inline-block;
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* ★ 新增：奖励规则补充说明样式 */
.reward-note-list {
    margin-top: 15px;
    padding: 12px 16px;
    background-color: rgba(255, 107, 0, 0.05);
    /* 微弱的橙色背景 */
    border-left: 3px solid var(--primary-orange);
    /* 橙色强调边框 */
    border-radius: 4px;
}

.reward-note-list li {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
    padding-left: 14px;
}

.reward-note-list li:last-child {
    margin-bottom: 0;
}

.reward-note-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    background-color: var(--primary-orange);
    border-radius: 50%;
}

/* --- 第四次深度优化：高级动态参与流程 --- */
.process-steps-conwarp {
    position: relative;
    margin-top: 35px;
}

/* 动态流光时间线 */
.process-steps-conwarp::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 20px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-orange) 0%, rgba(255, 107, 0, 0.6) 50%, var(--border-color) 100%);
    background-size: 100% 200%;
    animation: flowLine 3s linear infinite;
    z-index: 1;
    border-radius: 2px;
}

@keyframes flowLine {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 0% -200%;
    }
}

.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    padding: 18px;
    border-radius: 12px;
    background: rgba(30, 30, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:hover {
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.08) 0%, rgba(30, 30, 30, 0.6) 100%);
    border-color: rgba(255, 107, 0, 0.3);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.1);
}

/* 图标容器 */
.step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-main);
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 4px var(--bg-card), 0 0 0px rgba(255, 107, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 0 4px var(--bg-card), 0 0 15px rgba(255, 107, 0, 0.8);
    }

    100% {
        box-shadow: 0 0 0 4px var(--bg-card), 0 0 0px rgba(255, 107, 0, 0.4);
    }
}

.step-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: all 0.3s;
}

.process-step:hover .step-icon {
    background-color: var(--primary-orange);
    color: var(--text-light);
    animation: none;
    box-shadow: 0 0 0 4px var(--bg-card), 0 0 25px rgba(255, 107, 0, 1);
}

/* 最后一个步骤完成态图标 */
.process-step:last-child .step-icon {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FF8F00 100%);
    color: #fff;
    border-color: transparent;
}

.step-content {
    flex: 1;
    padding-top: 2px;
}

.step-content h4 {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-badge {
    font-size: 11px;
    background-color: rgba(255, 107, 0, 0.15);
    color: var(--primary-orange);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: normal;
    border: 1px solid rgba(255, 107, 0, 0.2);
}

/* 预估时间标签 */
.step-time {
    font-size: 11px;
    color: var(--text-muted);
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: normal;
}

.step-content p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    line-break: anywhere;
}

/* 文本高亮 */
.highlight-text {
    color: var(--primary-orange);
    font-weight: 500;
    background: rgba(255, 107, 0, 0.1);
    padding: 1px 5px;
    border-radius: 4px;
    white-space: nowrap;
}

/* --- Rules & Disclaimer --- */
.dark-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    padding-top: 0;
}

.dark-section h2 {
    text-align: center;
    font-size: 28px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.rules-list {
    list-style: decimal;
    color: var(--text-normal);
    font-size: 14px;
}

.rules-list li {
    margin-bottom: 15px;
    line-height: 20px;
}

.rules-list strong {
    color: var(--primary-orange);
}

.rules-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px;
    font-size: 14px;
    background-color: var(--bg-card);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.rules-table th,
.rules-table td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.rules-table th {
    background-color: var(--bg-table-header);
    color: var(--text-light);
    font-weight: bold;
}

.rules-table td {
    color: var(--text-normal);
}

.rules-table .text-danger {
    color: #FF4D4D;
}

/* --- Footer --- */
footer {
    background-color: var(--bg-card);
    color: var(--text-muted);
    padding: 40px 20px 20px;
    font-size: 14px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    color: var(--text-light);
    font-size: 20px;
    font-weight: bold;
}

.footer-logo span {
    color: var(--primary-orange);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons span {
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
}

.social-icons span:hover {
    color: var(--primary-orange);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        display: none;
    }

    .rewards-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
    }

    .rules-table {
        font-size: 12px;
    }

    .rules-table th,
    .rules-table td {
        padding: 8px;
    }

    .process-steps-conwarp::before {
        left: 30px;
    }

    .process-step {
        padding: 12px;
    }

    .step-content h4 {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .step-title-wrap {
        flex-wrap: wrap;
    }
}