.event-container {
    background: #ffffff !important;
    padding: 25px;
    border-radius: 10px;
    color: #333;
    border: 1px solid #ddd;
}

h3 {
    text-align: center;
    color: #2c3e50;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* ==================================== */
/* 2. TOP 3 - DESTAQUE E HOVER          */
/* ==================================== */

.event-top-rankings {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.event-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    width: 30%; 
    min-width: 280px;
    position: relative;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.event-rank-gold { border: 2px solid #3498db; background: #fffef9; }

.event-medal-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #3498db;
    color: #fff;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    z-index: 10;
}

/* Fundo Dinâmico do Personagem (Sem quadros) */
.event-icon-container {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    /* Gradiente radial dinâmico */
    background: radial-gradient(circle, rgba(52, 152, 219, 0.12) 0%, rgba(255,255,255,0) 75%);
    transition: background 0.3s ease;
}

.event-icon-container img {
    height: 200px; /* Personagem ampliado */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.15));
    transition: transform 0.3s ease, filter 0.3s ease;
    z-index: 2;
}

.event-card:hover .event-icon-container img {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 20px rgba(52, 152, 219, 0.3));
}

.event-char-name { font-size: 20px; color: #2c3e50; font-weight: bold; margin-top: 10px; }
.event-char-class { font-size: 12px; color: #3498db; font-weight: bold; text-transform: uppercase; margin-bottom: 15px; }

.event-score-points {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 10px;
    font-size: 12px;
    color: #888;
}

.event-score-points span {
    color: #f39c12; /* Cor Zeny do Auction */
    font-size: 24px;
    font-weight: bold;
    display: block;
}

/* ==================================== */
/* 3. TABELA - ESTILO AUCTION           */
/* ==================================== */

.section-title {
    margin: 30px 0 15px;
    border-left: 5px solid #34495e;
    padding-left: 12px;
    color: #2c3e50;
    font-size: 16px;
    font-weight: bold;
}

.table-wrapper {
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.event-horizontal-table {
    width: 100%;
    border-collapse: collapse;
}

.event-horizontal-table th {
    background: #34495e;
    color: #fff;
    padding: 12px;
    font-size: 11px;
    text-align: left;
}

.event-horizontal-table tr { transition: background 0.2s ease; }
.event-horizontal-table tr:hover td { background-color: #f0f7ff; }

.event-horizontal-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 12px;
}

.pos-col { font-weight: bold; color: #3498db; text-align: center !important; }
.score-col { color: #27ae60; font-weight: bold; }

.no-ranking-data {
    padding: 25px;
    background: #f9f9f9;
    border: 1px dashed #ccc;
    text-align: center;
    color: #777;
    border-radius: 8px;
}