body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #fff8c6, #fff3a3, #ffe97a);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

/* Luxury Card */
.calculator-card {
    background: linear-gradient(145deg, #fffef5, #fff4bf);
    padding: 2rem;
    border-radius: 22px;
    box-shadow:
        0 18px 35px rgba(0,0,0,0.12),
        inset 0 2px 10px rgba(255,255,255,0.9),
        inset 0 -4px 8px rgba(255,215,0,0.12);
    width: 100%;
    max-width: 430px;
    border: 1px solid rgba(255,255,255,0.7);
}

/* Main Title */
h1 {
    text-align: center;
    color: #8b6b00;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

/* Sub Titles */
h3 {
    text-align: center;
    color: #a67800;
    margin: 8px 0;
    font-size: 1rem;
    font-weight: 600;
}

/* Sub Titles */
h2 {
    text-align: center;
    color: #a67800;
    margin: 8px 0;
    font-size: 1rem;
    font-weight: 600;
}
/* Divider */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
    margin: 1.2rem 0;
}

.input-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-size: 0.95rem;
    color: #7a5a00;
    margin-bottom: 6px;
    font-weight: 600;
}

/* Luxury Input Boxes */
input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2c35f;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 1rem;
    background: linear-gradient(145deg, #ffffff, #fff9dd);
    box-shadow:
        inset 0 2px 5px rgba(255,255,255,0.9),
        0 4px 8px rgba(0,0,0,0.05);
    color: #5b4300;
}

input::placeholder {
    color: #b89a42;
}

input:focus {
    outline: none;
    border: 1px solid #d4af37;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.18);
}

/* Grid */
.grid-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 1rem;
}

/* Gold Glass Button */
button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(145deg, #ffd700, #ffb700);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: 0.25s ease;
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.7),
        0 8px 15px rgba(255,183,0,0.4);
}

button:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, #ffe066, #ffc107);
}

button:active {
    transform: translateY(2px);
}

/* Result Area */
.result-area {
    margin-top: 1.8rem;
    text-align: center;
    border-top: 2px solid rgba(212,175,55,0.2);
    padding-top: 1rem;
}

/* Total Result Text */
.result-area p {
    font-family: Georgia, serif;
    color: #8b6b00;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 8px;
}

/* Number Display */
#totalDisplay {
    font-family: Georgia, serif;
    color: #c28b00;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.9);
    margin: 0;
}