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

body {
    font-family: 'Lato', 'Noto Sans', 'Times New Roman', Times, serif;
    background-color: #f6f6f6;
    color: #202122;
}

/* ============================================
   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 PADRONIZADO WAZZIMAGIYGG
   ============================================ */
.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: 1400px;
    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;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.user-email {
    font-size: 0.7em;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.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;
    flex-shrink: 0;
}

.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;
    flex-shrink: 0;
}

.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;
    flex-shrink: 0;
}

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

/* ============================================
   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;
    flex-shrink: 0;
}

.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;
    flex-wrap: wrap;
    gap: 8px;
}

.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.9);
    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;
}

/* ============================================
   WIKI BANNER
   ============================================ */
.wiki-banner {
    background: linear-gradient(135deg, #1a3c5e 0%, #2c7da0 100%);
    color: white;
    padding: 20px 24px;
    text-align: center;
}

.wiki-banner h2 {
    font-size: 1.8em;
    font-weight: 700;
    font-family: 'Times New Roman', serif;
    margin-bottom: 5px;
}

.wiki-banner p {
    opacity: 0.9;
    font-size: 0.95em;
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-bar {
    background: white;
    padding: 15px 24px;
    border-bottom: 1px solid #eaecf0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.search-bar-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 16px;
    border: 1px solid #a2a9b1;
    border-radius: 4px;
    font-size: 14px;
}

.search-bar-input:focus {
    outline: none;
    border-color: #36c;
}

.search-bar-btn {
    padding: 10px 20px;
    background: #36c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.search-bar-btn:hover {
    background: #2a5a9e;
}

.search-bar-btn.random {
    background: #28a745;
}

.search-bar-btn.random:hover {
    background: #218838;
}

/* ============================================
   MAIN WRAPPER
   ============================================ */
.main-wrapper {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.sidebar-menu {
    position: sticky;
    top: 120px;
    width: 260px;
    background-color: #f8f9fa;
    border-right: 1px solid #eaecf0;
    height: calc(100vh - 130px);
    overflow-y: auto;
    transition: width 0.3s ease;
    flex-shrink: 0;
    z-index: 100;
}

.sidebar-menu.collapsed {
    width: 60px;
}

.sidebar-menu.collapsed .menu-item-text,
.sidebar-menu.collapsed .menu-section-title span:not(.material-icons),
.sidebar-menu.collapsed .menu-footer p,
.sidebar-menu.collapsed .menu-header h3 {
    display: none;
}

.sidebar-menu.collapsed .menu-item {
    justify-content: center;
    padding: 12px 0;
}

.sidebar-menu.collapsed .menu-item .material-icons {
    margin-right: 0;
}

.sidebar-menu.collapsed .menu-section-title {
    justify-content: center;
    padding: 10px 0;
}

.menu-toggle-btn {
    position: absolute;
    right: -12px;
    top: 20px;
    background-color: white;
    border: 1px solid #a2a9b1;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 101;
    font-size: 12px;
    color: #0645ad;
}

.menu-toggle-btn:hover {
    background-color: #e9ecef;
}

.menu-header {
    padding: 16px 16px 8px 16px;
    border-bottom: 1px solid #eaecf0;
    margin-bottom: 8px;
}

.menu-header h3 {
    font-size: 1.1em;
    font-weight: normal;
    color: #202122;
}

.menu-section {
    margin-bottom: 20px;
}

.menu-section-title {
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.85em;
    color: #54595d;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-section-title .material-icons {
    font-size: 18px;
    color: #36c;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    color: #0645ad;
    text-decoration: none;
    font-size: 0.9em;
    transition: background 0.1s;
    cursor: pointer;
}

.menu-item:hover {
    background-color: #eaf3ff;
    text-decoration: none;
}

.menu-item .material-icons {
    font-size: 18px;
    color: #54595d;
}

.menu-footer {
    padding: 16px;
    border-top: 1px solid #eaecf0;
    margin-top: 20px;
    font-size: 0.7em;
    color: #666;
}

.main-container {
    flex: 1;
    padding: 20px 30px;
}

.content-area {
    background-color: #ffffff;
    padding: 30px;
    border: 1px solid #a7d7f9;
    border-radius: 4px;
}

.page-title {
    font-family: 'Times New Roman', serif;
    font-size: 1.8em;
    font-weight: normal;
    border-bottom: 1px solid #a2a9b1;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* ============================================
   SUBCOLLECTIONS GRID
   ============================================ */
.subcollections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.subcollection-card {
    background: #f8f9fa;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

.subcollection-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #a7d7f9;
}

.subcollection-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.subcollection-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #0645ad;
    margin-bottom: 8px;
}

.subcollection-meta {
    font-size: 0.85em;
    color: #54595d;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eaecf0;
}

.article-count {
    display: inline-block;
    background-color: #eaf3ff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

/* ============================================
   ARTICLE VIEW
   ============================================ */
.article-meta {
    background-color: #f8f9fa;
    padding: 10px;
    border: 1px solid #eaecf0;
    margin: 15px 0;
    font-size: 0.85em;
}

.article-content {
    line-height: 1.6;
}

.wiki-content-rendered {
    line-height: 1.6;
}

.wiki-content-rendered h1, .wiki-content-rendered h2 {
    font-family: 'Times New Roman', serif;
    border-bottom: 1px solid #a2a9b1;
    margin: 1.5em 0 0.5em 0;
    padding-bottom: 0.17em;
}

.wiki-content-rendered h1 { font-size: 1.8em; }
.wiki-content-rendered h2 { font-size: 1.5em; }
.wiki-content-rendered h3 { font-size: 1.2em; margin: 1.2em 0 0.3em 0; }
.wiki-content-rendered p { margin: 0.5em 0; }
.wiki-content-rendered ul, .wiki-content-rendered ol { margin: 0.5em 0 0.5em 2em; }
.wiki-content-rendered pre {
    background: #f8f9fa;
    border: 1px solid #eaecf0;
    padding: 12px;
    overflow-x: auto;
}
.wiki-content-rendered blockquote {
    border-left: 4px solid #eaecf0;
    padding-left: 16px;
    margin: 1em 0;
    color: #54595d;
}

.btn-abrir-painel {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #36c;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.btn-abrir-painel:hover {
    background-color: #2a5a9e;
}

.article-view {
    display: none;
}

.article-view.active {
    display: block;
}

.back-button {
    background: none;
    border: none;
    color: #0645ad;
    cursor: pointer;
    font-size: 0.9em;
    margin-bottom: 20px;
    padding: 5px 0;
}

.back-button:hover {
    text-decoration: underline;
}

.highlight {
    background-color: #e8f0fe;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #36c;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* ============================================
   FORMULÁRIOS
   ============================================ */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #a2a9b1;
    border-radius: 4px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background-color: #36c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #2a5a9e;
}

.guest-info {
    font-size: 11px;
    color: #28a745;
    margin-top: 5px;
    text-align: center;
}

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

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #a2a9b1;
    padding: 15px 20px;
}

.modal-header h3 {
    margin: 0;
}

.close-modal {
    cursor: pointer;
    font-size: 24px;
    color: #666;
    background: none;
    border: none;
}

.close-modal:hover {
    color: #d33;
}

.modal-body {
    padding: 20px;
}

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

.editor-modal.show {
    display: flex;
}

.editor-container {
    width: 95%;
    height: 90%;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #2c3e50;
    color: white;
}

.editor-header h3 {
    margin: 0;
}

.editor-header-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.editor-btn {
    padding: 8px 16px;
    background-color: #36c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.editor-btn:hover {
    background-color: #2a5a9e;
}

.editor-btn-danger {
    background-color: #dc3545;
}

.editor-btn-danger:hover {
    background-color: #c82333;
}

.editor-body {
    flex: 1;
    display: flex;
    padding: 20px;
    gap: 20px;
    overflow: hidden;
}

.editor-sidebar {
    width: 30%;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.editor-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.editor-field {
    margin-bottom: 15px;
}

.editor-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.editor-field input, .editor-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.editor-field textarea {
    min-height: 200px;
    resize: vertical;
    font-family: monospace;
}

.editor-field .preview-box {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    background: #fafafa;
    max-height: 200px;
    overflow-y: auto;
}

.article-list-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-list-item:hover {
    background-color: #eaf3ff;
}

.delete-article-btn {
    color: #dc3545;
    cursor: pointer;
    font-size: 18px;
}

.format-guide {
    background-color: #fff8e7;
    border: 1px solid #ffd700;
    border-radius: 8px;
    padding: 12px;
    margin-top: 15px;
}

.format-guide h4 {
    color: #b8860b;
    margin-bottom: 10px;
    font-size: 14px;
}

.format-guide table {
    width: 100%;
    font-size: 11px;
}

.format-guide td {
    padding: 4px;
    border-bottom: 1px solid #ffe4b5;
}

.format-guide code {
    background: #fff;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 11px;
}

.btn-helper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
}

.btn-helper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,152,0,0.3);
}

/* ============================================
   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', sans-serif;
}

.footer-content {
    max-width: 1400px;
    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: 900px) {
    .sidebar-menu {
        position: fixed;
        left: 0;
        top: 120px;
        height: calc(100vh - 120px);
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    .sidebar-menu.mobile-open {
        transform: translateX(0);
    }
    .menu-toggle-btn {
        right: -30px;
        top: 80px;
    }
    .main-container {
        padding: 15px;
    }
    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .user-info-header {
        justify-content: space-between;
    }
    .notification-dropdown {
        width: 300px;
        right: -20px;
    }
    .editor-body {
        flex-direction: column;
    }
    .editor-sidebar {
        width: 100%;
        max-height: 300px;
    }
    .search-bar {
        flex-direction: column;
    }
    .search-bar-input {
        width: 100%;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    .footer-divider {
        display: none;
    }
    .cookie-options {
        flex-direction: column;
        gap: 8px;
    }
    .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;
    }
}

@media (max-width: 480px) {
    .user-name, .user-email { display: none; }
    .notification-dropdown {
        width: calc(100vw - 40px);
        right: -10px;
    }
    .wiki-banner h2 {
        font-size: 1.3em;
    }
    .subcollections-grid {
        grid-template-columns: 1fr;
    }
    .content-area {
        padding: 15px;
    }
    .banned-box {
        padding: 30px 20px;
    }
}
