:root {
    --bg: #05060f;
    --bg-soft: #0c1120;
    --bg-glass: rgba(14, 16, 31, 0.78);
    --accent: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
    --accent-solid: #f8733d;
    --accent-soft: rgba(248, 115, 61, 0.2);
    --secondary: #22d3ee;
    --secondary-soft: rgba(34, 211, 238, 0.14);
    --text: #f8fafc;
    --text-dim: #cbd5f5;
    --border: rgba(148, 163, 184, 0.15);
    --shadow: 0 30px 60px rgba(8, 12, 35, 0.45);
    --radius: 22px;
    --radius-lg: 32px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 45%),
                radial-gradient(circle at bottom right, rgba(248, 115, 61, 0.12), transparent 50%),
                var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

body.whitepaper {
    background: var(--bg-soft);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.corner-actions {
    position: fixed;
    top: clamp(1rem, 4vw, 2.2rem);
    right: clamp(1rem, 4vw, 2.4rem);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1200;
}

.corner-actions .btn {
    min-width: 0;
    padding-inline: 1.1rem;
    min-height: 42px;
}

.corner-actions .btn.small {
    padding: 0.6rem 1.1rem;
}

.container {
    width: min(1160px, 90vw);
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    min-height: 46px;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    text-align: center;
    background-image: var(--accent);
    color: white;
    box-shadow: 0 10px 30px rgba(248, 115, 61, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button.btn {
    appearance: none;
}

.btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 18px 32px rgba(248, 115, 61, 0.45);
}

.btn:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 0.75);
    outline-offset: 2px;
}

.btn.ghost {
    background: transparent;
    border: 1px solid var(--border);
    box-shadow: none;
    color: var(--text);
}

.btn.ghost:hover {
    border-color: rgba(248, 115, 61, 0.4);
    color: var(--accent-solid);
}

.btn.wallet-btn {
    background-image: none;
    background: rgba(34, 211, 238, 0.18);
    color: var(--text);
    border: 1px solid rgba(34, 211, 238, 0.35);
    box-shadow: 0 10px 20px rgba(34, 211, 238, 0.18);
}

.btn.wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(34, 211, 238, 0.28);
}

.btn.full {
    width: 100%;
    justify-content: center;
}

.btn.small,
.btn.ghost.small {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 6, 15, 0.85);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.site-header.is-scrolled {
    background: rgba(5, 6, 15, 0.95);
    box-shadow: 0 12px 28px rgba(5, 6, 15, 0.45);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.1rem;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.logo__badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 4.6vw, 52px);
}

.logo__badge img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.logo__wordmark {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 1.08rem;
    color: white;
}

.logo__text {
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: inherit;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    gap: clamp(0.65rem, 1.15vw, 1.25rem);
    margin: 0 clamp(0.75rem, 1.5vw, 1.6rem);
    min-width: 0;
    font-size: clamp(0.82rem, 0.95vw, 0.94rem);
}

.main-nav a,
.main-nav button {
    color: var(--text-dim);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav button:hover {
    color: white;
}

.main-nav .nav-link--docs {
    font-weight: 500;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.5);
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.lang-toggle:hover {
    border-color: rgba(148, 163, 184, 0.45);
    color: white;
    background: rgba(15, 23, 42, 0.75);
}

@keyframes bear-trace {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -480;
    }
}

@keyframes bear-orbit {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(0.985);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes bear-float {
    0% {
        transform: translate3d(0, -8px, 0) rotate(-0.8deg);
    }
    50% {
        transform: translate3d(0, 8px, 0) rotate(0.8deg);
    }
    100% {
        transform: translate3d(0, -8px, 0) rotate(-0.8deg);
    }
}

@keyframes bear-pulse {
    0% {
        transform: scale(0.96) translateY(-8px);
        opacity: 0.58;
    }
    100% {
        transform: scale(1.05) translateY(8px);
        opacity: 0.74;
    }
}

@keyframes bear-eye-glow {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.hero {
    padding: 6rem 0 4rem;
}

.hero .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero-frame {
    padding-top: clamp(4.5rem, 7vw, 5.8rem);
}

.hero-brand {
    position: absolute;
    top: clamp(1.8rem, 5vw, 3.5rem);
    left: clamp(1.5rem, 5vw, 3.5rem);
    display: inline-flex;
    align-items: center;
    gap: clamp(0.85rem, 2vw, 1.2rem);
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: rgba(248, 250, 252, 0.98);
    opacity: 0.95;
    pointer-events: none;
}

.hero-brand .logo__badge {
    width: clamp(60px, 9vw, 90px);
}

.hero-brand .logo__badge img {
    width: 100%;
    height: auto;
}

.hero-brand .logo__wordmark {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    letter-spacing: inherit;
}

.hero--prdt {
    position: relative;
    padding: clamp(5.8rem, 8vw, 7.8rem) 0 clamp(5rem, 9vw, 7rem);
    overflow: hidden;
}

.hero--prdt::before {
    content: '';
    position: absolute;
    inset: -20% -10% auto;
    height: 60%;
    background: radial-gradient(circle at left top, rgba(79, 70, 229, 0.55), transparent 60%);
    pointer-events: none;
    opacity: 0.6;
}

.hero--prdt::after {
    content: '';
    position: absolute;
    inset: auto -10% -45% auto;
    width: 55%;
    height: 90%;
    background: radial-gradient(circle at right bottom, rgba(168, 85, 247, 0.4), transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}

.hero--prdt .container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(148, 163, 184, 0.12);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(209, 213, 245, 0.85);
}

.hero-title-accent {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.3rem, 4vw, 2.9rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(165, 180, 252, 0.9);
}

.hero-title-main {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 5.4vw, 4.4rem);
    line-height: 1.08;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-subhead {
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 520px;
}

.hero-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-btn {
    min-width: 200px;
    justify-content: center;
    background-image: none;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 18px 42px rgba(88, 28, 135, 0.45);
}

.hero-btn:hover {
    box-shadow: 0 22px 46px rgba(88, 28, 135, 0.6);
}


    .logo__wordmark {
        font-size: 0.98rem;
        letter-spacing: 0.18em;
    }
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(260px, 35vw, 420px);
}

.hero-visual__glow {
    position: absolute;
    inset: 10% 0 auto;
    width: clamp(260px, 38vw, 420px);
    height: clamp(260px, 40vw, 460px);
    background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.28), transparent 68%),
                radial-gradient(circle at bottom, rgba(76, 29, 149, 0.5), transparent 75%);
    border-radius: 38% 52% 58% 42% / 45% 40% 60% 55%;
    filter: blur(18px);
    opacity: 0.65;
    animation: bear-pulse 7s ease-in-out infinite alternate;
}

.hero-bear-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 420px);
    z-index: 1;
    animation: bear-orbit 26s linear infinite;
    transform-origin: 50% 55%;
    will-change: transform;
}

.hero-bear {
    width: min(100%, 420px);
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 24px 40px rgba(76, 29, 149, 0.35));
    animation: bear-float 9s ease-in-out infinite;
    transform-origin: 50% 55%;
    will-change: transform;
}


.bear-line {
    stroke-dasharray: 480;
    stroke-dashoffset: 0;
    opacity: 0.88;
    animation: bear-trace 7s linear infinite;
}

.bear-line--outer {
    stroke-width: 6;
    animation-duration: 8.8s;
}

.bear-line--belly {
    stroke-width: 4.5;
    animation-duration: 6.6s;
    animation-delay: -1.4s;
    opacity: 0.7;
}

.bear-line--back {
    stroke-width: 4.5;
    animation-duration: 7.4s;
    animation-delay: -0.9s;
    opacity: 0.76;
}

.bear-line--head {
    stroke-width: 4;
    animation-duration: 5.8s;
    animation-delay: -2.1s;
    opacity: 0.82;
}

.bear-line--ear {
    stroke-width: 3.6;
    animation-duration: 4.8s;
    animation-delay: -3.2s;
    opacity: 0.7;
}

.bear-eye {
    fill: rgba(224, 231, 255, 0.9);
    filter: drop-shadow(0 0 12px rgba(129, 140, 248, 0.6));
    animation: bear-eye-glow 3.6s ease-in-out infinite;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-dim);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.chip.active {
    background: rgba(34, 211, 238, 0.18);
    border-color: rgba(34, 211, 238, 0.4);
    color: white;
}

.chip-live {
    background: rgba(248, 115, 61, 0.2);
    border-color: rgba(248, 115, 61, 0.4);
    color: #fbbf24;
    cursor: default;
}

.chip-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0.45rem 1.1rem;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-dim);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.chip-action:hover {
    color: var(--accent-solid);
    border-color: rgba(248, 115, 61, 0.45);
}

.chip-action:focus-visible {
    outline: 2px solid rgba(248, 115, 61, 0.5);
    outline-offset: 2px;
}

.chip.small {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    letter-spacing: 0.02em;
    text-transform: none;
    cursor: default;
}

.dapp-card {
    background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.2), transparent 60%), var(--bg-glass);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1.6rem;
}

.dapp-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dapp-card h3 {
    font-size: 1.45rem;
}

.dapp-card__lead {
    color: var(--text-dim);
}

.kpi-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.kpi {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    display: grid;
    gap: 0.4rem;
}

.kpi .label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.6);
}

.kpi .value {
    font-size: 1.25rem;
    font-weight: 600;
}

.kpi .delta {
    font-size: 0.85rem;
    color: rgba(34, 211, 238, 0.85);
}

.kpi .delta.negative {
    color: rgba(248, 113, 113, 0.85);
}

.dapp-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.wallet-panel {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    display: grid;
    gap: 1.4rem;
    position: relative;
}

.wallet-panel::after {
    content: "";
    position: absolute;
    inset: auto auto -80px -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(248, 115, 61, 0.18), transparent 70%);
    z-index: 0;
}

.wallet-panel > * {
    position: relative;
    z-index: 1;
}

.wallet-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.status-indicator {
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(148, 163, 184, 0.18);
    color: rgba(148, 163, 184, 0.9);
}

.status-indicator.is-connected {
    background: rgba(34, 211, 238, 0.22);
    color: rgba(34, 211, 238, 0.95);
}

.wallet-grid {
    display: grid;
    gap: 0.8rem;
}

.wallet-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
}

.wallet-row span:last-child {
    color: var(--text-dim);
    text-align: right;
    word-break: break-all;
}

.wallet-panel__footer {
    display: flex;
    justify-content: flex-end;
}

.floating-card {
    background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 55%), var(--bg-glass);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow);
}

.floating-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.floating-card ul {
    margin-top: 1rem;
    display: grid;
    gap: 0.45rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.stat-grid {
    display: grid;
    gap: 1rem;
}

.stat {
    background: rgba(248, 115, 61, 0.12);
    border: 1px solid rgba(248, 115, 61, 0.2);
    border-radius: var(--radius);
    padding: 1.2rem;
}

.stat .label {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.7);
}

.stat .value {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.section-heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-heading h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 0.6rem;
}

.section-heading p {
    color: var(--text-dim);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1rem;
}

.ecosystem, .tokenomics, .staking, .dao, .gamefi, .socialfi, .roadmap, .cta {
    padding: 5rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.app-header {
    padding: 1rem 0 0.5rem;
    backdrop-filter: blur(16px);
}

.app-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.app-wallet-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.wallet-inline-error {
    font-size: 0.78rem;
    color: #fca5a5;
    text-align: right;
}

.wallet-inline-error[hidden] {
    display: none !important;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.app-logo img {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.app-hero {
    padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
}

.app-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.app-hero p {
    color: var(--text-dim);
    max-width: 680px;
}

.app-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 2rem;
    align-items: start;
}

.app-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 18px 40px rgba(2, 12, 27, 0.35);
    padding: 2rem;
}

.app-card h2 {
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
}

.app-card form {
    display: grid;
    gap: 1.4rem;
}

.form-group {
    display: grid;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.app-card input,
.app-card select {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 1rem;
}

.app-card input:focus,
.app-card select:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 0.6);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
}

.app-card .btn-primary {
    justify-content: center;
    width: 100%;
}

.prediction-summary {
    display: grid;
    gap: 0.8rem;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
    color: var(--secondary);
}

.metric-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.metric-card {
    background: rgba(15, 23, 42, 0.55);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    padding: 1.4rem;
    display: grid;
    gap: 0.2rem;
}

.metric-card span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.metric-card strong {
    font-size: 1.35rem;
    font-family: 'Space Grotesk', sans-serif;
}

.terminal {
    padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.terminal-toolbar {
    padding: 1.5rem 0 0;
}

.terminal-toolbar__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 20px 40px rgba(3, 9, 24, 0.35);
}

.terminal-actions {
    display: inline-flex;
    gap: 0.75rem;
}

.terminal-actions .btn {
    min-width: 120px;
}

.terminal-balance {
    display: grid;
    gap: 0.15rem;
    text-align: right;
}

.terminal-balance span {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.8);
}

.terminal-balance strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    color: #f8fafc;
}

.terminal-market-grid {
    margin-top: 1.8rem;
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) minmax(320px, 360px);
    gap: clamp(1.4rem, 3vw, 2.2rem);
    align-items: start;
}

.terminal-feed {
    background: rgba(11, 16, 31, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    padding: 1rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.terminal-feed__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.terminal-feed__heading h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.terminal-feed__refresh {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.24);
    color: var(--text);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.terminal-feed__refresh:hover,
.terminal-feed__refresh:focus-visible {
    border-color: rgba(248, 115, 61, 0.6);
    color: #f97316;
}

.terminal-feed__status {
    font-size: 0.82rem;
    color: var(--text-dim);
    min-height: 1.2rem;
}

.terminal-feed__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.terminal-feed__item {
    background: rgba(8, 12, 24, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    padding: 0.65rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.terminal-feed__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.82rem;
}

.terminal-feed__time {
    font-weight: 600;
    color: #e2e8f0;
}

.terminal-feed__phase {
    color: var(--text-dim);
    font-size: 0.78rem;
}

.terminal-feed__tag {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid transparent;
}

.terminal-feed__tag.is-bull {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.36);
    color: #4ade80;
}

.terminal-feed__tag.is-bear {
    background: rgba(248, 113, 113, 0.16);
    border-color: rgba(248, 113, 113, 0.32);
    color: #f87171;
}

.terminal-feed__tag.is-draw {
    background: rgba(148, 163, 184, 0.16);
    border-color: rgba(148, 163, 184, 0.32);
    color: var(--text-dim);
}

.terminal-feed__meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    font-size: 0.76rem;
    color: var(--text-dim);
}

.terminal-feed__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.terminal-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.pair-selector {
    display: inline-flex;
    gap: 0.75rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    padding: 0.35rem;
}

.pair-tab {
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: rgba(203, 213, 225, 0.9);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.pair-tab.is-active {
    background: linear-gradient(135deg, rgba(248, 115, 61, 0.85), rgba(236, 72, 153, 0.85));
    color: white;
    box-shadow: 0 12px 24px rgba(248, 115, 61, 0.25);
}

.terminal-status {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid transparent;
}

.status-indicator.paused {
    background: rgba(248, 113, 113, 0.15);
    border-color: rgba(248, 113, 113, 0.4);
    color: rgba(254, 202, 202, 0.92);
}

.status-indicator.live {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.45);
    color: rgba(191, 219, 254, 0.95);
}

.status-indicator.upcoming {
    background: rgba(250, 204, 21, 0.12);
    border-color: rgba(250, 204, 21, 0.35);
    color: rgba(250, 204, 21, 0.92);
}

.terminal-timer {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    color: rgba(148, 163, 184, 0.85);
}

.terminal-card {
    background: rgba(12, 18, 38, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    padding: clamp(1.4rem, 3vw, 1.8rem);
    box-shadow: 0 20px 40px rgba(3, 9, 24, 0.35);
    display: grid;
    gap: 1rem;
}

.terminal-chart-card {
    gap: 1.2rem;
}

.terminal-chart__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.terminal-chart__meta h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
}

.terminal-chart__meta p {
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.9rem;
}

.terminal-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #f8fafc;
}

.terminal-chart {
    width: 100%;
    height: 460px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    overflow: hidden;
}

.terminal-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.4rem;
}

.terminal-stat-list {
    display: grid;
    gap: 0.65rem;
}

.terminal-stat-list div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(226, 232, 240, 0.88);
}

.terminal-stat-list dt {
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.78);
}

.terminal-stat-list dd {
    margin: 0;
    font-weight: 600;
}

.terminal-meta-note {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.75);
}

.terminal-sidebar {
    display: grid;
    gap: 1.4rem;
}

.terminal-orders__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.terminal-orders__refresh {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    color: var(--text);
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.terminal-orders__refresh:hover,
.terminal-orders__refresh:focus-visible {
    border-color: rgba(34, 211, 238, 0.55);
    color: var(--secondary);
}

.terminal-orders__status {
    font-size: 0.82rem;
    color: var(--text-dim);
    min-height: 1.2rem;
}

.terminal-orders__body {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    background: rgba(6, 10, 20, 0.65);
    max-height: 240px;
    overflow: auto;
}

.terminal-orders__body::-webkit-scrollbar {
    width: 6px;
}

.terminal-orders__body::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3);
    border-radius: 999px;
}

.terminal-orders__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.terminal-orders__table thead {
    position: sticky;
    top: 0;
    background: rgba(10, 16, 30, 0.92);
}

.terminal-orders__table th,
.terminal-orders__table td {
    padding: 0.55rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.terminal-orders__table th {
    font-weight: 600;
    color: rgba(226, 232, 240, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.terminal-orders__table td {
    color: rgba(226, 232, 240, 0.88);
}

.terminal-orders__table tbody tr:last-child td {
    border-bottom: none;
}

.terminal-orders__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid transparent;
}

.terminal-orders__pill.is-win {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.36);
    color: #4ade80;
}

.terminal-orders__pill.is-loss {
    background: rgba(248, 113, 113, 0.16);
    border-color: rgba(248, 113, 113, 0.36);
    color: #f87171;
}

.terminal-orders__pill.is-draw {
    background: rgba(148, 163, 184, 0.16);
    border-color: rgba(148, 163, 184, 0.3);
    color: var(--text-dim);
}

.terminal-orders__pill.is-open {
    background: rgba(59, 130, 246, 0.16);
    border-color: rgba(59, 130, 246, 0.36);
    color: #93c5fd;
}

.terminal-orders__pnl {
    display: inline-flex;
    margin-left: 0.45rem;
    font-weight: 600;
    font-size: 0.78rem;
}

.terminal-orders__pnl.is-positive {
    color: #4ade80;
}

.terminal-orders__pnl.is-negative {
    color: #f87171;
}

.terminal-orders__pnl.is-neutral {
    color: var(--text-dim);
}

.terminal-order header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.terminal-order__body {
    display: grid;
    gap: 1.2rem;
}

.terminal-order__odds {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.terminal-order__odds div {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    text-align: center;
    display: grid;
    gap: 0.35rem;
}

.terminal-order__odds div:nth-child(2) {
    background: rgba(248, 113, 113, 0.08);
    border-color: rgba(248, 113, 113, 0.22);
}

.terminal-order__odds span {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.85);
}

.terminal-order__odds strong {
    font-size: 1.25rem;
    font-family: 'Space Grotesk', sans-serif;
}

.terminal-order__form {
    display: grid;
    gap: 0.9rem;
}

.terminal-order__form label {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.85);
}

.terminal-order .input-group {
    display: grid;
    grid-template-columns: auto 1fr;
    background: rgba(9, 13, 26, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    overflow: hidden;
}

.input-prefix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.9rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.85);
}

.terminal-order .input-group input {
    border: none;
    background: transparent;
    color: #f8fafc;
    padding: 0.75rem 0.95rem;
    font-size: 1rem;
}

.terminal-order .input-group input:focus {
    outline: none;
}

.slider-group {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
    color: rgba(148, 163, 184, 0.8);
}

.slider-group input[type="range"] {
    width: 100%;
}

.terminal-order__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.terminal-info ol {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding-left: 1.1rem;
    color: rgba(226, 232, 240, 0.88);
}

.terminal-info li {
    padding-left: 0.25rem;
}

@media (max-width: 1280px) {
    .terminal-market-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .terminal-feed {
        display: none;
    }

    .terminal-sidebar {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 900px) {
    .terminal-toolbar__content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .terminal-actions {
        justify-content: center;
    }

    .terminal-balance {
        text-align: center;
    }

    .terminal-chart {
        height: 360px;
    }

    .terminal-order__actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .pair-selector {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pair-tab {
        flex: 1 1 45%;
        text-align: center;
    }

    .terminal-chart__meta {
        flex-direction: column;
        text-align: center;
    }
}

.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: -80px 40% auto -80px;
    height: 220px;
    background: radial-gradient(circle, rgba(248, 115, 61, 0.2), transparent 65%);
    transform: rotate(25deg);
    z-index: 0;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.feature-card ul {
    display: grid;
    gap: 0.45rem;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.95rem;
}

.launchpad {
    padding: 5rem 0 4.5rem;
}

.launchpad-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.wallet-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: var(--text-dim);
    background: rgba(15, 23, 42, 0.38);
}

.wallet-mini span:last-child {
    font-weight: 600;
    color: white;
}

.pool-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pool-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem;
    display: grid;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
}

.pool-card::after {
    content: "";
    position: absolute;
    inset: -90px auto auto 40%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 65%);
    z-index: 0;
}

.pool-card > * {
    position: relative;
    z-index: 1;
}

.raise-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(2rem, 4vw, 3rem);
    display: grid;
    gap: 1.8rem;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.raise-card::before {
    content: "";
    position: absolute;
    inset: -120px auto auto 45%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.22), transparent 70%);
    opacity: 0.65;
    pointer-events: none;
}

.raise-card > * {
    position: relative;
    z-index: 1;
}

.raise-meta {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.raise-meta__item {
    background: rgba(30, 41, 59, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    display: grid;
    gap: 0.45rem;
}

.raise-meta__item .label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(148, 163, 184, 0.78);
}

.raise-meta__item strong {
    font-size: 1.2rem;
    color: #ffffff;
}

.raise-meta__item p {
    margin: 0;
    color: rgba(203, 213, 225, 0.85);
    font-size: 0.9rem;
}

.raise-summary {
    font-size: 1.05rem;
    color: rgba(226, 232, 240, 0.9);
    line-height: 1.65;
}

.raise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.raise-list li {
    position: relative;
    padding-left: 1.65rem;
    color: rgba(203, 213, 225, 0.88);
}

.raise-list li::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    left: 0;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 0 14px rgba(124, 58, 237, 0.35);
}

.raise-cta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.raise-cta .btn {
    min-width: 200px;
}

.raise-perk {
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 1px dashed rgba(124, 58, 237, 0.45);
    background: rgba(30, 27, 75, 0.45);
    color: rgba(209, 213, 245, 0.9);
    font-weight: 500;
}

.raise-progress {
    display: grid;
    gap: 0.75rem;
}

.raise-progress__header {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
}

.raise-progress__header strong {
    font-size: 1.4rem;
    color: #ffffff;
    letter-spacing: normal;
    text-transform: none;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(71, 85, 105, 0.4);
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    inset: 0;
    width: 0%;
    background: linear-gradient(135deg, #34d399 0%, #22d3ee 100%);
    border-radius: inherit;
    transition: width 0.6s ease;
    box-shadow: 0 12px 32px rgba(45, 212, 191, 0.25);
}

.raise-progress__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.4rem;
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.9);
}

.raise-progress__meta strong {
    color: rgba(226, 232, 240, 0.95);
}

.fundraise-hero {
    position: relative;
    padding: clamp(5.5rem, 9vw, 8rem) 0 clamp(4.2rem, 7vw, 5.8rem);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.92), rgba(30, 64, 175, 0.45));
}

.fundraise-hero::before {
    content: "";
    position: absolute;
    inset: -40% auto auto 60%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.38), transparent 70%);
    opacity: 0.7;
}

.fundraise-hero::after {
    content: "";
    position: absolute;
    inset: auto -20% -35% auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.32), transparent 75%);
    opacity: 0.7;
}

.fundraise-hero .container {
    position: relative;
    z-index: 1;
}

.fundraise-hero__content {
    max-width: 680px;
    display: grid;
    gap: 1.4rem;
}

.fundraise-hero__content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 5.2vw, 3.9rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
}

.fundraise-hero__content p {
    font-size: 1.05rem;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.75;
}

.fundraise-hero__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.fundraise-hero__bullets li {
    position: relative;
    padding-left: 1.6rem;
    color: rgba(209, 213, 219, 0.92);
}

.fundraise-hero__bullets li::before {
    content: "";
    position: absolute;
    top: 0.45rem;
    left: 0;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: rgba(129, 140, 248, 0.85);
    box-shadow: 0 0 12px rgba(129, 140, 248, 0.35);
}

.fundraise-section {
    padding: clamp(4.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.fundraise-card {
    backdrop-filter: blur(24px);
}

.fundraise-wallet-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.fundraise-wallet-bar .label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(148, 163, 184, 0.85);
    margin-bottom: 0.2rem;
}

.fundraise-wallet-bar strong {
    font-size: 1.05rem;
    color: #ffffff;
}

.fundraise-wallet-bar .btn {
    min-width: 170px;
}

.fundraise-wallet-error {
    margin-top: 0.4rem;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(248, 113, 113, 0.28);
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
    font-size: 0.9rem;
    line-height: 1.45;
}

.fundraise-wallet-error[hidden] {
    display: none !important;
}

.raise-form {
    display: grid;
    gap: 0.6rem;
}

.raise-form label {
    font-weight: 600;
    color: rgba(226, 232, 240, 0.95);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.raise-form input[type="number"],
.raise-form input[type="text"] {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(10, 13, 25, 0.84);
    color: #ffffff;
    font-size: 0.95rem;
    padding: 0.75rem 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.raise-form input[type="number"]:focus,
.raise-form input[type="text"]:focus {
    outline: none;
    border-color: rgba(129, 140, 248, 0.75);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

.input-group {
    display: flex;
    align-items: stretch;
    gap: 0.85rem;
}

.input-group input[type="number"] {
    flex: 1;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.6);
    color: #ffffff;
    font-size: 1.1rem;
    padding: 0.9rem 1.1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input[type="number"]::placeholder {
    color: rgba(148, 163, 184, 0.7);
}

.input-group input[type="number"]:focus {
    outline: none;
    border-color: rgba(129, 140, 248, 0.75);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

.raise-form .btn {
    min-width: 200px;
}

.raise-form .btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.input-hint {
    margin: 0;
    font-size: 0.86rem;
    color: rgba(148, 163, 184, 0.85);
}

.fundraise-status {
    min-height: 1.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(148, 163, 184, 0.9);
}

.fundraise-status.is-success {
    color: #34d399;
}

.fundraise-status.is-error {
    color: #f87171;
}

.fundraise-status.is-pending {
    color: #60a5fa;
}

.fundraise-alt-transfer {
    margin-top: 1.4rem;
    padding: 1.1rem 1.35rem;
    border-radius: 18px;
    border: 1px dashed rgba(148, 163, 184, 0.32);
    background: linear-gradient(135deg, rgba(14, 23, 42, 0.82), rgba(30, 41, 59, 0.72));
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.9rem;
    line-height: 1.6;
    display: grid;
    gap: 0.45rem;
}

.fundraise-alt-transfer strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.02rem;
    letter-spacing: 0.03em;
    color: #f8fafc;
}

.fundraise-alt-transfer .alt-address {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.fundraise-alt-transfer .label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(148, 163, 184, 0.85);
}

.fundraise-alt-transfer code {
    font-family: "Space Grotesk", monospace;
    font-size: 0.94rem;
    color: #cbd5f5;
    background: rgba(30, 41, 59, 0.6);
    padding: 0.4rem 0.55rem;
    border-radius: 10px;
    border: 1px solid rgba(129, 140, 248, 0.22);
    word-break: break-all;
}

.fundraise-alt-transfer .meta {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(148, 163, 184, 0.85);
}

.fundraise-contract {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: rgba(148, 163, 184, 0.85);
}

.fundraise-contract a {
    color: rgba(129, 140, 248, 0.9);
    text-decoration: underline;
}

.pool-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pool-chain {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.status-pill {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.status-live {
    background: rgba(34, 211, 238, 0.18);
    border-color: rgba(34, 211, 238, 0.38);
    color: rgba(125, 211, 252, 0.95);
}

.status-upcoming {
    background: rgba(248, 115, 61, 0.18);
    border-color: rgba(248, 115, 61, 0.38);
    color: rgba(251, 191, 36, 0.95);
}

.status-ended {
    background: rgba(100, 116, 139, 0.28);
    border-color: rgba(100, 116, 139, 0.4);
    color: rgba(148, 163, 184, 0.9);
}

.pool-card p {
    color: var(--text-dim);
}

.pool-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.pool-meta .label {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.65);
}

.pool-meta .value {
    font-weight: 600;
}

.pool-progress {
    display: grid;
    gap: 0.6rem;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 8px;
    background: rgba(15, 23, 42, 0.7);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar span {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.6), rgba(248, 115, 61, 0.75));
    border-radius: 999px;
}

.progress-info {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.75);
}

.pool-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.pool-footer .access {
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.75);
}

.pool-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.empty-state {
    padding: 2rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px dashed rgba(148, 163, 184, 0.25);
    border-radius: var(--radius);
    color: var(--text-dim);
}

.tokenomics {
    background: linear-gradient(180deg, rgba(8, 10, 26, 0.6) 0%, rgba(10, 14, 30, 0.85) 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.token-card, .flow-card {
    background: rgba(6, 10, 24, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius);
    padding: 1.8rem;
    backdrop-filter: blur(12px);
}

.token-card h3, .flow-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.token-card ul {
    display: grid;
    gap: 0.5rem;
    color: var(--text-dim);
}

.distribution-card {
    background: rgba(6, 10, 24, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius);
    padding: 1.8rem;
    backdrop-filter: blur(12px);
    display: grid;
    gap: 1.2rem;
}

.distribution-track {
    position: relative;
    display: flex;
    width: 100%;
    height: 18px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(148, 163, 184, 0.18);
}

.distribution-bar {
    height: 100%;
}

.distribution-bar--fairlaunch {
    background: #d19afc;
}

.distribution-bar--liquidity {
    background: #f59e0b;
}

.distribution-bar--unlocked {
    background: #34d399;
}

.distribution-bar--platform {
    background: #38bdf8;
}

.distribution-legend {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.9);
}

.distribution-legend li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.distribution-legend .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot--fairlaunch { background: #d19afc; }
.dot--liquidity { background: #f59e0b; }
.dot--unlocked { background: #34d399; }
.dot--platform { background: #38bdf8; }

.flow-chart {
    display: grid;
    gap: 1rem;
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(248, 115, 61, 0.14);
    border: 1px solid rgba(248, 115, 61, 0.3);
    border-radius: 14px;
    padding: 0.9rem 1.2rem;
}

.flow-item span {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fbbf24;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.tier-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.tier-card:hover {
    transform: translateY(-6px);
    border-color: rgba(248, 115, 61, 0.35);
}

.tier-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.tier-apr {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.tier-card ul {
    display: grid;
    gap: 0.45rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.tier-card.highlighted {
    border-color: rgba(248, 115, 61, 0.5);
    background: linear-gradient(180deg, rgba(248, 115, 61, 0.12), rgba(34, 211, 238, 0.08));
}

.staking-note {
    margin-top: 2.5rem;
    background: rgba(34, 211, 238, 0.09);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: var(--radius);
    padding: 1.8rem;
    text-align: center;
    color: var(--text-dim);
}

.dao-grid, .gamefi-grid, .social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
}

.dao-card, .game-card, .social-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem;
}

.dao-card h3, .game-card h3, .social-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.dao-card p, .game-card p, .social-card p {
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.dao-card ul, .game-card ul, .social-card ul {
    display: grid;
    gap: 0.45rem;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.95rem;
}

.mining {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(4, 8, 22, 0.92) 0%, rgba(6, 10, 24, 0.98) 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.mining-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(1.8rem, 5vw, 3rem);
    align-items: stretch;
}

.mining-card {
    display: grid;
    gap: 1.4rem;
}

.mining-card h3 {
    font-size: 1.6rem;
    font-family: 'Space Grotesk', sans-serif;
}

.mining-card p {
    color: rgba(226, 232, 240, 0.9);
}

.mining-card ul {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    color: rgba(191, 219, 254, 0.92);
    font-size: 0.98rem;
}

.mining-card ul strong {
    color: #38bdf8;
}

.mining-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.mining-note {
    background: rgba(11, 17, 34, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 20px;
    padding: clamp(1.4rem, 3.6vw, 2rem);
    display: grid;
    gap: 0.75rem;
    color: rgba(203, 213, 225, 0.92);
    box-shadow: 0 24px 42px rgba(3, 9, 25, 0.35);
}

.mining-note h4 {
    font-size: 1.15rem;
    font-family: 'Space Grotesk', sans-serif;
    color: #f8fafc;
}

.mining-address {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.mining-address span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(148, 163, 184, 0.8);
}

.mining-note code {
    background: rgba(30, 41, 59, 0.65);
    border: 1px solid rgba(129, 140, 248, 0.24);
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.92rem;
    color: #cbd5f5;
    word-break: break-all;
}

.mining-meta {
    color: rgba(148, 163, 184, 0.85);
    font-size: 0.88rem;
    margin: 0;
}

.mining-balance-count {
    font-size: 0.85rem;
    color: rgba(203, 213, 225, 0.85);
}

.mining-alt-transfer {
    margin-top: 1.4rem;
    padding: 1.1rem 1.35rem;
    border-radius: 18px;
    border: 1px dashed rgba(148, 163, 184, 0.32);
    background: linear-gradient(135deg, rgba(14, 23, 42, 0.82), rgba(30, 41, 59, 0.72));
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.9rem;
    line-height: 1.6;
    display: grid;
    gap: 0.45rem;
}

.mining-alt-transfer strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.02rem;
    letter-spacing: 0.03em;
    color: #f8fafc;
}

.mining-alt-transfer .alt-address {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.mining-alt-transfer .label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(148, 163, 184, 0.85);
}

.mining-alt-transfer code {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.94rem;
    color: #cbd5f5;
    background: rgba(30, 41, 59, 0.6);
    padding: 0.4rem 0.55rem;
    border-radius: 10px;
    border: 1px solid rgba(129, 140, 248, 0.22);
    word-break: break-all;
}

.mining-alt-transfer .meta {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(148, 163, 184, 0.85);
}

.mining-balance {
    margin-top: 1.2rem;
    padding: 1.15rem 1.4rem;
    border-radius: 18px;
    border: 1px solid rgba(34, 197, 94, 0.28);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(34, 197, 94, 0.08));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.1rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mining-balance:hover {
    border-color: rgba(34, 197, 94, 0.42);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(34, 197, 94, 0.1));
    box-shadow: 0 18px 36px rgba(16, 185, 129, 0.15);
}

.mining-balance__info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mining-balance strong {
    font-size: 1.4rem;
    color: #bbf7d0;
}

.mining-balance.is-loading strong {
    opacity: 0.6;
}

.mining-balance button {
    margin-left: auto;
}

.mining-balance-meta {
    margin: 0;
    color: rgba(148, 163, 184, 0.85);
    font-size: 0.85rem;
}

.mining-balance-meta.is-info {
    color: rgba(148, 163, 184, 0.88);
}

.mining-balance-meta.is-success {
    color: rgba(134, 239, 172, 0.92);
}

.mining-balance-meta.is-pending {
    color: rgba(250, 204, 21, 0.9);
}

.mining-balance-meta.is-error {
    color: rgba(248, 113, 113, 0.9);
}

.mining-hero {
    position: relative;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.35), transparent 60%),
                radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.25), transparent 65%);
}

.mining-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 -25% 0;
    height: 45%;
    background: radial-gradient(circle at bottom, rgba(56, 189, 248, 0.25), transparent 70%);
    pointer-events: none;
}

.meme-token {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(10, 14, 30, 0.85) 0%, rgba(6, 10, 24, 0.95) 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.meme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.8rem, 5vw, 2.8rem);
    align-items: center;
}

.meme-copy {
    display: grid;
    gap: 1.4rem;
}

.meme-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.35);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(191, 219, 254, 0.95);
}

.meme-copy h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
}

.meme-copy p {
    color: rgba(226, 232, 240, 0.9);
    font-size: 1rem;
    line-height: 1.65;
}

.meme-copy ul {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    color: rgba(226, 232, 240, 0.85);
    font-size: 0.95rem;
}

.meme-copy ul li strong {
    color: #fbbf24;
}

.meme-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.meme-card {
    background: rgba(6, 10, 24, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    padding: clamp(1.6rem, 4vw, 2rem);
    box-shadow: 0 24px 40px rgba(5, 8, 22, 0.45);
    display: grid;
    gap: 1rem;
}

.meme-badge {
    align-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    background: rgba(248, 115, 61, 0.18);
    border: 1px solid rgba(248, 115, 61, 0.35);
    color: rgba(252, 211, 77, 0.95);
    font-weight: 700;
    letter-spacing: 0.18em;
}

.meme-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.meme-card ul {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    color: rgba(226, 232, 240, 0.85);
}

.meme-card ul li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.meme-note {
    color: rgba(191, 219, 254, 0.85);
    font-size: 0.9rem;
}

.text-gradient {
    background: linear-gradient(120deg, #fbbf24 0%, #fb7185 55%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline {
    display: grid;
    gap: 1.5rem;
}

.timeline-item {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 100%;
    left: 0;
    top: 0;
    background: var(--accent);
    border-radius: 4px;
}

.timeline-item .time {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(248, 115, 61, 0.16);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.timeline-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.timeline-item p {
    color: var(--text-dim);
}

.cta {
    padding: 5rem 0 6rem;
}

.cta-card {
    background: linear-gradient(120deg, rgba(34, 211, 238, 0.22), rgba(248, 115, 61, 0.22));
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 25px 50px rgba(8, 13, 31, 0.35);
}

.cta-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
}

.cta-card p {
    color: rgba(15, 23, 42, 0.82);
    max-width: 640px;
    margin: 0 auto 1.8rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-footer {
    padding: 2.5rem 0;
    background: rgba(2, 6, 18, 0.95);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand img {
    width: 38px;
    height: 38px;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    color: var(--text-dim);
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 1.3rem;
    align-items: center;
    color: var(--text-dim);
}

.footer-social a {
    color: rgba(148, 163, 184, 0.9);
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #ffffff;
}

.footer-social .pending {
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.55);
    font-style: italic;
}

.footer-meta {
    color: rgba(148, 163, 184, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 1480px) {
    .main-nav {
        gap: 0.6rem;
        margin: 0 1rem;
        font-size: 0.85rem;
    }

    .header-actions .btn {
        padding: 0.72rem 1.25rem;
        font-size: 0.92rem;
    }
}

@media (max-width: 1400px) {
    .main-nav {
        gap: 0.55rem;
    }
}

@media (max-width: 1320px) {
    .site-header {
        padding-inline: 1rem;
    }

    .site-header .container {
        flex-wrap: wrap;
        gap: 0.85rem;
    }

    .main-nav {
        position: fixed;
        inset: 70px 16px auto;
        background: rgba(7, 10, 25, 0.94);
        border: 1px solid rgba(148, 163, 184, 0.2);
        border-radius: 20px;
        padding: 1.5rem;
        margin: 0;
        flex-direction: column;
        gap: 1rem;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .main-nav a,
    .main-nav button {
        width: 100%;
        justify-content: center;
    }

    .main-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (max-width: 900px) {
    .launchpad,
    .ecosystem,
    .tokenomics,
    .staking,
    .dao,
    .mining,
    .meme-token,
    .gamefi,
    .socialfi,
    .roadmap,
    .cta {
        padding: clamp(3rem, 8vw, 4.5rem) 0;
    }

    .section-heading {
        text-align: left;
        margin-bottom: 2rem;
    }

    .section-heading p {
        margin: 0;
    }

    .feature-grid,
    .tokenomics-grid,
    .tier-grid,
    .dao-grid,
    .gamefi-grid,
    .social-grid,
    .meme-grid,
    .mining-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .token-card,
    .distribution-card,
    .flow-card,
    .tier-card,
    .dao-card,
    .game-card,
    .social-card,
    .meme-card {
        padding: 1.6rem;
    }

    .mining-actions {
        width: 100%;
    }

    .mining-actions .btn {
        flex: 1 1 100%;
    }

    .mining-balance {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .mining-balance button {
        width: 100%;
    }

    .mining-note {
        padding: 1.25rem 1.4rem;
    }

    .mining-alt-transfer {
        padding: 1rem 1.2rem;
    }

    .meme-copy {
        text-align: left;
    }

    .meme-actions {
        width: 100%;
    }

    .meme-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .cta-card {
        text-align: left;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-social {
        flex-wrap: wrap;
        gap: 0.85rem;
        align-items: flex-start;
    }

    .footer-meta {
        text-align: left;
    }
}

@media (max-width: 960px) {
    .dapp-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .launchpad-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .raise-card {
        padding: 1.8rem;
    }

    .raise-meta {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .raise-cta {
        width: 100%;
    }

    .app-layout {
        grid-template-columns: 1fr;
    }

    .metric-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .app-card {
        padding: 1.6rem;
    }

    .hero--prdt .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy {
        align-items: center;
    }

    .hero-chip {
        margin-inline: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 2rem;
        min-height: 320px;
    }

    .hero-bear-wrapper {
        width: min(100%, 360px);
    }

    .hero-visual__glow {
        width: clamp(220px, 60vw, 360px);
        height: clamp(240px, 65vw, 400px);
    }

    .hero-brand {
        left: 50%;
        transform: translateX(-50%);
        top: clamp(1.2rem, 6vw, 2.2rem);
    }

    .fundraise-wallet-bar {
        gap: 1rem;
    }
}

@media (max-width: 680px) {
    .hero {
        padding-top: 5.5rem;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-end;
        gap: 0.6rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-copy {
        align-items: flex-start;
        text-align: left;
    }

    .hero-bear-wrapper {
        width: min(100%, 320px);
    }

    .hero-visual__glow {
        inset: auto;
    }

    .hero-brand {
        position: static;
        transform: none;
        margin-bottom: 2.5rem;
        justify-content: flex-start;
    }

    .corner-actions {
        top: clamp(0.8rem, 4vw, 1.4rem);
        right: clamp(0.6rem, 6vw, 1.4rem);
        gap: 0.6rem;
    }

    .hero-brand .logo__badge {
        width: clamp(54px, 22vw, 72px);
    }

    .hero-brand .logo__badge img {
        width: 100%;
        height: auto;
    }

    .hero-brand .logo__wordmark {
        font-size: clamp(1.12rem, 5.4vw, 1.42rem);
        letter-spacing: 0.24em;
    }

    .cta-card {
        padding: 2.4rem 1.6rem;
    }

    .site-footer .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .wallet-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .wallet-row span:last-child {
        text-align: left;
    }

    .pool-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .wallet-mini {
        width: 100%;
        justify-content: space-between;
    }

    .app-header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-hero {
        padding-top: 2.5rem;
    }

    .fundraise-hero__content {
        text-align: left;
        gap: 1.1rem;
    }

    .fundraise-hero__content .hero-buttons {
        width: 100%;
        gap: 0.75rem;
    }

    .fundraise-hero__content .hero-buttons .btn {
        width: 100%;
    }

    .fundraise-wallet-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .fundraise-wallet-bar .btn {
        width: 100%;
    }

    .input-group {
        flex-direction: column;
    }

    .raise-form .btn {
        width: 100%;
        min-width: 0;
    }

    .raise-progress__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .raise-cta {
        flex-direction: column;
        width: 100%;
    }

    .raise-cta .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 600px) {
    body {
        padding-bottom: 5.5rem;
    }

    .container {
        width: min(640px, 92vw);
    }

    .corner-actions {
        top: auto;
        bottom: clamp(1rem, 5vw, 1.9rem);
        right: 50%;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        background: rgba(12, 18, 36, 0.92);
        padding: 0.45rem 0.65rem;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.22);
        box-shadow: 0 18px 38px rgba(5, 8, 22, 0.35);
        width: auto;
    }

    .corner-actions .btn {
        min-width: 0;
        width: auto;
        padding: 0.5rem 0.95rem;
        min-height: 38px;
        font-size: 0.82rem;
    }

    .corner-actions .btn.small,
    .corner-actions .btn.ghost.small {
        padding: 0.45rem 0.85rem;
        font-size: 0.8rem;
    }

    .hero-subhead,
    .section-heading p {
        font-size: 0.95rem;
    }

    .hero-buttons .btn,
    .raise-cta .btn,
    .meme-actions .btn,
    .mining-actions .btn,
    .cta-actions .btn,
    .fundraise-wallet-bar .btn,
    .app-wallet-actions .btn {
        width: 100%;
    }

    .token-card,
    .distribution-card,
    .flow-card,
    .tier-card,
    .dao-card,
    .game-card,
    .social-card,
    .meme-card,
    .raise-card,
    .app-card {
        padding: 1.4rem;
    }

    .footer-brand,
    .footer-social,
    .footer-meta {
        width: 100%;
    }

    .footer-social {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .whitepaper-section table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .whitepaper-section table th,
    .whitepaper-section table td {
        min-width: 160px;
    }

    .whitepaper-cta {
        width: 100%;
    }

    .whitepaper-cta .btn {
        width: 100%;
    }
}

body.modal-open {
    overflow: hidden;
}

.terminal-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(5, 6, 15, 0.65);
    backdrop-filter: blur(14px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.terminal-modal[hidden] {
    display: none;
}

.terminal-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.terminal-modal__overlay {
    position: absolute;
    inset: 0;
}

.terminal-modal__dialog {
    position: relative;
    width: min(520px, 92vw);
    max-height: 92vh;
    overflow-y: auto;
    background: rgba(9, 13, 25, 0.94);
    border-radius: 26px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 26px 60px rgba(5, 6, 15, 0.55);
    padding: clamp(1.4rem, 2.8vw, 2rem);
    color: var(--text);
    z-index: 1;
}

.terminal-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    transition: color 0.2s ease, background 0.2s ease;
}

.terminal-modal__close:hover {
    color: var(--text);
    background: rgba(15, 23, 42, 0.35);
}

.terminal-modal__header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.terminal-modal__header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.35rem, 2.6vw, 1.6rem);
    letter-spacing: 0.02em;
}

.terminal-modal__header p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.55;
}

.terminal-modal__body {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.terminal-modal__section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.terminal-modal__section-title {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(226, 232, 240, 0.68);
}

.terminal-modal__address {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(14, 17, 32, 0.78);
}

.terminal-modal__address code {
    flex: 1 1 auto;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.88rem;
    word-break: break-all;
}

.terminal-modal__address button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.terminal-modal__status {
    font-size: 0.84rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.terminal-modal__status.is-error {
    color: #f87171;
}

.terminal-modal__status.is-success {
    color: #4ade80;
}

.terminal-modal__status.is-pending {
    color: #facc15;
}

.terminal-modal__status.is-muted {
    color: rgba(203, 213, 225, 0.78);
}

.terminal-modal__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.terminal-modal__entry {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(13, 17, 30, 0.76);
}

.terminal-modal__entry.is-primary {
    border-color: rgba(248, 115, 61, 0.45);
}

.terminal-modal__entry.is-fallback {
    border-style: dashed;
    border-color: rgba(248, 115, 61, 0.35);
    background: rgba(24, 18, 32, 0.72);
}

.terminal-modal__entry-asset {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(248, 115, 61, 0.92);
}

.terminal-modal__entry.is-primary .terminal-modal__entry-asset {
    color: var(--accent-solid);
}

.terminal-modal__entry-value {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.92rem;
    word-break: break-all;
}

.terminal-modal__entry-meta {
    font-size: 0.75rem;
    color: rgba(203, 213, 225, 0.65);
}

.terminal-modal__empty {
    font-size: 0.85rem;
    color: rgba(203, 213, 225, 0.72);
}

.terminal-modal__steps {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding-left: 1.2rem;
    font-size: 0.85rem;
    color: rgba(203, 213, 225, 0.78);
}

.terminal-modal__form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(12, 15, 28, 0.78);
}

.terminal-modal__form label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.7);
    font-weight: 700;
}

.terminal-modal__form input {
    background: rgba(10, 13, 25, 0.84);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    padding: 0.65rem 0.9rem;
    color: var(--text);
    font-size: 0.95rem;
}

.terminal-modal__form input:focus {
    outline: 2px solid rgba(34, 211, 238, 0.45);
    outline-offset: 2px;
}

.terminal-modal__table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(12, 16, 29, 0.82);
}

.terminal-modal__json {
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(10, 13, 25, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: rgba(226, 232, 240, 0.92);
    font-family: Consolas, 'Courier New', monospace;
    font-size: 0.78rem;
    line-height: 1.45;
    max-height: 260px;
    overflow: auto;
    white-space: pre;
}

.terminal-modal__json[hidden] {
    display: none;
}

.terminal-modal__table th,
.terminal-modal__table td {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    text-align: left;
}

.terminal-modal__table thead {
    background: rgba(15, 23, 42, 0.65);
}

.terminal-modal__table tbody tr:nth-child(even) {
    background: rgba(8, 12, 24, 0.55);
}

.terminal-modal__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(148, 163, 184, 0.2);
    color: rgba(226, 232, 240, 0.86);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.terminal-modal__pill.is-success {
    background: rgba(74, 222, 128, 0.18);
    color: #4ade80;
}

.terminal-modal__pill.is-error {
    background: rgba(248, 113, 113, 0.18);
    color: #f87171;
}

.terminal-modal__pill.is-pending {
    background: rgba(250, 204, 21, 0.2);
    color: #facc15;
}

.terminal-modal__note {
    font-size: 0.8rem;
    color: rgba(203, 213, 225, 0.68);
    line-height: 1.5;
}

/* Whitepaper styles */
.whitepaper-hero {
    padding: 4rem 0 2rem;
    background: linear-gradient(140deg, rgba(34, 211, 238, 0.25), rgba(248, 115, 61, 0.12));
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.whitepaper-header {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.whitepaper-header .logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    width: max-content;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.whitepaper-header .logo img {
    width: clamp(38px, 7vw, 52px);
    height: clamp(38px, 7vw, 52px);
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(15, 23, 42, 0.4));
}

.whitepaper-header .logo span {
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.9);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.whitepaper-header .logo:hover {
    transform: translateX(-2px);
    border-color: rgba(148, 163, 184, 0.55);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.35);
}

.whitepaper .hero-text h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.1rem, 3.2vw, 3.1rem);
    color: var(--text);
}

.whitepaper .hero-text p {
    color: rgba(226, 232, 240, 0.82);
    max-width: 680px;
}

.whitepaper .hero-text .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.4rem;
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.95rem;
}

.whitepaper .hero-text .meta a {
    color: rgba(125, 211, 252, 0.95);
}

.whitepaper-main {
    padding: 3.5rem 0 4rem;
}

.whitepaper-main .container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
}

.whitepaper-toc {
    position: sticky;
    top: 100px;
    align-self: start;
    background: rgba(6, 10, 24, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    padding: 1.6rem;
}

.whitepaper-toc h2 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.whitepaper-toc ol {
    list-style: decimal inside;
    display: grid;
    gap: 0.6rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.whitepaper-toc a:hover {
    color: white;
}

.whitepaper-content {
    background: rgba(5, 8, 20, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 24px;
    padding: 2.4rem;
    display: grid;
    gap: 2.5rem;
}

.whitepaper-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.whitepaper-section h3 {
    font-size: 1.2rem;
    margin: 1.2rem 0 0.8rem;
}

.whitepaper-section p {
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.whitepaper-section ul,
.whitepaper-section ol {
    margin-left: 1.2rem;
    color: rgba(226, 232, 240, 0.92);
    display: grid;
    gap: 0.55rem;
}

.whitepaper-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 16px;
    overflow: hidden;
}

.whitepaper-section table th,
.whitepaper-section table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    text-align: left;
    color: rgba(226, 232, 240, 0.92);
}

.whitepaper-section table th {
    background: rgba(34, 211, 238, 0.12);
    font-weight: 600;
}

.whitepaper-section table tr:last-child td {
    border-bottom: none;
}

.whitepaper-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.8rem;
}

.whitepaper-footer {
    padding: 2.5rem 0;
    background: rgba(2, 6, 18, 0.95);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    text-align: center;
    color: rgba(148, 163, 184, 0.75);
    font-size: 0.95rem;
}

.whitepaper-footer a {
    color: var(--secondary);
}

.whitepaper-footer .container {
    display: grid;
    gap: 0.75rem;
    justify-items: center;
}

.whitepaper-footer .footer-social {
    gap: 1.1rem;
}

@media (max-width: 1024px) {
    .whitepaper-main .container {
        grid-template-columns: 1fr;
    }

    .whitepaper-toc {
        position: static;
        order: -1;
    }
}

@media (max-width: 720px) {
    .whitepaper-content {
        padding: 1.8rem;
    }

    .whitepaper-cta {
        flex-direction: column;
    }
}

.admin-panel {
    margin: 4rem auto;
    width: min(1160px, 90vw);
}

.admin-panel[hidden] {
    display: none !important;
}

.admin-panel__header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.admin-panel__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.admin-panel__card {
    min-height: 280px;
}

.admin-panel__list table {
    width: 100%;
    border-collapse: collapse;
}

.admin-panel__list th,
.admin-panel__list td {
    padding: 0.55rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    font-size: 0.9rem;
}

.admin-panel__list td:last-child {
    white-space: nowrap;
}

.admin-panel__list .btn {
    margin-right: 0.35rem;
    margin-bottom: 0.35rem;
}

.admin-panel__empty {
    font-size: 0.9rem;
    color: var(--text-dim);
}
