* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(120deg, #528aae, #ec6ead);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    text-align: center;
    padding: 30px;
    width: 90%;
    max-width: 450px;
}

h1 {
    font-size: 26px;
    color: #333;
    margin-bottom: 15px;
}

.color-display {
    width: 100%;
    height: 180px;
    margin: 15px 0 25px 0;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease-in-out;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

label {
    width: 60px;
    font-weight: bold;
    text-align: left;
    color: #444;
}

.slider-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 10px;
}

input[type="range"] {
    flex-grow: 1;
    cursor: pointer;
}

span {
    width: 35px;
    text-align: right;
    font-weight: 600;
    color: #555;
}

#copyButton {
    background-color: #ec6ead;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-top: 25px;
    width: 100%;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
}

#copyButton:hover {
    background-color: #d85796;
}

#copyButton:active {
    transform: scale(0.98);
}