/* ============================================================
   PERFIL.CSS v61.0 - HadsTV (ATUALIZADO COM GUILDAS E CAMP)
   ============================================================ */

/* ------------------------------------------------------------
   1. VARIÁVEIS & RESET GLOBAL
   ------------------------------------------------------------ */
:root {
    --gold: #C6A24A;
    --gold-hover: #e6b800;
    --bg-dark: #0b1013;
    --bg-card: #0b1013;
    --text: #E7E3DA;
    --text-muted: #7f8c8d;
    --border-color: #2B3439;
    --bg-input: #10161a;
    --shadow: 0 10px 30px rgba(0,0,0,0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

html, body { 
    background-color: var(--bg-dark) !important; 
    min-height: 100vh; 
    color: var(--text); 
}

body { padding: 20px; overflow-x: hidden; }

/* Scrollbar Personalizada */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }


/* ------------------------------------------------------------
   2. COMPONENTES DE NAVEGAÇÃO & BUSCA
   ------------------------------------------------------------ */

/* Barra de Pesquisa Centralizada */
.search-bar-container { 
    position: relative; max-width: 500px; margin: 0 auto 30px auto; z-index: 100; 
}
.search-input { 
    width: 100%; background: var(--bg-input); border: 1px solid var(--border-color); 
    color: var(--text); padding: 12px 20px; border-radius: 30px; 
    outline: none; transition: 0.3s; font-size: 14px; 
}
.search-input:focus { 
    border-color: var(--gold); box-shadow: 0 0 15px rgba(198, 162, 74, 0.15); 
}

/* Resultados da Pesquisa (Dropdown) */
.search-results { 
    position: absolute; top: 50px; left: 50%; transform: translateX(-50%); width: 100%; 
    background: #080808; border: 1px solid var(--border-color); border-radius: 12px; 
    z-index: 101; max-height: 350px; overflow-y: auto; display: none; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.8); 
}
.search-item { 
    padding: 12px 15px; display: flex; align-items: center; gap: 12px; 
    cursor: pointer; border-bottom: 1px solid #1a1a1a; transition: 0.2s; 
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: #1a1a1a; }
.search-item img { 
    width: 35px; height: 35px; border-radius: 50%; 
    border: 1px solid var(--gold); object-fit: cover; 
}
.search-item b { color: var(--gold); }

/* Abas Principais (Tabs) */
.main-tabs { 
    display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; 
    border-bottom: 2px solid #1a1a1a; padding-bottom: 15px; flex-wrap: wrap; 
}
.main-tab-btn { 
    background: #111; border: 1px solid var(--border-color); color: #888; 
    padding: 12px 25px; cursor: pointer; font-weight: bold; border-radius: 8px; 
    transition: 0.3s; flex: 1; max-width: 220px; text-align: center; 
    text-transform: uppercase; font-size: 13px; letter-spacing: 0.5px; 
}
.main-tab-btn:hover { color: #fff; border-color: #555; }
.main-tab-btn.active { 
    background: linear-gradient(135deg, var(--gold), #bfa15f); color: #000; 
    border-color: var(--gold); box-shadow: 0 0 15px rgba(198, 162, 74, 0.3); 
}
.btn-go-feed { background: #0f0f0f; border: 1px solid var(--gold); color: var(--gold); }
.btn-go-feed:hover { background: var(--gold); color: #000; }

.tab-section { display: none; animation: fadeIn 0.4s ease; }
.tab-section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }


/* ------------------------------------------------------------
   3. ESTRUTURA E SIDEBAR (PERFIL PRIVADO)
   ------------------------------------------------------------ */
.profile-container { 
    max-width: 1200px; margin: 0 auto; display: flex; gap: 25px; align-items: flex-start; 
}

.profile-sidebar {
    flex: 0 0 300px; display: flex; flex-direction: column; gap: 20px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 12px; padding: 30px 20px; box-shadow: var(--shadow); 
    position: relative; overflow: hidden;
}

.profile-content {
    flex: 1; background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 12px; padding: 40px; min-height: 600px; position: relative; 
    box-shadow: var(--shadow);
}

/* Brilho Dourado no Topo */
.profile-sidebar::before, .profile-content::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Avatar na Sidebar */
.avatar-container { 
    position: relative; width: 130px; height: 130px; margin: 0 auto 15px auto; cursor: pointer; 
}
.avatar-img { 
    width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--gold); 
    object-fit: cover; box-shadow: 0 0 20px rgba(198, 162, 74, 0.2); transition: filter 0.3s ease; 
}
.avatar-edit-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; 
    background: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; 
    opacity: 0; transition: opacity 0.3s ease; color: var(--gold); font-size: 24px; backdrop-filter: blur(2px); 
}
.avatar-container:hover .avatar-edit-overlay { opacity: 1; }

.user-name { 
    font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 5px; 
    text-align: center; letter-spacing: 0.5px; 
}
.user-tag { 
    font-size: 10px; color: var(--gold); background: rgba(198, 162, 74, 0.1); 
    padding: 4px 12px; border-radius: 20px; text-transform: uppercase; font-weight: bold; 
    border: 1px solid rgba(198, 162, 74, 0.3); display: table; margin: 0 auto 15px auto; 
}

/* Estatísticas Sidebar */
.stats-row { 
    display: flex; justify-content: space-between; margin-top: 25px; 
    border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); 
    padding: 15px 0; width: 100%; 
}
.stat-item { flex: 1; text-align: center; }
.stat-val { font-size: 18px; font-weight: bold; color: #fff; display: block; }
.stat-label { 
    font-size: 10px; color: var(--text-muted); text-transform: uppercase; 
    letter-spacing: 1px; margin-top: 3px; 
}

/* Menu Lateral */
.side-menu { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.menu-btn { 
    background: transparent; border: 1px solid transparent; color: var(--text-muted); 
    padding: 12px 20px; text-align: left; cursor: pointer; border-radius: 6px; 
    transition: all 0.2s ease; display: flex; align-items: center; gap: 12px; 
    font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; 
}
.menu-btn:hover, .menu-btn.active { 
    background: rgba(255,255,255,0.03); color: #fff; border: 1px solid var(--border-color); 
    border-left: 3px solid var(--gold); 
}
.menu-btn i { width: 20px; text-align: center; }


/* ------------------------------------------------------------
   4. FORMULÁRIOS & ÁREA DE EDIÇÃO (ADM)
   ------------------------------------------------------------ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.full-width { grid-column: span 2; }

.form-group { margin-bottom: 15px; }
.form-label { 
    display: block; color: var(--gold); font-size: 11px; font-weight: bold; 
    margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; 
}
.form-input { 
    width: 100%; background: #050505; border: 1px solid var(--border-color); 
    padding: 14px; color: #fff; border-radius: 6px; outline: none; 
    transition: 0.3s; font-size: 14px; 
}
.form-input:focus { 
    border-color: var(--gold); background: #0a0a0a; box-shadow: 0 0 10px rgba(198, 162, 74, 0.1); 
}
.form-input[readonly] { background: #111; color: #666; cursor: not-allowed; border-color: #222; }

.btn-save { 
    background: var(--gold); color: #000; border: none; padding: 15px; width: 100%; 
    font-weight: bold; cursor: pointer; border-radius: 6px; font-size: 14px; 
    text-transform: uppercase; transition: 0.3s; margin-top: 10px; 
}
.btn-save:hover { 
    background: var(--gold-hover); transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(198, 162, 74, 0.3); 
}

/* Class Selector */
.class-selector-container { 
    display: flex; gap: 15px; align-items: center; background: rgba(0,0,0,0.2); 
    padding: 15px; border-radius: 8px; border: 1px solid var(--border-color); 
}
.selected-class-icon { 
    width: 50px; height: 50px; object-fit: contain; border: 1px solid var(--border-color); 
    padding: 2px; border-radius: 6px; background: #000; 
}

/* Referral Box (Código de Amigo) */
.referral-box { 
    background: linear-gradient(135deg, rgba(198,162,74,0.05), transparent); 
    border: 1px dashed var(--gold); padding: 25px; border-radius: 10px; 
    margin-bottom: 30px; position: relative; 
}
.referral-box::after { 
    content: '\f091'; font-family: "Font Awesome 6 Free"; font-weight: 900; 
    position: absolute; top: 10px; right: 15px; font-size: 40px; color: rgba(198,162,74,0.1); 
}
.referral-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 15px; }
.code-input { 
    text-align: center; letter-spacing: 3px; font-weight: bold; color: var(--gold); 
    font-size: 16px; font-family: monospace; background: #000 !important; 
    border: 1px solid #333 !important; 
}


/* ------------------------------------------------------------
   5. PERFIL PÚBLICO & VISUALIZAÇÃO
   ------------------------------------------------------------ */
.public-profile-card { 
    background: #111; border: 1px solid var(--gold); border-radius: 12px; 
    overflow: hidden; max-width: 650px; margin: 0 auto 40px auto; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.5); 
}
.profile-banner { 
    height: 140px; background: linear-gradient(180deg, #1a1a1a, #0b1013); position: relative; 
}
.public-avatar-wrapper { 
    width: 110px; height: 110px; border-radius: 50%; border: 4px solid var(--gold); 
    margin: -55px auto 15px; background: #000; overflow: hidden; 
    position: relative; z-index: 2; box-shadow: 0 5px 15px rgba(0,0,0,0.5); 
}
.public-avatar-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.public-info { text-align: center; padding: 0 25px 25px; }
.public-name { 
    font-size: 24px; font-weight: bold; color: #fff; display: flex; 
    align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; 
}
.class-icon-badge { width: 28px; height: 28px; object-fit: contain; }
.public-bio { font-size: 14px; color: #bbb; margin: 10px 0; font-style: italic; line-height: 1.4; }

.profile-actions { display: flex; justify-content: center; gap: 10px; margin-bottom: 15px; min-height: 30px; }
.btn-action { 
    padding: 6px 15px; border-radius: 20px; font-size: 12px; font-weight: bold; 
    cursor: pointer; display: flex; align-items: center; gap: 5px; border: none; transition: 0.2s; 
}
.btn-action.add { background: #C6A24A; color: #000; }
.btn-action.friend { background: #333; color: #ccc; border: 1px solid #555; }
.btn-action.pending { background: #555; color: #fff; border: 1px dashed #999; }
.btn-action.accept { background: #28a745; color: #fff; box-shadow: 0 0 10px rgba(46, 125, 50, 0.5); }
.btn-action:hover { transform: scale(1.05); }

.public-stats { 
    display: flex; justify-content: center; gap: 40px; margin-top: 20px; 
    border-top: 1px solid #222; padding-top: 20px; 
}
.p-stat { display: flex; flex-direction: column; align-items: center; }
.p-stat span:first-child { font-size: 20px; font-weight: bold; color: var(--gold); }
.p-stat span:last-child { 
    font-size: 11px; color: #666; text-transform: uppercase; 
    letter-spacing: 1px; margin-top: 3px; 
}

/* Lista de Amigos Horizontal */
.friends-bar { 
    max-width: 600px; margin: 15px auto; overflow-x: auto; 
    white-space: nowrap; padding-bottom: 10px; display: none; 
}
.friend-chip { display: inline-block; width: 70px; text-align: center; margin-right: 10px; cursor: pointer; }
.friend-chip img { 
    width: 50px; height: 50px; border-radius: 50%; border: 2px solid #333; 
    object-fit: cover; transition: 0.2s; 
}
.friend-chip span { 
    display: block; font-size: 10px; color: #ccc; overflow: hidden; 
    text-overflow: ellipsis; margin-top: 3px; 
}
.friend-chip:hover img { border-color: #C6A24A; transform: scale(1.1); }


/* ------------------------------------------------------------
   6. FEED & SISTEMA DE POSTAGEM
   ------------------------------------------------------------ */
.feed-container { max-width: 650px; margin: 0 auto; }

/* Criador de Post */
.post-creator { 
    background: #111; border: 1px solid var(--border-color); border-radius: 10px; 
    padding: 20px; margin-bottom: 25px; position: relative; 
}
.post-textarea { 
    width: 100%; background: transparent; border: none; color: #fff; resize: none; 
    min-height: 70px; font-family: inherit; font-size: 15px; outline: none; margin-bottom: 10px; 
}
.post-actions { 
    display: flex; justify-content: space-between; align-items: center; 
    border-top: 1px solid #222; padding-top: 15px; 
}
.btn-postar { 
    background: var(--gold); color: #000; border: none; padding: 8px 25px; 
    border-radius: 20px; font-weight: bold; cursor: pointer; 
    text-transform: uppercase; font-size: 12px; transition: 0.3s; 
}
.btn-postar:hover { background: #fff; }

/* Preview de Mídia */
#preview-area { position: relative; display: inline-block; margin-top: 10px; }
#preview-img { max-width: 150px; border-radius: 8px; border: 1px solid var(--border-color); display: block; }
.close-preview { 
    position: absolute; top: -8px; right: -8px; background: #d93025; 
    color: white; width: 22px; height: 22px; border-radius: 50%; text-align: center; 
    line-height: 22px; cursor: pointer; font-size: 12px; font-weight: bold; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.5); 
}

/* Card do Post */
.feed-card { 
    background: #111; border: 1px solid var(--border-color); border-radius: 12px; 
    padding: 20px; margin-bottom: 20px; position: relative; transition: border-color 0.3s; 
}
.feed-card:hover { border-color: #444; }
.feed-header { display: flex; align-items: center; margin-bottom: 15px; }
.feed-avatar { 
    width: 45px; height: 45px; border-radius: 50%; margin-right: 15px; 
    border: 2px solid var(--gold); object-fit: cover; 
}
.feed-user { font-weight: bold; color: #fff; font-size: 15px; display: block; }
.feed-time { font-size: 12px; color: #666; }
.mural-badge { 
    font-size: 10px; background: #222; border: 1px solid #444; 
    padding: 2px 6px; border-radius: 4px; color: #C6A24A; margin-left: 5px; font-weight: normal; 
}

.feed-content { 
    font-size: 15px; color: #e0e0e0; white-space: pre-wrap; margin-bottom: 15px; line-height: 1.6; 
}
.feed-content a { color: #C6A24A; text-decoration: none; }
.feed-media { 
    width: 100%; border-radius: 8px; margin-top: 10px; max-height: 500px; 
    object-fit: cover; border: 1px solid #222; 
}
.embed-container { width: 100%; margin-top: 10px; border-radius: 8px; overflow: hidden; }

/* REPOST / COMPARTILHAMENTO */
.shared-content { 
    border: 1px solid #333; border-radius: 8px; padding: 15px; margin-top: 10px; 
    background: rgba(0, 0, 0, 0.3); cursor: pointer; transition: 0.2s;
}
.shared-content:hover { border-color: #C6A24A; }
.shared-header { display: flex; align-items: center; margin-bottom: 10px; }
.shared-avatar { width: 30px; height: 30px; border-radius: 50%; margin-right: 10px; }
.shared-user { font-weight: bold; color: #ccc; font-size: 13px; }
.shared-meta { font-size: 10px; color: #666; margin-left: auto; }

/* Rodapé do Post (Likes/Comments) */
.post-footer { border-top: 1px solid #222; padding-top: 15px; display: flex; justify-content: space-around; }
.action-btn { 
    background: none; border: none; color: #777; cursor: pointer; 
    display: flex; align-items: center; gap: 8px; font-size: 13px; 
    font-weight: 600; transition: 0.2s; padding: 5px 15px; border-radius: 20px; 
}
.action-btn:hover { background: rgba(255,255,255,0.05); color: #fff; }
.action-btn.active-like { color: var(--gold); } 
.action-btn.active-dislike { color: #d93025; }
.action-btn.favorited { color: #FFD700 !important; }

/* Botões do Dono (Editar/Excluir) */
.post-owner-actions, .owner-actions { position: absolute; top: 20px; right: 20px; display: flex; gap: 15px; }
.owner-btn, .mini-btn { color: #444; cursor: pointer; font-size: 14px; transition: 0.2s; }
.owner-btn:hover, .mini-btn:hover { color: var(--gold); transform: scale(1.1); } 
.owner-btn.delete:hover, .mini-btn.delete:hover { color: #ff4444; }


/* ------------------------------------------------------------
   7. MODAIS E POPUPS
   ------------------------------------------------------------ */
.modal-overlay, .custom-confirm-overlay { 
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.9); z-index: 2000; align-items: center; 
    justify-content: center; backdrop-filter: blur(5px); 
}
.modal-content, .modal-box, .custom-confirm-box { 
    background: #0f0f0f; border: 1px solid var(--gold); padding: 30px; 
    border-radius: 12px; text-align: center; max-width: 500px; width: 90%; 
    position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.8); 
}

/* Grade de Avatares */
.avatar-grid { 
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; 
    max-height: 400px; overflow-y: auto; padding: 10px; margin-top: 15px; 
}
.avatar-option, .avatar-opt { 
    width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; 
    cursor: pointer; border: 2px solid transparent; transition: 0.2s; background: #1a1a1a; 
}
.avatar-option:hover, .avatar-opt:hover { 
    border-color: var(--gold); transform: scale(1.05); box-shadow: 0 0 15px rgba(198, 162, 74, 0.3); 
}

.close-modal { 
    position: absolute; top: 15px; right: 20px; font-size: 28px; color: #888; 
    background: none; border: none; cursor: pointer; transition: 0.3s; 
}
.close-modal:hover { color: #fff; }

.confirm-btn { 
    padding: 10px 30px; border-radius: 30px; border: none; cursor: pointer; 
    font-weight: bold; margin: 10px 5px; text-transform: uppercase; 
    font-size: 12px; letter-spacing: 1px; 
}
.confirm-btn.yes { background: #d93025; color: #fff; } 
.confirm-btn.no { background: #333; color: #fff; }

.btn-logout { background: #333; color: #fff; border: 1px solid #555; padding: 5px 15px; border-radius: 5px; cursor: pointer; margin-top: 10px; }


/* ------------------------------------------------------------
   8. ESTILOS ADICIONAIS: GUILDA E CAMPEONATO
   ------------------------------------------------------------ */

/* --- GUILDA (NOVO) --- */
#view-guild { display: none; }
.guild-card { background: #111; border: 1px solid #333; border-radius: 12px; padding: 20px; margin-bottom: 20px; text-align: center; position: relative; }
.guild-logo-wrapper { width: 120px; height: 120px; border-radius: 15px; border: 2px solid var(--gold); margin: 0 auto 15px auto; overflow: hidden; }
.guild-logo-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.guild-name { font-size: 26px; font-weight: bold; color: #fff; }
.guild-tag { font-size: 14px; color: var(--gold); font-weight: bold; margin-bottom: 10px; display: inline-block; padding: 2px 8px; border: 1px solid var(--gold); border-radius: 4px; }
.guild-desc { color: #aaa; font-style: italic; font-size: 13px; margin-bottom: 20px; }

.member-list { display: flex; flex-direction: column; gap: 10px; }
.member-item { display: flex; align-items: center; background: #0f0f0f; padding: 10px; border-radius: 8px; border: 1px solid #222; }
.member-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; margin-right: 15px; border: 1px solid var(--gold); }
.member-info { flex: 1; text-align: left; }
.member-name { font-weight: bold; color: #fff; font-size: 14px; }
.member-role { font-size: 11px; color: #888; text-transform: uppercase; }
.role-Lider { color: var(--gold); font-weight: bold; }
.role-Oficial { color: #ccc; }

.create-guild-box { text-align: center; padding: 40px 20px; border: 1px dashed var(--gold); border-radius: 12px; background: rgba(198,162,74,0.05); }
.create-guild-icon { font-size: 50px; color: var(--gold); margin-bottom: 15px; }

.request-item { display: flex; justify-content: space-between; align-items: center; background: #222; padding: 10px; border-radius: 6px; margin-bottom: 5px; }
.req-btn { padding: 5px 10px; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; font-size: 11px; }
.req-btn.accept { background: #28a745; color: #fff; }
.req-btn.reject { background: #d93025; color: #fff; }

/* Busca de Guilda */
.guild-results-list { max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.guild-result-card { background: #000; border: 1px solid #333; border-radius: 8px; padding: 10px; display: flex; align-items: center; gap: 15px; transition: 0.2s; }
.guild-result-card:hover { border-color: var(--gold); }
.g-res-logo { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; border: 1px solid var(--gold); }
.g-res-info { flex: 1; text-align: left; }
.g-res-name { font-weight: bold; color: #fff; font-size: 14px; }
.g-res-tag { color: var(--gold); font-size: 11px; font-weight: bold; border: 1px solid var(--gold); padding: 1px 5px; border-radius: 4px; margin-left: 5px; }
.g-res-members { font-size: 11px; color: #888; display: block; margin-top: 2px; }
.btn-join { background: transparent; border: 1px solid #444; color: #ccc; padding: 5px 15px; border-radius: 20px; font-size: 11px; font-weight: bold; cursor: pointer; }
.btn-join:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.btn-join.pending { background: #333; color: var(--gold); border: 1px dashed var(--gold); cursor: default; }

/* --- CAMPEONATO (NOVO) --- */
#view-camp { display: none; }
.construction-card { background: #0f0f0f; border: 2px dashed var(--gold); border-radius: 15px; padding: 50px 20px; text-align: center; box-shadow: 0 0 30px rgba(198, 162, 74, 0.1); animation: pulse 2s infinite; margin-top: 20px; }
.construction-icon { font-size: 60px; color: var(--gold); margin-bottom: 20px; }
.camp-title { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.camp-text { color: #888; max-width: 500px; margin: 0 auto; font-size: 14px; }
.inscription-form { background: #111; border: 1px solid var(--gold); padding: 20px; border-radius: 10px; margin-top: 20px; }
.camp-header { text-align: center; border-bottom: 1px solid #333; padding-bottom: 15px; margin-bottom: 20px; }
.camp-header h2 { color: var(--gold); text-transform: uppercase; letter-spacing: 2px; }
.camp-rules { background: rgba(198, 162, 74, 0.05); padding: 15px; border-radius: 8px; margin-bottom: 20px; border: 1px solid #333; }
.camp-rules li { color: #aaa; font-size: 13px; margin-bottom: 5px; list-style: none; }
.camp-rules li i { color: var(--gold); margin-right: 5px; }
.camp-locked { text-align: center; padding: 40px; background: rgba(200, 0, 0, 0.1); border: 1px solid #d93025; border-radius: 10px; margin-top: 20px; }
@keyframes pulse { 0% { border-color: var(--gold); } 50% { border-color: #fff; } 100% { border-color: var(--gold); } }


/* ------------------------------------------------------------
   9. RESPONSIVIDADE (MOBILE)
   ------------------------------------------------------------ */
@media (max-width: 900px) {
    .profile-container { flex-direction: column; }
    .profile-sidebar { flex: auto; width: 100%; }
    .profile-content { width: 100%; padding: 20px; }
    .main-tabs { flex-direction: column; }
    .main-tab-btn { max-width: 100%; }
    .form-grid, .referral-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .avatar-grid { grid-template-columns: repeat(3, 1fr); }
    .public-stats { gap: 15px; }
}