/* Importando uma fonte do Google para o título, similar à imagem */
@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');

/* Título principal da página (ex: "RAID BATTLE") */
.raid-title {
    font-family: 'Bangers', cursive;
    font-size: 3.5rem;
    color: #ffc107; /* Amarelo Bootstrap */
    text-shadow: 2px 2px 4px #000;
    letter-spacing: 2px;
}

/* --- Coluna Esquerda: Card do Boss --- */

.raid-boss-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 2px solid #ddd;
}

.boss-frame {
    /* A moldura que você mencionou */
    background-image: url('../images/raid/molduraboss.png');
    background-size: contain; /* Garante que a moldura inteira apareça */
    background-repeat: no-repeat;
    background-position: center;
    
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px; /* Ajuste o padding para caber na sua moldura */
    min-height: 300px; /* Altura mínima para a área da imagem */
    margin-bottom: 15px;
}

.boss-frame img {
    /* Imagem do Pokémon Boss */
    max-width: 100%;
    max-height: 250px; /* Ajuste conforme necessário */
    object-fit: contain;
}

.boss-info .boss-name {
    font-family: 'Bangers', cursive;
    font-size: 2.5rem;
    color: #333;
    letter-spacing: 1px;
}

.boss-info .boss-level {
    font-size: 1.2rem;
    font-weight: bold;
    color: #555;
}

/* Barra de HP */
.hp-bar-container {
    background-color: #e9ecef;
    border-radius: 50px;
    padding: 3px;
    border: 1px solid #ccc;
    height: 30px; /* Altura da barra */
    position: relative;
    overflow: hidden; /* Garante que a barra interna não transborde */
}

.hp-bar {
    /* A barra de vida que diminui */
    background: linear-gradient(to right, #28a745, #a3ffb3); /* Gradiente verde */
    height: 100%;
    border-radius: 50px;
    transition: width 0.5s ease-in-out;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.2);
}

/* Cores da barra de HP (opcional, mas legal) */
.hp-bar.low {
    background: linear-gradient(to right, #ffc107, #ffe08a); /* Amarelo */
}
.hp-bar.critical {
    background: linear-gradient(to right, #dc3545, #ff8a96); /* Vermelho */
}

.hp-text {
    /* Texto "HP: 5000 / 10000" */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px #fff;
    white-space: nowrap;
}

.boss-types {
    margin-top: 10px;
}

.boss-types .badge {
    font-size: 1rem;
    padding: 0.5em 0.75em;
    margin-right: 5px;
}

.boss-description {
    font-size: 0.95rem;
    color: #6c757d;
    margin-top: 15px;
}

/* --- Coluna Direita: Lista de Times --- */

.team-list-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 2px solid #ddd;
    min-height: 500px; /* Altura mínima para alinhar com o card da esquerda */
}

.team-list-card h3 {
    font-family: 'Bangers', cursive;
    color: #333;
    letter-spacing: 1px;
    font-size: 2rem;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 10px;
}

.team-list-container {
    max-height: 500px; /* Altura máxima, com scroll */
    overflow-y: auto;
    padding-right: 10px; /* Espaço para a barra de scroll */
}

.team-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.team-item:last-child {
    border-bottom: none;
}

.team-item:hover {
    background-color: #f8f9fa;
}

.team-info {
    display: flex;
    align-items: center;
}

.team-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    margin-right: 15px;
}

.team-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #343a40;
}