/* =========================================================
   OPSNETS
   Mobile First Interface
   ========================================================= */


:root {

    --bg-main: #020711;
    --bg-secondary: #050d18;

    --panel:
        rgba(7, 18, 31, 0.78);

    --panel-strong:
        rgba(5, 14, 26, 0.94);

    --white: #f5f8fc;
    --silver: #bac7d6;

    --muted: #7f91a5;

    --cyan: #00e7f0;
    --cyan-bright: #48f9ff;
    --cyan-dark: #008ea7;

    --pink: #bf3cff;
    --pink-bright: #e35cff;
    --purple: #7526e8;

    --border:
        rgba(73, 232, 255, 0.17);

    --border-light:
        rgba(255, 255, 255, 0.08);

    --shadow-cyan:
        0 0 30px rgba(0, 231, 240, 0.16);

    --shadow-pink:
        0 0 30px rgba(191, 60, 255, 0.18);

    --radius: 18px;

    --content-width: 1180px;
}


/* RESET */

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


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    min-height: 100vh;

    background:
        radial-gradient(
            circle at top,
            rgba(0, 161, 190, 0.08),
            transparent 35%
        ),
        var(--bg-main);

    color: var(--white);

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    overflow-x: hidden;
}


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


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


/* =========================================================
   NETWORK BACKGROUND
   ========================================================= */

.network-bg {

    position: fixed;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: -10;

    background-image:
        linear-gradient(
            rgba(0, 231, 240, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 231, 240, 0.025) 1px,
            transparent 1px
        );

    background-size: 46px 46px;
}


.network-bg::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 20%,
            rgba(2, 7, 17, 0.72) 85%
        );
}


.network-glow {

    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    filter: blur(110px);

    opacity: 0.13;
}


.network-glow-cyan {

    top: -180px;
    right: -170px;

    background: var(--cyan);
}


.network-glow-pink {

    bottom: 5%;
    left: -240px;

    background: var(--pink);
}


/* NETWORK NODES */

.node {

    position: absolute;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--cyan);

    box-shadow:
        0 0 8px var(--cyan),
        0 0 22px var(--cyan);

    animation:
        nodePulse 3.5s ease-in-out infinite;
}


.node-1 {
    top: 14%;
    left: 8%;
}

.node-2 {
    top: 28%;
    right: 10%;
    animation-delay: 0.7s;
}

.node-3 {
    top: 56%;
    left: 5%;
    animation-delay: 1.5s;
}

.node-4 {
    bottom: 18%;
    right: 15%;
    animation-delay: 2.2s;
}

.node-5 {
    bottom: 7%;
    left: 42%;
    animation-delay: 0.4s;
}

.node-6 {
    top: 42%;
    right: 3%;
    background: var(--pink);
    box-shadow:
        0 0 8px var(--pink),
        0 0 22px var(--pink);
    animation-delay: 1.2s;
}


.scanline {

    position: absolute;

    top: -20%;
    left: 0;

    width: 100%;
    height: 130px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0, 231, 240, 0.018),
            rgba(0, 231, 240, 0.06),
            transparent
        );

    animation:
        scan 11s linear infinite;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {

    width: min(
        calc(100% - 32px),
        var(--content-width)
    );

    margin-inline: auto;

    min-height: 74px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-bottom:
        1px solid var(--border-light);
}


.brand-logo {
    width: 58px;
    height: 58px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 14px
            rgba(0, 231, 240, 0.3)
        );
}


.network-status {

    display: flex;

    align-items: center;

    gap: 7px;

    font-size: 0.64rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    color: var(--muted);
}


.status-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--cyan);

    box-shadow:
        0 0 9px var(--cyan);

    animation:
        statusPulse 2s infinite;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {

    width: min(
        calc(100% - 32px),
        var(--content-width)
    );

    margin-inline: auto;

    padding:
        42px 0 32px;

    text-align: center;
}


.hero-logo-wrap {

    position: relative;

    width: min(86vw, 390px);

    margin:
        0 auto 25px;
}


.hero-logo {

    position: relative;

    z-index: 2;

    filter:
        drop-shadow(
            0 0 22px
            rgba(0, 231, 240, 0.18)
        );

    animation:
        logoBoot 1.2s ease-out both;
}


.logo-orbit {

    position: absolute;

    inset: 13% 10% 28%;

    border:

        1px solid
        rgba(0, 231, 240, 0.16);

    border-radius: 50%;

    animation:
        orbitSpin 24s linear infinite;
}


.logo-orbit::before {

    content: "";

    position: absolute;

    inset: 13%;

    border:

        1px dashed
        rgba(191, 60, 255, 0.13);

    border-radius: 50%;
}


.logo-orbit span {

    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--cyan);

    box-shadow:
        0 0 13px var(--cyan);
}


.logo-orbit span:nth-child(1) {
    top: -4px;
    left: 48%;
}


.logo-orbit span:nth-child(2) {
    right: 4%;
    bottom: 18%;
}


.logo-orbit span:nth-child(3) {

    bottom: 3%;
    left: 15%;

    background: var(--pink);

    box-shadow:
        0 0 13px var(--pink);
}


/* HERO COPY */

.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 12px;

    color: var(--cyan);

    font-size: 0.66rem;

    font-weight: 800;

    letter-spacing: 0.18em;
}


.eyebrow-line {

    display: block;

    width: 26px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--cyan)
        );
}


.hero h1 {

    margin: 0;

    font-size:
        clamp(
            2.15rem,
            11vw,
            4.8rem
        );

    line-height: 0.98;

    letter-spacing: -0.045em;

    text-transform: uppercase;
}


.hero h1 span {

    color: transparent;

    background:
        linear-gradient(
            90deg,
            var(--cyan),
            var(--cyan-bright),
            var(--white)
        );

    background-clip: text;
    -webkit-background-clip: text;
}


.hero p {

    max-width: 600px;

    margin:
        20px auto 0;

    color: var(--silver);

    font-size: 0.98rem;

    line-height: 1.7;
}


/* =========================================================
   ENTRY SECTION
   ========================================================= */

.entry-section {

    width: min(
        calc(100% - 32px),
        var(--content-width)
    );

    margin-inline: auto;

    padding:
        38px 0 35px;
}


.section-heading {

    display: flex;

    gap: 13px;

    align-items: flex-start;

    margin-bottom: 21px;
}


.section-number {

    padding-top: 4px;

    color: var(--cyan);

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 0.12em;
}


.section-kicker {

    display: block;

    margin-bottom: 5px;

    color: var(--muted);

    font-size: 0.62rem;

    font-weight: 800;

    letter-spacing: 0.15em;
}


.section-heading h2 {

    margin: 0;

    font-size:
        clamp(
            1.25rem,
            6vw,
            2rem
        );
}


/* =========================================================
   ENTRY CARDS
   ========================================================= */

.entry-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 17px;
}


.entry-card {

    position: relative;

    overflow: hidden;

    padding: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(11, 28, 45, 0.84),
            rgba(4, 12, 24, 0.92)
        );

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        0 16px 50px
        rgba(0, 0, 0, 0.32);

    isolation: isolate;

    transition:
        border-color 0.28s ease,
        transform 0.28s ease,
        box-shadow 0.28s ease;
}


.entry-card::before {

    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    top: -150px;
    right: -110px;

    border-radius: 50%;

    background: var(--cyan);

    filter: blur(90px);

    opacity: 0.1;

    z-index: -1;
}


.leader-card::before {

    background: var(--pink);

    opacity: 0.12;
}


.card-corners span {

    position: absolute;

    width: 17px;
    height: 17px;

    pointer-events: none;
}


.card-corners span:nth-child(1) {

    top: 9px;
    left: 9px;

    border-top:
        1px solid var(--cyan);

    border-left:
        1px solid var(--cyan);
}


.card-corners span:nth-child(2) {

    top: 9px;
    right: 9px;

    border-top:
        1px solid var(--cyan);

    border-right:
        1px solid var(--cyan);
}


.card-corners span:nth-child(3) {

    bottom: 9px;
    left: 9px;

    border-bottom:
        1px solid var(--cyan);

    border-left:
        1px solid var(--cyan);
}


.card-corners span:nth-child(4) {

    bottom: 9px;
    right: 9px;

    border-bottom:
        1px solid var(--cyan);

    border-right:
        1px solid var(--cyan);
}


.leader-card .card-corners span {

    border-color:
        rgba(
            191,
            60,
            255,
            0.8
        );
}


/* CARD TOP */

.card-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    margin-bottom: 30px;
}


.card-icon {

    width: 45px;
    height: 45px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background:
        rgba(0, 231, 240, 0.08);

    border:
        1px solid
        rgba(0, 231, 240, 0.25);

    box-shadow:
        inset 0 0 18px
        rgba(0, 231, 240, 0.05);
}


.card-icon svg {

    width: 23px;

    fill: none;

    stroke: var(--cyan);

    stroke-width: 1.5;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.leader-icon {

    background:
        rgba(191, 60, 255, 0.09);

    border-color:
        rgba(191, 60, 255, 0.3);
}


.leader-icon svg {
    stroke: var(--pink-bright);
}


.card-code {

    color: var(--muted);

    font-size: 0.61rem;

    font-weight: 800;

    letter-spacing: 0.15em;
}


/* CARD CONTENT */

.card-label {

    color: var(--cyan);

    font-size: 0.64rem;

    font-weight: 900;

    letter-spacing: 0.17em;
}


.leader-card .card-label {
    color: var(--pink-bright);
}


.card-content h3 {

    margin:
        8px 0 10px;

    font-size:
        clamp(
            1.38rem,
            7vw,
            2rem
        );
}


.card-content p {

    min-height: 78px;

    margin: 0;

    color: var(--silver);

    font-size: 0.88rem;

    line-height: 1.65;
}


/* CARD INFO */

.card-info {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 9px;

    margin:
        23px 0 17px;

    padding:
        14px 0;

    border-top:
        1px solid var(--border-light);

    border-bottom:
        1px solid var(--border-light);
}


.card-info > div {

    display: flex;

    flex-direction: column;

    gap: 5px;
}


.info-label {

    color: var(--muted);

    font-size: 0.56rem;

    font-weight: 800;

    letter-spacing: 0.13em;
}


.card-info strong {

    font-size: 0.74rem;

    font-weight: 700;

    color: var(--white);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.connect-button {

    position: relative;

    min-height: 54px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    padding:
        0 17px;

    border-radius: 11px;

    font-size: 0.73rem;

    font-weight: 900;

    letter-spacing: 0.09em;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.25s ease;
}


.connect-player {

    color: #001014;

    background:
        linear-gradient(
            90deg,
            var(--cyan),
            var(--cyan-bright)
        );

    box-shadow:
        0 0 20px
        rgba(0, 231, 240, 0.16);
}


.connect-leader {

    color: var(--white);

    background:
        linear-gradient(
            90deg,
            #7026d9,
            var(--pink)
        );

    box-shadow:
        0 0 20px
        rgba(191, 60, 255, 0.16);
}


.button-status {

    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: currentColor;

    opacity: 0.65;
}


.button-arrow {

    font-size: 1.25rem;

    transition:
        transform 0.2s ease;
}


.connect-button:active {
    transform: scale(0.98);
}


.connect-button:active
.button-arrow {

    transform:
        translateX(4px);
}


/* =========================================================
   NETWORK SECTION
   ========================================================= */

.network-section {

    width: min(
        calc(100% - 32px),
        var(--content-width)
    );

    margin:
        0 auto 55px;
}


.network-panel {

    padding: 21px;

    border-radius:
        var(--radius);

    border:
        1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            rgba(7, 18, 32, 0.82),
            rgba(3, 10, 20, 0.94)
        );

    box-shadow:
        var(--shadow-cyan);
}


.network-panel-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 16px;
}


.network-panel h2 {

    margin: 0;

    font-size:
        clamp(
            1.25rem,
            6vw,
            2rem
        );
}


.live-indicator {

    display: flex;

    align-items: center;

    gap: 6px;

    color: var(--cyan);

    font-size: 0.6rem;

    font-weight: 900;

    letter-spacing: 0.13em;
}


.live-indicator span {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--cyan);

    box-shadow:
        0 0 8px var(--cyan);

    animation:
        statusPulse 2s infinite;
}


.network-panel > p {

    margin:
        18px 0 21px;

    color: var(--silver);

    font-size: 0.88rem;

    line-height: 1.7;
}


.network-features {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 9px;
}


.network-features > div {

    min-height: 74px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 5px;

    padding: 13px;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px solid var(--border-light);

    color: var(--silver);

    font-size: 0.73rem;
}


.feature-value {

    color: var(--cyan);

    font-size: 0.61rem;

    font-weight: 900;

    letter-spacing: 0.12em;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {

    width: min(
        calc(100% - 32px),
        var(--content-width)
    );

    margin-inline: auto;

    padding-bottom:
        max(
            25px,
            env(safe-area-inset-bottom)
        );

    color: var(--muted);

    font-size: 0.67rem;
}


.footer-line {

    width: 100%;
    height: 1px;

    margin-bottom: 17px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 231, 240, 0.4),
            rgba(191, 60, 255, 0.3),
            transparent
        );
}


.footer-content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;
}


.footer-powered strong {

    color: var(--white);

    letter-spacing: 0.06em;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes nodePulse {

    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.35);
    }
}


@keyframes statusPulse {

    0%,
    100% {
        opacity: 0.45;
    }

    50% {
        opacity: 1;
    }
}


@keyframes scan {

    from {
        transform:
            translateY(-15vh);
    }

    to {
        transform:
            translateY(125vh);
    }
}


@keyframes orbitSpin {

    from {
        transform:
            rotate(0deg);
    }

    to {
        transform:
            rotate(360deg);
    }
}


@keyframes logoBoot {

    from {

        opacity: 0;

        transform:
            scale(0.92)
            translateY(10px);

        filter:
            blur(4px);
    }

    to {

        opacity: 1;

        transform:
            scale(1)
            translateY(0);

        filter:
            drop-shadow(
                0 0 22px
                rgba(0, 231, 240, 0.18)
            );
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 700px) {

    .site-header {
        min-height: 82px;
    }

    .brand-logo {
        width: 64px;
        height: 64px;
    }

    .network-status {
        font-size: 0.7rem;
    }

    .hero {
        padding-top: 55px;
    }

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

    .entry-card {
        padding: 25px;
    }

    .network-features {

        grid-template-columns:
            repeat(4, 1fr);
    }

}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 1000px) {

    .hero {

        display: grid;

        grid-template-columns:
            0.9fr 1.1fr;

        align-items: center;

        gap: 60px;

        min-height: 520px;

        text-align: left;
    }


    .hero-logo-wrap {

        width: min(
            38vw,
            470px
        );

        margin: 0 auto;
    }


    .hero-copy {
        padding-right: 20px;
    }


    .hero p {
        margin-left: 0;
    }


    .entry-section {
        padding-top: 60px;
    }


    .entry-card {

        min-height: 430px;

        display: flex;

        flex-direction: column;
    }


    .card-info {
        margin-top: auto;
    }


    .entry-card:hover {

        transform:
            translateY(-5px);

        border-color:
            rgba(
                0,
                231,
                240,
                0.46
            );

        box-shadow:
            0 20px 65px
            rgba(0, 231, 240, 0.09);
    }


    .leader-card:hover {

        border-color:
            rgba(
                191,
                60,
                255,
                0.48
            );

        box-shadow:
            0 20px 65px
            rgba(191, 60, 255, 0.11);
    }


    .connect-button:hover {

        transform:
            translateY(-2px);
    }


    .connect-button:hover
    .button-arrow {

        transform:
            translateX(5px);
    }


    .network-panel {
        padding: 30px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (
    prefers-reduced-motion: reduce
) {

    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        scroll-behavior:
            auto !important;
    }

}