/*less do css*/
:root{
    --bg:#0f0f13;
    --panel: #1c1c24;
    --text: #e0e0e0;
    --text-muted:#888;
    --accent: #ff4757;
    --accent-hover:#ff6b81;
    --border:#2f3542;
}
*{
    box-sizing: border-box;
    user-select: none;
}
body,html{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    overflow: hidden;
}
#ui-panel{
    width: 340px;
    min-width: 340px;
    height: 100%;
    background-color: var(--panel);
    border-right: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    z-index: 100;    
}
#ui-panel::-webkit-scrollbar{
    width: 8px;
}
#ui-panel::-webkit-scrollbar-track{
    background: #111;
}
#ui-panel::-webkit-scrollbar-thumb{
    background: #444;
    border-radius: 4px;
}
h1{
    font-size: 1.5rem;
    margin-top: 0;
    color:var(--accent);
    border-bottom: 2px dashed var(--border);/*probab the first time i used dashed*/
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 15px;
    margin-bottom: 25px;
    text-align: center;
}
.control-group{
    background: #252530;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    margin-bottom: 20px;
}
.control-group h3{
    margin: 0 0 15px 0;
    font-size: 0.95rem;
    color: #a4b0be;
    text-transform: uppercase;
}
.slider-container{
    margin-bottom: 15px;
}
.slider-container label{
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #ced6e0;
}
.val-display{
    color: var(--accent);
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    background: #111;
    padding: 2px 6px;
    border-radius: 3px;
}
/*i am so tired*/
input[type="range"]{
    width: 100%;
    accent-color: var(--accent);
    cursor: pointer;
    height: 6px;
    background: #111;
    border-radius: 3px;
    outline: none;
}
.checkbox-container{
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.btn-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.btn{
    background: #2f3542;
    flex: 1;
    color: var(--text);
    border: 1px solid #57606f;
    padding: 12px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-align: center;
}
.btn:hover{
    background: #57606f;
}
.btn:active{
    transform: translateY(2px);
}
.btn-danger{
    background: rgba(255, 71, 87, 0.2);
    border-color: var(--accent);
    color: var(--accent);
}
.btn-danger:hover{
    background: var(--accent);
    color: white;
}
#stats-board{
    margin-top: auto;
    background: #111;
    padding: 15px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #7bed9f;
    border-radius: 6px;
    border: 1px solid #2ed573;
}
/*a small break            back again*/
.stat-line{
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}
.stat-line:last-child{
    margin-bottom: 0;
}
#render-target{
    flex-grow: 1;
    position: relative;
    background: radial-gradient(circle at center,#1a1a24 0%,#0a0a0f 100%);
    cursor: crosshair;
}
canvas{
    display: block;
    width: 100%;
    height: 100%;
}
#controls-hint{
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    padding: 12px 25px;
    border-radius: 30px;
    color: #ccc;
    font-size: 0.9rem;
    pointer-events: none;
    border: 1px solid #333;
    white-space: nowrap;/*ik what this does but havent used not a single time and this is the first time*/
    backdrop-filter: blur(4px);
}
.key-btn{
    background: #eee;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: bold;
    margin: 0 4px;
}
a{
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
}
/*less go to the js*/