/* Importando uma fonte aproximada caso o usuário não tenha a Scout instalada */
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@600;700&display=swap');

:root {
    --bg-color: #0d1117;
    --text-color: #f0f6fc;
    --r6-blue: #005086;
    --r6-yellow: #ffc800;
    --correct: #2ea043;
    --partial: #d29922;
    --wrong: #da3633;
}

body {
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(13, 17, 23, 0.85), rgba(13, 17, 23, 0.85)), url('r6sx-heroBanner.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    
    color: var(--text-color);
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    /* Tentando a Scout Condensed Bold primeiro, e usando Teko (Google Fonts) como fallback */
    font-family: 'Scout Condensed', 'Teko', sans-serif;
    font-weight: bold;
    font-size: 4.5rem;
    color: var(--r6-yellow);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    line-height: 1;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.9);
}

header p {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* MENU PRINCIPAL */
.menu-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
}

.menu-btn {
    padding: 20px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.game-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    animation: fadeIn 0.4s ease-in-out;
}

.back-btn {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--r6-blue);
    padding: 8px 15px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    align-self: flex-start;
}

.back-btn:hover {
    background: var(--r6-blue);
}

/* INPUTS E SUGESTÕES */
.input-section {
    position: relative;
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 500px;
}

input {
    flex: 1;
    padding: 15px;
    background: rgba(22, 27, 34, 0.9);
    border: 2px solid var(--r6-blue);
    color: white;
    font-size: 1rem;
    outline: none;
}

.suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: calc(100% - 115px);
    background: rgba(22, 27, 34, 0.98);
    border: 1px solid var(--r6-blue);
    border-top: none;
    max-height: 250px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #30363d;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: bold;
}

.suggestion-item:hover {
    background-color: var(--r6-blue);
}

/* ÍCONES */
.op-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background-color: #8c9085;
    border: 2px solid #555;
}

.result-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 5px;
}

/* BOTÕES GERAIS */
button {
    padding: 15px 25px;
    background: var(--r6-yellow);
    color: black;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background 0.3s;
}

button:hover {
    background: #e6b400;
}

/* MODO OPERADOR - TABELA */
.table-container {
    width: 100%;
    max-width: 800px;
}

.table-header {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    text-align: center;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--r6-blue);
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.result-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 10px;
    animation: fadeIn 0.5s ease-in-out;
}

.result-box {
    background: rgba(22, 27, 34, 0.9);
    padding: 10px 5px;
    text-align: center;
    border: 1px solid #30363d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.80rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* MODO MAPA */
.map-container {
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
    border: 3px solid var(--r6-blue);
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
}

.map-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    display: block;
}

.results-list {
    width: 100%;
    max-width: 500px;
}

.map-result-item {
    padding: 15px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    border: 1px solid #30363d;
    animation: fadeIn 0.4s ease-in-out;
}

/* CORES DE STATUS */
.correct { background-color: var(--correct); color: white; border-color: var(--correct); text-shadow: 1px 1px 1px rgba(0,0,0,0.5);}
.wrong { background-color: var(--wrong); color: white; border-color: var(--wrong); text-shadow: 1px 1px 1px rgba(0,0,0,0.5);}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

