@font-face {
    font-family: 'LeagueSpartan';
    src: url('../fonts/LeagueSpartan.woff2') format('woff2');
}

body {
    font-family: 'LeagueSpartan', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #001489;
    color: #fff;
    user-select: none;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Hide scrollbar */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}
* {
    scrollbar-width: none;
}

#header {
    width: 100%;
    text-align: center;
    padding-top: 20px;
}

.logo {
    width: 500px;
    max-width: 80%;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

/* Cards (Scoreboard, Question) */
.card {
    background-color: #4A6CD6;
    border-radius: 40px;
    border: 10px solid #fff;
    padding: 30px;
    margin: 15px;
    box-sizing: border-box;
    width: 80%;
    max-width: 1200px;
}

/* Admin / Pre-game Forms */
.form-group {
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

/* 2x2 Grid for Answer Options */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.option-box {
    background-color: #222;
    border: 4px solid #fff;
    border-radius: 20px;
    padding: 30px;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    color: #fff;
}

.option-box.correct {
    background-color: #70FF14;
    color: #000;
}

.form-group label {
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    font-family: 'LeagueSpartan', sans-serif;
    font-size: 20px;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #ccc;
    box-sizing: border-box;
}

button {
    font-family: 'LeagueSpartan', sans-serif;
    background-color: #fff;
    color: #000;
    border: 0;
    border-radius: 20px;
    padding: 20px 40px;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 10px;
    font-weight: bold;
}

button:hover {
    transform: scale(1.05);
    background-color: #4A6CD6;
    color: #fff;
    border: 2px solid #fff;
}

button.admin-btn {
    font-size: 24px;
    padding: 15px 30px;
}

/* Colors for teams */
.color-team1 { color: #FFE500; }
.color-team2 { color: #FF9100; }
.color-team3 { color: #70FF14; }

.bg-team1 { background-color: #FFE500; }
.bg-team2 { background-color: #FF9100; }
.bg-team3 { background-color: #70FF14; }

/* Progress bars */
.progress-bar {
    width: 100%;
    height: 40px;
    border-radius: 100px;
    background-color: #fff;
    margin-top: 15px;
    overflow: hidden;
}

.progress-bar-inner {
    height: 100%;
    border-radius: 100px;
    transition: width 0.3s;
}

/* Text */
.title {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 10px;
}

.points {
    font-size: 60px;
    font-weight: bold;
    margin-top: 15px;
}

/* Big text */
.question-text {
    font-size: 5em;
    font-weight: bold;
    line-height: 1.2;
    margin: 20px 0;
}

.answer-text {
    font-size: 4em;
    color: #70FF14;
    font-weight: bold;
    margin-top: 20px;
    display: none; /* controlled by JS */
}

/* Presenter message */
.presenter-msg {
    background-color: #800000;
    color: #fff;
    font-size: 40px;
    padding: 20px;
    border-radius: 20px;
    margin-top: 30px;
    font-weight: bold;
    border: 5px solid #fff;
    display: none;
}

/* Grid for admin questions */
.questions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.question-btn {
    width: 150px;
    height: 100px;
    font-size: 40px;
}
.question-btn.active {
    background-color: #4A6CD6;
    color: #fff;
    border: 4px solid #fff;
}
.question-btn.selected {
    background-color: #70FF14;
    color: #000;
}

.used {
    opacity: 0.2;
    filter: grayscale(100%);
}
