/* ============================================
   RESET E BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', 'Inter', sans-serif;
    background: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #e0e0e0;
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
    border-top: 2px solid #4a9eff;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-text h3 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.cookie-text p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.cookie-text p a {
    color: #4a9eff;
    text-decoration: underline;
    transition: color 0.3s;
}

.cookie-text p a:hover {
    color: #6db3ff;
}

.cookie-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 10px 0;
}

.cookie-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ddd;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

.cookie-options label:hover {
    background: rgba(255, 255, 255, 0.05);
}

.cookie-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4a9eff;
    flex-shrink: 0;
}

.cookie-options input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-options input[type="checkbox"]:disabled + span {
    opacity: 0.6;
}

.cookie-options span {
    font-size: 13px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.3);
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.4);
}

.cookie-btn.reject {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.cookie-btn.reject:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
}

.cookie-btn.customize {
    background: transparent;
    color: #ddd;
    border: 1px solid #555;
}

.cookie-btn.customize:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #888;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 12px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.logo-area-header {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-area-header img {
    height: 36px;
    border-radius: 8px;
}

.logo-area-header h1 {
    font-size: 1.1em;
    font-weight: 600;
}

.logo-area-header small {
    font-size: 0.65em;
    opacity: 0.7;
    display: block;
    font-weight: 300;
}

.user-info-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1em;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar:hover { transform: scale(1.05); }

.user-name { font-weight: 500; font-size: 0.85em; }
.user-email { font-size: 0.7em; opacity: 0.7; }

.btn-logout {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.75em;
    transition: all 0.2s;
}

.btn-logout:hover { background: rgba(255,255,255,0.2); }

.btn-login {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.75em;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-login:hover { background: rgba(255,255,255,0.25); }

.badge-admin {
    background: #e94560;
    color: white;
    font-size: 0.55em;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-banned {
    background: #dc3545;
    color: white;
    font-size: 0.55em;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-karma {
    background: #ffb347;
    color: #1a1a2e;
    font-size: 0.55em;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
}

/* ============================================
   NOTIFICATION BELL
   ============================================ */
.notification-bell {
    position: relative;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 30px;
    transition: background 0.2s;
}

.notification-bell:hover {
    background: rgba(255,255,255,0.1);
}

.notification-bell .material-icons {
    font-size: 20px;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e94560;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a1a2e;
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    max-height: 350px;
    overflow-y: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    display: none;
    z-index: 200;
    color: #1a1a2e;
}

.notification-dropdown.show {
    display: block;
}

.notification-dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-dropdown-header h3 {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
}

.notification-dropdown-header button {
    background: none;
    border: none;
    color: #4a6cf7;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
}

.notification-item {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    cursor: pointer;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item.unread {
    background: #eef2ff;
    border-left: 3px solid #4a6cf7;
}

.notification-item .notif-title {
    font-weight: 600;
    font-size: 12px;
    color: #1a1a2e;
}

.notification-item .notif-message {
    font-size: 11px;
    color: #666;
    margin-top: 3px;
}

.notification-item .notif-time {
    font-size: 10px;
    color: #999;
    margin-top: 3px;
}

.notification-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

.notification-empty .material-icons {
    font-size: 36px;
    opacity: 0.4;
}

/* ============================================
   BANNED OVERLAY
   ============================================ */
.banned-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    padding: 20px;
}

.banned-overlay.show {
    display: flex;
}

.banned-box {
    background: #1a1a1a;
    border: 2px solid #e94560;
    border-radius: 16px;
    padding: 50px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    color: white;
}

.banned-box .icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.banned-box h2 {
    color: #e94560;
    margin-bottom: 15px;
}

.banned-box p {
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.6;
}

.banned-box .btn-logout-banned {
    background: #e94560;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
}

.banned-box .btn-logout-banned:hover {
    background: #c0392b;
}

.banned-box .ban-details {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 13px;
    color: #888;
}

/* ============================================
   BETA BADGE
   ============================================ */
.beta-badge {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ============================================
   LAYOUT - APP CONTAINER
   ============================================ */
.app-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    gap: 20px;
    padding: 20px;
    flex: 1;
    width: 100%;
}

/* Sidebar */
.sidebar-left, .sidebar-right {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.card {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #2a2a2a;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #2a2a2a;
}

.logo-icon { font-size: 32px; }
.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-item {
    padding: 12px 15px;
    margin-bottom: 4px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #e0e0e0;
    text-decoration: none;
}

.nav-item:hover { background: #2a2a2a; }
.nav-item.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}
.nav-item.active .material-icons { color: white; }
.nav-item .material-icons { color: #667eea; }

.nav-divider {
    border: none;
    border-top: 1px solid #2a2a2a;
    margin: 10px 0;
}

/* ============================================
   FEED
   ============================================ */
.feed-header {
    padding: 20px;
    border-bottom: 1px solid #2a2a2a;
    background: #1a1a1a;
    border-radius: 20px 20px 0 0;
}

.feed-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feed-title { 
    font-size: 20px; 
    font-weight: 700;
    color: #ffffff;
}

.feed-tabs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.feed-tab {
    padding: 6px 16px;
    border-radius: 20px;
    background: transparent;
    border: 1px solid #2a2a2a;
    color: #888;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.feed-tab:hover {
    background: #2a2a2a;
    color: #e0e0e0;
}

.feed-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: white;
}

/* Postagem */
.post-box {
    background: #1a1a1a;
    padding: 20px;
    border-bottom: 1px solid #2a2a2a;
}

.post-input-area { display: flex; gap: 15px; }

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
    cursor: pointer;
}

.post-input-container { flex: 1; }

.post-input {
    width: 100%;
    border: 2px solid #2a2a2a;
    border-radius: 16px;
    padding: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    resize: none;
    background: #0d0d0d;
    color: #ffffff;
}

.post-input:focus { outline: none; border-color: #667eea; }
.post-input::placeholder { color: #666666; }

.char-counter {
    text-align: right;
    font-size: 12px;
    margin-top: 8px;
    color: #666666;
}

.char-counter.warning { color: #ff9800; }
.char-counter.danger { color: #f44336; }

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(102,126,234,0.3); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary.btn-sm { padding: 6px 16px; font-size: 12px; }

.btn-secondary {
    background: #2a2a2a;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    color: #e0e0e0;
}

.btn-danger {
    background: #e94560;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
}

.btn-danger:hover { background: #c0392b; }

.btn-success {
    background: #27ae60;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
}

.btn-success:hover { background: #219a52; }

/* Posts */
.posts-container { background: #1a1a1a; border-radius: 0 0 20px 20px; }
.post-card {
    padding: 20px;
    border-bottom: 1px solid #2a2a2a;
    transition: background 0.2s;
}
.post-card:hover { background: #222222; }

.post-header { display: flex; gap: 12px; margin-bottom: 12px; cursor: pointer; }
.post-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}
.post-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-user-name { font-weight: 700; color: #ffffff; }
.post-user-id { font-size: 13px; color: #888888; margin-left: 8px; }
.post-time { font-size: 12px; color: #888888; }
.post-content {
    margin-bottom: 12px;
    padding-left: 60px;
    font-size: 15px;
    line-height: 1.5;
    color: #e0e0e0;
}
.post-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2a2a2a;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: #667eea;
    text-decoration: none;
    word-break: break-all;
}
.post-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
    margin-left: 60px;
}
.post-stats {
    display: flex;
    gap: 20px;
    padding-left: 60px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.stat-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #aaaaaa;
    cursor: pointer;
    transition: all 0.2s;
}
.stat-action:hover { color: #667eea; }
.stat-action.liked { color: #e94560; }
.stat-action.saved { color: #ffb347; }

.post-community-tag {
    display: inline-block;
    padding: 2px 10px;
    background: #2a2a2a;
    border-radius: 12px;
    font-size: 11px;
    color: #667eea;
    margin-left: 8px;
    cursor: pointer;
}

.post-options {
    margin-left: auto;
    position: relative;
}

.post-options-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
}

.post-options-btn:hover {
    background: #2a2a2a;
    color: #e0e0e0;
}

.post-options-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 8px 0;
    min-width: 150px;
    display: none;
    z-index: 50;
}

.post-options-dropdown.show {
    display: block;
}

.post-options-dropdown button {
    background: none;
    border: none;
    color: #e0e0e0;
    padding: 8px 16px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
}

.post-options-dropdown button:hover {
    background: #2a2a2a;
}

/* ============================================
   CATEGORIAS
   ============================================ */
.category-chip {
    display: inline-block;
    padding: 6px 14px;
    background: #2a2a2a;
    border-radius: 20px;
    margin: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    color: #e0e0e0;
}

.category-chip:hover,
.category-chip.selected {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #1a1a1a;
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border: 1px solid #2a2a2a;
}

.modal-content.modal-wide {
    max-width: 800px;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #1a1a1a;
    color: #ffffff;
}

.modal-body { padding: 20px; color: #e0e0e0; }
.close-modal { cursor: pointer; font-size: 24px; color: #ffffff; }

.modal-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    background: #0d0d0d;
    color: #ffffff;
    font-size: 14px;
}

.modal-input:focus {
    outline: none;
    border-color: #667eea;
}

.modal-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    background: #0d0d0d;
    color: #ffffff;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
    font-family: 'Inter', sans-serif;
}

.modal-textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* ============================================
   PERFIL
   ============================================ */
.profile-header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 16px;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
    overflow: hidden;
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.follow-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
}

.follow-btn.following { background: #e94560; color: white; }

.profile-stats { display: flex; justify-content: center; gap: 30px; margin-top: 15px; }
.stat-number { font-size: 20px; font-weight: 700; }

/* Profile Page */
.profile-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.profile-page-header {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.profile-cover {
    height: 150px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.profile-info {
    padding: 20px;
    position: relative;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
    margin-top: -60px;
    border: 4px solid #1a1a1a;
    overflow: hidden;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name-area {
    margin-top: 12px;
}

.profile-name-area h1 {
    font-size: 24px;
    color: #ffffff;
}

.profile-username {
    font-size: 14px;
    color: #888;
}

.profile-bio {
    margin-top: 8px;
    color: #e0e0e0;
    font-size: 14px;
}

.profile-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}

.profile-stats-large {
    display: flex;
    gap: 30px;
    margin-top: 16px;
}

.profile-stats-large .stat-item {
    text-align: center;
}

.profile-stats-large .stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.profile-stats-large .stat-label {
    font-size: 12px;
    color: #888;
}

.profile-posts-section {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 20px;
}

.profile-posts-section h2 {
    color: #ffffff;
    margin-bottom: 16px;
}

.profile-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-post-card {
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 16px;
    background: #0d0d0d;
}

.profile-no-posts {
    text-align: center;
    padding: 40px;
    color: #888;
}

.profile-error {
    text-align: center;
    padding: 40px;
    color: #888;
}

/* ============================================
   COMENTÁRIOS
   ============================================ */
.comment-item { display: flex; gap: 12px; padding: 15px 0; border-bottom: 1px solid #2a2a2a; }
.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.comment-content { flex: 1; }
.comment-name { font-weight: 600; font-size: 13px; color: #ffffff; }
.comment-text { font-size: 14px; margin-top: 4px; color: #e0e0e0; }
.comment-time { font-size: 10px; color: #888888; margin-top: 4px; }

.comment-input {
    width: 100%;
    border: 2px solid #2a2a2a;
    border-radius: 16px;
    padding: 10px 15px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    resize: none;
    margin-top: 15px;
    background: #0d0d0d;
    color: #ffffff;
}

.comment-input::placeholder { color: #666666; }

/* ============================================
   SUGESTÕES
   ============================================ */
.suggestion-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #2a2a2a;
}

.suggestion-info { display: flex; align-items: center; gap: 10px; cursor: pointer; flex: 1; }
.suggestion-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.follow-small-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
}

.follow-small-btn.following {
    background: #2a2a2a;
    color: #888;
}

/* ============================================
   TRENDING
   ============================================ */
.trending-topic {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
}

.trending-topic:hover {
    background: #2a2a2a;
    margin: 0 -20px;
    padding: 12px 20px;
}

.trending-rank {
    font-size: 12px;
    color: #888;
    font-weight: 700;
    width: 30px;
}

.trending-name {
    font-weight: 600;
    color: #ffffff;
    flex: 1;
}

.trending-count {
    font-size: 12px;
    color: #888;
}

/* ============================================
   COMUNIDADES
   ============================================ */
.community-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 16px;
    transition: all 0.2s;
    cursor: pointer;
}

.community-card:hover {
    border-color: #667eea;
}

.community-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.community-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.community-name {
    font-weight: 700;
    color: #ffffff;
}

.community-members {
    font-size: 12px;
    color: #888;
}

.community-description {
    font-size: 13px;
    color: #aaa;
    margin-top: 8px;
}

.community-join-btn {
    margin-top: 10px;
}

/* ============================================
   LOADING
   ============================================ */
.loading { text-align: center; padding: 40px; color: #888888; }

/* ============================================
   LOGIN
   ============================================ */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    background: #1a1a1a;
    border-radius: 32px;
    padding: 50px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 1px solid #2a2a2a;
}

.login-box h2 { color: #ffffff; }
.login-box p { color: #aaaaaa; }

.box-title { color: #ffffff; }
h3, h4 { color: #ffffff; }

/* ============================================
   TOAST
   ============================================ */
#toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #2980b9;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    z-index: 99999;
    display: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    max-width: 90%;
    text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%);
    border-top: 1px solid #2a2a2a;
    margin-top: 40px;
    padding: 25px 20px 20px;
    font-family: 'Lato', 'Inter', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 15px;
}

.footer-link {
    color: #aaa !important;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    padding: 4px 0;
    display: inline-block;
}

.footer-link:hover {
    color: #667eea !important;
    transform: translateY(-1px);
}

.footer-link.highlight {
    color: #ffb347 !important;
}

.footer-link.highlight:hover {
    color: #ff9500 !important;
    text-shadow: 0 0 8px rgba(255, 180, 71, 0.3);
}

.footer-divider {
    color: #444;
    font-size: 11px;
    margin: 0 2px;
}

.footer-copyright {
    color: #666;
    font-size: 11px;
    padding-top: 12px;
    border-top: 1px solid #222;
    margin-top: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .app-container { grid-template-columns: 1fr; }
    .sidebar-left { display: none; }
    .sidebar-right { display: none; }
    .beta-badge { top: 80px; right: 10px; }
    .header-content { flex-direction: column; align-items: stretch; gap: 8px; }
    .user-info-header { justify-content: space-between; }
    .notification-dropdown { width: 300px; right: -20px; }
    .cookie-options { flex-direction: column; gap: 8px; }
}

@media (max-width: 768px) {
    .app-container { padding: 10px; }
    .post-actions { flex-direction: column; align-items: stretch; }
    .post-actions input, .post-actions select { width: 100% !important; }
    .site-footer { padding: 20px 15px 15px; }
    .footer-links { gap: 6px 8px; flex-direction: column; }
    .footer-link { font-size: 11px; }
    .footer-divider { display: none; }
    .footer-copyright { font-size: 10px; }
    .login-box { padding: 30px 20px; }
    .banned-box { padding: 30px 20px; }
    .beta-badge { top: 75px; right: 5px; font-size: 10px; padding: 3px 10px; }
    .cookie-buttons { flex-direction: column; width: 100%; }
    .cookie-btn { width: 100%; text-align: center; justify-content: center; }
    .cookie-content { gap: 12px; }
    .cookie-text h3 { font-size: 16px; }
    .cookie-text p { font-size: 13px; }
    .profile-stats-large { gap: 15px; }
    .post-content { padding-left: 0; }
    .post-category { margin-left: 0; }
    .post-stats { padding-left: 0; }
    .profile-page { padding: 10px; }
    .feed-tabs { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .user-name, .user-email { display: none; }
    .notification-dropdown { width: calc(100vw - 40px); right: -10px; }
    .modal-content { width: 95%; }
    .profile-stats { gap: 15px; }
    .stat-number { font-size: 16px; }
    .post-header { flex-wrap: wrap; }
    .post-avatar-img { width: 36px; height: 36px; font-size: 14px; }
    .profile-avatar-large { width: 72px; height: 72px; font-size: 32px; margin-top: -40px; }
}
