:root {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --background-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #ffcc00;
}

body {
    font-family: 'Orbitron', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
    text-align: center;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.password-display-container {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

#password-display {
    flex-grow: 1;
    padding: 0.5rem;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    border-radius: 10px;
}

#copy-button {
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

#copy-button:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.control {
    display: flex;
    align-items: center;
}

.control label {
    flex-grow: 1;
    text-align: left;
}

.strength-container {
    height: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    margin-bottom: 2rem;
}

#strength-indicator {
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: width 0.5s, background-color 0.5s;
}

#generate-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--background-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

#generate-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.7);
}
