@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Cormorant+Garamond:ital,wght@0,400;0,700;1,400&display=swap');

/* ====================================================
   ANTI-SELEÇÃO E ANTI-ARRASTO (Proteção de Interface)
   ==================================================== */
body { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 22px;
    background-color: #080a0c; /* Um tom ligeiramente mais azulado/esverdeado muito escuro */
    color: white; 
    margin: 0; 
    padding-top: 80px; /* VITAL: Como o header agora é fixo, empurramos a página para baixo para não ficar escondida! */
    padding-bottom: 0px; 

    -webkit-user-select: none; 
    -moz-user-select: none;    
    -ms-user-select: none;     
    user-select: none;         
}

img {
    -webkit-user-drag: none;
    user-drag: none;
}

input, textarea, select {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

.patch-notes-wrapper {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

/* ==========================================
   HEADER / NAVBAR (FIXED TOP)
   ========================================== */
.navbar { 
    position: fixed; /* Prende o header no ecrã! */
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 10000;
    
    background-color: #0f0508; 
    border-bottom: 2px solid #ff66cc; 
    padding: 15px 30px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-shadow: 0 4px 15px rgba(255, 102, 204, 0.25); 
    opacity: 0.95;
    font-family: 'Cinzel', serif; 
}

.nav-links {
    display: flex;
    align-items: center; 
    flex-wrap: wrap;     
}
        
.nav-links a { 
    color: #ecf0f1; 
    text-decoration: none; 
    margin: 0 15px; 
    font-weight: bold; 
    font-size: 18px; 
    transition: all 0.2s; 
}
        
.nav-links a:hover { 
    color: #ff66cc !important; /* Fica rosa ao passar o rato */
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255, 102, 204, 0.5);
}

#mainmenu:hover{
    color: #ff66cc !important; 
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255, 102, 204, 0.5);
}
        
.container { 
    padding: 30px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.nav-profile-pic {
    width: 35px;
    height: auto; 
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    border-radius: 4px;
    border: 2px solid #ff66cc;
    display: block; 
}

/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    background-color: #0f0508; 
    border-top: 2px solid #ff66cc; 
    box-shadow: 0 -4px 20px rgba(255, 102, 204, 0.25); 
    color: #7f8c8d; 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    opacity: 0.95; 
    padding: 6px 0; 
    height: 35px; 
    z-index: 10000; 
    box-sizing: border-box;
}

/* ==========================================
   FOOTER - ITENS INTERNOS
   ========================================== */
.footer-copyright {
    display: flex; 
    align-items: center; 
    font-size: 13px;
}

.footer-copyright span {
    margin: 0;
}

.footer-separator {
    margin: 0 10px !important; 
    opacity: 0.4;
}

.footer-kofi-link {
    display: inline-flex; 
    align-items: center; 
    color: #7f8c8d; 
    text-decoration: none; 
    font-family: 'Cinzel', serif; 
    font-weight: bold; 
    font-size: 11px; 
    letter-spacing: 0.5px; 
    transition: color 0.2s, transform 0.2s;
}

.footer-kofi-link img {
    width: 13px; 
    height: auto; 
    margin-right: 5px; 
    opacity: 0.6;
}

.footer-kofi-link:hover {
    color: #ff66cc; 
    transform: scale(1.05);
}

.footer-icon-btn {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    cursor: pointer; 
    transition: 0.3s; 
    z-index: 100001; 
}

.footer-quests {
    right: 85px;
    display: flex; 
    align-items: center; 
    gap: 8px;
}

.footer-quests span {
    font-family: 'Cinzel', serif; 
    font-weight: bold; 
    color: #f1c40f; 
    font-size: 13px;
}

.footer-quests img {
    width: 25px; 
    filter: drop-shadow(0 0 5px rgba(241, 196, 15, 0.5));
}

.footer-friends {
    right: 20px;
}

.footer-friends img {
    width: 28px; 
    filter: drop-shadow(0 0 5px rgba(255, 102, 204, 0.5));
}

.footer-friends .badge {
    position: absolute; 
    top: -3px; 
    right: -5px;
}

/* ==========================================
   FOOTER - BOTÃO DE ADMIN
   ========================================== */
.admin-footer-btn {
    position: fixed; 
    bottom: 10px; 
    left: 20px; 
    background-color: #12050a; 
    color: #ff66cc; 
    padding: 5px 20px; 
    border-radius: 8px; 
    font-family: 'Cinzel', serif; 
    font-weight: bold; 
    text-decoration: none; 
    border: 2px solid #ff66cc; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.8); 
    z-index: 100000; 
    transition: all 0.2s ease;
}

.admin-footer-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 102, 204, 0.6);
}

/* ==========================================
   SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
::-webkit-scrollbar-track {
    background: #0f0508; 
    border-left: 1px solid #331525;
}
::-webkit-scrollbar-thumb {
    background: #ff66cc; 
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}
::-webkit-scrollbar-thumb:hover {
    background: #ff33b5; 
}