:root {
    color-scheme: dark;

    --page-bg: #050712;
    --card-bg: rgba(7, 10, 24, 0.88);
    --card-border: rgba(255, 255, 255, 0.08);

    --text-main: #f8fafc;
    --text-muted: #a7b0c2;
    --text-soft: #d5d9e2;

    --atomone-accent: #a5b4fc;
    --atomone-accent-strong: #818cf8;

    --gno-accent: #f4c542;
    --gno-accent-soft: #f8dc7a;

    --button-bg: rgba(15, 23, 42, 0.82);
    --button-border: rgba(148, 163, 184, 0.5);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 48px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text-main);

    background:
        radial-gradient(circle at 75% 5%,
            rgba(47, 128, 237, 0.82),
            transparent 42%),
        radial-gradient(circle at 8% 92%,
            rgba(236, 72, 153, 0.16),
            transparent 38%),
        linear-gradient(145deg, #071126 0%, var(--page-bg) 62%);
}

a {
    color: inherit;
}

.page {
    width: 100%;
    max-width: 1120px;
}

.hero {
    margin-bottom: 32px;
    text-align: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 14px;
    padding: 7px 13px;

    border: 1px solid rgba(165, 180, 252, 0.2);
    border-radius: 999px;

    background: rgba(129, 140, 248, 0.08);
    color: #c7d2fe;

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.hero__eyebrow::before {
    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.7);

    content: "";
}

.hero__title {
    margin: 0;

    font-size: clamp(2.6rem, 7vw, 4.7rem);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero__description {
    max-width: 640px;
    margin: 18px auto 0;

    color: var(--text-muted);
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    line-height: 1.65;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.network-card {
    position: relative;
    overflow: hidden;

    display: flex;
    min-height: 520px;
    padding: 34px;
    flex-direction: column;

    border: 1px solid var(--card-border);
    border-radius: 24px;

    background: var(--card-bg);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);

    backdrop-filter: blur(18px);

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.network-card::before {
    position: absolute;
    top: -110px;
    right: -110px;

    width: 270px;
    height: 270px;

    border-radius: 50%;
    opacity: 0.16;
    filter: blur(10px);

    content: "";
    pointer-events: none;
}

.network-card--atomone::before {
    background: var(--atomone-accent-strong);
}

.network-card--gno::before {
    background: var(--gno-accent);
}

.network-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255, 255, 255, 0.15);

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.network-card__top {
    position: relative;
    z-index: 1;
}

.network-logo {
    display: flex;
    width: 82px;
    height: 82px;
    margin-bottom: 24px;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.035);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 30px rgba(0, 0, 0, 0.25);
}

.network-logo svg {
    display: block;
    width: 58px;
    height: 58px;
}

/*
 * Replace the placeholder content inside this element
 * with the official AtomOne SVG.
 */
.atomone-logo-placeholder {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;

    border: 2px dashed rgba(165, 180, 252, 0.55);
    border-radius: 16px;

    color: var(--atomone-accent);
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.gno-logo .beard {
    fill: #f3f4f6;
}

.gno-logo .hat {
    fill: var(--gno-accent);
}

.network-card__meta {
    display: flex;
    margin-bottom: 14px;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.network-name {
    margin: 0;

    font-size: 1.75rem;
    font-weight: 650;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.badge {
    display: inline-flex;
    align-items: center;

    padding: 5px 10px;

    border-radius: 999px;

    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.badge--atomone {
    background: rgba(129, 140, 248, 0.14);
    color: #c7d2fe;
}

.badge--gno {
    background: rgba(244, 197, 66, 0.12);
    color: var(--gno-accent-soft);
}

.network-card__title {
    margin: 0 0 13px;

    font-size: 1.03rem;
    font-weight: 650;
    line-height: 1.45;
}

.network-card--atomone .network-card__title {
    color: var(--atomone-accent);
}

.network-card--gno .network-card__title {
    color: var(--gno-accent-soft);
}

.network-card__description {
    margin: 0 0 25px;

    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.7;
}

.service-list {
    display: grid;
    margin: 0 0 28px;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;

    list-style: none;
}

.service-list__item {
    display: flex;
    min-height: 42px;
    padding: 10px 12px;
    align-items: center;
    gap: 9px;

    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.025);
    color: #d9deea;

    font-size: 0.78rem;
    line-height: 1.3;
}

.service-list__item::before {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;

    border-radius: 50%;

    content: "";
}

.network-card--atomone .service-list__item::before {
    background: var(--atomone-accent-strong);
    box-shadow: 0 0 9px rgba(129, 140, 248, 0.65);
}

.network-card--gno .service-list__item::before {
    background: var(--gno-accent);
    box-shadow: 0 0 9px rgba(244, 197, 66, 0.55);
}

.network-card__actions {
    position: relative;
    z-index: 1;

    display: flex;
    margin-top: auto;
    flex-wrap: wrap;
    gap: 10px;
}

.button {
    display: inline-flex;
    min-height: 43px;
    padding: 10px 16px;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--button-border);
    border-radius: 999px;

    background: var(--button-bg);
    color: #e5e7eb;

    font-size: 0.82rem;
    font-weight: 550;
    line-height: 1;
    text-decoration: none;

    transition:
        transform 150ms ease,
        border-color 150ms ease,
        color 150ms ease,
        filter 150ms ease,
        background 150ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--atomone-primary {
    border-color: transparent;

    background: linear-gradient(135deg, #f97316, #ec4899);
    color: #080b16;

    font-weight: 700;
}

.button--atomone-primary:hover {
    filter: brightness(1.08);
}

.button--atomone:hover {
    border-color: var(--atomone-accent-strong);
    color: var(--atomone-accent);
}

.button--gno-primary {
    border-color: transparent;

    background: linear-gradient(135deg, #f4c542, #f59e0b);
    color: #181207;

    font-weight: 700;
}

.button--gno-primary:hover {
    filter: brightness(1.07);
}

.button--gno:hover {
    border-color: var(--gno-accent);
    color: var(--gno-accent-soft);
}

.page-footer {
    margin-top: 28px;
    text-align: center;
}

.page-footer__text {
    margin: 0;

    color: #8992a5;
    font-size: 0.78rem;
    line-height: 1.6;
}

.consent-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 20;

    display: flex;
    max-width: 640px;
    margin: 0 auto;
    padding: 14px 18px;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    border: 1px solid var(--card-border);
    border-radius: 16px;

    background: var(--card-bg);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.consent-banner[hidden] {
    display: none;
}

.consent-banner__text {
    flex: 1 1 260px;
    margin: 0;

    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.6;
}

.consent-banner__actions {
    display: flex;
    gap: 10px;
}

@media (max-width: 860px) {
    body {
        align-items: flex-start;
        padding-top: 36px;
        padding-bottom: 36px;
    }

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

    .network-card {
        min-height: auto;
    }
}

@media (max-width: 560px) {
    body {
        padding-right: 14px;
        padding-left: 14px;
    }

    .hero {
        margin-bottom: 24px;
    }

    .network-card {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .network-logo {
        width: 72px;
        height: 72px;
    }

    .network-logo svg,
    .atomone-logo-placeholder {
        width: 52px;
        height: 52px;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .network-card__actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .consent-banner__actions {
        width: 100%;
    }

    .consent-banner__actions .button {
        flex: 1;
    }
}
