/* Estilo inspirado no Fallout */
@import url('fonts.css');

:root {
    --pip-boy-green: #2ec12e;
    --pip-boy-dark: #0a280a;
    --fallout-yellow: #ffd800;
    --rust-brown: #8b4513;
    --metal-gray: #707070;
    --aged-paper: #e8d8a9;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--pip-boy-dark); /* Fundo escuro estilo Pip-Boy */
    font-family: 'Monofonto', 'Overseer', monospace;
    overflow-x: hidden;
    color: var(--pip-boy-green);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><rect width="4" height="4" fill="%230a280a"/><rect width="1" height="1" fill="%23072007"/></svg>');
    text-shadow: 0 0 5px var(--pip-boy-green);
}

.game-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px; /* Limita a largura máxima do layout */
    padding: 0 10px;
}

#game-container {
    border: 4px solid var(--metal-gray); /* Borda metálica */
    border-radius: 5px;
    box-shadow: 0 0 10px var(--pip-boy-green), inset 0 0 5px var(--pip-boy-green);
    overflow: hidden; /* Ensure nothing spills out */
    flex-shrink: 0;
    position: relative;
}

#game-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: linear-gradient(rgba(46, 193, 46, 0.03), rgba(46, 193, 46, 0.02));
    z-index: 10;
}

.ad-container {
    width: 160px;
    height: 600px;
    margin: 0 10px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    border: 2px solid var(--metal-gray);
    border-radius: 3px;
    padding: 5px;
    background-color: rgba(10, 40, 10, 0.7);
    box-shadow: 0 0 5px var(--pip-boy-green);
}

canvas {
    display: block; /* Remove extra space below canvas */
    image-rendering: pixelated; /* Manter o estilo pixelado */
}

/* Responsividade - esconde anúncios em telas menores */
@media (max-width: 800px) {
    .ad-container {
        display: none;
    }
}