/* General Styling */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
    font-family: 'Orbitron', sans-serif;
    background: #0c1021;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

/* Background Animation */
body::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 183, 255, 0.2) 10%, transparent 70%);
    animation: pulse 5s infinite alternate;
    z-index: -1;
}

@keyframes pulse {
    from { transform: scale(1); opacity: 0.7; }
    to { transform: scale(1.3); opacity: 0.4; }
}

/* Wrapper */
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Headings */
h1 {
    font-size: 26px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px cyan;
}

/* Labels */
label {
    font-size: 14px;
    display: block;
    margin-top: 10px;
    text-align: left;
}

/* Input Fields */
input[type="number"], input[type="range"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-align: center;
    outline: none;
}

input[type="number"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Range Slider */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: cyan;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: lime;
}

/* Live Display Value */
#displayValue {
    font-size: 18px;
    font-weight: bold;
    color: cyan;
}

/* Button */
button {
    background: linear-gradient(135deg, cyan, lime);
    border: none;
    color: black;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    margin-top: 15px;
}

button:hover {
    background: linear-gradient(135deg, lime, cyan);
    transform: scale(1.05);
    box-shadow: 0 0 10px cyan;
}

/* Prediction Result */
.result {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 8px cyan;
}
