/* Base */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(
            900px 600px at 50% 0%,
            rgba(80, 120, 255, 0.35),
            transparent 65%
        ),
        radial-gradient(
            700px 500px at 20% 30%,
            rgba(120, 160, 255, 0.20),
            transparent 70%
        ),
        radial-gradient(
            600px 400px at 80% 60%,
            rgba(90, 200, 180, 0.15),
            transparent 70%
        ),
        linear-gradient(
            180deg,
            #040404 0%,
            #0a0a0a 35%,
            #0e0e0e 70%,
            #111111 100%
        );

    color: #eaeaea;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Layout */
.container {
    max-width: 860px;
    margin: auto;
    padding: 40px 20px;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 18px;
}

.logo {
    width: 128px;
    height: auto;
    margin-bottom: 12px;
}

h1 {
    font-size: 44px;
    margin: 0 0 6px 0;
}

.subtitle {
    color: #9a9a9a;
    margin-top: 4px;
    margin-bottom: 20px;
}

/* Sections */
section {
    margin-bottom: 32px;
}

.intro {
    margin: 0 auto 32px;
    text-align: center;
    max-width: 720px;
}

h2 {
    font-size: 22px;
    margin: 0 0 16px;
    text-align: center;
}

h3 {
    margin: 0 0 6px;
}

/* Network cards */
.network {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: #151515;
    border: 1px solid #222;
    border-radius: 12px;
    align-items: center;
    margin: 0 auto 10px;
    max-width: 680px;
}

.network img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Text helpers */
.label {
    font-size: 13px;
    color: #9a9a9a;
    margin: 0;
}

.address {
    font-family: monospace;
    color: #9ad;
    word-break: break-all;
}

/* Links */
a {
    color: #9ad;
    text-decoration: none;
}

/* Hover (technical style) */
.network-link:hover .network {
    border-color: rgba(120,160,255,0.5);
    box-shadow: 0 0 0 1px rgba(120,160,255,0.25);
}

/* ===== TICKER (FIXED, NO RESET) ===== */
.ticker {
    width: 100%;
    overflow: hidden;
    background: rgba(80,120,255,0.18);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 16s linear infinite;
}

.ticker span {
    padding: 10px 48px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ONE correct animation */
@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Social footer */
.social-footer {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 24px 0 8px;
}

.social-footer img {
    width: 18px;
    height: 18px;
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-footer a:hover img {
    opacity: 1;
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 600px) {

    h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 13px;
    }

    .intro {
        font-size: 14px;
        padding: 0 10px;
    }

    .network {
        padding: 14px;
    }

    .address {
        font-size: 12px;
    }

    .social-footer {
        margin-top: 18px;
    }
}
