* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    background: #07020f;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}

.sfc-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    isolation: isolate;
}

.sfc-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(154, 93, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(154, 93, 255, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
    z-index: -5;
}

.sfc-page::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(119, 55, 255, 0.28), transparent 28%),
        radial-gradient(circle at 50% 42%, rgba(196, 148, 255, 0.12), transparent 34%),
        linear-gradient(135deg, #05010a 0%, #10051d 48%, #05010b 100%);
    z-index: -6;
}

.sfc-bg {
    position: absolute;
    inset: 0;
    z-index: -4;
    overflow: hidden;
}

.sfc-bg span {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(144, 78, 255, 0.22), transparent 68%);
    filter: blur(8px);
    animation: bgFloat 12s ease-in-out infinite;
}

.sfc-bg span:nth-child(1) {
    left: 14%;
    top: 18%;
}

.sfc-bg span:nth-child(2) {
    right: 12%;
    top: 12%;
    animation-delay: -4s;
}

.sfc-bg span:nth-child(3) {
    left: 42%;
    bottom: 3%;
    animation-delay: -7s;
}

.sfc-core {
    width: min(820px, 96vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    transform: translateY(-8px);
}

.logo-orbit {
    position: relative;
    width: min(330px, 70vw);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-orbit::before {
    content: "";
    position: absolute;
    inset: 10%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(161, 93, 255, 0.24), transparent 62%);
    filter: blur(18px);
    animation: pulseCore 3.6s ease-in-out infinite;
}

.logo-orbit::after {
    content: "";
    position: absolute;
    inset: 28%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(221, 196, 255, 0.12), transparent 64%);
    filter: blur(10px);
}

.orbit {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(169, 111, 255, 0.22);
    box-shadow: 0 0 28px rgba(129, 66, 255, 0.16);
}

.orbit-one {
    inset: 7%;
    border-top-color: rgba(181, 133, 255, 0.75);
    border-bottom-color: transparent;
    animation: orbitSpin 9s linear infinite;
}

.orbit-two {
    inset: 14%;
    border-left-color: rgba(143, 73, 255, 0.7);
    border-right-color: transparent;
    animation: orbitSpinReverse 7s linear infinite;
}

.orbit-three {
    inset: 21%;
    border-top-color: transparent;
    border-right-color: rgba(209, 184, 255, 0.42);
    animation: orbitSpin 12s linear infinite;
}

.sfc-logo {
    user-select: none;
    pointer-events: none;
    position: relative;
    z-index: 2;
    width: 78%;
    height: auto;
    display: block;
    filter:
        drop-shadow(0 0 22px rgba(129, 67, 255, 0.55))
        drop-shadow(0 0 54px rgba(129, 67, 255, 0.24));
    animation: logoFloat 5s ease-in-out infinite;
}

.dna-box {
    position: relative;
    width: min(780px, 94vw);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-box::before {
    content: "";
    position: absolute;
    inset: 16% 4%;
    background: linear-gradient(90deg, transparent, rgba(142, 80, 255, 0.18), transparent);
    filter: blur(18px);
}

.dna-box::after {
    content: "";
    position: absolute;
    left: 7%;
    right: 7%;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(208, 187, 255, 0.2), transparent);
}

.dna-svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    overflow: visible;
}

.dna-strand {
    fill: none;
    stroke: url(#dnaPurple);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 34 18;
    filter: url(#dnaGlow);
    animation: dnaFlow 3.2s linear infinite;
}

.strand-two {
    opacity: 0.78;
    animation-direction: reverse;
}

.dna-links line {
    stroke: rgba(201, 176, 255, 0.48);
    stroke-width: 3;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(151, 92, 255, 0.45));
    animation: linkPulse 2.4s ease-in-out infinite;
}

.dna-links line:nth-child(2n) {
    animation-delay: 0.15s;
}

.dna-links line:nth-child(3n) {
    animation-delay: 0.3s;
}

.dna-nodes circle {
    fill: #cdb4ff;
    filter: drop-shadow(0 0 10px rgba(185, 137, 255, 0.9));
    animation: nodePulse 1.9s ease-in-out infinite;
}

.dna-nodes circle:nth-child(2n) {
    animation-delay: 0.2s;
}

.sfc-btn {
    position: relative;
    min-width: 220px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(135deg, #6d32ff, #b77aff);
    box-shadow:
        0 0 28px rgba(138, 78, 255, 0.45),
        0 12px 34px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.sfc-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.35) 45%, transparent 70%);
    transform: translateX(-130%);
    animation: btnSweep 3.8s ease-in-out infinite;
}

.sfc-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow:
        0 0 42px rgba(164, 100, 255, 0.7),
        0 14px 38px rgba(0, 0, 0, 0.42),
        inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

@keyframes bgFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate3d(28px, -24px, 0) scale(1.14);
        opacity: 1;
    }
}

@keyframes pulseCore {
    0%,
    100% {
        opacity: 0.6;
        transform: scale(0.94);
    }

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

@keyframes orbitSpin {
    from {
        transform: rotate(0deg);
    }

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

@keyframes orbitSpinReverse {
    from {
        transform: rotate(360deg);
    }

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

@keyframes logoFloat {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-9px) scale(1.015);
    }
}

@keyframes dnaFlow {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -104;
    }
}

@keyframes linkPulse {
    0%,
    100% {
        opacity: 0.24;
        transform: scaleY(0.82);
    }

    50% {
        opacity: 0.82;
        transform: scaleY(1);
    }
}

@keyframes nodePulse {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(0.8);
    }

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

@keyframes btnSweep {
    0% {
        transform: translateX(-140%);
    }

    42%,
    100% {
        transform: translateX(145%);
    }
}

@media (max-width: 640px) {
    .sfc-core {
        gap: 26px;
        transform: none;
    }

    .logo-orbit {
        width: min(270px, 78vw);
    }

    .dna-box {
        height: 120px;
    }

    .sfc-btn {
        min-width: 200px;
        height: 50px;
        font-size: 13px;
    }
}