*, 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 {
    background-color: #2c3e50;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding-top: 120px;
}

.painel-jogo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

h1 {
    margin-bottom: 5px;
    color: #f1c40f;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.placar-container {
    display: flex;
    gap: 40px;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 15px;
}

.grid-cenario {
    display: grid;
    grid-template-columns: repeat(3, 160px);
    gap: 20px;
    margin-bottom: 20px;
}

.buraco {
    width: 160px;
    height: 120px;
    background: #795548;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 4px solid #5d4037;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.5);
}

.toupeira {
    width: 100px;
    height: 100px;
    background-image: url('../imagens/skull.webp'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    position: absolute;
    bottom: -100px;
    left: 30px;
    transition: bottom 0.1s ease;
    cursor: pointer;
}

.toupeira.subiu {
    bottom: 0;
}

.toupeira.acertou {

    filter: drop-shadow(0px 0px 15px #e74c3c) brightness(1.2); 
}

button {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: background 0.3s, transform 0.2s;
    width: fit-content;
}

button:hover {
    background-color: #27ae60;
    transform: scale(1.05);
}

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