:root {
    --val-dark: #0f1923;
    --val-light: #ece8e1;
    --val-red: #ff4655;
    --val-gray: #768079;
}

body {
    background-color: var(--val-light);
    color: var(--val-dark);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, .role-title { font-family: 'Teko', sans-serif; text-transform: uppercase; line-height: 0.9; margin: 0; }

.display-massive {
    font-size: clamp(4rem, 15vw, 12rem);
    color: var(--val-light);
    text-shadow: -1px -1px 0 var(--val-dark), 1px -1px 0 var(--val-dark), -1px 1px 0 var(--val-dark), 1px 1px 0 var(--val-dark);
    opacity: 0.1; position: absolute; top: -20px; left: -20px; z-index: 0; user-select: none;
}

.section-header {
    position: relative; z-index: 1; font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--val-dark); border-bottom: 2px solid var(--val-dark);
    padding-bottom: 10px; margin-bottom: 30px;
}

.text-accent { color: var(--val-red); }
.bg-dark-section { background-color: var(--val-dark); color: var(--val-light); }

.role-row { border-bottom: 1px solid rgba(15, 25, 35, 0.2); padding: 30px 0; transition: all 0.3s ease; }
.role-title { font-size: 3rem; }
.slot-indicator { font-family: 'Teko', sans-serif; font-size: 2.5rem; color: var(--val-red); }
.role-full .slot-indicator { color: var(--val-gray); text-decoration: line-through; }

/* Cards Jogadores */
.player-card {
    background-color: rgba(15, 25, 35, 0.4); border: 1px solid var(--val-gray);
    display: flex; align-items: center; gap: 15px; transition: 0.3s ease; height: 100%;
}
.player-card:hover { border-color: var(--val-red); background-color: rgba(15, 25, 35, 0.8); transform: translateY(-2px); }
.player-avatar { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--val-red); }

/* Fila de Espera */
.waitlist-section { border-top: 1px dashed rgba(118, 128, 121, 0.4); margin-top: 20px; padding-top: 15px; }
.waitlist-label { font-family: 'Teko', sans-serif; color: var(--val-gray); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
.player-card.is-waiting { opacity: 0.65; border-style: dashed; background-color: rgba(15, 25, 35, 0.15); }
.player-card.is-waiting:hover { opacity: 1; border-color: var(--val-gray); background-color: rgba(15, 25, 35, 0.6); transform: translateY(-2px); }
.player-card.is-waiting .player-avatar { width: 48px; height: 48px; border-color: var(--val-gray); }

/* Operações (Partidas) */
.op-card {
    background-color: #fff;
    border-left: 5px solid var(--val-gray);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.2s;
}
.op-card.win { border-left-color: #198754; } 
.op-card.loss { border-left-color: var(--val-red); } 

.op-header { padding: 15px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.op-map { font-family: 'Teko', sans-serif; font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
.op-date { font-size: 0.8rem; color: #666; }
.op-score { font-family: 'Teko', sans-serif; font-size: 2rem; font-weight: bold; }
.op-score.win { color: #198754; }
.op-score.loss { color: var(--val-red); }

.op-squad { padding: 10px; background-color: #fafafa; }
.squad-member { display: flex; align-items: center; padding: 5px 0; border-bottom: 1px solid #eee; }
.squad-member:last-child { border-bottom: none; }
.agent-icon { width: 30px; height: 30px; border-radius: 50%; margin-right: 10px; border: 1px solid #ccc; }
.member-name { font-size: 0.9rem; font-weight: 600; flex-grow: 1; }
.member-stats { font-size: 0.8rem; color: #555; font-family: monospace; }

.stat-label { font-size: 0.65rem; color: var(--val-gray); text-transform: uppercase; letter-spacing: 1px; }
.stat-val { font-size: 0.9rem; color: var(--val-light); font-family: 'Inter', sans-serif; font-weight: 600; }

.btn-val {
    display: inline-block; background-color: var(--val-red); color: var(--val-light); font-family: 'Teko', sans-serif;
    font-size: 2rem; padding: 10px 40px; text-decoration: none; text-transform: uppercase; position: relative;
    transition: 0.2s ease-in-out; border: 1px solid transparent; cursor: pointer;
}
.btn-val::before {
    content: ''; position: absolute; top: 0; left: 0; width: 10px; height: 10px;
    border-top: 2px solid var(--val-light); border-left: 2px solid var(--val-light);
}
.btn-val:hover { background-color: var(--val-dark); color: var(--val-light); border: 1px solid var(--val-red); }

.manifesto-text { font-size: 1.1rem; line-height: 1.6; color: var(--val-gray); }
.manifesto-text strong { color: var(--val-dark); }
.bg-dark-section .manifesto-text strong { color: var(--val-light); }

.fade-in-section { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; will-change: opacity, visibility; }
.fade-in-section.is-visible { opacity: 1; transform: translateY(0); }
.req-box { background-color: rgba(15, 25, 35, 0.05); border-left: 4px solid var(--val-red); padding: 15px 20px; text-align: left; margin: 0 auto 30px auto; max-width: 500px; }
.icon-svg { width: 20px; height: 20px; fill: var(--val-red); margin-right: 10px; flex-shrink: 0;}
.rule-item { display: flex; align-items: start; margin-bottom: 15px; }

.text-warning { color: #ffce56 !important; }
.border-warning { border-color: #ffce56 !important; }

/* FIX DE VISIBILIDADE: Garante que textos secundários fiquem claros no fundo escuro */
.bg-dark-section .text-muted {
    color: rgba(236, 232, 225, 0.75) !important;
}
/* --- ESTILOS DO RELATÓRIO DE MISSÕES (TIMELINE) --- */
.mission-row {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.mission-row:hover {
    background-color: rgba(30, 30, 30, 0.95);
    transform: translateX(5px); /* Dá um pequeno salto à direita ao passar o rato */
}

.mission-win {
    border-left: 4px solid #198754; /* Verde Sucesso */
    background: linear-gradient(90deg, rgba(25,135,84,0.05) 0%, rgba(0,0,0,0) 50%), rgba(20, 20, 20, 0.8);
}

.mission-loss {
    border-left: 4px solid var(--val-red); /* Vermelho Valorant */
    background: linear-gradient(90deg, rgba(255,70,85,0.05) 0%, rgba(0,0,0,0) 50%), rgba(20, 20, 20, 0.8);
}

/* --- ESTILOS DOS AGENTES NA RESERVA --- */
.is-waiting {
    opacity: 0.55;
    transform: scale(0.96);
    filter: grayscale(40%);
    transition: all 0.3s ease;
}

.is-waiting:hover {
    opacity: 1;
    transform: scale(1);
    filter: grayscale(0%);
    box-shadow: 0 4px 15px rgba(255, 70, 85, 0.2);
    z-index: 10;
}
