body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1500&q=80') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    color: #333;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-shadow: 1px 2px 8px #fff8;
}

.calculator {
    background: rgba(255, 255, 255, 0.7);
    padding: 36px 40px;
    border-radius: 22px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 320px;
    align-items: stretch;
    border: 1.5px solid #e0e0e0;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.calculator::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #ffb6b9 0%, transparent 70%);
    opacity: 0.25;
    z-index: 0;
}

.calculator::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #a8edea 0%, transparent 70%);
    opacity: 0.25;
    z-index: 0;
}

input, select {
    padding: 14px;
    font-size: 19px;
    border-radius: 8px;
    border: 1.5px solid #c1c1c1;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    background: rgba(249, 249, 249, 0.85);
    box-shadow: 0 1px 6px #e0e0e0;
    position: relative;
    z-index: 1;
}

input:focus, select:focus {
    border: 1.5px solid #ffb6b9;
    box-shadow: 0 0 10px #ffb6b955;
}

button {
    padding: 16px;
    background: linear-gradient(90deg, #ffb6b9 0%, #fcdffb 100%);
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 2px 12px #fcdffb88;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

button:active {
    transform: scale(0.97);
    background: linear-gradient(90deg, #fcdffb 0%, #ffb6b9 100%);
    box-shadow: 0 1px 6px #ffb6b955;
}

#result {
    margin-top: 14px;
    font-weight: bold;
    font-size: 24px;
    color: #6c3483;
    min-height: 32px;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px #fcdffb88;
    position: relative;
    z-index: 1;
}