/* Estilos específicos da página de personagens */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Flexbox dos personagens */
.characters-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.character-card {
    background: rgba(72, 2, 90, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 40px;
    width: 260px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid #3b021d;
    animation: floatSoft 5s ease-in-out infinite;
}

.character-card:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 35px rgb(255, 9, 202);
    background: rgb(41, 1, 46);
}

@keyframes floatSoft {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.character-img {
    width: 130px;
    height: 130px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: #F3E5C0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #FFD966;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.character-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.role {
    font-weight: bold;
    color: #C97E2A;
    margin-top: 0.6rem;
}

/* Tabela de informações */
.character-table {
    width: 100%;
    border-collapse: collapse;
    background: rgb(77, 5, 55);
    border-radius: 24px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgb(221, 11, 98);
}

.character-table th,
.character-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #ff05ac;
    text-align: left;
}

.character-table th {
    background: #5E2E4A;
    color: #e7aed9;
    font-weight: bold;
}

.character-table tr:hover {
    background: rgba(206, 6, 163, 0.8);
}

/* Botão padrão (reaproveitado) */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #FFB347, #FF8C00);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(255, 140, 0, 0.6);
}

/* Media queries */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    .character-card {
        width: 220px;
    }
    .character-table th,
    .character-table td {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .character-card {
        width: 100%;
        max-width: 280px;
    }
}
body {
    background: #240236;
    color: #f5efef;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow-x: hidden;
}