:root {
    --cyan: #5ce1ff;
    --blue: #1b3cff;
    --navy: #070b24;
    --purple: #3b0f6b;
    --text: #e8f0ff
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: var(--text);
    background: var(--navy);
    overflow-x: hidden;
    min-height: 100vh
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: linear-gradient(135deg, #070b24, #0d1b6e, #3b0f6b, #0a2a6e, #070b24);
    background-size: 400% 400%;
    animation: bg 18s ease infinite
}

@keyframes bg {

    0%,
    100% {
        background-position: 0 50%
    }

    50% {
        background-position: 100% 50%
    }
}

#particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .35;
    z-index: -1;
    animation: float 14s ease-in-out infinite
}

.o1 {
    width: 380px;
    height: 380px;
    background: var(--cyan);
    top: -80px;
    left: -80px
}

.o2 {
    width: 460px;
    height: 460px;
    background: #7a2cff;
    bottom: -120px;
    right: -100px;
    animation-delay: -6s
}

@keyframes float {
    50% {
        transform: translate(60px, 40px) scale(1.15)
    }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 5%;
    background: rgba(7, 11, 36, .6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(92, 225, 255, .15);
    z-index: 10;
    animation: down .8s both
}

@keyframes down {
    from {
        transform: translateY(-100%)
    }
}

nav .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none
}

nav img {
    height: 38px;
    filter: drop-shadow(0 0 8px var(--cyan))
}

nav ul {
    display: flex;
    gap: 26px;
    list-style: none
}

nav ul a {
    color: var(--text);
    text-decoration: none;
    position: relative;
    padding: 4px 0
}

nav ul a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: .3s;
    box-shadow: 0 0 8px var(--cyan)
}

nav ul a:hover::after {
    width: 100%
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative
}

.logo {
    width: 190px;
    max-width: 60vw;
    animation: pulse 4s ease-in-out infinite, pop 1.2s both;
    filter: drop-shadow(0 0 18px #4a7cff)
}

@keyframes pulse {
    50% {
        transform: translateY(-14px);
        filter: drop-shadow(0 0 35px var(--cyan))
    }
}

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(.3) rotate(-20deg)
    }
}

h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: 4px;
    margin: 20px 0 6px;
    background: linear-gradient(90deg, #8fefff, #4a7cff, #b46bff, #8fefff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 6s linear infinite, rise 1s .3s both
}

@keyframes shine {
    to {
        background-position: 300% 0
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(40px)
    }
}

.sub {
    font-size: 1.25rem;
    opacity: .85;
    animation: rise 1s .5s both;
    min-height: 1.6em
}

.sub::after {
    content: "|";
    animation: blink 1s infinite
}

@keyframes blink {
    50% {
        opacity: 0
    }
}

.ipbox {
    margin-top: 36px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    animation: rise 1s .7s both
}

.ip {
    padding: 16px 28px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(92, 225, 255, .4);
    font-family: monospace;
    font-size: 1.4rem;
    color: var(--cyan);
    box-shadow: 0 0 25px rgba(92, 225, 255, .2) inset
}

.btn {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 0;
    padding: 16px 30px;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, #1b3cff, #7a2cff);
    box-shadow: 0 0 25px rgba(90, 80, 255, .6);
    transition: .3s;
    display: inline-block
}

.btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 45px rgba(92, 225, 255, .8)
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: skewX(-20deg);
    animation: sweep 3s infinite
}

@keyframes sweep {
    to {
        left: 160%
    }
}

.status {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 22px;
    border-radius: 50px;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .12);
    animation: rise 1s .9s both
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #888
}

.dot.on {
    background: #3dff8a;
    box-shadow: 0 0 12px #3dff8a;
    animation: ping 1.6s infinite
}

.dot.off {
    background: #ff4a6a;
    box-shadow: 0 0 12px #ff4a6a
}

@keyframes ping {
    50% {
        box-shadow: 0 0 0 10px rgba(61, 255, 138, 0)
    }
}

.scroll {
    position: absolute;
    bottom: 26px;
    font-size: 2rem;
    color: var(--cyan);
    animation: bounce 1.8s infinite
}

@keyframes bounce {
    50% {
        transform: translateY(12px)
    }
}

section {
    padding: 90px 8%
}

h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 50px;
    color: #fff;
    text-shadow: 0 0 20px var(--cyan)
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 26px;
    max-width: 1100px;
    margin: auto
}

.card {
    padding: 32px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(92, 225, 255, .18);
    backdrop-filter: blur(8px);
    transition: .4s
}

.card:hover {
    transform: translateY(-12px) rotate(-1deg);
    border-color: var(--cyan);
    box-shadow: 0 15px 50px rgba(74, 124, 255, .45)
}

.card .ic {
    font-size: 2.6rem;
    margin-bottom: 12px;
    display: inline-block;
    animation: float2 3s ease-in-out infinite
}

@keyframes float2 {
    50% {
        transform: translateY(-8px)
    }
}

.card h3 {
    margin-bottom: 8px;
    color: var(--cyan)
}

.card p {
    opacity: .8;
    line-height: 1.6
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s
}

.reveal.show {
    opacity: 1;
    transform: none
}

.page {
    max-width: 850px;
    margin: auto;
    padding: 140px 20px 80px
}

.rule {
    display: flex;
    gap: 18px;
    padding: 20px 24px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    border-left: 4px solid var(--cyan)
}

.rule b {
    color: var(--cyan);
    font-size: 1.4rem
}

.center {
    text-align: center;
    padding: 30vh 20px
}

.loader {
    width: 60px;
    height: 60px;
    margin: 30px auto;
    border: 5px solid rgba(92, 225, 255, .2);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

footer {
    text-align: center;
    padding: 40px;
    opacity: .6
}

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 100px);
    background: var(--cyan);
    color: #001;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 700;
    transition: .4s;
    z-index: 20
}

.toast.show {
    transform: translate(-50%, 0)
}

@media(max-width:700px) {
    nav ul {
        gap: 14px;
        font-size: .9rem
    }

    nav .brand span {
        display: none
    }
}

.bigbtns {
    margin-top: 26px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    animation: rise 1s .8s both
}

.btn.big {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 1.15rem;
    border-radius: 16px
}

.btn.discord {
    background: linear-gradient(90deg, #5865f2, #7a2cff);
    box-shadow: 0 0 30px rgba(88, 101, 242, .7)
}

.btn.rulebook {
    background: linear-gradient(90deg, #1b8cff, #5ce1ff);
    color: #04122e;
    box-shadow: 0 0 30px rgba(92, 225, 255, .55)
}

.btn .ico {
    flex-shrink: 0;
    transition: .4s
}

.btn.discord .ico {
    filter: invert(1)
}

.btn.big:hover .ico {
    transform: rotate(-12deg) scale(1.25)
}

.btn.discord .ico {
    animation: wiggle 3.5s ease-in-out infinite
}

.btn.rulebook .ico {
    animation: wiggle 3.5s ease-in-out 1.7s infinite
}

@keyframes wiggle {

    0%,
    85%,
    100% {
        transform: rotate(0)
    }

    90% {
        transform: rotate(-14deg)
    }

    95% {
        transform: rotate(12deg)
    }
}