body {
    background-color: #212121;
    display: flex; justify-content: center; align-items: center;
    min-height: 100vh; margin: 0; font-family: 'Inter', sans-serif; color: #e0e0e0;
}

.top-hud { position: absolute; top: 20px; right: 20px; text-align: right; }
.rating { display: inline-block; direction: rtl; }
.rating input { display: none; }

.rating label { float: right; cursor: pointer; color: #333; transition: 0.3s; padding: 0 2px; }
.rating label:before { content: "\2605"; font-size: 16px; }

.rating input:checked ~ label, 
.rating label:hover, 
.rating label:hover ~ label { 
    color: #00d1ff; 
    text-shadow: 0 0 5px rgba(0, 209, 255, 0.4);
}

.stats-text { font-family: 'JetBrains Mono'; font-size: 10px; color: #555; margin-top: 4px; display: block; }

.card {
    width: 340px; padding: 30px; border-radius: 30px; background: #212121;
    box-shadow: 15px 15px 30px rgb(20, 20, 20), -15px -15px 30px rgb(55, 55, 55);
}

h1 { font-size: 20px; letter-spacing: 3px; color: #00d1ff; margin: 0; font-weight: 800; }
header p { font-size: 9px; color: #666; margin-bottom: 25px; letter-spacing: 1px; }

.display-wrapper { position: relative; width: 100%; margin-bottom: 10px; }

#timerBadge {
    position: absolute; top: 8px; right: 12px;
    font-size: 10px; font-family: 'JetBrains Mono'; color: #00d1ff; font-weight: 800;
    opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 5;
}

#passwordDisplay {
    width: 100%; height: 80px; background: #212121; border: none; padding: 15px; padding-top: 30px;
    border-radius: 12px;
    box-shadow: inset 5px 5px 10px rgb(15, 15, 15), inset -5px -5px 10px rgb(50, 50, 50);
    color: #fff; font-family: 'JetBrains Mono'; font-size: 14px;
    text-align: center; 
    resize: none; word-break: break-all; outline: none; box-sizing: border-box;
}

.entropy-container { width: 100%; height: 5px; background: #212121; border-radius: 10px; overflow: hidden; margin-bottom: 10px; box-shadow: inset 2px 2px 5px #151515; }
#entropyBar { width: 0%; height: 100%; background: #ff4b4b; transition: 0.5s; }

.security-checklist { display: flex; justify-content: space-around; margin-bottom: 20px; }
.check-item { font-size: 9px; font-weight: 800; color: #444; transition: 0.3s; }
.check-item.valid { color: #00d1ff; text-shadow: 0 0 5px rgba(0, 209, 255, 0.3); }

input[type=range] { width: 100%; margin: 10px 0; accent-color: #00d1ff; cursor: pointer; }
.slider-header { display: flex; justify-content: space-between; font-size: 10px; color: #00d1ff; font-weight: bold; }

button {
    width: 100%; padding: 15px; border-radius: 15px; border: none; background: #212121;
    box-shadow: 5px 5px 10px rgb(15, 15, 15), -5px -5px 10px rgb(50, 50, 50);
    color: #fff; font-weight: bold; cursor: pointer; margin-top: 15px; transition: 0.2s;
}
button:active { box-shadow: inset 4px 4px 8px rgb(15, 15, 15); transform: scale(0.98); }

.copy-style { color: #666; font-size: 11px; margin-top: 10px; box-shadow: 3px 3px 6px rgb(15, 15, 15), -3px -3px 6px rgb(50, 50, 50); }
.copy-style.success { color: #00d1ff; }