.body {
    background-color: #121212;
    z-index: 0;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    scrollbar-width: none;
}

.root {
    scrollbar-width: none;
}

.site-header {
    position: relative;
    width: 100%;
    padding: 10px 0;
    opacity: 0;
    animation: fadeIn 0.6s 0.2s forwards ease;
}

.tryBtn {
    color: #ffffff;
    background: linear-gradient(#333, #333) padding-box,
        linear-gradient(90deg, #00008B, #ADD8E6) border-box;
    border: 2px solid transparent;
    text-align: center;
    width: fit-content;
    padding: 10px 20px;
    border-radius: 11px;
    position: absolute;
    top: 20px;
    right: 40px;
    display: block;
    user-select: none;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    transform: scale(0.8) translateY(-20px);
    opacity: 0;
    transition: color 0.2s, transform 0.2s, background-position-x 14s linear;
    background-size: 200%;
    animation: slideInScale 0.8s 0.4s forwards cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tryBtn:hover {
    transform: scale(1.2);
    background-position-x: 500px;
}

.niteTitle {
    color: white;
    text-align: center;
    position: relative;
    font-size: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    margin: 60px 0 20px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.1s forwards ease-out;
}

.niteTitleSub {
    color: white;
    text-align: center;
    position: relative;
    font-size: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    margin: 0px 0px 40px 0px;
    background-image: linear-gradient(90deg, cyan, rgb(45, 150, 182), cyan);
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    scrollbar-width: none;
    animation: borderOut 3.2s 0.25s forwards ease;
}

@keyframes borderOut {
    to {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    80% {
        border-top-right-radius: 28px;
        border-bottom-right-radius: 28px;
    }
}

.niteTitleSub::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #121212;
    /*if light mode, else needs to be switched */
    border-radius: 0px;
    opacity: 1;
    scrollbar-width: none;
    animation: slideOut 3.2s forwards ease;
}

@keyframes slideOut {
    to {
        transform: translateX(100vw);
        opacity: 0.55;
        border-radius: 0px;
        width: 0%;
    }

    50% {
        opacity: 0.9;
        border-radius: 15px;
    }
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.8s 0.2s forwards ease;
}

.card {
    background: linear-gradient(#333, #333) padding-box,
        linear-gradient(90deg, #00008B, #ADD8E6) border-box;
    border: 2px solid transparent;
    color: white;
    border-radius: 20px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    font-family: 'Inter', sans-serif;
    transform-style: preserve-3d;
    opacity: 1;
}

.card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ADD8E6;
}

.card-description {
    font-size: 16px;
    font-weight: 300;
    color: #ccc;
    line-height: 1.6;
}

#pageWrapper {
    transition: all 1s;
    position: relative;
    width: 100%;
}

#pageWrapper.slide-left {
    transform: translateX(-100vw);
    opacity: 0;
}

#pageWrapper.slide-up {
    transform: translateY(-100vh);
    opacity: 0;
}

#pageWrapper.slide-down {
    transform: translateY(100vh);
    opacity: 0;
}

#pageWrapper.slide-leftup {
    transform: translateX(100vw) translateY(100vh);
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInScale {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.commandContainer {
    position: fixed;
    bottom: 20px;
    width: 100%;
    margin: 5px 5px 5px 5px;
    height: fit-content;
    background-color: rgb(94, 204, 255);

}

.command {
    position: relative;
    width: fit-content;
    height: 50px;
    border-color: #000000;
    border-radius: 10px;
    border-width: 2px 2px 2px 2px;
    border-style: solid;
    padding: 10px 0px 0px 0px;
    color: #000000;
    font-family: 'Inter', sans-serif;
    text-align: center;
}


.command-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
    z-index: 1000;
}

.command-item {
    padding: 14px 28px;
    background: linear-gradient(#333, #333) padding-box,
        linear-gradient(90deg, #800080, #DA70D6) border-box;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: popupCommand 0.4s ease forwards;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.command-item:nth-child(1) {
    animation-delay: 0s;
}

.command-item:nth-child(2) {
    animation-delay: 0.1s;
}

.command-item:nth-child(3) {
    animation-delay: 0.2s;
}

.command-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.command-label {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    user-select: none;
}

.command-item.fade-out {
    animation: fadeOutCommand 0.3s ease forwards;
}

@keyframes popupCommand {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutCommand {
    to {
        opacity: 0;
        transform: translateY(50px);
    }
}

.niteoutput {
    width: fit-content;
    max-width: 80vw;
    font-family: 'Inter', sans-serif;
    background-color: #667eea;
    border-radius: 10px;
    margin-left: 10px;
    padding: 5px;
    max-width: 80%;
    transform-origin: left center;
    animation: outputBoxIdle 2s forwards infinite linear;
    white-space: pre-wrap;
    word-break: break-word
}

@keyframes outputBoxIdle {
    0% {
        transform: translateY(0px)
    }

    25% {
        transform: translateY(-5px);
    }

    50% {
        transform: translateY(0px);
    }

    75% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes outputBoxAnimation {
    0% {
        transform: scale(1, 1);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}


@keyframes outputTextAnimation {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.viewAll {
    color: #ffffff;
    background: linear-gradient(#333, #333) padding-box,
        linear-gradient(90deg, #00008B, #ADD8E6) border-box;
    border: 2px solid transparent;
    text-align: center;
    width: fit-content;
    padding: 10px 20px;
    border-radius: 11px;
    position: absolute;
    top: 20px;
    left: 40px;
    display: block;
    user-select: none;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    transform: scale(0.8) translateY(-20px);
    opacity: 0;
    transition: color 0.2s, transform 0.2s, background-position-x 14s linear;
    background-size: 200%;
    animation: slideInScale 0.8s 0.4s forwards cubic-bezier(0.34, 1.56, 0.64, 1);
}

.viewAll:hover {
    transform: scale(1.2);
    background-position-x: 500px;
}


.circle {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #add8e62d;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    backdrop-filter: blur(5px);
    transition: transform 0.2s, backdrop-filter 0.2s, left 0.2s ease-out, top 0.2s ease-out;
}

.circle.squished {
    transform: scale(0.4);
    backdrop-filter: blur(1px);
}

.circle.vibrating {
    animation: circleSquishVibrate 0.12s linear infinite;
}

.circle.hovering {
    transform: scale(1.4);
    backdrop-filter: blur(1px);

    to {
        transform: scale(0.4);
        backdrop-filter: blur(1px);
    }
}

@keyframes circleSquishVibrate {
    0% {
        transform: scale(0.4);
        backdrop-filter: blur(1px);
    }

    50% {
        transform: scale(0.45);
        backdrop-filter: blur(1px);
    }

    100% {
        transform: scale(0.4);
        backdrop-filter: blur(1px);
    }
}