@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&display=swap');

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

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-size: 13px;
    transition: 0.3s;
}

.box {
    width: 380px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    position: relative;
    color: #000;
}

body.dark .box {
    background: rgba(34,34,34,0.25);
    color: white;
}

.header {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 16px;
}

.nickname {
    font-size: 12px;
    margin-bottom: 15px;
}

.input, .select, .simple-box, .answer, button, .topbtn {
    width: 92%;
    padding: 8px;
    margin-top: 6px;
    border-radius: 6px;
    font-size: 13px;
    background: rgba(255,255,255,0.25);
    color: #000;
    border: 1px solid rgba(0,0,0,0.3);
    transition: 0.3s;
}

body.dark .input,
body.dark .select,
body.dark .simple-box,
body.dark .answer,
body.dark button,
body.dark .topbtn {
    background: rgba(0,0,0,0.25);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

button, .topbtn {
    cursor: pointer;
    margin-top: 10px;
    border: none;
    font-weight: bold;
}

button:hover, .topbtn:hover {
    background: rgba(0,0,0,0.35);
}

body.dark button:hover, body.dark .topbtn:hover {
    background: rgba(255,255,255,0.35);
}

.topbar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

#bgMusic {
    display: none;
}

.modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.modal-box {
    background: white;
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    max-width: 300px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

body.dark .modal-box {
    background: #222;
    color: white;
}

.modal-box button {
    margin-top: 15px;
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    background: black;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

body.dark .model-box button {
    background: white;
    color: black;
}

.warning-box {
    color: red;
}

.p {
    text-align: center;
}

.box {
    background: rgba(255, 255, 255, 0.15);
}

.logo {
    position: fixed;
    top: 10px;
    left: 65%;
    transform: translateX(-100%);
    width: 120px;
    height: 105px;
    background-image: url("logo.png");
    background-size: 135px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 999;
}



/* FOOTER */
.footer {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-size: 12px;
    opacity: 0.8;
}

