:root{
    --bg1:#0f172a;
    --bg2:#1e293b;
    --card:#ffffff;
    --primary:#2563eb;
    --accent:#22c55e;
    --text:#0f172a;
    --muted:#6b7280;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: 'Mandali', sans-serif;
    background: linear-gradient(135deg, var(--bg1), var(--bg2));
    min-height:100vh;
    color:#fff;

}

/* HERO AREA */
.hero{
    padding:60px 15px;
}

/* TITLE */
.title{
    font-size:౨20px;
    font-weight:700;
    text-align:center;
    letter-spacing:1px;
}

.subtitle{
    text-align:center;
    color:#cbd5e1;
    margin-bottom:30px;
}

/* SEARCH CARD */
.search-card{
    border:none;
    border-radius:18px;
    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(10px);
    padding:10px;
}

.form-control{
    border-radius:12px !important;
    height:60px;
    font-size:20px;
    border:2px solid #e5e7eb;
}

.form-control:focus{
    box-shadow:none;
    border-color:var(--primary);
}

/* BUTTON */
.btn-primary{
    background:var(--primary);
    border:none;
    padding:0 25px;
    font-weight:600;
    border-radius:12px;
}

.btn-primary:hover{
    background:#1d4ed8;
    transform:translateY(-1px);
}

/* LOADING */
#loading{
    color:#fff;
}

/* =========================
   RESULT CARD
========================= */

.dictionary-card{
    background:#fff;
    color:var(--text);
    border-radius:16px;
    margin-top:25px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.25);
    animation:fadeIn 0.4s ease-in-out;
}

.card-header-custom{
    background:linear-gradient(90deg,#2563eb,#1d4ed8);
    color:#fff;
    padding:18px 20px;
}

.card-header-custom h3{
    margin:0;
    font-size:200px;
}

/* dictionary name */
.dictionary-name{
    color:var(--muted);
    font-size:14px;
    margin-bottom:10px;
}

/* body */
.card-body-custom{
    padding:20px;
}

/* section title */
.section-title{
    font-weight:700;
    font-size:10px;
    margin:15px 0 10px;
    color:#111827;
}

.grammar-block{
    margin-top:18px;
    margin-bottom:8px;

    color:#d35400;

    font-size:30px;

    font-weight:bold;

    letter-spacing:.5px;

}


.meaning-list{

    margin:0 0 18px 22px;

    padding:0;

}

.meaning-list li{

    font-size:20px;

    line-height:1.8;

    margin-bottom:6px;

}


/* footer */
.footer{
    text-align:center;
    padding:25px;
    color:#cbd5e1;
    margin-top:40px;
}

/* animation */
@keyframes fadeIn{
    from{opacity:0; transform:translateY(10px);}
    to{opacity:1; transform:translateY(0);}
}

/* scrollbar */
::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#2563eb;
    border-radius:10px;
}

::-webkit-scrollbar-track{
    background:#0f172a;
}

/* responsive */
@media(max-width:768px){

.title{
    font-size:28px;
}

.form-control{
    font-size:16px;
    height:52px;
}

.dictionary-card{
    margin-top:15px;
}

.meaning-list li{
    font-size:16px;
}

}
