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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #e8f5e8 0%, #d1e7d1 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.calculadora {
    background: linear-gradient(145deg, #f0f8f0, #e1f1e1);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 
        0 15px 30px rgba(76, 139, 76, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(76, 139, 76, 0.1);
    max-width: 400px;
    width: 100%;
}

h1 {
    text-align: center;
    color: #2d5d2d;
    margin-bottom: 30px;
    font-size: 28px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.grupo-input {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #1b4d1b;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #a8d4a8;
    border-radius: 10px;
    font-size: 16px;
    background: linear-gradient(145deg, #f6fef6, #e8f5e8);
    color: #1b4d1b;
    transition: all 0.3s ease;
}

input[type="number"]:focus {
    outline: none;
    border-color: #82c482;
    box-shadow: 0 0 0 3px rgba(130, 196, 130, 0.2);
    background: #ffffff;
}

.botones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 25px 0;
}

button {
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #a8d4a8, #96c496);
    color: #1b4d1b;
    box-shadow: 
        0 4px 8px rgba(76, 139, 76, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(76, 139, 76, 0.1);
}

button:hover {
    background: linear-gradient(145deg, #96c496, #84b484);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 139, 76, 0.3);
}

button:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 4px rgba(76, 139, 76, 0.3),
        inset 0 2px 4px rgba(76, 139, 76, 0.2);
}

.suma { 
    background: linear-gradient(145deg, #c0e8c0, #9fdc9f); 
}

.resta { 
    background: linear-gradient(145deg, #b8e0b8, #a6d4a6); 
}

.multiplicacion { 
    background: linear-gradient(145deg, #a8dca8, #96cc96); 
}

.division { 
    background: linear-gradient(145deg, #a4d8a4, #94c894); 
}

.suma:hover { 
    background: linear-gradient(145deg, #9fdc9f, #8fcc8f); 
}

.resta:hover { 
    background: linear-gradient(145deg, #a6d4a6, #96c496); 
}

.multiplicacion:hover { 
    background: linear-gradient(145deg, #96cc96, #86bc86); 
}

.division:hover { 
    background: linear-gradient(145deg, #94c894, #84b884); 
}

#resultado {
    border-color: #a8d4a8;
    background: linear-gradient(145deg, #d2f0d2, #c8e6c8);
    color: #1b4d1b;
    box-shadow: inset 0 2px 4px rgba(76, 139, 76, 0.1);
}