@import url('https://fonts.googleapis.com/css2?family=Mystery+Quest&family=New+Rocker&display=swap');

*, html, body {
    cursor: url('../imagens/cursor_bom.png'), default !important;
}

a:hover, 
button:hover, 
.dropdown-btn:hover,
.cartao-jogo:hover,
.celula:hover,
.carta:hover,
.toupeira:hover,
.face:hover,
canvas:hover {
    cursor: url('../imagens/cursor_mal.png'), pointer !important;
}

body { 
    font-family: "New Rocker", system-ui, sans-serif; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    background-image: url(../imagens/depths.gif);
    background-size: cover;
    background-position: center;
    color: white;
    padding-top: 80px;
}

h1 {
	font-size: 80px;
	letter-spacing: 8px;
}

.personagem-container {
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.foto-personagem {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(232, 161, 255, 0.5)); 
    transition: transform 0.3s;
}

.foto-personagem:hover {
    transform: scale(1.1) rotate(5deg);
}

h2 {
    text-align: center;
    line-height: 1.5;
    font-size: 40px;  
}

.container-jogos {
    margin-top: 40px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 35px 40px !important;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.cartao-jogo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.icone-link {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    border: 3px solid #e8a1ff;
    transition: transform 0.3s, box-shadow 0.3s;
    object-fit: cover;
}

.cartao-jogo:hover .icone-link {
    transform: translateY(-8px);
    box-shadow: 0 5px 15px rgba(232, 161, 255, 0.4);
    border-color: white;
}

.cartao-jogo span {
    margin-top: 15px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.cartao-jogo:hover span {
    color: #e8a1ff;
}

.header-navegacao {
    width: 100%;
    height: 60px;              
    background-image: url('../imagens/ceu-escuro.gif'); 
    background-size: cover;
    background-position: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;       
}

.menu-principal {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 15px; 
}

.logo-portal {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    margin-right: auto;
    transition: opacity 0.3s;
}

.logo-portal:hover {
    opacity: 0.8;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background-color: transparent;
    color: #e8a1ff;             
    padding: 10px 15px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important; 
    transition: color 0.3s;
}

.autor-btn {
    color: #e8a1ff; 
}

.dropdown-btn:hover {
    color: #ffffff;
}

.dropdown-conteudo {
    display: none;              
    position: absolute;
    right: 0;                   
    background-color: #222222;  
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.6);
    border-radius: 8px;
    border: 1px solid #e8a1ff;
    padding: 5px 0;
    margin-top: 0px; 
}

.dropdown:has(.autor-btn) .dropdown-conteudo {
    border-color: #e8a1ff; 
}

.dropdown-conteudo a {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 16px;
    text-align: left;
    transition: background 0.2s, color 0.2s;
}

.dropdown-conteudo a:hover {
    background-color: #e8a1ff;
    color: #111111;
}

.dropdown:has(.autor-btn) .dropdown-conteudo a:hover {
    background-color: #e8a1ff;
    color: #111111;
}

.dropdown:hover .dropdown-conteudo {
    display: block;
}
