/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

/* Fullscreen Background with Subtle Gradient for a Modern Feel */
body {
    background: linear-gradient(to right, #4e81d1, #6a98c3, #85b1cf, #a3c8db);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

@keyframes jumpAndMove {
    0% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.8;
    }
    25% { 
        transform: translate(-50px, -50px) rotate(-20deg);
        opacity: 1;
    }
    50% { 
        transform: translate(100px, 30px) rotate(15deg);
        opacity: 1;
    }
    75% { 
        transform: translate(-80px, 80px) rotate(-30deg);
        opacity: 1;
    }
    100% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.8;
    }
}

.glass-navbar {
    position: fixed;
    top: 20px;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
}

/* Navigation Links */
.nav-links .btn {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    padding: 8px 15px;
    border-radius: 8px;
    transition: 0.3s ease-in-out;
    background: rgba(255, 255, 255, 0.2);
}

/* Hover Effect */
.nav-links .btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Glass-Like Signup Container */
.signup-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.signup-container h2 {
    color: white;
    margin-bottom: 15px;
}

label, input, button {
    display: block;
    margin: 10px auto;
    width: 80%;
}

input {
    padding: 10px;
    border: none;
    border-radius: 5px;
}

button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.scattered-text {
    position: absolute;
    font-size: calc(1rem + 1vw);
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9); /* Increased visibility */
    user-select: none;
    animation: jumpAndMove 5s infinite ease-in-out;
}

/* Apply different fonts to each hashtag */
.scattered-text:nth-child(1) { font-family: 'Raleway', sans-serif; transform: rotate(-20deg); }
.scattered-text:nth-child(2) { font-family: 'Pacifico', cursive; transform: rotate(15deg); }
.scattered-text:nth-child(3) { font-family: 'Oswald', sans-serif; transform: rotate(-10deg); }
.scattered-text:nth-child(4) { font-family: 'Lobster', cursive; transform: rotate(5deg); }
.scattered-text:nth-child(5) { font-family: 'Courier Prime', monospace; transform: rotate(-25deg); }
.scattered-text:nth-child(6) { font-family: 'Roboto', sans-serif; transform: rotate(30deg); }
.scattered-text:nth-child(7) { font-family: 'Playfair Display', serif; transform: rotate(-15deg); }
.scattered-text:nth-child(8) { font-family: 'Anton', sans-serif; transform: rotate(10deg); }
.scattered-text:nth-child(9) { font-family: 'Raleway', sans-serif; transform: rotate(-30deg); }

#password-requirements {
    font-size: 0.9rem;
    color: white;
    margin-top: 10px;
}

.error {
    color: red;
    font-size: 0.8rem;
}
