/* Importando uma fonte pixelada do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
    --pixel-bg: #1a1a2e;
    --pixel-border: #ffffff;
    --uk-red: #ff4d4d;
    --uk-blue: #4dffff;
    --uk-yellow: #ffff4d;
}

body {
    background-color: #0f0f1b;
    background-image: 
        linear-gradient(45deg, #151525 25%, transparent 25%), 
        linear-gradient(-45deg, #151525 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #151525 75%), 
        linear-gradient(-45deg, transparent 75%, #151525 75%);
    background-size: 40px 40px; /* Fundo quadriculado sutil */
    color: white;
    font-family: 'Press Start 2P', cursive; /* Fonte de videogame */
    font-size: 12px;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.game-container {
    max-width: 600px;
    width: 100%;
}

/* Bordas estilo Pixel Art */
.pixel-box, .pixel-nav, .pixel-btn {
    background: var(--pixel-bg);
    border: 4px solid white;
    box-shadow: 
        0 4px 0 0 #000, 
        0 -4px 0 0 #000, 
        4px 0 0 0 #000, 
        -4px 0 0 0 #000;
    padding: 20px;
    margin-bottom: 20px;
}

.pixel-header {
    text-align: center;
    color: var(--uk-red);
    text-shadow: 4px 4px 0px #000;
    margin-bottom: 30px;
}

h1 { font-size: 24px; margin-bottom: 10px; }

/* Navegação colorida */
.pixel-nav {
    display: flex;
    justify-content: space-around;
    background: #252545;
}

.pixel-nav a {
    color: var(--uk-blue);
    text-decoration: none;
}

.pixel-nav a:hover {
    color: var(--uk-yellow);
}

/* Elementos de Jogo */
.title-yellow { color: var(--uk-yellow); margin-top: 0; }

.stats-grid {
    display: grid;
    gap: 10px;
    color: var(--uk-blue);
}

.pixel-divider {
    border: none;
    height: 4px;
    background: white;
    margin: 20px 0;
}

.image-placeholder {
    width: 100%;
    height: 150px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px dashed #666;
    image-rendering: pixelated;
}

/* Botão Cartunesco */
.pixel-btn {
    display: block;
    width: 100%;
    background: var(--uk-red);
    color: white;
    cursor: pointer;
    font-family: 'Press Start 2P', cursive;
    transition: transform 0.1s;
}

.pixel-btn:active {
    transform: translateY(4px);
    box-shadow: none;
}

.pixel-footer {
    text-align: center;
    font-size: 8px;
    opacity: 0.7;
}

/* Avatar Simples Pixelado */
.v1-avatar {
    width: 64px;
    height: 64px;
    background: var(--uk-blue);
    margin: 0 auto 10px;
    box-shadow: 4px 4px 0 black;
    border: 4px solid white;
}