/* Reset & Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
    background: #f0f3f5;
    overflow: hidden;
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin: 80px auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-align: center;
}

/* Headings */
h1 {
    margin-bottom: 25px;
    color: #FF6B6B;
}

.result h2 {
    margin-top: 20px;
    color: #333;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input[type="number"],
select,
input[type="range"] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* Range Slider Styling */
input[type="range"] {
    -webkit-appearance: none;
    height: 6px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #FF6B6B;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* Button */
button {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    background-color: #FF6B6B;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

button:hover {
    background-color: #ff4b4b;
}

/* Footer */
footer {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    color: #555;
    font-weight: bold;
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(to top, #ffecd2, #fcb69f);
}
