/*
Theme Name: Putaria Telegram
Description: Tema personalizado para site de grupos do Telegram
Version: 1.0
Author: Seu Nome
*/

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="2" fill="%23d4edda" opacity="0.3"/><path d="M20 20 L40 40 M40 20 L20 40" stroke="%23d4edda" stroke-width="1" opacity="0.2"/></svg>');
    min-height: 100vh;
}

/* Header */
.header {
    background: linear-gradient(90deg, #007bff, #0056b3);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

.search-bar {
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    background: white;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: white;
    cursor: pointer;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
    background: #007bff;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

/* Menu do usuário */
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-btn .fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s;
}

.user-btn.active .fa-chevron-down {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    margin-top: 5px;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #007bff;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

/* Estilos base dos modais */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

.close {
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 25px;
}

/* Modal de Login */
.login-modal {
    max-width: 400px;
    width: 90%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.btn-login {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    background: #007bff;
    margin-top: 10px;
}

.btn-login:hover {
    background: #0056b3;
}

.login-links {
    margin-top: 20px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
    transition: color 0.3s;
}

.login-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Mensagem informativa no login */
.login-info-msg {
    background: #e3f2fd;
    color: #1976d2;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    border-left: 4px solid #1976d2;
}

.login-info-msg i {
    margin-right: 8px;
}

/* Modal de Enviar Grupo */
.enviar-grupo-modal {
    max-width: 500px;
    width: 90%;
}

.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    background: white;
}

.form-group select:focus {
    outline: none;
    border-color: #007bff;
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    resize: vertical;
    font-family: inherit;
}

.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-group input[type="file"] {
    padding: 8px;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    border-color: #007bff;
    background: #f0f8ff;
}

.btn-enviar-grupo {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    background: #28a745;
    margin-top: 10px;
}

.btn-enviar-grupo:hover {
    background: #218838;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Layout principal com sidebar */
.main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Seção de grupos em destaque */
.featured-groups {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.group-card {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s, box-shadow 0.3s;
}

.group-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.group-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    object-fit: cover;
    border: 3px solid #007bff;
}

.group-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.group-category {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.details-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.details-btn:hover {
    background: #0056b3;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.partners-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.partners-banner {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.partners-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="3" fill="white" opacity="0.3"/><circle cx="80" cy="30" r="2" fill="white" opacity="0.3"/><circle cx="40" cy="80" r="2" fill="white" opacity="0.3"/></svg>');
}

.partners-links {
    list-style: none;
}

.partners-links li {
    margin-bottom: 10px;
}

.partners-links a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.partners-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Seção de Grupos Premium */
.premium-groups {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.premium-groups .section-title {
    color: #ffc107;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.premium-groups .section-title i {
    margin-right: 10px;
    animation: crown-glow 2s ease-in-out infinite alternate;
}

@keyframes crown-glow {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.premium-slider-container {
    position: relative;
    margin: 20px 0;
}

.premium-slider {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.premium-group-card {
    flex: 0 0 200px;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff9c4, #fff59d);
    border: 2px solid #ffc107;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
}

.premium-group-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
}

.premium-group-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.group-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.group-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.btn-telegram-small {
    background: #0088cc;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-telegram-small:hover {
    background: #006699;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,136,204,0.3);
}

.btn-details {
    background: #6c757d;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-details:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108,117,125,0.3);
}

.premium-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(45deg, #ffc107, #ff9800);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.5);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slider-arrow:hover {
    background: #0056b3;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: -20px;
}

.slider-next {
    right: -20px;
}

.slider-arrow:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.no-premium-groups {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .search-bar {
        margin: 15px 0;
        max-width: 100%;
    }
    
    .search-bar input {
        font-size: 14px;
        padding: 10px 40px 10px 12px;
    }
    
    .search-bar button {
        width: 30px;
        height: 30px;
    }
    
    .header-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .groups-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    
    .group-card {
        padding: 15px;
    }
    
    .group-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .group-category {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .group-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-telegram-small,
    .btn-details {
        padding: 8px 12px;
        font-size: 12px;
        justify-content: center;
    }
    
    .premium-group-card {
        flex: 0 0 140px;
        padding: 12px;
    }
    
    .premium-group-card .group-title {
        font-size: 14px;
    }
    
    .premium-group-card .group-category {
        font-size: 11px;
    }
    
    .premium-slider-container {
        padding: 0 10px;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .slider-prev {
        left: -5px;
    }
    
    .slider-next {
        right: -5px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .premium-groups .section-title {
        font-size: 22px;
    }
    
    /* Responsividade dos modais */
    .modal-content {
        width: 95%;
        margin: 10px;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"],
    .form-group input[type="url"],
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .btn-login,
    .btn-enviar-grupo {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .login-modal,
    .enviar-grupo-modal {
        max-width: 100%;
    }
    
    /* Sidebar no mobile */
    .sidebar {
        margin-top: 30px;
    }
    
    .partners-section {
        margin-bottom: 20px;
    }
    
    .partners-banner {
        height: 80px;
        font-size: 12px;
    }
}

/* Regras para smartphones pequenos */
@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo i {
        font-size: 24px;
    }
    
    .search-bar input {
        font-size: 13px;
        padding: 8px 35px 8px 10px;
    }
    
    .search-bar button {
        width: 28px;
        height: 28px;
        right: 3px;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .main-content {
        padding: 0 10px;
    }
    
    .groups-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    
    .group-card {
        padding: 12px;
    }
    
    .group-title {
        font-size: 15px;
    }
    
    .group-category {
        font-size: 11px;
    }
    
    .group-actions {
        flex-direction: row;
        gap: 6px;
    }
    
    .btn-telegram-small,
    .btn-details {
        padding: 6px 10px;
        font-size: 11px;
        flex: 1;
    }
    
    .premium-group-card {
        flex: 0 0 120px;
        padding: 10px;
    }
    
    .premium-group-card .group-title {
        font-size: 13px;
    }
    
    .premium-group-card .group-category {
        font-size: 10px;
    }
    
    .premium-slider-container {
        padding: 0 5px;
    }
    
    .slider-arrow {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }
    
    .slider-prev {
        left: -2px;
    }
    
    .slider-next {
        right: -2px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .premium-groups .section-title {
        font-size: 18px;
    }
    
    .modal-content {
        width: 98%;
        margin: 5px;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-header h2 {
        font-size: 16px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"],
    .form-group input[type="url"],
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .btn-login,
    .btn-enviar-grupo {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .partners-banner {
        height: 60px;
        font-size: 11px;
    }
}

/* Página Individual do Grupo */
.grupo-single {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.grupo-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.grupo-image {
    position: relative;
}

.grupo-thumbnail {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.grupo-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grupo-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.grupo-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.grupo-categoria,
.grupo-premium,
.grupo-date {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.grupo-premium {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    animation: premium-glow 2s ease-in-out infinite alternate;
}

@keyframes premium-glow {
    from { box-shadow: 0 0 10px rgba(255,215,0,0.5); }
    to { box-shadow: 0 0 20px rgba(255,215,0,0.8); }
}

.grupo-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-telegram {
    background: #0088cc;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-telegram:hover {
    background: #006699;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,136,204,0.4);
}

.btn-share {
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-share:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40,167,69,0.4);
}

.btn-edit {
    background: #6c757d;
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-edit:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108,117,125,0.4);
}

.grupo-content {
    padding: 30px;
}

.grupo-description {
    margin-bottom: 40px;
}

.grupo-description h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.grupo-description p {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

.grupo-stats h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #dee2e6;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-item i {
    font-size: 32px;
    color: #007bff;
    margin-bottom: 10px;
    display: block;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grupos Relacionados */
.grupos-relacionados {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.grupos-relacionados h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.grupos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.grupo-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s;
}

.grupo-link:hover {
    transform: translateY(-5px);
}

/* Responsividade */
@media (max-width: 768px) {
    .grupo-header {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }
    
    .grupo-thumbnail {
        height: 250px;
    }
    
    .grupo-title {
        font-size: 24px;
    }
    
    .grupo-meta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .grupo-categoria,
    .grupo-premium,
    .grupo-date {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .grupo-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .btn-telegram,
    .btn-share,
    .btn-edit {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .grupo-content {
        padding: 20px;
    }
    
    .grupo-description h3,
    .grupo-stats h3 {
        font-size: 20px;
    }
    
    .grupo-description p {
        font-size: 14px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-item i {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .grupos-relacionados {
        padding: 20px;
    }
    
    .grupos-relacionados h2 {
        font-size: 22px;
    }
    
    .grupos-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .grupo-header {
        padding: 15px;
        gap: 15px;
    }
    
    .grupo-thumbnail {
        height: 200px;
    }
    
    .grupo-title {
        font-size: 20px;
    }
    
    .grupo-meta {
        gap: 8px;
    }
    
    .grupo-categoria,
    .grupo-premium,
    .grupo-date {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .grupo-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-telegram,
    .btn-share,
    .btn-edit {
        padding: 10px 16px;
        font-size: 13px;
        justify-content: center;
    }
    
    .grupo-content {
        padding: 15px;
    }
    
    .grupo-description h3,
    .grupo-stats h3 {
        font-size: 18px;
    }
    
    .grupo-description p {
        font-size: 13px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-item i {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .grupos-relacionados {
        padding: 15px;
    }
    
    .grupos-relacionados h2 {
        font-size: 18px;
    }
    
    .grupos-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Melhorias gerais para mobile */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .featured-groups {
        margin-bottom: 30px;
    }
    
    .premium-groups {
        margin-bottom: 30px;
    }
    
    /* Melhorar espaçamento dos cards */
    .group-card,
    .premium-group-card {
        transition: transform 0.2s ease;
    }
    
    .group-card:active,
    .premium-group-card:active {
        transform: scale(0.98);
    }
    
    /* Melhorar acessibilidade dos botões */
    .btn,
    .btn-telegram-small,
    .btn-details,
    .btn-telegram,
    .btn-share,
    .btn-edit {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Ícones FontAwesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css'); 