/* Root theme tokens */
:root {
    --color-bg: #05020e;
    --color-card: rgba(12, 8, 28, 0.75);
    --color-card-alt: rgba(20, 14, 45, 0.7);
    --color-border: rgba(255, 255, 255, 0.12);
    --color-accent: #ff6200;
    --color-accent-secondary: #008cff;
    --color-text: #f4f7ff;
    --color-muted: #c4c8d4;
    --font-heading: 'Black Ops One', 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --max-width: 1180px;
    --transition-base: 0.3s ease;
    --shadow-soft: 0 25px 50px -25px rgba(8, 12, 40, 0.5);
    --bg-gradient: radial-gradient(circle at 10% 20%, rgba(32, 19, 65, 0.9), transparent 35%),
        radial-gradient(circle at 90% 15%, rgba(80, 12, 24, 0.75), transparent 45%),
        var(--color-bg);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    touch-action: pan-y;
    overscroll-behavior-x: none;
    font-family: var(--font-body);
    letter-spacing: 0.01em;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--bg-gradient);
    background-attachment: fixed;
    min-height: 100vh;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

p {
    margin-top: 0;
    margin-bottom: 0.85rem;
    color: rgba(244, 247, 255, 0.85);
}

main {
    display: flex;
    flex-direction: column;
    gap: clamp(3.5rem, 7vw, 4.6rem);
    padding: 0 clamp(1.5rem, 4vw, 3rem) clamp(3.5rem, 8vw, 5rem);
}

.site-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1.2rem 0;
}

.site-banner__image {
    width: min(780px, 92%);
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 45px rgba(255, 255, 255, 0.08), 0 18px 35px rgba(5, 5, 25, 0.45);
    filter: none;
}

.hero {
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
    width: min(100%, var(--max-width));
    align-items: center;
}

.hero__media {
    grid-column: span 5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    isolation: isolate;
}

.hero__mascot {
    position: relative;
    width: clamp(240px, 26vw, 420px);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    animation: mascot-float 8s ease-in-out infinite;
    filter: drop-shadow(0 20px 45px rgba(8, 12, 40, 0.55));
    --tilt-rotate-x: 0deg;
    --tilt-rotate-y: 0deg;
    transform-style: preserve-3d;
}

.hero__mascot-glow {
    position: absolute;
    inset: -18%;
    background: radial-gradient(circle, rgba(255, 98, 0, 0.4), rgba(0, 140, 255, 0.15) 48%, rgba(5, 2, 14, 0) 70%);
    filter: blur(12px);
    animation: glow-pulse 6s ease-in-out infinite;
    z-index: 0;
}

.hero__mascot-image {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 28px 45px rgba(5, 5, 25, 0.4);
    z-index: 1;
    animation: mascot-zoom 10s ease-in-out infinite;
}

.hero__mascot-shadow {
    position: absolute;
    bottom: -6%;
    width: 70%;
    height: 18%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
    filter: blur(12px);
    z-index: -1;
}

.hero__sparks span {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 140, 255, 0.4), transparent 65%);
    filter: blur(45px);
    animation: spark-spin 14s linear infinite;
}

.hero__sparks span:nth-child(2) {
    animation-duration: 20s;
    animation-direction: reverse;
    opacity: 0.5;
}

.hero__sparks span:nth-child(3) {
    animation-duration: 26s;
    opacity: 0.35;
}

@keyframes glow-pulse {
    0%,
    100% {
        opacity: 0.8;
        transform: translate(-6%, -4%) scale(1);
    }
    50% {
        opacity: 0.45;
        transform: translate(4%, 6%) scale(1.05);
    }
}

@keyframes spark-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes mascot-float {
    0%,
    100% {
        transform: rotateX(var(--tilt-rotate-x)) rotateY(var(--tilt-rotate-y)) translateY(0) rotate(-2deg);
    }
    50% {
        transform: rotateX(var(--tilt-rotate-x)) rotateY(var(--tilt-rotate-y)) translateY(-12px) rotate(2deg);
    }
}

@keyframes mascot-zoom {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.hero__content {
    grid-column: span 7;
    display: flex;
    flex-direction: column;
    gap: clamp(1.1rem, 2vw, 1.8rem);
    background: rgba(12, 8, 28, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: clamp(1.6rem, 2.4vw, 2.6rem);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 560px;
}

.eyebrow {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.6vw, 3.6rem);
    letter-spacing: 0.08em;
    font-weight: 700;
    text-transform: uppercase;
    color: #d76f67;
    line-height: 1;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    word-break: normal;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

h1 {
    font-size: clamp(1.9rem, 3.2vw, 3.2rem);
    line-height: 1.08;
}

h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    line-height: 1.15;
}

h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    line-height: 1.2;
}

.hero__lead {
    margin: 0;
    color: var(--color-muted);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.6;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1rem);
}

.countdown__block {
    padding: 1.1rem 0.8rem;
    text-align: center;
    border-radius: 18px;
    background: rgba(8, 12, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 40px rgba(10, 0, 40, 0.35);
}

.countdown__value {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 3vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    transition: transform var(--transition-base);
    will-change: transform;
}

.countdown__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: rgba(255, 255, 255, 0.6);
}

.countdown__block.is-updated .countdown__value {
    animation: countdown-bounce 0.28s ease both;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.btn--primary {
    background: linear-gradient(135deg, #ff7a18 0%, #af002d 100%);
    color: #fff;
}

.btn--outline {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    background: transparent;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.hero__meta {
    display: flex;
    gap: clamp(0.9rem, 2.4vw, 1.4rem);
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero__meta-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
    display: block;
    margin-bottom: 0.2rem;
}

.hero__meta-value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
}

.section {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(1.6rem, 3vw, 2.2rem);
}

.section--dark {
    background: rgba(12, 8, 28, 0.7);
    padding: clamp(2.3rem, 4vw, 3rem) clamp(1.4rem, 3.5vw, 2.6rem);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.section--dark > *:not(.hashtag-rain) {
    position: relative;
    z-index: 1;
}

.section--wide {
    width: min(100%, 1280px);
}

.section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-align: center;
}

.section__header p {
    margin: 0;
    color: var(--color-muted);
    max-width: 620px;
}

.section__content--two-column {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1.5rem, 2vw, 2.5rem);
}

.embed-card {
    background: rgba(12, 10, 40, 0.65);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.embed-card iframe {
    width: 100%;
    min-height: 520px;
    border: none;
}

.embed-card--chart {
    min-height: 420px;
}

 

 

.news-section {
    position: relative;
}

.news-section__header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
}

.news-section__header button {
    margin-top: 0.25rem;
}

.news-feed {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 2vw, 1.1rem);
    padding: clamp(1.5rem, 2.5vw, 2.4rem);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 12, 38, 0.7);
    box-shadow: var(--shadow-soft);
}

.news-feed__body {
    display: grid;
    gap: clamp(0.85rem, 2vw, 1.25rem);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    position: relative;
    min-height: 180px;
}

.news-feed__body[aria-busy="true"]::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(
        120deg,
        rgba(20, 18, 48, 0.75) 0%,
        rgba(35, 30, 70, 0.45) 45%,
        rgba(20, 18, 48, 0.75) 90%
    );
    background-size: 200% 100%;
    animation: news-shimmer 1.8s ease-in-out infinite;
    pointer-events: none;
}

.news-feed__item {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    padding: 1.1rem 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 10, 32, 0.65);
    box-shadow: 0 16px 32px rgba(9, 11, 30, 0.35);
    opacity: 0;
    transform: translateY(10px);
    animation: news-fade-in 0.45s ease forwards;
}

.news-feed__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.4;
}

.news-feed__title a {
    color: #fff;
    transition: color var(--transition-base);
}

.news-feed__title a:hover,
.news-feed__title a:focus-visible {
    color: var(--color-accent-secondary);
}

.news-feed__meta {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.news-feed__summary {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.news-feed__empty {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
}

@keyframes news-fade-in {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-feed__body[aria-busy="true"] > * {
    opacity: 0;
}

@keyframes news-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.token-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1rem, 2.5vw, 1.25rem);
}

.token-card {
    background: var(--color-card);
    border-radius: 22px;
    border: 1px solid var(--color-border);
    padding: clamp(1.35rem, 2vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

.token-card--primary {
    background: linear-gradient(160deg, rgba(255, 98, 0, 0.22), rgba(8, 20, 80, 0.75));
}

.token-card__value {
    font-family: var(--font-heading);
    word-break: break-all;
    font-size: 1rem;
    margin: 0.5rem 0;
}

.token-card__links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.token-card__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-text);
    opacity: 0.7;
    transition: opacity var(--transition-base);
}

.token-card__links a:hover,
.token-card__links a:focus-visible {
    opacity: 1;
}

.token-metrics {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.token-metrics span {
    color: var(--color-muted);
    font-size: 0.85rem;
}

.token-metrics strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(1rem, 2.8vw, 1.4rem);
}

.chart-card {
    background: var(--color-card-alt);
    border-radius: 24px;
    padding: clamp(1.5rem, 2vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

.chart-card canvas {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 18px;
    padding: 0.5rem;
}

.chart-card__caption {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.footer {
    padding: 3rem 1.5rem 4rem;
    text-align: center;
    background: rgba(6, 4, 18, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 5rem;
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.coin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 98, 0, 0.95), rgba(0, 140, 255, 0.85));
    font-size: 1.1rem;
}

.footer__links {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.footer__links a {
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.footer__links a:hover,
.footer__links a:focus-visible {
    opacity: 1;
}

.footer__note {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translate(-50%, 120%);
    background: rgba(8, 12, 40, 0.92);
    color: #fff;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    box-shadow: 0 18px 36px rgba(5, 8, 26, 0.4);
    font-size: 0.95rem;
    line-height: 1.2;
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.confetti-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1200;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 16px;
    border-radius: 2px;
    opacity: 0;
    animation: confetti-fall 900ms ease forwards;
}

.mobile-dock {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: none;
    width: min(92%, 420px);
    margin: 0 auto;
    padding: 0.65rem 0.85rem;
    padding-bottom: calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(8, 12, 40, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: 0 18px 45px rgba(5, 5, 25, 0.45);
    z-index: 1050;
    backdrop-filter: blur(14px);
    justify-content: space-between;
    gap: 0.75rem;
}

.mobile-dock__link {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.6rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #fff;
    text-transform: uppercase;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 98, 0, 0.9), rgba(0, 140, 255, 0.85));
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.mobile-dock__icon {
    width: 24px;
    height: 24px;
    display: block;
}

.mobile-dock__link:nth-child(2) {
    background: linear-gradient(135deg, rgba(0, 140, 255, 0.9), rgba(0, 215, 255, 0.85));
}

.mobile-dock__link:nth-child(3) {
    background: linear-gradient(135deg, rgba(36, 46, 68, 0.95), rgba(112, 128, 177, 0.85));
}

.mobile-dock__link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

.mobile-dock__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.3);
}

@keyframes countdown-bounce {
    0% {
        transform: translateY(0);
    }
    45% {
        transform: translateY(-18%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes confetti-fall {
    0% {
        opacity: 0;
        transform: translate3d(var(--x-offset, 0), -20px, 0) rotate(0);
    }
    10% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--x-offset, 0), calc(120px + var(--y-offset, 0)), 0) rotate(280deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .countdown__block.is-updated .countdown__value {
        animation: none;
    }

    .confetti-piece {
        animation: none;
    }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .hero__media,
    .hero__content {
        grid-column: span 2;
    }

    .hero__media {
        order: 2;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .site-banner {
        padding: 0.8rem 0;
    }

    .site-banner__image {
        width: min(92%, 520px);
    }

    .hero {
        margin-top: 3rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero__media {
        order: 2;
        max-width: clamp(260px, 70vw, 420px);
        margin: 0 auto;
    }

    .hero__content {
        order: 1;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        max-width: 100%;
    }

    .hero__content p,
    .hero__meta,
    .hero__meta div {
        text-align: center;
    }

    .eyebrow {
        font-size: clamp(1.7rem, 5.4vw, 2.6rem);
        letter-spacing: 0.06em;
    }

    .hero__content h1 {
        font-size: clamp(1.6rem, 4.8vw, 2.5rem);
        line-height: 1.12;
    }

    .countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero__actions {
        width: 100%;
        justify-content: center;
    }

    .hero__actions .btn {
        flex: 1 1 45%;
        min-width: 160px;
    }

    .hero__interactive {
        width: 100%;
    }

    .hero__interactive > * {
        width: 100%;
    }

    .hero__meta {
        justify-content: center;
    }

    .mobile-dock {
        display: flex;
    }

    .news-feed {
        padding: 1.3rem;
    }

    .news-section__header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .hero__content {
        padding: 1.5rem;
        gap: 1.4rem;
    }

    .eyebrow {
        font-size: clamp(1.55rem, 7.2vw, 2.2rem);
        letter-spacing: 0.05em;
    }

    .hero__content h1 {
        font-size: clamp(1.45rem, 6.2vw, 2.1rem);
    }

    .hero__content .btn,
    .hero__actions .btn {
        width: 100%;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .section--dark {
        padding: 2.2rem 1.5rem;
    }

    .hero__content,
    .hero__interactive,
    .hero__content p,
    .hero__actions,
    .hero__meta,
    .hero__meta div,
    .hero__meta-label,
    .hero__meta-value,
    .section__header,
    .section__header p,
    .contract-brief,
    .contract-brief__actions,
    .token-card,
    .chart-card,
    .token-card h3,
    .token-metrics span,
    .token-metrics strong,
    .footer__links,
    .footer__note {
        text-align: center;
    }

    .hero__actions {
        justify-content: center;
    }
    .contract-brief__actions {
        justify-content: center;
    }

}

/* Interactive upgrades */
.hero__media {
    perspective: 1200px;
}

.hero__mascot {
    transform-style: preserve-3d;
    transition: transform 0.35s ease;
}

.hero__interactive {
    margin-top: 1.2rem;
}

.contract-brief {
    width: 100%;
    display: grid;
    gap: 1rem;
    padding: clamp(1.1rem, 2.2vw, 1.6rem);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 11, 32, 0.72);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(5, 5, 25, 0.4);
}

.contract-brief__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.contract-brief__label {
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.contract-brief__chain {
    font-size: 0.85rem;
    color: var(--color-muted);
    text-transform: uppercase;
}

.contract-brief__value {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    word-break: break-all;
    width: 100%;
}

.contract-brief__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contract-brief__actions .btn {
    flex: 1 1 160px;
}

.contract-brief__copy {
    min-width: 180px;
}

.yard-progress {
    position: fixed;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70vh;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 900;
    pointer-events: none;
    overflow: hidden;
}

.yard-progress__fill {
    display: block;
    width: 100%;
    height: 0%;
    border-radius: inherit;
    background: linear-gradient(180deg, var(--color-accent), var(--color-accent-secondary));
    opacity: 0.25;
    transition: opacity 0.25s ease;
}

.live-ticker {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 950;
    background: rgba(8, 10, 32, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    padding: 0.45rem 0;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.live-ticker__track {
    display: inline-block;
    min-width: 100%;
    white-space: nowrap;
    animation: ticker-scroll 24s linear infinite;
}

.live-ticker:hover .live-ticker__track {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.token-card,
.chart-card {
    position: relative;
    overflow: hidden;
    --glare-x: 50%;
    --glare-y: 50%;
}

.token-card::after,
.chart-card::after {
    content: "";
    position: absolute;
    inset: -120%;
    background: radial-gradient(circle at var(--glare-x) var(--glare-y), rgba(255, 255, 255, 0.22), transparent 45%);
    opacity: 0.15;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.token-card:hover::after,
.token-card:focus-within::after,
.chart-card:hover::after,
.chart-card:focus-within::after {
    opacity: 0.32;
}

body {
    --spotlight-x: 50%;
    --spotlight-y: 50%;
    --spotlight-opacity: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(255, 255, 255, 0.16), transparent 55%);
    opacity: var(--spotlight-opacity);
    transition: opacity 0.3s ease;
    z-index: 100;
    mix-blend-mode: screen;
}

#tokenomics-chart {
    cursor: pointer;
}

.hashtag-rain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hashtag-rain__item {
    position: absolute;
    top: -10%;
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 1vw, 1rem);
    color: rgba(255, 255, 255, 0.35);
    filter: blur(0.5px);
    animation: hashtag-fall var(--fall-duration, 6s) linear forwards;
    opacity: 0;
}

@keyframes hashtag-fall {
    0% {
        transform: translateY(-10%) translateX(0);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        transform: translateY(120%) translateX(var(--drift, 20px));
        opacity: 0;
    }
}

.yard-progress {
    display: none;
}

@media (min-width: 768px) {
    .yard-progress {
        display: block;
    }
}

@media (max-width: 768px) {
    .news-section__header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .news-feed__item {
        text-align: center;
    }

    .news-feed__meta {
        justify-content: center;
    }
}

body.time-morning {
    --bg-gradient: radial-gradient(circle at 15% 20%, rgba(255, 179, 71, 0.6), transparent 35%),
        radial-gradient(circle at 80% 15%, rgba(255, 102, 196, 0.45), transparent 48%),
        radial-gradient(circle at 50% 85%, rgba(255, 244, 194, 0.4), transparent 60%),
        var(--color-bg);
}

body.time-day {
    --bg-gradient: radial-gradient(circle at 10% 20%, rgba(34, 100, 255, 0.45), transparent 40%),
        radial-gradient(circle at 85% 10%, rgba(0, 244, 255, 0.35), transparent 48%),
        radial-gradient(circle at 40% 80%, rgba(255, 176, 73, 0.35), transparent 60%),
        var(--color-bg);
}

body.time-night {
    --bg-gradient: radial-gradient(circle at 10% 20%, rgba(32, 19, 65, 0.9), transparent 35%),
        radial-gradient(circle at 90% 15%, rgba(80, 12, 24, 0.75), transparent 45%),
        radial-gradient(circle at 40% 80%, rgba(12, 24, 78, 0.55), transparent 60%),
        var(--color-bg);
}
