/* Footer Styles */

footer {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary, #00D4AA);
    font-size: 0.9rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-size: 0.85rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--secondary, #00D4AA);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* ============================================
   Compact Badge Display (for profile/footer)
   ============================================ */

.profile-badges {
    margin-top: 0.75rem;
}

.profile-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(94, 255, 94, 0.1);
    border: 1px solid rgba(94, 255, 94, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
}

.profile-badge-icon {
    font-size: 0.9rem;
}

.profile-badge-name {
    color: var(--light, #fff);
}

.profile-badge-points {
    color: var(--primary, #5eff5e);
    font-size: 0.65rem;
    margin-left: 0.25rem;
}

/* Badge tier border colors */
.profile-badge.badge-bronze {
    border-color: #cd7f32;
}

.profile-badge.badge-silver {
    border-color: #c0c0c0;
}

.profile-badge.badge-gold {
    border-color: #ffd700;
}

.profile-badge.badge-platinum {
    border-color: #e5e4e2;
}

/* ============================================
   Footer Badges Display (as grid column)
   ============================================ */

.footer-badges {
    /* Styles applied when it becomes a footer-section */
}

.footer-badges:empty {
    display: none;
}

.footer-badges h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary, #00D4AA);
    font-size: 0.9rem;
}

.footer-badges-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.footer-badge {
    font-size: 1.1rem;
    cursor: default;
    transition: transform 0.2s;
}

.footer-badge:hover {
    transform: scale(1.2);
}
