* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0b0b0f;
    color: #e2e8f0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ===== TOP BAR ===== */
#top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background-color: #12131c;
    border-bottom: 2px solid #2d2f45;
}

#top-bar h1 {
    font-size: 1.2rem;
    color: #f5c518;
    letter-spacing: 1px;
}

#progress-container {
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
}

.prog-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.progress-bar-bg {
    width: 120px;
    height: 6px;
    background: #1e2030;
    border-radius: 3px;
    overflow: hidden;
}

.fill-gold {
    width: 0%;
    height: 100%;
    background: #f5c518;
    transition: width 0.3s ease;
}

.fill-mission {
    width: 0%;
    height: 100%;
    background: #10b981;
    transition: width 0.3s ease;
}

/* ===== ABAS ===== */
#tabs {
    display: flex;
    background-color: #161824;
    border-bottom: 1px solid #2d2f45;
}

.tab-btn {
    flex: 1;
    padding: 14px;
    background: transparent;
    border: none;
    color: #8c92ac;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
}

.tab-btn:hover {
    color: #fff;
    background-color: #1e2030;
}

.tab-btn.active {
    color: #f5c518;
    border-bottom: 3px solid #f5c518;
    background-color: #1e2030;
}

/* ===== LAYOUT ===== */
#app {
    display: flex;
    flex: 1;
    overflow: hidden;
}

#sidebar {
    width: 320px;
    background-color: #10111a;
    overflow-y: auto;
    border-right: 1px solid #2d2f45;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    cursor: pointer;
    border-bottom: 1px solid #1a1c29;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.menu-item:hover {
    background-color: #1a1c29;
}

.menu-item.active {
    background-color: #23263a;
    border-left: 4px solid #f5c518;
    color: #fff;
    font-weight: bold;
}

.item-gold-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #33364f;
}

.item-gold-dot.gold {
    background-color: #f5c518;
    box-shadow: 0 0 6px #f5c518;
}

/* ===== CONTEÚDO ===== */
#content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    background-color: #0b0b0f;
}

#mission-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    border-bottom: 1px solid #2d2f45;
    padding-bottom: 15px;
}

#mission-title {
    color: #fff;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge {
    background: #1e2030;
    color: #f5c518;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* ===== REQUISITOS ===== */
.requisito {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #141622;
    border: 1px solid #23263a;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.15s;
}

.requisito:hover {
    border-color: #f5c518;
    background: #1a1c29;
}

.req-text {
    font-size: 1rem;
    color: #cbd5e1;
}

.req-checkbox {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 2px solid #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: 0.15s;
    flex-shrink: 0;
}

.requisito.feito .req-checkbox {
    background-color: #10b981;
    border-color: #10b981;
    color: #000;
    font-weight: bold;
}

/* ===== SELETOR DE ABORDAGENS (golpes) ===== */
.abordagens {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.abordagem-card {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: #141622;
    border: 2px solid #2d2f45;
    border-radius: 6px;
    font-weight: bold;
    color: #8c92ac;
    cursor: pointer;
    transition: 0.15s;
}

.abordagem-card:hover {
    border-color: #f5c518;
    color: #fff;
}

.abordagem-card.ativa {
    background: #23263a;
    border-color: #f5c518;
    color: #fff;
}

/* ===== VÍDEO DO YOUTUBE ===== */
.video-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.video-wrapper iframe {
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.video-wrapper.vazio {
    border: 2px dashed #2d2f45;
    border-radius: 8px;
    padding: 40px;
    color: #4b5064;
    font-size: 0.9rem;
    justify-content: center;
    align-items: center;
}

/* ===== COMENTÁRIOS (dicas abaixo do vídeo) ===== */
.comentarios {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.comentario {
    text-align: center;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 12px 20px;
    background: #141622;
    border-radius: 6px;
    border-left: 3px solid #f5c518;
}