* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body{
    font-family: 'Inter',sans-serif;
    background: #071321;
    color: #fff;
}

/*********************
    BACKGROUND
*********************/

.bg{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.circle{
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .18;
    animation: float 18s infinite ease-in-out;
}

.circle:nth-child(1) {
    width: 420px;
    height: 420px;
    background: #1ba8ff;
    left: -100px;
    top: -100px;
}

.circle:nth-child(2) {
    width: 600px;
    height: 600px;
    background: #00d4ff;
    right: -150px;
    top: 120px;
    animation-delay: 5s;
}

.circle:nth-child(3) {
    width: 500px;
    height: 500px;
    background: #005eff;
    bottom: -180px;
    left: 25%;
    animation-delay: 9s;
}

@keyframes float{
    50% {
        transform: translateY(-40px) translateX(30px);
    }
}

/*********************
    CONTENT
*********************/

.wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.card {
    width: 100%;
    max-width: 720px;
    padding: 20px 40px 40px 40px;
    border-radius: 30px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    text-align: center;
    animation: fadeUp 1s ease;
}

.card .not-found {
    font-size: 22px;
}

.card .not-found .highlight {
    font-size: 78px;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    } to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pulse {
    50% {
        transform: scale(1.04);
    }
}

.badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 40px;
    background: rgba(0,170,255,.12);
    border: 1px solid rgba(90,210,255,.25);
    color: #8fdcff;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

p {
    font-size: 19px;
    line-height: 1.2;
    color: #bdd8e8;
    max-width: 560px;
    margin: 0 auto;
}

.highlight {
    color: #62d4ff;
    font-weight: 600;
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 40px 0;
}

.features span {
    padding: 12px 18px;
    border-radius: 50px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    font-size: 14px;
    color: #d6ecf7;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 60px;
    background: linear-gradient(135deg,#16a8ff,#64ddff);
    color: #041321;
    font-weight: 700;
    border-radius: 60px;
    text-decoration: none;
    transition: .3s;
    margin-top: 10px;
}

.button:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,180,255,.35);
}

.footer {
    margin-top: 40px;
    font-size: 14px;
    color: #89b4c9;
}

.footer a {
    color: #8edcff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/*********************
    RESPONSIVE
*********************/
@media(max-width:768px) {
    .card {
        padding: 40px 25px;
    }
    
    p {
        font-size: 17px;
    }
    .features {
        flex-direction: column;
    }
    .features span {
        width:100%;
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 20px 0;
    background: rgba(7,19,33,.45);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.header-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-btn {
    padding: 14px 42px;
    border-radius: 50px;
    background: linear-gradient(135deg,#16a8ff,#64ddff);
    color: #041321;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

.header-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,170,255,.35);
}

/* ===========================
   Navigation
=========================== */

.main-nav ul{
    display:flex;
    align-items:center;
    gap:40px;
    list-style:none;
}

.main-nav a{
    color:#fff;
    text-decoration:none;
    font-size:15px;
    font-weight:500;
    transition:.3s;
    position:relative;
    text-transform: uppercase;
}

.main-nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:#64ddff;
    transition:.3s;
}

.main-nav a:hover{
    color:#64ddff;
}

.main-nav a:hover::after{
    width:100%;
}

/* ===========================
   Burger
=========================== */
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    z-index: 1002;
}

.menu-toggle span{
    display:block;
    width:28px;
    height:2px;
    margin:6px auto;
    background:#fff;
    transition:.35s;
}

/* animation */

.menu-toggle.active span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}

/* ===========================
   Mobile Menu
=========================== */

.mobile-menu{
    position:fixed;
    top:0;
    right:-100%;
    width:320px;
    height:100vh;
    background:#071321;
    backdrop-filter:blur(25px);
    padding: 40px 35px 40px;
    transition:.35s;
    z-index:1001;
}

.mobile-menu.active{
    right:0;
}

.mobile-menu nav{
    display:flex;
    flex-direction:column;
    gap:28px;
}

.mobile-menu a{
    color:#fff;
    text-decoration:none;
    font-size:20px;
    font-weight:500;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu .header-btn{
    margin-top:20px;
    text-align:center;
}

/* ===========================
   Overlay
=========================== */

.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:1000;
}

.menu-overlay.active{
    opacity:1;
    visibility:visible;
}

/* ===========================
   Responsive
=========================== */

@media(max-width:991px){
    .main-nav{
        display:none;
    }

    .desktop-btn{
        display:none;
    }

    .menu-toggle{
        display:block;
    }

}

@media(min-width:992px){
    .mobile-menu,
    .menu-overlay{
        display:none;
    }
}

footer {
    position:fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 18px 0;
    background: rgba(7,19,33,.45);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255,255,255,.06);
    z-index: 999;
}

.footer-container {
    width: 100%;
    max-width: 1280px;
    padding: 0 15px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8db7cd;
    font-size: 14px;
}

.wrapper {
    min-height: 100vh;
    padding-bottom: 90px;
}

@media(max-width:768px) {
    .header-container {
        /* flex-direction: column; */
        gap: 18px;
    }

    .logo img {
        height:46px;
    }

    .header-btn {
        /* width: 100%; */
        justify-content: center;
        display: flex;
    }

    .footer-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .wrapper {
        /* padding-top: 140px; */
        padding-bottom: 90px;
    }

    .card {
        animation: fadeUp 0s;
    }

    .logo img {
        animation: pulse 0s;
    }
}

@media(max-width: 376px) { 
    .card {
        padding: 25px;
    }

    .card p {
        font-size: 12px;
    }

    .features {
        margin: 25px 0;
    }
}

/* =========================
   CUSTOM SCROLLBAR
   ========================= */


/* Chrome / Edge / Safari / Opera */
::-webkit-scrollbar {
    width:12px;
}

::-webkit-scrollbar-track {
    background:#071321;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #1ba8ff,
        #00d4ff,
        #005eff
    );
    border-radius:20px;
    border:3px solid #071321;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #00d4ff,
        #1ba8ff,
        #005eff
    );
}

/* =========================
   Firefox
========================= */
html {
    scrollbar-width:thin;
    scrollbar-color:
    #00d4ff
    #071321;
}