﻿/* ========================
   GLOBAL STYLES
   ======================== */

html {
    overflow-y: scroll;
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFA500;
    --secondary-color: #1a1a1a;
    --accent-color: #FF6B35;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --bg-dark: #0f0f0f;
    --bg-light: #1a1a1a;
    --border-color: #333333;
    --success-color: #00D084;
    --warning-color: #FFB800;
    --error-color: #FF6B6B;
    --glow: 0 0 20px rgba(255, 165, 0, 0.5);
    --font-ui: "Segoe UI Variable Text", "Segoe UI", "Trebuchet MS", Tahoma, Arial, sans-serif;
    --font-data: "Cascadia Mono", Consolas, "SFMono-Regular", "Liberation Mono", Menlo, monospace;
}

body {
    font-family: var(--font-ui);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeIn 1s ease-in;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font: inherit;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================
   TICKER BAR (injected by ticker.js)
   ======================== */
@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

#ticker-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background: linear-gradient(90deg, #0d0d0d 0%, #1a1200 50%, #0d0d0d 100%);
    border-bottom: 1px solid rgba(243, 144, 4, 0.25);
    overflow: hidden;
    height: 28px;
    display: flex;
    align-items: center;
}

#ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
    font-size: 0.8rem;
    font-family: var(--font-ui);
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    color: #ccc;
}

.tick-item { margin-right: 40px; }
.tick-sep  { margin-right: 40px; opacity: 0.5; }

/* ========================
   GTRANSLATE — shrink & anchor next to logo
   ======================== */
.gtranslate_wrapper {
    flex-shrink: 0;
    margin-left: 10px;
    display: flex;
    align-items: center;
}
.gt_float_switcher {
    position: fixed !important;
    top: 11px !important;
    left: 25px !important;
    bottom: auto !important;
    transform: scale(0.7) !important;
    transform-origin: left top !important;
    background: rgba(0,0,0,0.6) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    padding: 2px 6px !important;
    z-index: 1100 !important;
}

/* ========================
   NAVBAR
   ======================== */

.navbar {
    position: fixed;
    top: 28px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1002;
    padding: 1rem 0;
    font-size: 16px;
    box-shadow: var(--glow);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.logo {
    flex-shrink: 0;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}

.logo img {
    width: 55px;
    height: 55px;
    display: block;
    transition: transform 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    flex-wrap: wrap;
    font-size: 1rem;
    margin: 0 auto;
    justify-content: center;
    flex: 1;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.docs-grid-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.docs-intro-card,
.docs-checklist-card,
.trust-hero-card {
    background: linear-gradient(180deg, rgba(255, 165, 0, 0.09), rgba(255, 165, 0, 0.03));
    border: 1px solid rgba(255, 165, 0, 0.18);
}

.docs-note {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 1rem;
}

.docs-link-row {
    margin-top: 1.5rem;
}

.invariant-grid,
.trust-claims-grid,
.trust-reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.invariant-grid--quad,
.docs-grid--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.invariant-card,
.trust-claim-card,
.trust-reference-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.1rem;
}

.trust-reference-card {
    display: block;
    text-decoration: none;
    color: var(--text-light);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.trust-reference-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 165, 0, 0.32);
    background: rgba(255, 165, 0, 0.06);
}

.invariant-card h3,
.trust-claim-card h3,
.trust-reference-card strong {
    margin-bottom: 0.45rem;
}

.invariant-card p,
.trust-claim-card p,
.trust-reference-card p {
    color: rgba(255, 255, 255, 0.76);
}

.invariant-tag,
.trust-reference-label {
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 165, 0, 0.14);
    color: var(--primary-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.docs-checklist {
    margin-top: 1rem;
}

.trust-hero-card {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
}

.trust-status-list {
    min-width: 250px;
    display: grid;
    gap: 0.8rem;
}

.trust-status-list div {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.8rem 0.95rem;
}

.trust-status-list span {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.22rem;
}

.trust-status-list strong {
    color: #fff;
}

.address-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.address-panel {
    background: linear-gradient(180deg, rgba(243, 144, 4, 0.08), rgba(243, 144, 4, 0.02));
    border: 1px solid rgba(243, 144, 4, 0.18);
    border-radius: 12px;
    padding: 1rem;
}

.address-panel-header h5 {
    margin: 0;
    font-size: 1.05rem;
    color: #fff;
}

.address-panel-header p {
    margin: 0.2rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.address-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1rem;
}

.address-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.8rem;
}

.address-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}

.address-name {
    font-weight: 700;
    color: #fff;
}

.address-state {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #F39004;
}

.address-value-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.address-value {
    flex: 1;
    font-family: var(--font-data);
    font-size: 0.9rem;
    line-height: 1.45;
    color: #f7f7f7;
    word-break: break-all;
}

.address-value.copyable {
    cursor: pointer;
}

.address-value.copyable:hover {
    color: #F39004;
}

.address-value.unpublished {
    color: rgba(255, 255, 255, 0.58);
    font-style: italic;
}

.address-btn {
    border: 1px solid rgba(243, 144, 4, 0.28);
    background: rgba(243, 144, 4, 0.08);
    color: #fff;
    border-radius: 999px;
    padding: 0.42rem 0.72rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.address-btn.secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.address-status {
    min-height: 1.25rem;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: #F39004;
}

@media (max-width: 900px) {
    .trust-hero-card {
        flex-direction: column;
    }

    .trust-status-list {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 720px) {
    .address-row-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================
   HERO SECTION
   ======================== */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.1) 0%, rgba(26, 26, 26, 0.1) 50%, rgba(45, 24, 16, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    right: 5%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

/* Hero row: side cards flanking hero-content */
.hero-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1320px;
    margin: 0 auto;
}

.hero-row .hero-title-small {
    flex: 1 1 auto;
    max-width: 900px;
}

.hero-content > .hero-title,
.hero-content > .hero-subtitle,
.hero-content > .hero-stats,
.hero-content > .hero-buttons,
.hero-content > .lite-note {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-side-card {
    flex: 0 0 auto;
    min-width: 80px;
    background: rgba(255, 165, 0, 0.15);
    border: 3px solid red;
    border-radius: 10px;
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.hero-side-card:hover {
    background: rgba(255, 165, 0, 0.12);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

.side-card-icon {
    font-size: 1.8rem;
}

.side-card-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* hide side cards on mobile only */

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 165, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title-small {
    font-size: 1.95rem;
    line-height: 1.32;
    margin-top: 1rem;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 1;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.08) 0%, rgba(255, 107, 53, 0.08) 100%);
    border: 1px solid rgba(255, 165, 0, 0.35);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.15);
    text-wrap: balance;
}

.hero-copy-line {
    display: block;
}

.hero-copy-line + .hero-copy-line {
    margin-top: 0.28rem;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #aaaaaa;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.stat {
    background: rgba(255, 165, 0, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat:hover {
    background: rgba(255, 165, 0, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--font-ui);
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.9rem;
    color: #888888;
    margin-top: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.vlock-small-btn {
    padding: 4px 12px !important;
    font-size: 0.85rem !important;
    border-radius: 16px !important;
    min-width: 40px !important;
    margin-right: 4px !important;
    margin-bottom: 4px !important;
    box-shadow: none !important;
}

.trade-terminal-card,
.operation-terminal-card {
    padding: 0;
    overflow: hidden;
}

.trade-terminal-toggle {
    display: grid;
}

.trade-terminal-toggle summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    color: #F39004;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(19, 23, 30, 0.96), rgba(12, 15, 20, 0.98));
}

.trade-terminal-toggle summary::-webkit-details-marker {
    display: none;
}

.trade-terminal-toggle summary::after {
    content: '+';
    color: #777;
    font-size: 1rem;
    line-height: 1;
}

.trade-terminal-toggle[open] summary::after {
    content: '-';
}

.trade-terminal-shell {
    padding: 0;
    overflow: hidden;
    border-top: 0;
}

.trade-terminal-log {
    min-height: 400px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 16px;
    background: #000;
    color: #fff;
    font-size: 0.84rem;
    line-height: 1.55;
    overscroll-behavior: contain;
}

.operation-terminal-card {
    margin-top: 18px;
}

.operation-terminal-card .trade-terminal-log {
    min-height: 220px;
    max-height: 220px;
}

.terminal-divider {
    margin: 0 0 10px;
    color: #777;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.terminal-divider:not(:first-child) {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-line {
    display: block;
    margin-bottom: 8px;
    word-break: break-word;
}

.terminal-line:last-child {
    margin-bottom: 0;
}

.terminal-prefix {
    color: #8ad1ff;
    margin-right: 8px;
}

.terminal-key { color: #8ad1ff; }
.terminal-value { color: #ddd; }
.terminal-address { color: #64B5F6; }
.terminal-function { color: #F39004; }
.terminal-muted { color: #777; }
.terminal-success { color: #4CAF50; }
.terminal-warning { color: #FFC107; }
.terminal-error { color: #F44336; }

.trade-terminal-log a {
    color: #64B5F6;
    text-decoration: none;
}

.trade-terminal-log a:hover {
    text-decoration: underline;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(20px); }
}

/* ========================
   FEATURES SECTION
   ======================== */

.features {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-shadow: var(--glow);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    box-shadow: var(--glow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: #cccccc;
    font-size: 0.95rem;
}

/* ========================
   DISTRIBUTION SECTION
   ======================== */

.distribution {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.03) 0%, rgba(255, 107, 53, 0.03) 100%);
}

.distribution h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-shadow: var(--glow);
}

.distribution-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.distribution-chart {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-chart {
    width: 300px;
    height: 300px;
    transform: rotate(-90deg);
}

.pie-segment {
    fill: none;
    stroke-width: 80;
    transition: all 0.3s ease;
}

.pie-chart circle:nth-child(1) {
    stroke: var(--primary-color);
}

.pie-chart circle:nth-child(2) {
    stroke: var(--accent-color);
}

.pie-chart circle:nth-child(3) {
    stroke: #663300;
}

.pie-chart circle:hover {
    stroke-width: 100;
    filter: brightness(1.2);
}

.distribution-table {
    background: rgba(255, 165, 0, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
    box-shadow: var(--glow);
}

#trust-problem .distribution-table p {
    font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.95rem) !important;
    line-height: 1.8 !important;
}

#trust-problem .distribution-table strong {
    font-size: 1.08em;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    color: var(--primary-color);
    border-bottom: 2px solid rgba(255, 165, 0, 0.3);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
}

/* Compact rows for presale entry table */
.curve-table-wrapper table th,
.curve-table-wrapper table td {
    padding: 0.45rem 0.6rem;
    line-height: 1.2;
    height: 34px;
    vertical-align: middle;
    font-size: 0.95rem;
}

table tr:last-child td {
    border-bottom: none;
}

.total-row {
    background: rgba(255, 165, 0, 0.1);
}

table tr:hover {
    background: rgba(255, 165, 0, 0.05);
    transition: background 0.3s ease;
}

.callout-figure {
    margin: 1.5rem 0 0;
}

.callout-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 165, 0, 0.18);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* ========================
   MECHANISM SECTION
   ======================== */

.mechanism {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mechanism h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.mechanism-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.08) 0%, rgba(255, 107, 53, 0.08) 100%);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.step:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
    box-shadow: var(--glow);
}

.step-number {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #000;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.step p {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ========================
   TIMELINE SECTION
   ======================== */

.timeline {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.03) 0%, rgba(255, 107, 53, 0.03) 100%);
}

.timeline h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.timeline-item.current {
    opacity: 1;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
    position: relative;
}

.timeline-item.current .timeline-dot {
    width: 30px;
    height: 30px;
    margin-top: 0;
    box-shadow: 0 0 20px var(--primary-color);
}

.timeline-content {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    flex-grow: 1;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #cccccc;
    font-size: 0.95rem;
}

.timeline-item:hover {
    opacity: 1;
    transform: translateX(10px);
}

/* ========================
   FOOTER
   ======================== */

.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: 0 0 50px rgba(255, 165, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: #888888;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

@media (max-width: 768px) {
    .hero-row {
        gap: 1rem;
    }

    .hero-row .hero-title-small {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title-small {
        font-size: 1.45rem;
        line-height: 1.28;
        padding: 1.2rem 1.1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .distribution-container {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .mechanism-steps {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-row {
        flex-direction: column;
    }

    .hero-side-card {
        min-width: 120px;
        padding: 0.9rem 0.85rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-title-small {
        font-size: 1.18rem;
        line-height: 1.24;
        padding: 1rem 0.9rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features h2,
    .mechanism h2,
    .timeline h2,
    .distribution h2 {
        font-size: 1.8rem;
    }
}

.lite-note {
    text-align: center;
    color: #b3b3b3;
    font-style: italic;
    margin-top: 1rem;
}

/* ========================
   NAVBAR
   ======================== */

.navbar {
    position: fixed;
    top: 28px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    font-size: 16px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}

.logo img {
    width: 55px;
    height: 55px;
    display: block;
}

.presale-dapp-bg {
    background-color: var(--bg-dark);
    background-image: linear-gradient(180deg, rgba(15, 15, 15, 0.65) 0%, rgba(15, 15, 15, 0.75) 60%, rgba(15, 15, 15, 0.85) 70%), url("Pic/PB1.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 55%;
    background-attachment: fixed;
}

.trade-grid {
    align-items: stretch;
}

.trade-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}

.trade-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.trade-terminal-column {
    display: grid;
    gap: 10px;
    align-self: start;
}

.trade-terminal-card {
    padding: 0;
    overflow: hidden;
}

.trade-terminal-card .trade-terminal-toggle {
    border: none;
    border-radius: 0;
    background: transparent;
}

.trade-terminal-card .trade-terminal-toggle summary {
    padding: 12px 16px;
}

.trade-terminal-toggle {
    border: 1px solid rgba(255, 165, 0, 0.18);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.trade-terminal-toggle summary {
    list-style: none;
    cursor: pointer;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: #f5f5f5;
    font-size: 0.86rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.45);
}

.trade-terminal-toggle summary::-webkit-details-marker {
    display: none;
}

.trade-terminal-toggle summary::after {
    content: '+';
    color: #9b9b9b;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.trade-terminal-toggle[open] summary::after {
    content: '-';
}

.trade-terminal-kicker {
    color: #8d8d8d;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.trade-terminal-shell {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #000000;
    border: 1px solid #262626;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
}

.trade-terminal-log {
    height: 400px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px;
    background: #000000;
    color: #ffffff;
    font-size: 0.82rem;
    line-height: 1.55;
    overscroll-behavior: contain;
    font-family: "Courier New", monospace;
}

.terminal-line {
    display: block;
    margin-bottom: 8px;
    word-break: break-word;
}

.terminal-line:last-child {
    margin-bottom: 0;
}

.terminal-prefix {
    color: #6f6f6f;
    margin-right: 8px;
}

.terminal-key { color: #6f6f6f; }
.terminal-value { color: #f39004; }
.terminal-address { color: #64b5ff; }
.terminal-function { color: #7ee787; }
.terminal-muted { color: #9b9b9b; }
.terminal-success { color: #59c56f; }
.terminal-warning { color: #f7c45b; }
.terminal-error { color: #ff6f61; }

.terminal-divider {
    display: block;
    margin: 12px 0 10px;
    padding-top: 10px;
    border-top: 1px solid #1d1d1d;
    color: #9b9b9b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
}

@media (max-width: 980px) {
    .trade-grid {
        grid-template-columns: 1fr;
    }

    .trade-terminal-log {
        height: 320px;
        max-height: 320px;
    }
}

.card.trade-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 2px solid transparent !important;
}

.card.trade-card-buy {
    border: 2px solid rgba(76, 175, 80, 0.95) !important;
    box-shadow: inset 0 0 0 1px rgba(76, 175, 80, 0.28), 0 0 22px rgba(76, 175, 80, 0.22), 0 20px 38px rgba(0, 0, 0, 0.18) !important;
}

.card.trade-card-sell {
    border: 2px solid rgba(244, 67, 54, 0.95) !important;
    box-shadow: inset 0 0 0 1px rgba(244, 67, 54, 0.28), 0 0 22px rgba(244, 67, 54, 0.22), 0 20px 38px rgba(0, 0, 0, 0.18) !important;
}

.trade-card-actions {
    margin-top: auto;
    padding-top: 20px;
}

.quote-meta {
    min-height: 1.2em;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #9ad9a0;
}

.quote-detail {
    margin-top: 0;
    font-size: 0.8rem;
    color: #b9c8b9;
    white-space: nowrap;
}

.quote-detail strong {
    color: #d9ead9;
    font-weight: 600;
}

.quote-subrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 7px;
    flex-wrap: wrap;
}

.quote-quick-actions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.quote-meta.is-stale {
    color: #ffb74d;
}

.quote-meta.is-idle {
    color: #8e8e8e;
}

.trade-card #buy-status,
.trade-card #sell-status {
    min-height: 2.4em;
}

.wallet-panel {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.08) 0%, rgba(255, 107, 53, 0.08) 100%);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 14px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.wallet-status {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wallet-label {
    color: #aaa;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.wallet-value {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.wallet-status-error {
    color: #ff6b6b;
}

.wallet-note {
    color: #bbb;
    font-size: 0.95rem;
    margin: 0;
}

.curve-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}

.curve-legend span {
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
    color: #ddd;
    background: rgba(255, 165, 0, 0.08);
}

.curve-table-wrapper {
    max-height: 560px;
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.entry-row-founder {
    background: rgba(0, 208, 132, 0.1);
}

.entry-row-founder:hover {
    background: rgba(0, 208, 132, 0.18);
}

/* ========================
   WHITEPAPER LITE PAGE
   ======================== */

.tradeoff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.tradeoff-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.1rem;
}

.tradeoff-card h3 {
    margin-bottom: 0.6rem;
    color: #fff;
}

.tradeoff-card p {
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 0.75rem;
}

.tradeoff-tag {
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 165, 0, 0.12);
    color: #F39004;
}

.tradeoff-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.tradeoff-list div {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.82);
}

.tradeoff-list strong {
    color: #fff;
}

.tradeoff-callout {
    background: linear-gradient(180deg, rgba(255, 165, 0, 0.09), rgba(255, 165, 0, 0.03));
    border: 1px solid rgba(255, 165, 0, 0.18);
    border-radius: 14px;
    padding: 1.15rem;
}

.tradeoff-callout p {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.page-hero {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.12) 0%, rgba(255, 107, 53, 0.12) 100%);
    border-bottom: 1px solid rgba(255, 165, 0, 0.2);
    padding: 6rem 2rem 3rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.6rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.1rem;
    color: #bbb;
    margin: 0 auto;
}

.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2.5rem 2rem 3rem;
}

.presale-section {
    margin-bottom: 2.5rem;
    background: rgba(255, 165, 0, 0.04);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.presale-section h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.presale-section p {
    color: #ccc;
}

.whitepaper-list {
    margin: 1rem 0 0.5rem 1.2rem;
    color: #ddd;
    line-height: 1.6;
}

.whitepaper-list li {
    margin-bottom: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 1rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ========================
   HERO SECTION
   ======================== */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.1) 0%, rgba(26, 26, 26, 0.1) 50%, rgba(45, 24, 16, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    right: 5%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1300px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 165, 0, 0.3);
}

.hero-title-small {
    font-size: 2.0rem;
    line-height: 1.4;
    margin-top: 1rem;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 1;
}

.hero-title-small::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 165, 0, 0.35);
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.08) 0%, rgba(255, 107, 53, 0.08) 100%);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.15);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #aaaaaa;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.stat {
    background: rgba(255, 165, 0, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255, 165, 0, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: #888888;
    margin-top: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(20px); }
}

/* ========================
   FEATURES SECTION
   ======================== */

.features {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: #cccccc;
    font-size: 0.95rem;
}

/* ========================
   DISTRIBUTION SECTION
   ======================== */

.distribution {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.03) 0%, rgba(255, 107, 53, 0.03) 100%);
}

.distribution h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.distribution-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.distribution-chart {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-chart {
    width: 300px;
    height: 300px;
    transform: rotate(-90deg);
}

.pie-segment {
    fill: none;
    stroke-width: 80;
    transition: all 0.3s ease;
}

.pie-chart circle:nth-child(1) {
    stroke: var(--primary-color);
}

.pie-chart circle:nth-child(2) {
    stroke: var(--accent-color);
}

.pie-chart circle:nth-child(3) {
    stroke: #663300;
}

.pie-chart circle:hover {
    stroke-width: 100;
    filter: brightness(1.2);
}

.distribution-table {
    background: rgba(255, 165, 0, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    color: var(--primary-color);
    border-bottom: 2px solid rgba(255, 165, 0, 0.3);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
}

table tr:last-child td {
    border-bottom: none;
}

.total-row {
    background: rgba(255, 165, 0, 0.1);
}

table tr:hover {
    background: rgba(255, 165, 0, 0.05);
}

/* ========================
   MECHANISM SECTION
   ======================== */

.mechanism {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mechanism h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.mechanism-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.08) 0%, rgba(255, 107, 53, 0.08) 100%);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.step:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.2);
}

.step-number {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #000;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.step p {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ========================
   TIMELINE SECTION
   ======================== */

.timeline {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.03) 0%, rgba(255, 107, 53, 0.03) 100%);
}

.timeline h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.timeline-item.current {
    opacity: 1;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
    position: relative;
}

.timeline-item.current .timeline-dot {
    width: 30px;
    height: 30px;
    margin-top: 0;
    box-shadow: 0 0 20px var(--primary-color);
}

.timeline-content {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    flex-grow: 1;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #cccccc;
    font-size: 0.95rem;
}

.timeline-item:hover {
    opacity: 1;
    transform: translateX(10px);
}

/* ========================
   FOOTER
   ======================== */

.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: #888888;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .distribution-container {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .mechanism-steps {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features h2,
    .mechanism h2,
    .timeline h2,
    .distribution h2 {
        font-size: 1.8rem;
    }
}

.lite-note {
    text-align: center;
    color: #b3b3b3;
    font-style: italic;
    margin-top: 1rem;
}
. c u r v e - t a b l e - w r a p p e r   t a b l e   t h : n t h - c h i l d ( 1 ) ,   . c u r v e - t a b l e - w r a p p e r   t a b l e   t d : n t h - c h i l d ( 1 )   {   w i d t h :   2 0 % ;   }   . c u r v e - t a b l e - w r a p p e r   t a b l e   t h : n t h - c h i l d ( 2 ) ,   . c u r v e - t a b l e - w r a p p e r   t a b l e   t d : n t h - c h i l d ( 2 )   {   w i d t h :   4 0 % ;   }   . c u r v e - t a b l e - w r a p p e r   t a b l e   t h : n t h - c h i l d ( 3 ) ,   . c u r v e - t a b l e - w r a p p e r   t a b l e   t d : n t h - c h i l d ( 3 )   {   w i d t h :   4 0 % ;   } 
 
 
/* Table column widths for presale dapp */
.curve-table-wrapper table th:nth-child(1),
.curve-table-wrapper table td:nth-child(1) {
    width: 20%;
}

.curve-table-wrapper table th:nth-child(2),
.curve-table-wrapper table td:nth-child(2) {
    width: 25%;
}

.curve-table-wrapper table th:nth-child(3),
.curve-table-wrapper table td:nth-child(3) {
    width: 25%;
}

.curve-table-wrapper table th:nth-child(4),
.curve-table-wrapper table td:nth-child(4) {
    width: 30%;
}
.curve-table-wrapper table th:nth-child(1), .curve-table-wrapper table td:nth-child(1) { width: 20%; } .curve-table-wrapper table th:nth-child(2), .curve-table-wrapper table td:nth-child(2) { width: 40%; } .curve-table-wrapper table th:nth-child(3), .curve-table-wrapper table td:nth-child(3) { width: 40%; }

/* Sticky table header for curve table */
.curve-table-wrapper thead {
    position: sticky;
    top: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1;
}

/* Video Section */
.video-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    text-align: center;
}

.video-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.video-container {
    max-width: 70vw;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-section .lite-note {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .video-container {
        max-width: 90vw;
    }
    
    .video-section h2 {
        font-size: 1.8rem;
    }
}

/* ========================
   UTILITY CLASSES (Dapp & Reusable)
   ======================== */

/* DAPP CONTAINERS & HERO */
.dapp-hero {
    background: linear-gradient(135deg, rgba(243, 144, 4, 0.15) 0%, rgba(100, 50, 150, 0.1) 100%);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 2px solid rgba(243, 144, 4, 0.3);
}

.dapp-container {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
}

/* CARDS & STAT BOXES (Core Dapp Styling) */
.card {
    margin-bottom: 2.5rem;
    background: rgba(255, 165, 0, 0.04);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 165, 0, 0.2);
}

.stat-box {
    background: rgba(255, 165, 0, 0.04);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 165, 0, 0.2);
}

.stat-label {
    color: #aaa;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 30px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title {
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
}

.price-display {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 10px 0;
}

.price-change {
    font-size: 1rem;
    color: var(--success-color);
    margin: 5px 0;
}

.chart-container {
    position: relative;
    height: 300px;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
}

.input-group {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    align-items: center;
    flex-wrap: wrap;
}

.input-field {
    flex: 1;
    min-width: 150px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(243, 144, 4, 0.3);
    border-radius: 6px;
    color: #fff;
    font-size: 0.95rem;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(243, 144, 4, 0.2);
}

.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* FLEXBOX UTILITIES */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

/* GRID UTILITIES */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.grid-2way {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.grid-4col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
}

/* WIDTH & SIZE UTILITIES */
.w-full {
    width: 100%;
}

/* TEXT UTILITIES */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-monospace {
    font-family: monospace;
}

.text-muted {
    color: #999;
}

.text-gold {
    color: #FFD700;
}

.text-success {
    color: var(--success-color);
}

.text-accent {
    color: var(--primary-color);
}

/* SPACING & BORDER UTILITIES */
.spacing-divider-top {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.border-accent-left {
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
}

.border-accent-left-success {
    border-left: 3px solid var(--success-color);
    padding-left: 12px;
}

/* EMPTY STATE */
.empty-state {
    color: #aaa;
    text-align: center;
    padding: 30px;
}

/* BUTTON TIMEFRAMES */
.timeframe-btn {
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    background: transparent;
    color: #aaa;
    border: 1px solid rgba(255, 165, 0, 0.2);
    transition: all 0.3s ease;
}

.timeframe-btn.active {
    background: rgba(255, 165, 0, 0.1);
    color: var(--primary-color);
    border-color: rgba(255, 165, 0, 0.3);
}

/* POSITION & UNLOCK CARDS */
.position-card {
    background: linear-gradient(135deg, rgba(50, 100, 200, 0.1) 0%, rgba(100, 50, 150, 0.1) 100%);
    border: 1px solid rgba(100, 150, 255, 0.2);
    border-radius: 8px;
    padding: 18px;
    margin: 12px 0;
}

.unlock-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 5px 5px 5px 0;
}

.unlock-badge.locked {
    background: rgba(255, 100, 100, 0.2);
    color: #ff6464;
}

.unlock-badge.ready {
    background: rgba(76, 175, 80, 0.2);
    color: var(--success-color);
}

.unlock-badge.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
}

/* FORMS */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 20px 0;
}

.form-column {
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(243, 144, 4, 0.3);
    border-radius: 8px;
    padding: 20px;
}

.form-column h4 {
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* TABS */
.tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    border-bottom: 1px solid rgba(243, 144, 4, 0.2);
}

.tab {
    padding: 12px 16px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .invariant-grid--quad,
    .docs-grid--quad {
        grid-template-columns: 1fr;
    }

    .grid-2col, .grid-2way {
        grid-template-columns: 1fr;
    }
    .grid-3col {
        grid-template-columns: 1fr;
    }
    .grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================
   FAQ PAGE
   ======================== */

.faq-search {
    text-align: center;
    margin-bottom: 2.5rem;
}

.search-input {
    width: 100%;
    max-width: 500px;
    padding: 0.9rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 165, 0, 0.25);
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.15);
}

.search-input::placeholder {
    color: #555;
}

.faq-section {
    margin-bottom: 3rem;
}

.faq-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 165, 0, 0.2);
    text-shadow: 0 0 15px rgba(255, 165, 0, 0.15);
}

.faq-item {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.04) 0%, rgba(255, 107, 53, 0.04) 100%);
    border: 1px solid rgba(255, 165, 0, 0.12);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 165, 0, 0.35);
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.08);
}

.faq-item.open {
    border-color: rgba(255, 165, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.06) 0%, rgba(255, 107, 53, 0.06) 100%);
    box-shadow: 0 6px 25px rgba(255, 165, 0, 0.1);
}

.faq-item h4 {
    padding: 1.2rem 1.5rem;
    margin: 0;
    cursor: pointer;
    color: #e0e0e0;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-item h4:hover {
    color: var(--primary-color);
}

.faq-item.open h4 {
    color: var(--primary-color);
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
}

.faq-item h4::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 1rem;
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.faq-item.open h4::after {
    content: '\2212';
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.open .faq-answer {
    max-height: 5000px;
    transition: max-height 0.8s ease-in-out;
}

.faq-answer-inner {
    padding: 1rem 1.5rem 1.5rem;
    color: #ccc;
    line-height: 1.7;
}

.faq-answer-inner p {
    margin-bottom: 0.75rem;
}

.faq-answer-inner ul,
.faq-answer-inner ol {
    margin: 0.5rem 0 0.75rem 1.5rem;
    color: #bbb;
}

.faq-answer-inner li {
    margin-bottom: 0.4rem;
}

.faq-answer-inner code {
    background: rgba(255, 165, 0, 0.1);
    color: var(--primary-color);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.faq-answer-inner table {
    margin: 1rem 0;
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.faq-answer-inner table th {
    background: rgba(255, 165, 0, 0.08);
}

.cta-section {
    text-align: center;
    padding: 3.5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.06) 0%, rgba(255, 107, 53, 0.06) 100%);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 16px;
    margin-top: 2rem;
}

.cta-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 15px rgba(255, 165, 0, 0.15);
}

.cta-section p {
    color: #aaa;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .faq-section h2 {
        font-size: 1.5rem;
    }
    .faq-item h4 {
        font-size: 0.95rem;
        padding: 1rem 1.2rem;
    }
    .faq-answer-inner {
        padding: 0.75rem 1.2rem 1.2rem;
    }
    .search-input {
        max-width: 100%;
    }
}

/* ========================
   MOBILE HAMBURGER MENU
   ======================== */

/* Hidden on desktop */
.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .portfolio-table-wrap {
        display: none;
    }

    .portfolio-mobile-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 0.5rem;
    }

    .portfolio-mobile-card {
        border: 1px solid rgba(243, 144, 4, 0.16);
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(243, 144, 4, 0.08), rgba(255, 255, 255, 0.02));
        padding: 1rem;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    }

    .portfolio-mobile-card--totals {
        border-color: rgba(243, 144, 4, 0.32);
        background: linear-gradient(180deg, rgba(243, 144, 4, 0.12), rgba(243, 144, 4, 0.04));
    }

    .portfolio-mobile-card__header,
    .portfolio-position-card__header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 0.9rem;
    }

    .portfolio-mobile-card__title,
    .portfolio-position-card__title {
        font-size: 1rem;
        font-weight: 800;
        color: #fff;
    }

    .portfolio-mobile-card__subtitle {
        margin-top: 0.25rem;
        font-family: monospace;
        font-size: 0.72rem;
        color: rgba(255, 255, 255, 0.62);
        word-break: break-all;
    }

    .portfolio-mobile-actions {
        display: flex;
        gap: 0.45rem;
        flex-shrink: 0;
    }

    .portfolio-mobile-icon-btn {
        width: 38px;
        height: 38px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04);
        color: #fff;
        font-size: 1rem;
    }

    .portfolio-mobile-icon-btn--danger {
        color: #ff6b6b;
    }

    .portfolio-mobile-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .portfolio-mobile-grid--positions {
        margin-top: 0.2rem;
    }

    .portfolio-mobile-metric {
        padding: 0.7rem 0.75rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        min-width: 0;
    }

    .portfolio-mobile-metric__label {
        display: block;
        font-size: 0.72rem;
        color: rgba(255, 255, 255, 0.58);
        margin-bottom: 0.25rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .portfolio-mobile-metric__value {
        display: block;
        font-size: 0.98rem;
        font-weight: 700;
        color: #fff;
        word-break: break-word;
    }

    .portfolio-mobile-metric__value--green {
        color: #4CAF50;
    }

    .portfolio-mobile-metric__value--orange {
        color: #ff9800;
    }

    .portfolio-mobile-toggle {
        width: 100%;
        margin-top: 0.9rem;
        border: 1px solid rgba(243, 144, 4, 0.22);
        border-radius: 12px;
        padding: 0.8rem 1rem;
        background: rgba(243, 144, 4, 0.08);
        color: #F39004;
        font-weight: 700;
        text-align: center;
    }

    .portfolio-mobile-detail {
        display: none;
        margin-top: 0.9rem;
        padding-top: 0.9rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .portfolio-mobile-detail.open {
        display: block;
    }

    .portfolio-position-card {
        padding: 0.85rem;
        border-radius: 14px;
        background: rgba(0, 0, 0, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .portfolio-position-card + .portfolio-position-card {
        margin-top: 0.75rem;
    }

    .portfolio-mobile-badge {
        padding: 0.3rem 0.55rem;
        border-radius: 999px;
        background: rgba(243, 144, 4, 0.12);
        color: #F39004;
        font-size: 0.74rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .portfolio-mobile-badge--green {
        background: rgba(76, 175, 80, 0.14);
        color: #4CAF50;
    }

    .portfolio-mobile-empty {
        color: rgba(255, 255, 255, 0.58);
        font-size: 0.88rem;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 1100;
        margin-left: auto;
    }

    .hamburger span {
        display: block;
        width: 26px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .gt_float_switcher {
        top: 36px !important;
        left: 10px !important;
        transform: scale(0.62) !important;
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .nav-menu {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 12px);
        left: 1rem;
        right: 1rem;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 165, 0, 0.22);
        border-radius: 14px;
        padding: 1rem 1.25rem;
        gap: 0.85rem;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    }

    .nav-menu.open {
        display: flex !important;
    }

    .nav-container {
        flex-wrap: nowrap;
    }

    /* Hide nav-price on mobile to save space */
    #nav-price {
        display: none;
    }
}

@media (min-width: 769px) {
    .portfolio-mobile-list {
        display: none;
    }
}
