::-webkit-scrollbar {
    width: 10px;
    background-color: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:window-inactive {
    background-color: transparent;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #777;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

/* ---- base ---- */

html,
body {
    width: 100%;
    height: 100%;
    background: #111;
}

/* ---- particles.js container ---- */

#particles-js {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #0a0a0a;
    pointer-events: none;
}

/* ---- navbar ---- */

.left {
    display: flex;
    justify-content: space-between;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 10px);
    height: 70px;
    max-height: 70px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    user-select: none;
}

.nav-link {
    color: #eaeaea;
    text-decoration: none;
    margin: 0 5px;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link.active,
.nav-link:hover {
    background-color: #eaeaea;
    color: #0a0a0a;
    border-color: #1377e9;
}

.nav-link:hover::before {
    opacity: 1;
    transform: translateY(175%) translateX(-25%);
    transition: all 0.4s ease;
}

.nav-link::before {
    content: attr(data-tooltip);
    font-family: "Inter", sans-serif;
    opacity: 0;
    font-size: 14px;
    color: #151a2d;
    display: inline-block;
    position: absolute;
    pointer-events: none;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(225%) translateX(-25%);
}

nav .logo {
    margin-left: 20px;
    font-size: 24px;
    font-weight: bold;
}

.highlight {
    color: #1377e9;
    text-shadow: #1377e9 0px 0px 20px;
}

/* ---- main ---- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    width: 100vw;
    z-index: 100;
    text-align: center;
    position: absolute;
    padding: 20px;
    background-color: transparent;
    pointer-events: all !important;
}

.hero * {
    user-select: none;
}

.hero h1 {
    font-size: 50px;
    margin-bottom: 20px;
    color: #eaeaea;
    text-shadow: #1377e9 0px 0px 20px;
    user-select: none;
}

.hero .input-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    height: 50px; /* Increased height */
    font-size: 1.25rem; /* Increased font size */
    padding: 0 10px; /* Adjusted padding proportionally */
    border: 1px solid #eaeaea; /* Consistent border */
    box-sizing: border-box; /* Ensure padding doesn't affect height */
    animation: fadeIn 0.4s ease-in-out; /* Fade-in animation */
    border-radius: 90px; /* Rounded corners */
    box-shadow: #eaeaea 0px 0px 20px;
    transition: all 0.3s ease; /* Smooth hover effect */
}

.hero .input-container i {
    color: #eaeaea;
    font-size: 20px; /* Increased icon size */
    margin-right: 10px; /* Space between icon and input */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px) rotateX(45deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.hero .input-container input {
    margin-right: 10px;
    transition: all 0.3s ease; /* Smooth hover effect */
    font-family: 'Inter', sans-serif;
}

.hero .input-container:has(input:focus),
.hero .input-container:hover {
    outline: none;
    border-color: #1377e9;
    box-shadow: 0 0 5px #1377e9, 0 0 10px #1377e9, 0 0 15px #1377e9;
}

.hero .input-container input::placeholder {
    color: #eaeaea;
    font-size: 20px; /* Increased placeholder size */
}

/* ---- discord ---- */
.discord-modal-header {
    display: flex;
    justify-content: space-between;
}

.discord-modal-header button {
    z-index: 3458683458;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.discord-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8234589;
}

.discord-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 8234589;
    background-color: #333;
    padding: 20px;
    border-radius: 20px;
    transform: translate(-50%, -50%);
}