/* ==============================================
   FREE FIRE WIKI - ESTILOS MODERNOS E RESPONSIVOS
   ============================================== */

.ffwiki-single-content {
    max-width: 100%;
    margin: 0;
    font-family: 'Segoe UI', 'Roboto', system-ui, -apple-system, sans-serif;
}

/* Cabeçalho do item */
.ffwiki-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.ffwiki-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.ffwiki-icon:hover {
    transform: scale(1.05);
}

/* Badges */
.ffwiki-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    background: #f1f1f1;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Cores das raridades (mantendo as mesmas) */
.rarity-red { background: #e74c3c; color: white; }
.rarity-orange { background: #f39c12; color: white; }
.rarity-purple { background: #9b59b6; color: white; }
.rarity-blue { background: #3498db; color: white; }
.rarity-green { background: #2ecc71; color: white; }
.tag-badge { background: #34495e; color: white; }

/* Estatísticas */
.ffwiki-stats {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    border-radius: 20px;
    padding: 20px 15px;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
    padding: 5px;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

/* Cards de informações */
.ffwiki-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    flex: 1;
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 25px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
}

.info-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e2a3a;
    border-left: 4px solid #f39c12;
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card h3:before {
    /* Ícone opcional, pode remover se não quiser */
    content: "📋";
    font-size: 1.2rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: baseline;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card li strong {
    width: 100px;
    color: #f39c12;
    font-weight: 600;
}

/* Conteúdo extra (seções de texto) */
.ffwiki-extra-content.article-content {
    margin-top: 30px;
    line-height: 1.7;
    color: #2c3e50;
    font-size: 1rem;
}

.ffwiki-extra-content h2 {
    margin-top: 50px;
    font-size: 1.6rem;
    font-weight: 600;
    color: #1e2a3a;
    border-left: 5px solid #f39c12;
    padding-left: 18px;
    margin-bottom: 25px;
}

.ffwiki-extra-content h2:first-of-type {
    margin-top: 0;
}

.ffwiki-extra-content p {
    margin: 18px 0;
    line-height: 1.7;
}

.ffwiki-extra-content ul {
    margin: 15px 0 25px 30px;
}

.ffwiki-extra-content li {
    margin-bottom: 8px;
}

.ffwiki-extra-content strong {
    color: #f39c12;
}

/* Imagem grande */
.ffwiki-image-large {
    text-align: center;
    margin: 40px 0;
}

.ffwiki-image-large img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ffwiki-image-large img:hover {
    transform: scale(1.02);
}

/* Botão voltar */
.ffwiki-back {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

.ffwiki-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f39c12;
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(243,156,18,0.3);
}

.ffwiki-back a:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(243,156,18,0.4);
}

.ffwiki-back a:before {
    content: "←";
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.ffwiki-back a:hover:before {
    transform: translateX(-3px);
}

/* Responsividade */
@media (max-width: 768px) {
    .ffwiki-stats {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .stat-item {
        min-width: auto;
    }
    .ffwiki-info {
        flex-direction: column;
        gap: 20px;
    }
    .info-card li strong {
        width: auto;
        min-width: 100px;
    }
    .ffwiki-extra-content h2 {
        font-size: 1.4rem;
        margin-top: 35px;
    }
    .entry-title {
        font-size: 1.8rem;
    }
    .ffwiki-back a {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .ffwiki-icon {
        width: 100px;
        height: 100px;
    }
    .stat-value {
        font-size: 1.2rem;
    }
    .info-card {
        padding: 15px;
    }
    .info-card h3 {
        font-size: 1.1rem;
    }
}
/* ========== ITENS SIMILARES ========== */
.ffwiki-similar-items {
    margin: 40px 0 20px;
    padding: 0 10px;
}

.similar-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #2c3e50;
    border-left: 4px solid #e67e22;
    padding-left: 12px;
}

.similar-items-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.similar-item-card {
    flex: 0 0 auto;
    width: calc(25% - 20px);
    min-width: 150px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    padding: 15px 10px;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.similar-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.similar-item-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #eee;
}

.similar-name {
    font-weight: 600;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}

.similar-likes {
    font-size: 0.75rem;
    color: #e67e22;
    background: #fef5e8;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
}

@media (max-width: 768px) {
    .similar-items-grid {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .similar-item-card {
        width: 140px;
        flex-shrink: 0;
    }

    .similar-item-card img {
        width: 70px;
        height: 70px;
    }
}