:root {
    --bs-primary: #6f42c1;
    --bs-primary-rgb: 111, 66, 193;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
}

/* Cards de Grupo */
.group-card {
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
    overflow: hidden;
}
.group-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}
.group-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: .75rem;
    border: 3px solid var(--bs-primary);
}
.featured-card .group-image {
    border-color: inherit;
}
.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    z-index: 2;
}

/* Categoria Cards */
.category-card {
    transition: transform .2s ease, box-shadow .2s ease;
    cursor: pointer;
}
.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,.1) !important;
}

/* Admin Sidebar (comportamento responsivo em admin.css) */
.admin-sidebar .nav-link {
    padding: .5rem 1rem;
    font-size: .9rem;
    opacity: .8;
    transition: opacity .2s;
}
.admin-sidebar .nav-link:hover {
    opacity: 1;
    background: rgba(255,255,255,.1);
}
.admin-sidebar .nav-link.active {
    opacity: 1;
    background: var(--bs-primary);
}
.admin-content {
    min-height: 100vh;
    background: #f5f5f5;
}

/* Paginação */
.page-link {
    color: var(--bs-primary);
}
.page-item.active .page-link {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* Anúncios */
.adsense {
    text-align: center;
    min-height: 90px;
    overflow: hidden;
}

/* Dark Mode */
[data-bs-theme="dark"] .admin-content {
    background: #1a1a1a;
}
[data-bs-theme="dark"] .card {
    background: #2d2d2d;
    border-color: #404040;
}
[data-bs-theme="dark"] .table {
    color: #e0e0e0;
}
[data-bs-theme="dark"] .list-group-item {
    background: #2d2d2d;
    border-color: #404040;
    color: #e0e0e0;
}
[data-bs-theme="dark"] .navbar-light {
    background: #2d2d2d !important;
}

/* Footer */
.site-footer {
    border-top: 3px solid var(--bs-primary);
}
.footer-links {
    margin: 0;
}
.footer-links li {
    margin-bottom: .6rem;
}
.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: .875rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: color .15s ease, transform .15s ease;
}
.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}
.footer-social-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 1.1rem;
    transition: background .2s ease, transform .2s ease;
}
.footer-social-btn:hover {
    background: var(--bs-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
}
