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

body {
     background: linear-gradient(135deg, #b849f8, #9b015b);
 font-family: Arial, sans-serif;
 }

.calculator {
    width: 100%;
    max-width: 360px;
    padding: 25px;
    border-radius: 28px;
   background-color: black;
    box-shadow: 0 15px 45px rgba(95, 50, 120, 0.2);
    backdrop-filter: blur(12px);
}

.calculator h2 {
    color: #7541a6;
    font-weight: 800;
}

.display {
    height: 85px;
    border: none;
    border-radius: 18px;
    background: rgb(128, 36, 170);
    color: #40205e;
    font-size: 32px;
    font-weight: bold;
    text-align: right;
    padding: 15px;
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.05);
}

.calc-btn {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 16px;
    border: 1px solid purple;
    color: #49345b;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 1px 7px purple;
    transition: 0.2s;
}

.calc-btn:hover {
    background: #f52db2;
    transform: translateY(-2px);
}

.utility {
    background: #fc7dc9;
    color: #d80885;
}

.operator {
    background: #670e79;
    color: #ec07a8;
    font-size: 24px;
}

.equal {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    font-size: 25px;
}

.equal:hover {
    background: linear-gradient(135deg, #9333ea, #db2777);
    color: white;
}

.footer-text {
    color: #8d76a0;
    font-size: 12px;
}

@media (max-width: 380px) {
    .calculator {
        padding: 16px;
    }

    .calc-btn {
        height: 52px;
        font-size: 17px;
        border-radius: 13px;
    }

    .display {
        height: 75px;
        font-size: 27px;
    }
} 

