html, body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    overflow-x: hidden;
    -webkit-text-size-adjust: none;
    width: 100%;
    height: 100%;
    position: fixed;
    font-family: 'Ubuntu', sans-serif;
    background: transparent;
    color: #1e293b; /* değişti */
}

/* Overlay */
#overlays, #connecting {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3); /* değişti */
    backdrop-filter: none;
    z-index: 200;
}

#connecting {
    z-index: 100;
}

/* MAIN CARD */
#helloDialog {
    width: 400px;
    background: #ffffff; /* değişti */
    margin: 10px auto;
    border-radius: 8px;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* yumuşatıldı */
    border: 1px solid #e2e8f0; /* değişti */
    transition: none; 
}

#helloDialog:hover {
    transform: translate(-50%, -50%);
}

/* TITLE */
#title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a; /* değişti */
    letter-spacing: 1px;
    text-shadow: none;
    margin-bottom: 20px;
}

/* INPUTS */
#nick, #skin {
    background: #ffffff;
    border: 1px solid #cbd5e1; /* değişti */
    border-radius: 4px;
    padding: 10px;
    color: #0f172a;
    font-weight: 600;
    box-sizing: border-box;
}


#gamemode{
 display: block;
    width: 100%;
    margin-top: 15px;
}
#nick {
    width: 65%;
    float: left; /* DÜZELTİLDİ */
}

#skin {
    width: 35%;
    float: right;
}

#nick, {
    float: left;
}

#nick:focus, #skin:focus, #gamemode:focus {
    border-color: #38bdf8;
    box-shadow: none;
    background: #fff;
    outline: none;
}


/* BUTTONS */
#play-btn {
    width: 82%;
    margin-top: 15px;
    background: #0284c7;
    border: none;
    padding: 12px;
    border-radius: 4px;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
}

#play-btn:hover {
    background: #0369a1;
    transform: none;
}

/* SPECTATE */
#spectate-btn {
    width: 15%;
    margin-top: 15px;
    float: right;
    background: #e2e8f0; /* değişti */
    color: #1e293b; /* değişti */
    border-radius: 4px;
    border: none;
    padding: 12px 0;
    cursor: pointer;
}

#spectate-btn:hover {
    background: #cbd5e1; /* değişti */
}

#gamemode {
    width: 100%;
    height: 42px;

    background: #ffffff;
    color: #0f172a;

    border: 1px solid #cbd5e1;
    border-radius: 8px;

    padding: 0 40px 0 12px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);


}

/* HOVER */
.form-control:hover {
    border-color: #38bdf8;
    box-shadow: 0 0 8px rgba(56,189,248,0.3);
}

/* FOCUS */
.form-control:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 12px rgba(2,132,199,0.4);
}

/* SELECT OK (modern görünüm) */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml;utf8,<svg fill='%230284c7' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

/* OPTION */
select.form-control option {
    background: #ffffff;
    color: #0f172a;
}
/* CHAT */
#chat_textbox {
    transition: all .5s ease-in-out;
    position: absolute;
    z-index: 1;
    bottom: 10px;
    background: rgba(0, 0, 0, .2);
    border: 0px;
    outline: none;
    color: #fff;
    height: 30px;
    text-indent: 12px;
    left: 10px;
    width: 300px;
    font-family: "Ubuntu";
    color:#000;
}

#gallery-btn{
     width: 82%;
    margin-top: 15px;
    background: #0284c7;
    border: none;
    padding: 12px;
    border-radius: 4px;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
}

/* SETTINGS */
#settings label {
    margin-right: 10px;
    color: #475569; /* değişti */
    font-size: 13px;
    text-shadow: none;
}

#settings label:hover {
    color: #0f172a; /* değişti */
}

/* MOBILE BUTTONS */
#splitBtn, #ejectBtn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #0284c7;
    opacity: 0.9;
    box-shadow: none;
    border: 2px solid #ffffff;
}

#vortexFlash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    pointer-events: none;
    opacity: 0;
    z-index: 9999;
}

#gameContainer {
    position: relative;
}



