.navbar {
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: linear-gradient(90deg, #181c2f 0%, #232b5d 100%);
    box-shadow: 0 2px 16px #232b5d99;
    border-bottom: 1.5px solid #3a8dde88;
    backdrop-filter: blur(10px);
    animation: navbar-fade-in 1.2s cubic-bezier(.4,0,.2,1);
    overflow: visible;
    min-height: 56px;
}

@keyframes navbar-fade-in {
    from { opacity: 0; transform: translateY(-24px);}
    to   { opacity: 1; transform: translateY(0);}
}

.navbar-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 8px 18px 8px 18px;
    position: relative;
}

.navbar-logo {
    height: 38px;
    width: auto;
    border-radius: 8px;
    background: #181c2f;
    box-shadow: 0 2px 8px #232b5d77, 0 0 0 3px #232b5d33;
    object-fit: contain;
    display: block;
    transition: box-shadow 0.3s;
}
.navbar-logo:hover {
    box-shadow: 0 0 16px #6c63ffcc, 0 0 0 6px #232b5d77;
}

.navbar-title {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    position: relative;
    text-shadow:
        0 0 10px #fff,
        0 0 20px #6c63ff44,
        0 0 40px #3a8dde33;
    -webkit-text-stroke: 0.8px #b3cfff;
    text-stroke: 0.8px #b3cfff;
    user-select: none;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1;
    cursor: pointer;
    padding: 0 10px;
    overflow: visible;
    display: inline-block;
}

.navbar-title .lightning {
    pointer-events: none;
    position: absolute;
    left: -4px;
    top: 50%;
    width: calc(100% + 8px);
    height: 110%;
    z-index: 2;
    background: 
        linear-gradient(120deg, transparent 40%, #fff 50%, #6c63ff 60%, transparent 70%);
    opacity: 0;
    filter: blur(0.7px) brightness(1.2);
    mix-blend-mode: lighten;
    transform: translateY(-50%) scaleY(1.1);
    clip-path: polygon(
        0% 45%, 10% 48%, 20% 44%, 30% 52%, 40% 46%, 50% 54%, 60% 48%, 70% 56%, 80% 50%, 90% 58%, 100% 52%,
        100% 100%, 0% 100%
    );
    animation: lightning-flash 5s infinite;
}

@keyframes lightning-flash {
    0%, 92% { opacity: 0; }
    94% { opacity: 1; }
    96% { opacity: 0.7; }
    97% { opacity: 0.3; }
    98% { opacity: 0.8; }
    99% { opacity: 0.2; }
    100% { opacity: 0; }
}

@media (max-width: 600px) {
    .navbar-inner {
        padding: 4px 6vw 4px 6vw;
        gap: 8px;
    }
    .navbar-logo {
        height: 24px;
        border-radius: 4px;
    }
    .navbar-title {
        font-size: 0.85rem;
        -webkit-text-stroke: 0.4px #b3cfff;
        text-stroke: 0.4px #b3cfff;
        padding: 0 4px;
    }
    .navbar-title .lightning {
        left: -2px;
        width: calc(100% + 4px);
        height: 100%;
        filter: blur(0.4px) brightness(1.1);
    }
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #181c2f;
    overflow: hidden;
    min-height: 100vh;
}

.animated-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background: linear-gradient(120deg, #181c2f 0%, #232b5d 60%, #2d3a5f 100%);
    animation: bg-move 16s ease-in-out infinite alternate;
    opacity: 1;
}

@keyframes bg-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.aurora-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.aurora {
    position: absolute;
    width: 120vw;
    height: 60vh;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    background: radial-gradient(ellipse at 50% 50%, #3a8dde33 0%, #232b5d22 60%, transparent 100%);
    filter: blur(80px) brightness(1.1);
    opacity: 0.35;
    animation: aurora-move 12s linear infinite alternate;
}
.aurora:nth-child(2) {
    background: radial-gradient(ellipse at 60% 40%, #6c63ff33 0%, #232b5d22 60%, transparent 100%);
    width: 100vw;
    height: 80vh;
    left: 60%;
    top: 40%;
    animation-delay: 2s;
    animation-duration: 16s;
}
.aurora:nth-child(3) {
    background: radial-gradient(ellipse at 40% 60%, #232b5d55 0%, #3a8dde22 60%, transparent 100%);
    width: 110vw;
    height: 70vh;
    left: 40%;
    top: 60%;
    animation-delay: 4s;
    animation-duration: 18s;
}

@keyframes aurora-move {
    0% { transform: translate(-50%, -50%) rotate(0deg) scale(1);}
    100% { transform: translate(-50%, -50%) rotate(30deg) scale(1.1);}
}

.soon-text.neon-white {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 18px;
    font-size: 64px;
    font-weight: 900;
    letter-spacing: 6px;
    color: #f4f7fa;
    text-shadow:
        0 0 4px #fff,
        0 0 12px #3a8dde55;
    user-select: none;
    -webkit-text-stroke: 1px #b3cfff;
    text-stroke: 1px #b3cfff;
}

.soon-text span {
    display: inline-block;
    animation: soon-float 2.2s ease-in-out infinite;
}
.soon-text span:nth-child(2) { animation-delay: 0.2s; }
.soon-text span:nth-child(3) { animation-delay: 0.4s; }
.soon-text span:nth-child(4) { animation-delay: 0.6s; }

@keyframes soon-float {
    0%, 100% { transform: translateY(0);}
    50% { transform: translateY(-18px) scale(1.08);}
}

.contact-block {
    position: fixed;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    z-index: 20;
    background: rgba(35, 43, 93, 0.97);
    border-radius: 22px;
    box-shadow: 0 6px 32px #232b5d77, 0 0 0 1.5px #3a8dde33;
    padding: 22px 32px 18px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 270px;
    max-width: 96vw;
    gap: 12px;
    animation: fadeInUp 1.2s;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 40px);}
    to   { opacity: 1; transform: translate(-50%, 0);}
}

.contact-title {
    color: #b3cfff;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2px;
    text-shadow: 0 0 8px #232b5d44;
}

.contact-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 6px;
}

.contact-btn {
    width: 48px;
    height: 48px;
    background: #232b5d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px #232b5d44;
    border: 2px solid #3a8dde33;
    transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}
.contact-btn img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    transition: filter 0.2s;
    filter: drop-shadow(0 0 2px #232b5d33);
}
.contact-btn.discord-btn:hover {
    background: #5865F2;
    box-shadow: 0 0 16px #5865f2cc, 0 0 0 2px #fff2;
    transform: scale(1.08) rotate(-6deg);
}
.contact-btn.discord-btn:hover img {
    filter: drop-shadow(0 0 8px #5865f2cc);
}
.contact-btn.telegram-btn:hover {
    background: #229ED9;
    box-shadow: 0 0 16px #229ed9cc, 0 0 0 2px #fff2;
    transform: scale(1.08) rotate(6deg);
}
.contact-btn.telegram-btn:hover img {
    filter: drop-shadow(0 0 8px #229ed9cc);
}

.contact-block .contact-email {
    position: static;
    background: transparent;
    color: #eaf0fa;
    padding: 0;
    border-radius: 0;
    font-size: 1.02rem;
    box-shadow: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    text-shadow:
        0 0 2px #fff,
        0 0 8px #3a8dde22;
    justify-content: center;
}
.contact-block .contact-email a {
    color: #b3cfff;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s, text-shadow 0.2s;
    text-shadow:
        0 0 2px #fff,
        0 0 8px #3a8dde22;
}
.contact-block .contact-email a:hover {
    color: #6c63ff;
    text-shadow:
        0 0 8px #b3cfff,
        0 0 16px #6c63ff33;
}

.discord-icon, .contact-email.neon-white:not(.contact-block .contact-email) {
    display: none !important;
}

@media (max-width: 600px) {
    .navbar-inner {
        padding: 4px 6vw 4px 6vw;
        gap: 8px;
    }
    .navbar-logo {
        height: 24px;
        border-radius: 4px;
    }
    .navbar-title {
        font-size: 0.85rem;
        -webkit-text-stroke: 0.4px #b3cfff;
        text-stroke: 0.4px #b3cfff;
        padding: 0 4px;
    }
    .navbar-title .lightning {
        left: -2px;
        width: calc(100% + 4px);
        height: 100%;
        filter: blur(0.4px) brightness(1.1);
    }
    .soon-text.neon-white {
        font-size: 32px;
        gap: 8px;
        -webkit-text-stroke: 0.7px #b3cfff;
        text-stroke: 0.7px #b3cfff;
    }
    .contact-block {
        min-width: 0;
        padding: 12px 6vw 10px 6vw;
        border-radius: 14px;
        bottom: 12px;
    }
    .contact-btn {
        width: 38px;
        height: 38px;
    }
    .contact-btn img {
        width: 22px;
        height: 22px;
    }
    .contact-block .contact-email {
        font-size: 0.92rem;
    }
}