:root {
    --bg-primary: #0a0d12;
    --bg-secondary: #111720;
    --card-bg: rgba(20, 28, 40, 0.75);
    --card-border: rgba(0, 152, 234, 0.22);
    --primary-blue: #0098ea;
    --primary-hover: #0081c7;
    --ton-blue: #0088cc;
    --accent-gold: #ffaa01;
    --accent-green: #00e6a8;
    --accent-red: #ff5252;
    --text-main: #f0f4f8;
    --text-muted: #8b9eb3;
    --text-dim: #546577;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    overflow-x: hidden;
    font-size: 14px;
    line-height: 1.5;
}

.ticker-wrap,
.ticker-bar {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--card-border);
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
}

.ticker-label {
    background: var(--primary-blue);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 16px;
    margin-right: 8px;
    z-index: 2;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 35s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    margin-right: 28px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ticker-item strong {
    color: var(--text-main);
}
.val-up {
    color: var(--accent-green);
    font-weight: 600;
}

.val-down {
    color: var(--accent-red);
    font-weight: 600;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(10, 13, 18, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
    color: #fff;
}
.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: 32px 32px;
    /* background: linear-gradient(135deg, #0098ea, #00e6a8); */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 0 12px rgba(0, 152, 234, 0.6);
}
.nav-links {
    display: flex;
    gap: 22px;
    list-style: none;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.network-status {
    background: rgba(0, 230, 168, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(0, 230, 168, 0.3);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}
.pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }
}
.btn-wallet {
    background: linear-gradient(135deg, #0098ea, #0077c2);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 152, 234, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-section {
    background: radial-gradient(circle at 50% 15%, rgba(0, 152, 234, 0.18) 0%, rgba(10, 13, 18, 1) 75%);
    padding: 45px 30px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}
.hero-banner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    background: rgba(0, 152, 234, 0.12);
    border: 1px solid var(--primary-blue);
    border-radius: 50px;
    font-size: 12px;
    color: #e3f2fd;
    font-weight: 600;
    margin-bottom: 14px;
}
.hero-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    text-shadow: 1px 1px black;
    color: white;
}
.hero-subtitle {
    font-size: 17px;
    color: #9bb2c9;
    margin: 12px auto 24px;
    max-width: 720px;
}

.btn-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-dedust {
    background: #191b22;
    border: 1px solid rgba(255, 170, 1, 0.4);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 170, 1, 0.15);
}
.btn-dedust:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}
.btn-bot {
    background: #191b22;
    border: 1px solid rgba(68, 163, 221, 0.4);
    color: #fff;
    box-shadow: 0 4px 16px rgba(68, 163, 221, 0.15);
}
.btn-bot:hover {
    border-color: #44a3dd;
    transform: translateY(-2px);
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}
.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}
.stat-label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}
.stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 6px 0;
    font-family: "Courier New", monospace;
}
.stat-sub {
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.swap-card {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.swap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}
.swap-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
}
.swap-box-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.swap-box-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.swap-input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    width: 60%;
    outline: none;
    font-family: monospace;
}
.swap-token-badge {
    background: #1b2636;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.swap-btn {
    background: linear-gradient(135deg, #ffaa01, #e07d00);
    border: none;
    padding: 14px;
    border-radius: 12px;
    color: #000;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    margin-top: 6px;
    box-shadow: 0 4px 18px rgba(255, 170, 1, 0.3);
    text-transform: uppercase;
}

.terminal-card {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.table-responsive {
    overflow-x: auto;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
    font-family: "Courier New", monospace;
}
.data-table th {
    color: var(--text-muted);
    padding: 8px 12px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-transform: uppercase;
    font-size: 11px;
}
.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #d1dbe4;
}
.data-table tr:hover {
    background: rgba(0, 152, 234, 0.05);
}
.tag-buy {
    background: rgba(0, 230, 168, 0.15);
    color: var(--accent-green);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}
.tag-sell {
    background: rgba(255, 82, 82, 0.15);
    color: var(--accent-red);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.features-section {
    background: linear-gradient(180deg, #0a0d12 0%, #0d1e28 100%);
    padding: 50px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.section-title-wrap {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 35px;
}
.section-title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}
.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 24px;
    backdrop-filter: blur(14px);
    transition: all 0.3s;
    position: relative;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    background: rgba(0, 152, 234, 0.06);
}
.feature-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 152, 234, 0.2);
    border: 1px solid rgba(0, 152, 234, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary-blue);
    font-size: 20px;
}
.feature-title {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.feature-desc {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.feature-metric-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    color: #00e6a8;
    font-weight: 600;
    border: 1px solid rgba(0, 230, 168, 0.2);
}

.info-grid-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.dense-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 24px;
}
.dense-panel-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}
.tokenomics-bar {
    display: flex;
    height: 18px;
    border-radius: 6px;
    overflow: hidden;
    margin: 15px 0 20px;
}
.bar-slice-1 {
    width: 55%;
    background: #0098ea;
}
.bar-slice-2 {
    width: 15%;
    background: #ffaa01;
}
.bar-slice-3 {
    width: 22%;
    background: #00e6a8;
}
.bar-slice-4 {
    width: 8%;
    background: #9c27b0;
}
.tokenomics-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-size: 12px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}
.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.timeline-item {
    display: flex;
    gap: 14px;
    position: relative;
}
.timeline-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}
.timeline-badge.done {
    background: var(--accent-green);
    color: #000;
}
.timeline-content h5 {
    font-size: 13px;
    color: #fff;
}
.timeline-content p {
    font-size: 12px;
    color: var(--text-muted);
}

.mega-footer {
    background: #06090e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px 20px;
    margin-top: 40px;
}
.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.footer-col p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #fff;
}
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    .info-grid-section {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card.reward-card {
    position: relative;
    border: 1px solid rgba(255, 170, 1, 0.45);
    background: linear-gradient(180deg, rgba(255, 170, 1, 0.08) 0%, rgba(20, 27, 38, 0.95) 100%);
    box-shadow: 0 10px 30px rgba(255, 170, 1, 0.08);
    overflow: hidden;
}

.feature-card.reward-card::before {
    content: "SPECIAL INCENTIVE";
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--accent-gold);
    background: rgba(255, 170, 1, 0.12);
    border: 1px solid rgba(255, 170, 1, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
}

.feature-card.reward-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 14px 40px rgba(255, 170, 1, 0.2);
    transform: translateY(-4px);
}

.feature-card.reward-card .feature-icon-badge {
    border-color: var(--accent-gold);
    background: rgba(255, 170, 1, 0.15);
    box-shadow: 0 0 15px rgba(255, 170, 1, 0.25);
}

.feature-card.reward-card .feature-title {
    color: var(--accent-gold);
}

.feature-card.reward-card .feature-metric-badge {
    background: rgba(255, 170, 1, 0.12);
    border-color: rgba(255, 170, 1, 0.4);
    color: var(--accent-gold);
    font-weight: 700;
}

.swap-info-row {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 4px;
    font-family: "JetBrains Mono", monospace;
}

.swap-info-row strong {
    color: var(--text-main);
}

.swap-btn {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
}

.swap-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(255, 170, 1, 0.35);
    transform: translateY(-1px);
}

.swap-btn:active {
    transform: translateY(1px);
}

.swap-input:focus {
    outline: none;
}

@keyframes highlightRow {
    0% {
        background-color: rgba(0, 152, 234, 0.28);
    }
    100% {
        background-color: transparent;
    }
}

.data-table tbody tr {
    animation: highlightRow 1.4s ease-out;
}

.data-table td .tag-ton {
    color: var(--ton-blue);
    font-weight: 700;
}

@media (max-width: 768px) {
    .data-table th,
    .data-table td {
        padding: 8px 10px;
        font-size: 11px;
    }
    .swap-card {
        padding: 18px;
    }
}

.btn-action svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.btn-action.btn-dedust svg {
    width: auto;
    max-width: 85px;
    height: 20px;
}

.btn-action.btn-dedust {
    color: #ffaa01;
}

.btn-action.btn-bot {
    color: #44a3dd;
}

.btn-action span,
.btn-action {
    line-height: 1;
}

@media (max-width: 500px) {
    .swap-card .swap-header strong {
        font-size: 11px !important;
    }
    .swap-card .swap-header span {
        font-size: 9px !important;
    }
    .swap-card {
        padding: 10px !important;
    }

    .table-container .table-header strong,
    .table-container strong,
    .dashboard-container strong {
        font-size: 11px !important;
    }

    .data-table th,
    .data-table td {
        padding: 6px 4px !important;
        font-size: 10px !important;
    }
}