/* ======================================
   Hidden Gems AI
   Version : v1.0.9
====================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

body{
    background:#0f172a;
    color:#ffffff;
    min-height:100vh;
}

/* ==========================
   HEADER
========================== */

.header{
    background:#111827;
    padding:25px;
    text-align:center;
    border-bottom:1px solid #1f2937;
}

.header h1{
    color:#38bdf8;
    font-size:32px;
    margin-bottom:10px;
}

.header p{
    color:#94a3b8;
    font-size:15px;
}

/* ==========================
   MAIN
========================== */

main{
    padding:20px;
    max-width:1000px;
    margin:auto;
}

/* ==========================
   STATISTICS
========================== */

.stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:12px;

    margin-bottom:20px;

}

.card{

    background:#111827;

    padding:18px;

    border-radius:14px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,.25);

}

.card h2{

    font-size:30px;

    color:#38bdf8;

    margin-bottom:8px;

}

.card p{

    color:#94a3b8;

    font-size:14px;

}

/* ==========================
   SEARCH PANEL
========================== */

.search-panel{

    background:#111827;

    padding:22px;

    border-radius:18px;

    box-shadow:0 5px 15px rgba(0,0,0,.25);

    display:flex;

    flex-direction:column;

    gap:12px;

}

.search-panel h2{

    color:#38bdf8;

    margin-bottom:8px;

}

.search-panel label{

    color:#cbd5e1;

    font-size:14px;

}

.search-panel input,

.search-panel select{

    padding:12px;

    border:none;

    border-radius:10px;

    background:#1e293b;

    color:#ffffff;

    font-size:16px;

}

.search-panel input:focus,

.search-panel select:focus{

    outline:2px solid #38bdf8;

}

.search-panel button{

    margin-top:12px;

    padding:15px;

    border:none;

    border-radius:12px;

    background:#0ea5e9;

    color:#ffffff;

    font-size:17px;

    font-weight:bold;

    cursor:pointer;

    transition:.2s;

}

.search-panel button:hover{

    background:#0284c7;

}

.search-panel button:active{

    transform:scale(.98);

}

/* ==========================
   PAGE
========================== */

.page{

    margin-top:25px;

}

.welcome-card{

    background:#111827;

    padding:22px;

    border-radius:18px;

    box-shadow:0 5px 15px rgba(0,0,0,.25);

}

.welcome-card h2{

    color:#38bdf8;

    margin-bottom:12px;

}

.welcome-card p{

    color:#cbd5e1;

    line-height:1.6;

}

/* ==========================
   RESULT
========================== */

#results{

    margin-top:25px;

}

.result-card{

    background:#111827;

    border-radius:18px;

    padding:20px;

    margin-bottom:20px;

    box-shadow:0 5px 15px rgba(0,0,0,.25);

}

.result-title{

    font-size:24px;

    font-weight:bold;

    color:#38bdf8;

    margin-bottom:20px;

}

.score-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.score-row h2{

    color:#22c55e;

    font-size:34px;

}

.grade{

    font-size:40px;

    font-weight:bold;

    color:#22c55e;

}

.result-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:12px;

    margin-bottom:20px;

}

.result-grid div{

    background:#1e293b;

    padding:15px;

    border-radius:12px;

}

.result-grid span{

    display:block;

    color:#94a3b8;

    font-size:13px;

    margin-bottom:5px;

}

.result-grid b{

    font-size:16px;

}

.button-row{

    display:flex;

    gap:10px;

}

.primary,

.secondary{

    flex:1;

    padding:14px;

    border:none;

    border-radius:12px;

    color:#ffffff;

    font-size:15px;

    font-weight:bold;

    cursor:pointer;

}

.primary{

    background:#0ea5e9;

}

.secondary{

    background:#334155;

}

.primary:hover{

    background:#0284c7;

}

.secondary:hover{

    background:#475569;

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:768px){

    .stats{

        grid-template-columns:1fr;

    }

    .result-grid{

        grid-template-columns:1fr;

    }

    .button-row{

        flex-direction:column;

    }

}