* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(to right, #00d4ff, #090979);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.calculator-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    max-width: 420px;
    width: 100%;
}

#display {
    width: 100%;
    height: 60px;
    background-color: #222;
    color: #00d4ff;
    text-align: right;
    padding: 15px;
    font-size: 1.8rem;
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}

.button-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.btn {
    width: 65px;
    height: 55px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background-color: #ffffff;
    color: #333;
    transition: background-color 0.2s, transform 0.1s;
}

.btn:hover {
    background-color: #00d4ff;
    color: #fff;
    transform: scale(1.05);
}

.btn:active {
    transform: scale(0.95);
}

.scientific-btn {
    background-color: #e0e0e0;
    color: #090979;
}

.operator-btn {
    background-color: #f89406;
    color: white;
}

.clear-btn {
    background-color: #ff4d4d;
    color: white;
}
.clear-btn:hover {
    background-color: #cc0000;
}

.equal-btn {
    background-color: #2ecc71;
    color: white;
}
.equal-btn:hover {
    background-color: #27ae60;
}