:root {
    --primary: #00f2ff;
    --secondary: #7000ff;
    --accent: #ff007a;
    --bg-dark: #070709;
    --card-bg: rgba(20, 20, 25, 0.6);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #f0f0f5;
    --text-dim: #9494a0;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* 
*:not(input):not(textarea) {
    user-select: none; 
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}


/* Typography Overrides */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
}

/* Glass Navigation */
.glass-nav {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1300px;
    padding: 12px 35px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary));
}

.logo span {
    color: var(--primary);
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: 0.3s;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 242, 255, 0.4);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 8% 100px;
    gap: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(112, 0, 255, 0.1), transparent 40%);
}

.badge-new {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 25px;
}

.gradient-text {
    font-size: 84px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    background: linear-gradient(to bottom right, #fff 40%, rgba(255, 255, 255, 0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

.hero-subtext {
    font-size: 20px;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 45px;
}

.btn-glow {
    background: #fff;
    color: #000;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
    transition: 0.4s;
}

.btn-glow:hover {
    transform: translateY(-5px);
    background: var(--primary);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: #fff;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.trust-line {
    margin-top: 60px;
    color: var(--text-dim);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-line i {
    font-size: 18px;
    color: #fff;
    opacity: 0.6;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
}

.visual-container {
    position: relative;
    z-index: 1;
}

.floating-img {
    width: 100%;
    max-width: 600px;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.glow-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.2), transparent 70%);
    z-index: -1;
    filter: blur(100px);
}

/* 移除 float 动画定义 */

/* Section Common */
.section {
    padding: 120px 8%;
}

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

.section-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-dim);
    font-size: 18px;
}

/* Campaign Grid */
.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 35px;
    padding: 45px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.glass:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 255, 0.1);
}

.card-tag {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-tag.hot {
    background: var(--accent);
    color: #fff;
}

.card-tag.new {
    background: var(--primary);
    color: #000;
}

.card-tag.trending {
    background: var(--secondary);
    color: #fff;
}

.card-icon {
    width: 70px;
    margin-right: 20px;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.card-title-area h3 {
    font-size: 24px;
}

.status {
    font-size: 13px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
}

.pulse {
    /* 移除动画以提升性能 */
}

/* 移除 pulse 动画定义 */

.reward-box {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.reward-box label {
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
}

.reward-box .val {
    font-size: 26px;
    font-weight: 800;
}

.reward-box span {
    color: var(--primary);
}

.participation-bar {
    margin-bottom: 30px;
}

.bar-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--text-dim);
}

.bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.req-list {
    list-style: none;
    margin-bottom: 35px;
}

.req-list li {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
}

.req-list i {
    color: var(--primary);
    font-size: 12px;
}

.btn-action {
    width: 100%;
    padding: 16px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.btn-action.secondary {
    background: rgba(0, 242, 255, 0.05);
}

/* Feature Layout */
.feature-layout {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.feature-card-large {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 400px;
}

.feature-card-large.reverse {
    flex-direction: row-reverse;
}

.feat-content {
    flex: 1.2;
}

.feat-visual {
    flex: 0.8;
}

.feat-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feat-content h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.feat-bullets {
    list-style: none;
    margin-top: 30px;
}

.feat-bullets li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.feat-bullets i {
    color: var(--primary);
}

/* Code Window */
.code-window {
    background: #000;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.window-header {
    background: #111;
    padding: 10px 15px;
    display: flex;
    gap: 6px;
}

.window-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.code-content {
    padding: 25px;
    font-family: monospace;
    font-size: 14px;
    color: #00ff88;
}

/* Guard Orb */
.guard-orb {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* 移除扫描线定义 */

/* Tutorials */
.steps-layout {
    display: flex;
    gap: 60px;
    margin-top: 50px;
}

.step-stack {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-pill {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.step-pill:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.num {
    font-size: 48px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(0, 242, 255, 0.15);
}

.txt h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary);
}

.cta-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px;
}

.btn-giant {
    width: 100%;
    margin-top: 40px;
    padding: 25px;
    border-radius: 20px;
    background: var(--primary);
    border: none;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.btn-giant:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px var(--primary);
}

/* Footer */
.footer {
    padding: 100px 8% 50px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand p {
    margin-top: 20px;
    color: var(--text-dim);
}

.footer-links h4 {
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: var(--text-dim);
}

/* Responsive */
@media (max-width: 1024px) {

    .feature-card-large,
    .feature-card-large.reverse {
        flex-direction: column;
        text-align: center;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 180px;
    }

    .hero-subtext {
        margin: 0 auto 40px;
    }

    .hero-btns,
    .trust-line {
        justify-content: center;
    }

    .steps-layout {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .gradient-text {
        font-size: 64px;
    }
}

/* CoinGlass-Style Dashboard */
.glass-dashboard-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
}

/* Header & Ticker */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.market-overview {
    display: flex;
    gap: 30px;
}

.metric-tiny {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.metric-tiny .label {
    color: var(--text-dim);
    margin-bottom: 2px;
}

.metric-tiny .val {
    font-weight: 700;
}

.metric-tiny .val.up {
    color: #00ff88;
}

.metric-tiny .val.down {
    color: #ff3c00;
}

.metric-tiny .val.neutral {
    color: #ccc;
}

.dashboard-search {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 5px 15px;
    border: 1px solid var(--glass-border);
}

.dashboard-search input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px;
    outline: none;
    width: 200px;
}

.btn-primary-small {
    background: var(--primary);
    border: none;
    border-radius: 4px;
    padding: 6px 15px;
    font-weight: 700;
    cursor: pointer;
    color: #000;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.data-card {
    background: #1a1a1f;
    /* Dark card background */
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-head h4 {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 500;
}

.card-badge {
    font-size: 12px;
    font-weight: 700;
}

.card-badge.red {
    color: #ff3c00;
}

.card-badge.green {
    color: #00ff88;
}

.big-number {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
    font-family: var(--font-heading);
}

.mini-chart {
    height: 40px;
    opacity: 0.8;
}

.sparkline.up {
    color: #00ff88;
}

.sparkline.down {
    color: #ff3c00;
}

/* Long/Short Card */
.long-short-card {
    grid-column: span 1;
}

.ls-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 5px;
    font-weight: 700;
}

.long-val {
    color: #00ff88;
}

.short-val {
    color: #ff3c00;
}

.progress-bar-stacked {
    height: 8px;
    background: #333;
    border-radius: 4px;
    display: flex;
    overflow: hidden;
    margin-bottom: 20px;
}

.bar-segment.long {
    background: #00ff88;
}

.bar-segment.short {
    background: #ff3c00;
}

.ls-exchange-list .ls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 10px;
    color: #ccc;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ex-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

/* List Card */
.list-card {
    grid-column: span 1;
}

.rank-list {
    list-style: none;
}

.rank-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

.rank-list .rank {
    width: 20px;
    color: var(--text-dim);
    font-weight: 700;
}

.rank-list .symbol {
    flex: 1;
    font-weight: 600;
}

.rank-list .change.green {
    color: #00ff88;
}

/* Main Chart Section */
.main-chart-section {
    background: #1a1a1f;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    height: 600px;
    display: flex;
    flex-direction: column;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chart-header h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-controls {
    display: flex;
    gap: 10px;
}

.btn-pill {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-dim);
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.btn-pill.active {
    background: var(--primary);
    color: #000;
}

.chart-container-large {
    flex: 1;
    width: 100%;
    min-height: 0;
    /* Flexbox fix */
}

/* Responsive Dashboard */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
    }

    .market-overview {
        flex-wrap: wrap;
        width: 100%;
        gap: 15px;
    }

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