body {
    font-family: 'Inter', sans-serif;
    background-color: black;
    height: 100%;
    margin: 0;
    padding: 0;
    color: #e0e0e0;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
    scroll-behavior: smooth;
    position: relative;
    z-index: 1;
} 
.top-bar {
    transform: translateX(-50%);
    width: 150px;
    margin-top: 0.5%;
    margin-left: 50%;
    background-color: #0000009a;
    color: #fff;
    padding: 10px 10px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    z-index: 1000;
    backdrop-filter: blur(5px);
    border-radius: 25px;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
    align-items: center;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transition: transform 0.3s ease, clip-path 0.5s ease-out 0.3s;
}
.top-bar.loaded {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}
.top-bar a {
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 5px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}
.top-bar a:hover {
    color: #fff;
    transform: scale(1.4);
}
.top-bar a:active {
    transform: scale(1);
}
.top-bar:hover a {
    color: #fff;
    background-color: transparent;
}
.settings-menu {
    position: fixed;
    font-family: 'Inter', sans-serif;  
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #131313a4;
    padding: 25px 30px;
    border-radius: 20px;
    width: 450px;
    z-index: 999999;
    backdrop-filter: blur(10px);
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    display: none;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
#settings-menu h2 {
    margin-bottom: 30px;
    margin-top: -20px;
    margin-left: -20px;
    text-align: left;
    font-size: 35px;
    font-weight: 600;
    color: #443ab6;
    letter-spacing: 1px;
}
#settings-menu select {
    width: 100%;
    padding: 7px;
    margin-bottom: 15px;
    background-color: #1b1b1b;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 18px;
    outline: none;
    transition: background-color 0.3s, transform 0.2s ease, box-shadow 0.2s ease;
}
#settings-menu select:focus {
    transform: scale(1.02);
}
#close-settings {
    position: absolute;
    top: 20px;
    right: 10px;
    background-color: transparent;
    border: none;
    padding: 0;
    font-size: 10px;
    color: #868686;
    cursor: pointer;
    z-index: 1000;
    outline: none;
    display: inline-flex;
    transition: 0.3s ease;
}
#close-settings:hover {
    color: #f44336;
}
#close-settings i {
    font-size: 20px;
    line-height: 0;
}
#settings-menu select:hover {
    background-color: #333333;
}
.settings-menu.open {
    display: block;
    opacity: 1;
    animation: openMenu 0.4s forwards;
}
.settings-menu.close {
    animation: closeMenu 0.4s forwards;
}
@keyframes openMenu {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes closeMenu {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
}
.transport-selector {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
}
.transport-selected {
    background-color: #1b1b1b;
    color: #e0e0e0;
    padding: 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    transition: 0.3s ease;
    justify-content: space-between;
    align-items: center;
}
.transport-selected:hover {
    background-color: #333333;
}
.transport-selected::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Solid";
    font-weight: 900;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}
.transport-selected.transport-arrow-active::after {
    transform: rotate(-180deg);
}
.transport-options {
    position: absolute;
    top: 100%;
    margin-top: 5px;
    left: 0;
    right: 0;
    background-color: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 0;
    border-radius: 15px;
    text-align: left;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
.transport-options.transport-show {
    max-height: 200px;
    opacity: 1;
}
.transport-options div {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.transport-options div:hover {
    background-color: #333333;
}
#wisp-server {
    width: 100%;
    max-width: 250px;
    padding: 9px;
    margin-left: -80px;
    padding-left: 45px;
    background-color: #1b1b1b;
    background-image: url('/assets/images/icons/server.png');
    background-size: 25px 25px;
    background-position: 10px center;
    background-repeat: no-repeat;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: background-color 0.3s, transform 0.2s ease, box-shadow 0.2s ease;
}
#wisp-server:hover {
    background-color: #333333;
}
#wisp-server::placeholder {
    font-size: 0.8em;
    color: #525252;
}
#save-wisp-url {
    padding: 8px 10px;
    background-color: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 10px;
    margin-left: 0;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}
#save-wisp-url:hover {
    background-color: #333333;
}
#save-wisp-url:active {
    transform: scale(0.95);
}
#aboutblank-toggle {
    appearance: none;
    width: 60px;
    height: 30px;
    margin-left: -390px;
    background-color: #ff4d4d; 
    margin-bottom: 10px;
    border-radius: 30px;
    position: relative;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: inset -2px -2px 5px rgba(0, 0, 0, 0.2),
                inset 2px 2px 5px rgba(255, 255, 255, 0.2),
                2px 2px 5px rgba(0, 0, 0, 0.1);
}

#aboutblank-toggle:hover {
    box-shadow: inset -3px -3px 6px rgba(0, 0, 0, 0.3),
                inset 3px 3px 6px rgba(255, 255, 255, 0.3),
                3px 3px 6px rgba(0, 0, 0, 0.2);
}

#aboutblank-toggle:checked {
    background-color: #4caf50;
}
#aboutblank-toggle::before {
    content: '';
    width: 26px;
    height: 26px;
    background-color: #ffffff9a;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.5s, box-shadow 0.3s;
}

#aboutblank-toggle:checked::before {
    transform: translateX(30px);
}
#navbar-toggle {
    appearance: none;
    width: 60px;
    height: 30px;
    margin-left: -390px;
    background-color: #ff4d4d; 
    margin-bottom: 10px;
    border-radius: 30px;
    position: relative;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: inset -2px -2px 5px rgba(0, 0, 0, 0.2),
                inset 2px 2px 5px rgba(255, 255, 255, 0.2),
                2px 2px 5px rgba(0, 0, 0, 0.1);
}
#navbar-toggle:hover {
    box-shadow: inset -3px -3px 6px rgba(0, 0, 0, 0.3),
                inset 3px 3px 6px rgba(255, 255, 255, 0.3),
                3px 3px 6px rgba(0, 0, 0, 0.2);
}
#navbar-toggle:checked {
    background-color: #4caf50;
}
#navbar-toggle::before {
    content: '';
    width: 26px;
    height: 26px;
    background-color: #ffffff9a;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.5s, box-shadow 0.3s;
}
#navbar-toggle:checked::before {
    transform: translateX(30px);
}
.themes-selector {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 300px;
}
.themes-selected {
    background-color: #1b1b1b;
    color: #e0e0e0;
    padding: 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    transition: 0.3s ease;
    justify-content: space-between;
    align-items: center;
}
.themes-selected:hover {
    background-color: #333333;
}
.themes-selected::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Solid";
    font-weight: 900;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}
.themes-selected.transport-arrow-active::after {
    transform: rotate(-180deg);
}
.themes-options {
    position: absolute;
    top: 100%;
    margin-top: 5px;
    left: 0;
    right: 0;
    background-color: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 0;
    border-radius: 15px;
    text-align: left;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
.themes-options.transport-show {
    max-height: 200px;
    opacity: 1;
}
.themes-options div {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.themes-options div:hover {
    background-color: #333333;
}
#settings-menu label {
    display: block;
    margin-bottom: 15px;
    text-align: left;
    font-size: 20px;
    font-weight: 500;
    color: #e0e0e0;
}
#settings-menu p {
    font-size: 14px;
    color: #666;
    margin-top: -5px;
    text-align: left;
    font-weight: 500;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}
.settings-tabs {
    display: flex;
    justify-content: flex-start;
    transition: 0.3 ease;
    margin-bottom: 20px;
}
.tab-button {
    background-color: #1b1b1b;
    color: #e0e0e0;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s ease, box-shadow 0.3s;
    margin-top: -10px;
    margin-right: 8px;
}
.tab-button:hover {
    background-color: #333333;
}
.tab-button.active {
    background-color: #333333;
    color: white;
    transform: translateY(-4px);
}
.tab-content {
    opacity: 0;
    max-height: 0; 
    transform: translateX(-100%);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.5s ease-out, max-height 0.3s ease-in-out, visibility 0s linear 0.3s;
  }
  .tab-content.active {
    opacity: 1;
    max-height: 430px; 
    transform: translateX(0); 
    visibility: visible;
    transition: opacity 0.3s ease, transform 0.2s ease-out, max-height 0.5s ease-in-out; /* Smoother transition */
  }
.light {
    box-shadow: 0 0 250px 100px #443ab6;
    border-radius: 5%;
    height: 45vh;
    width: 75vw;
    opacity: 0.65;
    background-image: radial-gradient(farthest-corner at 50% 50%, #443ab6);
    background-blend-mode: multiply;
    filter: blur(50px) contrast(1.1);
    position: absolute;
    transform: translate(-50%, -35%);
    left: 50%;
    top: -30vh;
}
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: #000000;
}
::-webkit-scrollbar-thumb {
    background: #303030;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3b3b3b;
}
.navbar {
    top: 2%;
    background-color: #11111198;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    left: 50%;
    width: 1150px;
    max-width: 100%;
    display: none;
    border-radius: 20px;
    align-items: center;
    overflow: hidden;
    position: fixed;
    z-index: 999;
    transform: translateX(-50%);
}
.nav-links li img {
    width: 23px;
    height: 23px;
    transition: background-color 1.3s;
}
.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navbar li {
    padding: 10px -10px;
    margin-left: 4px;
    font-size: 20px;
    font-weight: bold;
    position: relative;
}
.navbar a {
    display: block;
    color: #fff;
    text-align: center;
    padding: 16px 20px;
    transform-origin: center center;
    text-decoration: none;
    border-radius: 50%;
    transform-origin: center;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
.navbar a:hover {
    transform: scale(1.2);
}
.navbar a:active {
    transform: scale(0.9);
}

.navbar a.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none; 
}
.navbar a.disabled {
    transition: opacity 0.3s ease-in-out;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 0.3s ease-in-out    ;
    transform: rotate(720deg); 
    transform-origin: center; 
}
.small-searchbar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 700px;
}
.small-searchbar input[type=text] {
    padding: 15px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 40px;
    background-image: url('/assets/images/icons/search.png');
    background-size: 35px 35px;
    background-position: 10px center;
    background-repeat: no-repeat;
    border-radius: 20px;
    color: rgb(255, 255, 255);
    font-size: 15px;
    background-color: #11111180;
    text-align: left;
    text-indent: 0.5em;
    outline: none;
    transition: 0.5s;
}
.small-searchbar input[type=text]:focus {
    background-color: #33333380;
}
.small-searchbar input[type=text]:hover {
    background-color: #33333380;
}
.small-searchbar input[type=text]::placeholder {
    color: #818181;
}
.search-container {
    position: relative;
    margin-top: 19%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
}
.search-title {
    font-size: 80px;
    color: white;
    font-weight: bolder;
    margin-bottom: 10px;
}
.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    margin: 0 auto;
}
.search-bar input[type=text] {
    padding: 18px;
    z-index: 999;
    padding-left: 40px;
    opacity: 0;
    width: 500px;
    max-width: 100%;
    background-image: url('/assets/images/icons/search.png');
    background-size: 35px 35px;
    background-position: 10px center;
    background-repeat: no-repeat;
    left: 50%;
    border-radius: 20px;
    color: white;
    font-size: 16px;
    border: none;
    background-color: #2c2c2c81;
    backdrop-filter: blur(20px);
    text-indent: 0.5em;
    outline: none;
    transition: width 0.8s ease, opacity 0.5s ease-out, clip-path 0.6s ease-out, background-color 0.5s ease;
    clip-path: inset(0 100% 0 0);
}
.search-bar input[type=text].loaded {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}
.search-bar input[type=text]:focus {
    background-color: #41414180;
}
.search-bar input[type=text]:hover {
    background-color: #41414180;
}
.search-bar input[type=text]::placeholder {
    color: #525252;
}
#erudaLoadingScreen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1b1b1b9d;
    backdrop-filter: blur(6px);
    color: white;
    font-size: 3em;
    z-index: 10000;
    border-radius: 20px;
    padding: 30px;
    display: none;
}
.container {
    float: right;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 50px;
    text-align: center;
}
#urlInput:focus {
    width: 40%;
    top: 0;
    transform: translate(-50%, 0%);
}
::placeholder {
    color: white;
}
.iframe {
    height: 100vh;
    width: 100vw;
    background-color: rgb(0, 0, 0);
    border: none;
    position: relative;
}
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.726);
    backdrop-filter: blur(5px);
    display: none;  
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
    font-size: 24px;
    font-weight: bold;
    opacity: 0;  
    transition: opacity 0.3s ease;  
}
.loading-text {
    position: absolute;
    top: 65%;
    left: 50%;
    font-size: 15px;
    transform: translateX(-50%);
    color: #ffffff;
    text-align: center;
    font-weight: bold;
}
.moon {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, #d9d9d9, #bfbfbf, #a6a6a6);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 25px rgba(94, 94, 94, 0.712);
}
.moon::before,
.moon::after {
    content: "";
    position: absolute;
    background: radial-gradient(circle, #a6a6a6, #808080);
    border-radius: 50%;
    opacity: 0.7;
}
.moon::before {
    width: 20px;
    height: 20px;
    top: 15%;
    left: 20%;
    box-shadow: 5px 5px 0 #808080;
}
.moon::after {
    width: 15px;
    height: 15px;
    top: 65%;
    left: 30%;
    box-shadow: -3px -3px 0 #808080;
}
.moon .crater {
    position: absolute;
    background: radial-gradient(circle, #bfbfbf, #8c8c8c);
    border-radius: 50%;
    opacity: 0.8;
}
.moon .crater:nth-child(1) {
    width: 10px;
    height: 10px;
    top: 5%;
    left: 40%;
}
.moon .crater:nth-child(2) {
    width: 12px;
    height: 12px;
    bottom: 10%;
    right: 25%;
}

.moon .crater:nth-child(3) {
    width: 8px;
    height: 8px;
    top: 25%;
    right: 15%;
}
.rocket {
    width: 20px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: top center;
    animation: orbit 2s linear infinite;
}
.rocket-body {
    width: 100%;
    height: 80%;
    background-color: #929292;
    border-radius: 90% 90% 0 0;
    position: relative;
}
.rocket-fins {
    width: 100%;
    height: 20%;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: space-between;
}
.rocket-fin {
    width: 30%;
    height: 100%;
    background-color: #292929;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
.rocket-flame {
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, orange, red, transparent);
    position: absolute;
    bottom: -20px;
    border-radius: 50%;
    animation: flame 0.5s infinite alternate ease-in-out;
}
@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(80px) rotate(30deg); 
    }
    25% {
        transform: rotate(-90deg) translateX(80px) rotate(30deg);
    }
    50% {
        transform: rotate(-180deg) translateX(80px) rotate(30deg);
    }
    75% {
        transform: rotate(-270deg) translateX(80px) rotate(30deg);
    }
    100% {
        transform: rotate(-360deg) translateX(80px) rotate(30deg);
    }
}

@keyframes flame {
    0% {
        transform: scaleY(0.8) scaleX(0.9);
        opacity: 0.8;
    }
    50% {
        transform: scaleY(1.2) scaleX(1.1);
        opacity: 1;
    }
    100% {
        transform: scaleY(0.8) scaleX(0.9);
        opacity: 0.8;
    }
}
.highlight {
    font-weight: bold;
    font-size: 80px;
    clip-path: inset(0 100% 0 0);
    transition: opacity 0.5s ease-out 0.3s, clip-path 0.5s ease-out 0.3s;
}
.highlight.loaded {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}
.toast {
    position: fixed;
    top: 20px;
    right: -300px;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, right 0.5s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.toast.success {
    background-color: #00ff084d;
    backdrop-filter: blur(10px);
}
.toast.error {
    background-color: #ff110056;
    backdrop-filter: blur(10px);
}
@keyframes slideIn {
    0% {
        right: -300px;
        opacity: 0;
   }
    100% {
        right: 20px;
        opacity: 1;
   }
}
@keyframes slideOut {
    0% {
        right: 20px;
        opacity: 1;
   }
    100% {
        right: -300px;
        opacity: 0;
   }
}
.toast.show {
    animation: slideIn 0.5s forwards;
}
.toast.hide {
    animation: slideOut 0.5s forwards;
}
.toast.auto-remove {
    animation: slideOut 0.5s forwards;
    animation-delay: 3s;
}
.toast .toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    transition: 0.3s;
}
.toast-close:hover {
    color: #f44336;
}
.glow-point {
    position: absolute;
    pointer-events: none;
    z-index: -1;
  }
  .hover-link {
    color: #949494; 
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .hover-link:hover {
    color: #dadada;
  }
  #pingDisplay {
    position: fixed;
    margin-top: -2.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: #7e7e7e;
    padding: 5px 10px;
    clip-path: inset(0 100% 0 0);
    transition: opacity 0.5s ease-out 0.3s, clip-path 0.5s ease-out 0.3s;
    z-index: -1;
    text-align: center;
  }
    #pingDisplay.loaded {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
  