* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    color: #eaf6ff;

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

    background:
        radial-gradient(circle at 20% 20%, rgba(0, 180, 255, 0.25), transparent 32%),
        radial-gradient(circle at 80% 10%, rgba(140, 0, 255, 0.22), transparent 30%),
        radial-gradient(circle at 50% 90%, rgba(0, 255, 170, 0.18), transparent 35%),
        linear-gradient(135deg, #07111f 0%, #101827 45%, #05070d 100%);

    overflow: hidden;
}

/* Сетка на фоне */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 75%);
    pointer-events: none;
}

/* Светящаяся карточка вокруг контента */
body::after {
    content: "";
    position: fixed;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(0, 200, 255, 0.08);
    filter: blur(80px);
    z-index: -1;
}

h1 {
    position: relative;
    margin: 0 0 32px;
    padding: 22px 34px;

    font-size: clamp(36px, 7vw, 82px);
    line-height: 1;
    letter-spacing: -0.06em;
    text-align: center;

    color: #ffffff;
    text-shadow:
        0 0 12px rgba(0, 210, 255, 0.75),
        0 0 32px rgba(0, 140, 255, 0.45);

    background: rgba(8, 18, 32, 0.58);
    border: 1px solid rgba(160, 230, 255, 0.25);
    border-radius: 28px;
    backdrop-filter: blur(14px);

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.4),
        inset 0 0 40px rgba(0, 180, 255, 0.08);
}

h1::before {
    content: "CDN TEST NODE ONLINE";
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);

    font-size: 12px;
    letter-spacing: 0.28em;
    color: #74f7ff;
    white-space: nowrap;

    text-shadow: 0 0 12px rgba(116, 247, 255, 0.9);
}

img {
    display: block;
    max-width: min(260px, 65vw);
    height: auto;

    padding: 22px;
    border-radius: 32px;

    background:
        linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.18);

    box-shadow:
        0 0 0 1px rgba(0, 220, 255, 0.08),
        0 24px 80px rgba(0, 0, 0, 0.42),
        0 0 42px rgba(0, 210, 255, 0.28);

    animation: float-logo 4s ease-in-out infinite;
}

img:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow:
        0 0 0 1px rgba(0, 220, 255, 0.22),
        0 28px 90px rgba(0, 0, 0, 0.5),
        0 0 70px rgba(0, 210, 255, 0.45);
}

@keyframes float-logo {
    0%, 100% {
        transform: translateY(0);
    }

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

/* Маленький статус внизу */
@media (min-width: 700px) {
    body {
        position: relative;
    }

    body > img::selection,
    body > h1::selection {
        background: #00d5ff;
        color: #00131f;
    }
}
