:root {
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.14);
    --glass-bg-strong: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.38);
    --glass-shadow: 0 10px 40px rgba(35, 28, 75, 0.28);
    --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.28);
    --on-glass-text: rgba(255, 255, 255, 0.92);
    --on-glass-muted: rgba(255, 255, 255, 0.78);
    --on-glass-accent: #67e8f9;
    --accent-cyan: #22d3ee;
    --accent-cyan-bright: #00f2fe;
    --accent-cyan-soft: #a5f3fc;
    --accent-green: #43e97b;
    --accent-green-bright: #38f9d7;
    --accent-green-soft: #6ee7b7;
    --accent-cyan-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --accent-green-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --accent-glow-cyan: rgba(0, 242, 254, 0.45);
    --accent-glow-green: rgba(67, 233, 123, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    padding: 20px;
    color: #2d3748;
    position: relative;
    overflow-x: clip;
}

.bg-glow {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bg-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    will-change: transform;
}

.bg-glow-orb--1 {
    width: min(55vw, 420px);
    height: min(55vw, 420px);
    top: 8%;
    left: -8%;
    background: radial-gradient(circle, var(--accent-cyan-bright) 0%, transparent 70%);
    animation: bg-glow-drift-1 28s ease-in-out infinite;
}

.bg-glow-orb--2 {
    width: min(48vw, 380px);
    height: min(48vw, 380px);
    top: 42%;
    right: -10%;
    background: radial-gradient(circle, #f093fb 0%, transparent 70%);
    animation: bg-glow-drift-2 34s ease-in-out infinite;
}

.bg-glow-orb--3 {
    width: min(42vw, 320px);
    height: min(42vw, 320px);
    bottom: 6%;
    left: 28%;
    background: radial-gradient(circle, var(--accent-green-bright) 0%, transparent 70%);
    animation: bg-glow-drift-3 32s ease-in-out infinite;
}

@keyframes bg-glow-drift-1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6vw, 4vh); }
}

@keyframes bg-glow-drift-2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5vw, -3vh); }
}

@keyframes bg-glow-drift-3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(4vw, -5vh); }
}

@media (prefers-reduced-motion: reduce) {
    .bg-glow-orb {
        animation: none;
    }

    .hero-img {
        animation: fadeInDown 0.8s ease;
    }

    .card.scroll-reveal,
    .footer.scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    min-width: 0;
}

.header {
    margin-bottom: 48px;
    animation: fadeInDown 0.8s ease;
}

.header-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-img {
    display: block;
    width: min(100%, 360px);
    max-height: min(48vh, 360px);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.28));
    animation: fadeInDown 0.8s ease, heroFloat 4s ease-in-out 0.8s infinite;
}

.hero-img--mobile {
    display: none;
}

.header-copy {
    margin-top: -8px;
    padding: 0 12px;
    max-width: 720px;
}

.header-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2.35rem, 8.5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15em 0.35em;
    margin-bottom: 12px;
}

.title-word {
    color: #ffffff;
    text-shadow:
        0 2px 0 rgba(88, 28, 135, 0.5),
        0 4px 14px rgba(0, 0, 0, 0.35);
}

.title-statsy {
    color: var(--accent-cyan-soft);
}

.title-home {
    color: #bbf7d0;
    text-shadow:
        0 2px 0 rgba(6, 95, 70, 0.45),
        0 4px 14px rgba(0, 0, 0, 0.35);
}

.title-amp {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.55em;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.05em;
    align-self: center;
    margin: 0 0.05em;
}

.header-subtitle {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(0.9rem, 2.8vw, 1.15rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.network-stats-bar {
    margin-top: 20px;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(34, 211, 238, 0.35);
    font-family: var(--font-body);
    font-size: clamp(0.72rem, 2vw, 0.88rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.45;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.accent-num {
    font-weight: 700;
    color: var(--accent-cyan-bright);
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}

.accent-num--green {
    color: var(--accent-green-bright);
    text-shadow: 0 0 20px rgba(56, 249, 215, 0.35);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 25px;
    margin-bottom: 30px;
    max-width: 100%;
    min-width: 0;
}

.card {
    min-width: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--glass-shadow), var(--glass-inset);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.4s ease;
}

.card.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card.scroll-reveal.is-visible:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 16px 48px rgba(35, 28, 75, 0.35), var(--glass-inset);
}

.card:not(.stats-card):not(.pink-paws-card) {
    color: var(--on-glass-text);
}

.card:not(.stats-card):not(.pink-paws-card) .card-section-title {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.28);
}

.card:not(.stats-card):not(.pink-paws-card) .info-text {
    color: var(--on-glass-muted);
}

.card:not(.stats-card):not(.pink-paws-card) .info-text strong,
.card:not(.stats-card):not(.pink-paws-card) .info-text a {
    color: var(--on-glass-accent);
}

.card:not(.stats-card):not(.pink-paws-card) .section-heading {
    color: #ffffff;
}

.card:not(.stats-card):not(.pink-paws-card) .token-lead {
    color: rgba(255, 255, 255, 0.8);
}

.card:not(.stats-card):not(.pink-paws-card) .token-card-footer {
    border-top-color: rgba(255, 255, 255, 0.22);
}

.card:not(.stats-card):not(.pink-paws-card) .token-tagline {
    color: rgba(255, 255, 255, 0.72);
}

.card:not(.stats-card):not(.pink-paws-card) .wallet-overview-meta {
    color: rgba(255, 255, 255, 0.75);
}

.card:not(.stats-card):not(.pink-paws-card) .wallet-overview-loading {
    color: rgba(255, 255, 255, 0.7);
}


.card-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon {
    font-size: 2rem;
}

.stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.stats-card .card-section-title--light {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.stats-card .trade-btn {
    background: var(--accent-cyan-gradient);
    color: #ffffff;
    padding: 26px 20px;
    font-size: 1.08rem;
    font-weight: 700;
    border-radius: 16px;
    box-shadow:
        0 8px 28px rgba(0, 242, 254, 0.4),
        0 4px 14px rgba(0, 0, 0, 0.18);
}

.stats-card .trade-btn:hover {
    background: linear-gradient(135deg, #5bb8ff 0%, #33f5ff 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow:
        0 14px 32px rgba(0, 242, 254, 0.5),
        0 6px 18px rgba(0, 0, 0, 0.22);
}

.stats-card .trade-btn.home {
    background: var(--accent-green-gradient);
    color: #ffffff;
    box-shadow:
        0 8px 28px rgba(67, 233, 123, 0.45),
        0 4px 14px rgba(0, 0, 0, 0.18);
}

.stats-card .trade-btn.home:hover {
    background: linear-gradient(135deg, #52ed87 0%, #4afbe0 100%);
    color: #ffffff;
    box-shadow:
        0 14px 32px rgba(67, 233, 123, 0.55),
        0 6px 18px rgba(0, 0, 0, 0.22);
}

.stats-card .trade-btn.swap {
    background: linear-gradient(135deg, #f472b6 0%, #c084fc 100%);
    color: #ffffff;
    box-shadow:
        0 8px 28px rgba(244, 114, 182, 0.4),
        0 4px 14px rgba(0, 0, 0, 0.18);
}

.stats-card .trade-btn.swap:hover {
    background: linear-gradient(135deg, #fb7185 0%, #d8b4fe 100%);
    box-shadow:
        0 14px 32px rgba(192, 132, 252, 0.55),
        0 6px 18px rgba(0, 0, 0, 0.22);
}

.stats-card .trade-btn--tool {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.45);
    box-shadow: 0 6px 20px rgba(35, 28, 75, 0.25);
}

.stats-card .trade-btn--tool:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--accent-cyan-bright);
    box-shadow: 0 10px 28px rgba(0, 242, 254, 0.25);
}

.stats-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.stats-card--compact {
    padding: 20px 22px 22px;
    flex-shrink: 0;
}

.stats-card--compact .card-section-title--light {
    margin-bottom: 14px;
    padding-bottom: 10px;
}

.stats-card--planner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
}

.planner-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.planner-card-mascot {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.planner-card-title {
    margin-bottom: 4px;
    padding-bottom: 0;
    border-bottom: none;
    font-size: 1.2rem;
    text-align: left;
}

.planner-card-desc {
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.stats-card--planner .trade-btn--tool {
    margin-top: auto;
    padding: 18px 16px;
    font-size: 0.92rem;
}

.stats-card .social-link {
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-cyan);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.25);
}

.stats-card .social-link:hover {
    background: #ffffff;
    color: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow-cyan);
    border-color: rgba(34, 211, 238, 0.45);
}

.stats-card .social-link--telegram {
    color: #3182ce;
}

.card-section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #4a5568;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.card-section-title--light {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.25);
}

.stats-card:first-of-type .card-section-title--light {
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: none;
}

.stats-total-supply {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.stats-treasury-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.stats-treasury-label a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.stats-treasury-label a:hover {
    color: var(--accent-cyan-bright);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 0;
}

.stat-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    color: #2d3748;
}

.stat-label {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 5px;
    font-weight: 600;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-cyan);
}

#statsy-for-sale {
    color: #0891b2;
}

#home-for-sale {
    color: #059669;
}

.stat-box:last-child .stat-value:not(#statsy-for-sale) {
    color: #059669;
}

.stat-supply {
    font-size: 1.2rem;
    color: #4a5568;
    margin-top: 5px;
}

.wallet-overview-meta {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    margin: -8px 0 20px;
    min-height: 1.2em;
}

.wallet-overview-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-body);
    font-size: 1rem;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    max-width: 1040px;
    margin: 0 auto;
}

.tokenomics-grid > .info-text,
.tokenomics-grid > .wallet-overview-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.tokenomics-grid .wallet-card {
    grid-column: span 3;
}

/* Row 1: four wallets · row 2: three wallets centered */
.tokenomics-grid .wallet-card:nth-child(5) {
    grid-column: 2 / span 3;
}

.tokenomics-grid .wallet-card:nth-child(6) {
    grid-column: 5 / span 3;
}

.tokenomics-grid .wallet-card:nth-child(7) {
    grid-column: 8 / span 3;
}

@media (max-width: 900px) {
    .tokenomics-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
    }

    .tokenomics-grid .wallet-card,
    .tokenomics-grid .wallet-card:nth-child(5),
    .tokenomics-grid .wallet-card:nth-child(6),
    .tokenomics-grid .wallet-card:nth-child(7) {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .tokenomics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.wallet-card {
    display: flex;
    flex-direction: column;
    min-height: 240px;
    padding: 20px 18px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    color: #1a202c;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 10px 28px rgba(35, 28, 75, 0.18),
        0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wallet-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 36px rgba(35, 28, 75, 0.22),
        0 4px 12px rgba(8, 145, 178, 0.12);
}

.wallet-card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    text-align: left;
}

.wallet-card-icon {
    font-size: 2.75rem;
    line-height: 1;
    flex-shrink: 0;
    width: 3rem;
    text-align: center;
}

.wallet-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    color: #1e293b;
}

.wallet-card-qubic {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f0fdfa;
    color: #0e7490;
    border: 1px solid rgba(8, 145, 178, 0.18);
    line-height: 1.35;
}

.wallet-card-qubic.is-error {
    background: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}

.wallet-card-assets {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.88rem;
}

.wallet-card-assets li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border-bottom: none;
}

.wallet-asset-group-label {
    margin: 10px 0 6px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
    color: #64748b;
    width: 100%;
}

.wallet-asset-group-label:first-of-type {
    margin-top: 0;
}

.wallet-asset-name {
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wallet-asset-amount {
    text-align: right;
    font-weight: 700;
    font-size: 0.92rem;
    color: #0891b2;
    flex-shrink: 0;
}

.wallet-card-empty {
    margin: 0;
    flex: 1;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #94a3b8;
    padding: 12px;
}

.wallet-card-link {
    display: block;
    margin-top: auto;
    padding-top: 14px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    color: #0891b2;
    text-decoration: none;
    border-top: 1px solid #e2e8f0;
    letter-spacing: 0.02em;
}

.wallet-card:hover .wallet-card-link {
    color: #0e7490;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wallet-card[data-wallet-id='home-vault'] .wallet-card-qubic {
    background: #ecfdf5;
    color: #059669;
    border-color: rgba(5, 150, 105, 0.2);
}

.wallet-card[data-wallet-id='home-vault'] .wallet-asset-amount,
.wallet-card[data-wallet-id='home-vault'] .wallet-card-link {
    color: #059669;
}

.wallet-card[data-wallet-id='home-vault']:hover .wallet-card-link {
    color: #047857;
}

.cards-grid--wheel {
    margin-bottom: 20px;
}

.pink-paws-card {
    padding: 28px 32px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(76, 29, 149, 0.42) 0%, rgba(49, 46, 129, 0.38) 45%, rgba(8, 145, 178, 0.22) 100%);
    border: 1px solid rgba(167, 139, 250, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        var(--glass-shadow),
        0 0 40px rgba(34, 211, 238, 0.12),
        var(--glass-inset);
}

.pink-paws-card:hover {
    transform: translateY(-2px);
}

.wheel-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
    align-items: start;
}

.wheel-panel--action {
    text-align: center;
}

.pink-paws-title {
    font-family: var(--font-heading);
    color: #ffffff;
    text-align: left;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin-bottom: 6px;
}

.wheel-epoch-note {
    margin: 0 0 18px;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent-cyan-soft);
    letter-spacing: 0.02em;
}

.wheel-panel--visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(49, 46, 129, 0.55) 0%, rgba(76, 29, 149, 0.35) 50%, rgba(8, 145, 178, 0.2) 100%);
    border: 1px solid rgba(167, 139, 250, 0.35);
    box-shadow:
        inset 0 0 32px rgba(167, 139, 250, 0.12),
        0 8px 24px rgba(35, 28, 75, 0.25);
    overflow: hidden;
}

.slot-hero-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.slot-hero-img.is-spinning {
    animation: slot-hero-pulse 0.35s ease-in-out infinite;
    filter: brightness(1.08) saturate(1.1);
}

@keyframes slot-hero-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.015);
    }
}

.slot-stage {
    margin: 0 auto 16px;
    max-width: 280px;
}

.slot-machine-mini {
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(49, 46, 129, 0.7) 0%, rgba(30, 27, 75, 0.85) 100%);
    border: 2px solid rgba(251, 191, 36, 0.55);
    box-shadow:
        0 0 0 2px rgba(34, 211, 238, 0.25),
        inset 0 2px 12px rgba(0, 0, 0, 0.35);
}

.slot-reels {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slot-reel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1.75rem;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
}

.slot-stage.is-spinning .slot-reel {
    animation: slot-reel-spin 0.12s linear infinite;
}

.slot-stage.is-spinning .slot-reel:nth-child(2) {
    animation-delay: 0.04s;
}

.slot-stage.is-spinning .slot-reel:nth-child(3) {
    animation-delay: 0.08s;
}

@keyframes slot-reel-spin {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(0);
    }
}

.wheel-status {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    min-height: 2.4em;
    margin: 0 0 14px;
    padding: 0 8px;
    line-height: 1.45;
}

.wheel-spin-btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 14px;
    padding: 16px 28px;
    border: none;
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--accent-cyan-gradient);
    box-shadow:
        0 8px 24px var(--accent-glow-cyan),
        0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wheel-spin-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow:
        0 12px 28px var(--accent-glow-cyan),
        0 6px 16px rgba(0, 0, 0, 0.2);
}

.wheel-spin-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.wheel-meta {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 10px;
    line-height: 1.45;
}

.wheel-footer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    font-family: var(--font-body);
    font-size: 0.82rem;
}

.wheel-footer-sep {
    color: rgba(255, 255, 255, 0.4);
}

.wheel-reload-btn {
    background: transparent;
    border: none;
    color: var(--accent-cyan-soft);
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 4px 0;
}

.wheel-reload-btn:hover:not(:disabled) {
    color: var(--accent-cyan-bright);
}

.wheel-reload-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wheel-explorer-link {
    color: var(--accent-green-soft);
    font-weight: 600;
    text-decoration: none;
}

.wheel-explorer-link:hover {
    color: var(--accent-green-bright);
    text-decoration: underline;
}

.wheel-disclaimer {
    margin: 10px 0 0;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.45;
}

@media (max-width: 768px) {
    .wheel-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pink-paws-card {
        padding: 22px 18px;
    }

    .pink-paws-title,
    .wheel-epoch-note {
        text-align: center;
    }

    .wheel-panel--visual {
        order: -1;
    }

    .slot-hero-img {
        max-height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .slot-stage.is-spinning .slot-reel,
    .slot-hero-img.is-spinning {
        animation: none;
    }
}

.winner-box {
    background: rgba(255, 255, 255, 0.9);
    border: 2px dashed #ff6b9d;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.winner-box.is-revealed {
    opacity: 1;
}

.winner-label {
    color: #d53f8c;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-align: center;
}

.winner-address {
    background: white;
    padding: 15px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-all;
    color: #4a5568;
    text-align: center;
}

.draw-button {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.draw-button:hover:not(:disabled) {
    transform: scale(1.05);
}

.draw-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.trading-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.stats-card .trading-links {
    gap: 20px;
    margin-top: 4px;
    flex: 1;
    justify-content: center;
}

.stats-card:has(.trading-links) {
    display: flex;
    flex-direction: column;
}

.trade-btn {
    background: var(--accent-cyan-gradient);
    color: white;
    text-decoration: none;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.trade-btn:hover {
    transform: translateY(-2px);
}

.trade-btn.home {
    background: var(--accent-green-gradient);
    box-shadow: 0 4px 15px rgba(67, 233, 123, 0.3);
}

.trade-btn.swap {
    background: linear-gradient(135deg, #f472b6 0%, #c084fc 100%);
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.35);
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 18px 20px;
    border-radius: 15px;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease;
}

.social-icon {
    width: 1.35rem;
    height: 1.35rem;
    flex-shrink: 0;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link--telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00a8e8 100%);
}

.info-text {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-text strong {
    color: #667eea;
}

.info-text a {
    color: #667eea;
}

.breakdown-bars {
    list-style: none;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.token-bar {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.token-bar-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    margin-bottom: 8px;
}

.token-bar-label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
}

.token-bar-meta {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
}

.token-bar-pct {
    font-weight: 700;
    color: #ffffff;
}

.token-bar-track {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    margin-bottom: 8px;
}

.token-bar-fill {
    display: block;
    height: 100%;
    width: calc(var(--bar-pct, 0) * 1%);
    min-width: 4px;
    border-radius: 999px;
    transition: width 0.4s ease;
}

.breakdown-bars--statsy .token-bar:nth-child(1) .token-bar-fill { background: linear-gradient(90deg, #22d3ee, #06b6d4); }
.breakdown-bars--statsy .token-bar:nth-child(2) .token-bar-fill { background: linear-gradient(90deg, #a78bfa, #8b5cf6); }
.breakdown-bars--statsy .token-bar:nth-child(3) .token-bar-fill { background: linear-gradient(90deg, #f472b6, #ec4899); }
.breakdown-bars--statsy .token-bar:nth-child(4) .token-bar-fill { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.breakdown-bars--statsy .token-bar:nth-child(5) .token-bar-fill { background: linear-gradient(90deg, #34d399, #10b981); }

.breakdown-bars--home .token-bar:nth-child(1) .token-bar-fill { background: linear-gradient(90deg, #4ade80, #22c55e); }
.breakdown-bars--home .token-bar:nth-child(2) .token-bar-fill { background: linear-gradient(90deg, #22d3ee, #06b6d4); }
.breakdown-bars--home .token-bar:nth-child(3) .token-bar-fill { background: linear-gradient(90deg, #f472b6, #ec4899); }

.token-bar-desc {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
}

.breakdown-list {
    list-style: none;
    margin-top: 15px;
}

.breakdown-list li {
    padding: 10px;
    margin-bottom: 8px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.breakdown-list strong {
    color: #667eea;
}

.section-heading-gradient {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.75rem;
    text-align: center;
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.timeline-list {
    list-style: none;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.timeline-list::-webkit-scrollbar {
    width: 4px;
}

.timeline-list::-webkit-scrollbar-track {
    background: transparent;
}

.timeline-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.timeline-list:hover::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.32);
}

.timeline-item {
    position: relative;
    padding: 0 0 24px 28px;
    border-left: 3px solid rgba(34, 211, 238, 0.75);
    margin-left: 8px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--accent-cyan);
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.85);
}

.timeline-date {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    margin-bottom: 6px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.timeline-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.3;
}

.timeline-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
}

.mascot-container {
    text-align: center;
    margin: 20px 0;
}

.mascot-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 40px;
    padding: 20px;
}

.footer.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.footer.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.footer p {
    margin-top: 10px;
    font-size: 0.9rem;
}

.full-width {
    grid-column: 1 / -1;
}

.section-heading {
    margin: 20px 0 10px;
    color: #667eea;
    font-size: 1.1rem;
}

.token-intro-card {
    text-align: center;
}

.token-intro-text {
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.65;
}

.token-card-footer {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(102, 126, 234, 0.15);
    text-align: center;
}

.whitepaper-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whitepaper-btn:hover {
    transform: translateY(-2px);
}

.whitepaper-btn--statsy {
    background: var(--accent-cyan-gradient);
    box-shadow: 0 4px 14px rgba(79, 172, 254, 0.35);
}

.whitepaper-btn--statsy:hover {
    box-shadow: 0 6px 18px rgba(79, 172, 254, 0.45);
}

.whitepaper-btn--home {
    background: var(--accent-green-gradient);
    box-shadow: 0 4px 14px rgba(67, 233, 123, 0.35);
}

.whitepaper-btn--home:hover {
    box-shadow: 0 6px 18px rgba(67, 233, 123, 0.45);
}

.token-tagline {
    margin: 12px 0 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.45;
}

.token-lead {
    margin-top: -8px;
    margin-bottom: 16px;
    font-style: italic;
    color: #718096;
}

.vault-subcard {
    position: relative;
    margin: 24px 0;
    padding: 22px 20px 18px;
    background: linear-gradient(
        155deg,
        rgba(67, 233, 123, 0.16) 0%,
        rgba(34, 211, 238, 0.1) 42%,
        rgba(15, 23, 42, 0.35) 100%
    );
    border: 1px solid rgba(56, 249, 215, 0.42);
    border-radius: 18px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 10px 32px rgba(56, 249, 215, 0.14),
        0 6px 20px rgba(35, 28, 75, 0.28);
    overflow: hidden;
}

.vault-subcard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 55%, #22d3ee 100%);
}

.vault-subcard-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 0 20px rgba(56, 249, 215, 0.35);
}

.vault-subcard-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-green-soft);
    margin-bottom: 16px;
}

.vault-holdings {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.vault-holdings li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(56, 249, 215, 0.22);
    box-shadow: 0 2px 10px rgba(35, 28, 75, 0.2);
}

.vault-holdings li:last-child {
    margin-bottom: 0;
}

.vault-asset {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
}

.vault-amount {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-green-bright);
    text-align: right;
    text-shadow: 0 0 16px rgba(56, 249, 215, 0.25);
}

#vault-qubic-balance {
    color: var(--accent-cyan-bright);
    text-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
}

.vault-balance-meta {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    margin: -8px 0 16px;
}

.stats-charts-meta {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 20px;
}

.stats-charts-root {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    min-width: 0;
}

.stats-carousel {
    outline: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.stats-carousel-controls--outer {
    margin-bottom: 14px;
}

.stats-carousel-controls--outer .stats-carousel-counter {
    min-width: min(100%, 22rem);
    font-size: 0.95rem;
    line-height: 1.35;
}

.stats-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 10px;
}

.stats-carousel-controls--inner {
    margin-top: 4px;
    margin-bottom: 12px;
    gap: 12px;
}

.stats-carousel-controls--inner .stats-carousel-prev,
.stats-carousel-controls--inner .stats-carousel-next {
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
}

.stats-carousel-counter--inner {
    font-size: 0.82rem;
    min-width: 10rem;
}

.stats-carousel-prev,
.stats-carousel-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(34, 211, 238, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent-cyan-soft);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.stats-carousel-prev:hover,
.stats-carousel-next:hover {
    background: rgba(34, 211, 238, 0.18);
    border-color: rgba(34, 211, 238, 0.65);
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
}

.stats-carousel-counter {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    min-width: 4.5rem;
    text-align: center;
}

.stats-carousel-counter .accent-num {
    font-size: 1em;
}

.stats-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overscroll-behavior-x: contain;
}

.stats-carousel-viewport--inner {
    overscroll-behavior-x: contain;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.12);
}

.stats-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.stats-carousel-track {
    display: flex;
    align-items: stretch;
}

.stats-chart-slide,
.stats-metric-slide {
    flex: 0 0 auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
    padding: 0 2px;
}

.stats-metric-slide {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0 4px;
}

.stats-carousel-dots--inner {
    margin-top: 12px;
}

.stats-carousel-dots--inner .stats-carousel-dot {
    width: 8px;
    height: 8px;
}

.stats-chart-card {
    background: rgba(0, 0, 0, 0.22);
    border-radius: 16px;
    padding: 20px 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.stats-chart-wrap {
    position: relative;
    flex: 1;
    min-height: 300px;
    height: clamp(300px, 48vw, 400px);
    width: 100%;
}

.stats-carousel-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.stats-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.stats-carousel-dot.is-active {
    background: var(--accent-cyan-bright);
    box-shadow: 0 0 10px var(--accent-glow-cyan);
    transform: scale(1.2);
}

.stats-carousel-hint {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 12px;
    line-height: 1.45;
}

.stats-charts-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

@media (min-width: 900px) {
    .stats-chart-wrap {
        height: 400px;
    }

    .stats-chart-card {
        min-height: 460px;
    }
}

.vault-subcard-note {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 12px;
}

.vault-explorer-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-green-bright);
    text-decoration: none;
}

.vault-explorer-link:hover {
    color: var(--accent-cyan-bright);
    text-decoration: underline;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.15);
    }
}

@media (min-width: 769px) {
    .stats-card--planner {
        flex: 1;
    }

    .header-stack {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
        gap: 32px 56px;
        max-width: 980px;
        margin: 0 auto;
        text-align: left;
    }

    .hero-img {
        width: min(240px, 26vw);
        max-height: 260px;
        margin: 0;
        flex-shrink: 0;
    }

    .header-copy {
        flex: 1 1 420px;
        max-width: 580px;
        margin-top: 0;
        padding: 0;
    }

    .header-title {
        justify-content: flex-start;
        font-size: clamp(2.75rem, 5vw, 4.25rem);
    }

    .header-subtitle {
        margin-bottom: 18px;
    }

    .network-stats-bar {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
}

@media (hover: none), (pointer: coarse) {
    .hero-img {
        animation: fadeInDown 0.8s ease;
    }

    html,
    body,
    .container {
        overflow-x: clip;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    html,
    body,
    .container {
        overflow-x: clip;
        max-width: 100%;
    }

    body {
        padding: 12px;
        touch-action: pan-y pinch-zoom;
    }

    .hero-img--desktop {
        display: none;
    }

    .hero-img--mobile {
        display: block;
        animation: fadeInDown 0.8s ease;
    }

    .bg-glow {
        display: none;
    }

    .card,
    .pink-paws-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.18);
    }

    .card.stats-card {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .card.scroll-reveal,
    .footer.scroll-reveal {
        opacity: 1;
        transform: none;
    }

    .bg-glow-orb--1 {
        left: 0;
    }

    .bg-glow-orb--2 {
        right: 0;
    }

    .network-stats-bar {
        max-width: 100%;
        word-break: break-word;
        border-radius: 16px;
    }

    .stats-carousel.is-mobile-stack .stats-carousel-viewport {
        overflow-x: hidden;
    }

    .stats-carousel.is-mobile-stack .stats-carousel-track {
        width: 100%;
    }

    .stats-carousel.is-mobile-stack .stats-chart-slide.is-hidden-slide,
    .stats-carousel.is-mobile-stack .stats-metric-slide.is-hidden-slide {
        display: none !important;
    }

    .stats-carousel.is-mobile-stack .stats-chart-slide,
    .stats-carousel.is-mobile-stack .stats-metric-slide {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .stats-chart-wrap {
        overflow: hidden;
        max-width: 100%;
    }

    .stats-chart-wrap canvas {
        max-width: 100% !important;
    }

    .stats-carousel-controls--outer .stats-carousel-counter {
        min-width: 0;
        font-size: 0.82rem;
    }

    .hero-img--mobile {
        width: min(100%, 220px);
        max-height: 32vh;
    }

    .stats-chart-card {
        min-height: 0;
    }

    .stats-chart-wrap {
        min-height: 240px;
        height: 260px;
    }

    .header-copy {
        margin-top: 0;
    }

    .header-title {
        gap: 0.1em 0.25em;
    }

    .header-subtitle {
        letter-spacing: 0.12em;
        padding-bottom: 12px;
    }

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

    .stats-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px;
    }

    .timeline-list {
        max-height: min(70vh, 560px);
        padding-right: 2px;
        scrollbar-width: none;
    }

    .timeline-list::-webkit-scrollbar {
        display: none;
    }

    .timeline-date {
        font-size: 1rem;
    }

    .timeline-title {
        font-size: 1.15rem;
    }

    .timeline-desc {
        font-size: 1.05rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.92);
    }

    .timeline-item {
        padding-bottom: 28px;
    }
}
