:root{
    /* PALET WARNA JAWA */
    --primary:#4E342E;      /* coklat batik */
    --secondary:#C9A227;    /* emas */
    --accent:#1B4332;       /* hijau tua */
    --bg:#F5E6C8;           /* krem gading */
    --card:#FFFFFF;
    --text:#1C1C1C;
    --muted:#6B7280;
}

/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY + ORNAMEN BATIK */
body{
    font-family: "Segoe UI", sans-serif;
    color:var(--text);
    background-color:var(--bg);

    background-image:url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A227' fill-opacity='0.12'%3E%3Cpath d='M60 0C40 20 40 40 60 60C80 40 80 20 60 0Z'/%3E%3Cpath d='M0 60C20 40 40 40 60 60C40 80 20 80 0 60Z'/%3E%3Cpath d='M60 120C40 100 40 80 60 60C80 80 80 100 60 120Z'/%3E%3Cpath d='M120 60C100 40 80 40 60 60C80 80 100 80 120 60Z'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat:repeat;
    background-size:180px;
    min-height:100vh;
}

/* HEADER */
header{
    background:linear-gradient(135deg,var(--primary),#3E2723);
    color:white;
    text-align:center;
    padding:2.2rem 1rem;
    box-shadow:0 4px 10px rgba(0,0,0,.15);
}

header h1{
    font-size:2rem;
    letter-spacing:.5px;
}

header p{
    margin-top:.5rem;
    opacity:.9;
}

/* CONTAINER */
.container{
    max-width:850px;
    margin:auto;
    padding:1.5rem 1rem;
}

/* CARD */
.card{
    background:var(--card);
    padding:1.6rem;
    border-radius:16px;
    box-shadow:0 8px 18px rgba(0,0,0,.08);
    backdrop-filter:blur(3px);
}

/* LABEL */
label{
    font-weight:600;
    display:block;
    margin-bottom:.4rem;
}

/* INPUT */
input{
    width:100%;
    padding:.7rem;
    border-radius:10px;
    border:1px solid #E5E7EB;
    font-size:1rem;
    transition:.2s;
}

input:focus{
    outline:none;
    border-color:var(--secondary);
    box-shadow:0 0 0 3px rgba(201,162,39,.25);
}

/* BUTTON */
button{
    width:100%;
    padding:.75rem;
    margin-top:1rem;
    border:none;
    border-radius:10px;
    background:var(--primary);
    color:white;
    font-size:1rem;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

button:hover{
    background:#3E2723;
    transform:translateY(-1px);
}

/* RESULT BOX */
.result{
    margin-top:1.2rem;
    padding:1rem;
    border-radius:12px;
    background:#FFF9E6;
    border:1px solid #F1E1A6;
    line-height:1.7;
}

/* FOOTER */
footer{
    text-align:center;
    padding:1.5rem;
    color:var(--muted);
    font-size:.9rem;
}

/* RESPONSIVE */
@media (max-width:600px){
    header h1{
        font-size:1.6rem;
    }
}
