* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.login-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(10, 10, 10, 0.9);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #3d2b2b;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
}

.login-container input {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #3d2b2b;
    background: #1a1a1a;
    color: #c8c8c8;
    font-family: 'Courier New', monospace;
}

.login-container button {
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid #3d2b2b;
    background: #2a2020;
    color: #c8c8c8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-container button:hover {
    background: #3d2b2b;
    border-color: #6a3b3b;
}

#error-message {
    color: #ff4444;
    font-size: 0.9em;
    text-align: center;
}

#user-email {
    color: #c8c8c8;
    font-size: 0.9em;
    text-align: center;
    margin-top: 10px;
}

body {
    background-color: #0a0a0a;
    color: #c8c8c8;
    font-family: 'Courier New', monospace;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    overflow: hidden;
    position: relative;
}

/* Rodapé para exibir a mensagem de recursos */
.game-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Removido o fundo preto transparente */
    padding: 3px;
    text-align: center;
    z-index: 100;
    font-size: 0.7em;
}

.game-footer p {
    color: #888;
    margin: 0;
}

.game-container {
    width: 100%;
    max-width: 800px;
    padding: 0;
    height: 98vh;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.resources {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 15px;
    position: relative;
    background: rgba(10, 10, 10, 0.9);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #3d2b2b;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    width: 100%;
    box-sizing: border-box;
}

.resource {
    background-color: #1a1a1a;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #3d2b2b;
    box-shadow: inset 0 0 10px rgba(139, 0, 0, 0.2);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}
#days-counter {
    margin: 5px auto;
    width: 120px;
    height: 28px;
    padding: 0 10px;
    gap: 3px;
    font-size: 0.85em;
    grid-column: 1;
    grid-row: 2;
    text-align: center;
    background: linear-gradient(180deg, #1a1a1a, #2a2a2a);
    border: 1px solid #4a2b2b;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 4px;
    font-size: 0.9em;
    padding: 1px 4px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.2);
    z-index: 100;
    position: relative;
}

.resource-impact-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2a2020, #3d2b2b);
    border: 1px solid #4a2b2b;
    opacity: 0;
    transition: all 0.3s ease;
}

.resource-impact-indicator.negative-low {
    background: linear-gradient(45deg, #ff4444, #cc0000);
    opacity: 0.5;
}

.resource-impact-indicator.negative-high {
    background: linear-gradient(45deg, #ff0000, #aa0000);
    opacity: 0.8;
}

.resource-impact-indicator.positive-low {
    background: linear-gradient(45deg, #44ff44, #00cc00);
    opacity: 0.5;
}

.resource-impact-indicator.positive-high {
    background: linear-gradient(45deg, #00ff00, #00aa00);
    opacity: 0.8;
}

.resource-label {
    font-size: 0.85em;
    flex: 1;
}

.resource-header {
    display: flex;
    align-items: center;
    gap: 5px;
}

.resource-icon {
    width: 20px;
    height: 20px;
    margin: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 2px rgba(255, 0, 0, 0.3));
}

.survivors-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23a33" d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>'); }

.supplies-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23a33" d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 14h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>'); }

.morale-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23a33" d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>'); }

.defenses-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23a33" d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z"/></svg>'); }

.days-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23a33" d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/><path fill="%23a33" d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>'); }

.blood-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23a33" d="M12 2l-4 4h8l-4-4zm-5 6l-4 4h18l-4-4H7zm-4 6v2c0 3.3 2.7 6 6 6h6c3.3 0 6-2.7 6-6v-2H3z"/></svg>'); opacity: 0.8; }

.infection-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23a33" d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8-8-3.6 8-8 8zm1.5-8c.8 0 1.5-.7 1.5-1.5S14.3 9 13.5 9 12 9.7 12 10.5s.7 1.5 1.5 1.5zm-3 0c.8 0 1.5-.7 1.5-1.5S11.3 9 10.5 9 9 9.7 9 10.5s.7 1.5 1.5 1.5zm1.5 1c-1.9 0-3.5 1.6-3.5 3.5h7c0-1.9-1.6-3.5-3.5-3.5z"/></svg>'); opacity: 0.8; }

.resource-label {
    color: #a33;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

.hotbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 8px;
    z-index: 1;
}

.hotbar-slot {
    width: 40px;
    height: 40px;
    background: #2a2020;
    border: 1px solid #4a2b2b;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.hotbar-slot:hover {
    background: #3d2b2b;
    border-color: #6a3b3b;
}

.hotbar-item {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    color: #ddd;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.item-menu {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 26, 0.95);
    border: 2px solid #4a2b2b;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    min-width: 120px;
    display: none;
    z-index: 1000;
}

.item-menu.active {
    display: block;
}

.item-menu-button {
    width: 100%;
    padding: 8px;
    margin: 4px 0;
    background: #2a2020;
    border: 1px solid #4a2b2b;
    color: #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-menu-button:hover {
    background: linear-gradient(to bottom, #3d2b2b, #4a2b2b);
    transform: scale(1.05);
    border-color: #6a3b3b;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .game-container {
        height: auto;
        min-height: 98vh;
    }
    .resources {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
        box-sizing: border-box;
        padding: 5px;
        margin-bottom: 10px;
    }

    .resource {
        width: 100%;
        padding: 5px;
        box-sizing: border-box;
        text-align: center;
        margin: 0;
    }
    
    .resource-label {
        display: none;
    }
    
    .resource {
        padding: 5px;
        box-sizing: border-box;
        text-align: center;
    }
    
    .resource-icon {
        width: 32px;
        height: 32px;
    }
    
    .progress-bar {
        margin-top: 5px;
    }
    
    #days-counter {
        width: 100%;
        height: 35px;
        padding: 5px;
        margin: 10px 0;
        border-radius: 0;
        box-sizing: border-box;
        order: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .choices {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #3d2b2b;
    }
}

.resource-value {
    margin-left: 10px;
    color: #00ff00;
    font-size: 1.2em;
    font-weight: bold;
}

.progress-bar {
    width: 100%;
    height: 15px;
    background-color: #2a2a2a;
    border-radius: 7px;
    margin-top: 5px;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2a6b2a, #4a9b4a);
    transition: width 0.5s ease-out;
    border-radius: 7px;
    box-shadow: 0 0 10px rgba(74, 155, 74, 0.5);
}

.card-container {
    background-color: rgba(26, 26, 26, 0.9);
    border: 3px solid #3d2b2b;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 30px rgba(139, 0, 0, 0.3);
    position: relative;
    backdrop-filter: blur(5px);
}

.card {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-image {
    width: 100%;
    height: 200px;
    background-color: #2a2a2a;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    border: 2px solid #3d2b2b;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.2);
    position: relative;
}

.expansion-tag {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 215, 0, 0.8);
    color: #000;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: bold;
    display: none;
    pointer-events: none;
    z-index: 2;
}

.expansion-tag.world-expansion {
    background: rgba(65, 105, 225, 0.85);
    color: #f0f6ff;
    border: 1px solid rgba(173, 216, 230, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-text {
    font-family: 'Open Sans', 'Roboto', Arial, sans-serif;
    font-size: 1em;
    line-height: 1.6;
    text-align: center;
    color: #ffffff;
    font-weight: 500;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    letter-spacing: 0.02em;
}

.card-text.consequence-text {
    white-space: normal;
    font-weight: 600;
    font-size: 0.9em;
    padding: 0 10px;
}

.card-text.consequence-text .consequence-line {
    display: block;
    margin-bottom: 0.45em;
}

.card-text.consequence-text .consequence-line:last-child {
    margin-bottom: 0;
}

.card-text.consequence-text .consequence-line.paragraph-start {
    margin-top: 0.9em;
}

.card-text.consequence-text.consequence-positive {
    color: #4cc768;
}

.card-text.consequence-text.consequence-negative {
    color: #ff5252;
}

.card-text.consequence-text.consequence-neutral {
    color: #f5f5f5;
}

.card.showing-consequence .card-content {
    justify-content: center;
}

.card-image {
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.card.showing-consequence .card-image {
    opacity: 0.35;
    filter: saturate(0.7);
}

@media (min-width: 1024px) {
    .card-text.consequence-text {
        font-size: 0.95em;
        max-width: 520px;
        margin: 0 auto;
        padding: 0 30px;
    }
}

.hotbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 8px;
    z-index: 1;
}

.hotbar-slot {
    width: 40px;
    height: 40px;
    background: #2a2020;
    border: 1px solid #4a2b2b;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.hotbar-slot:hover {
    background: #3d2b2b;
    border-color: #6a3b3b;
}

.hotbar-item {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    color: #ddd;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.item-menu {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 26, 0.95);
    border: 2px solid #4a2b2b;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    min-width: 120px;
    display: none;
    z-index: 1000;
}

.item-menu.active {
    display: block;
}

.item-menu-button {
    width: 100%;
    padding: 8px;
    margin: 4px 0;
    background: #2a2020;
    border: 1px solid #4a2b2b;
    color: #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.2);
}

.item-menu-button:hover {
    background: linear-gradient(to bottom, #3d2b2b, #4a2b2b);
    transform: scale(1.05);
    border-color: #6a3b3b;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.4);
}

.blood-icon.active {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.ad-container {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    z-index: 999;
    display: none; /* Oculto por padrão */
}

.ad-container.left {
    left: 10px;
}

.ad-container.right {
    right: 10px;
}

/* Mostrar anúncios apenas quando a classe show-ads está presente no body */
body.show-ads .ad-container {
    display: block;
}

@media (max-width: 1200px) {
    .ad-container {
        display: none;
    }
    
    .menu-container {
        flex-direction: column;
    }
    
    .menu-buttons {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .menu-description {
        max-width: 100%;
        margin-top: 15px;
    }
}
.ad-container {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    z-index: 999;
    display: none; /* Oculto por padrão */
}

.ad-container.left {
    left: 10px;
}

.ad-container.right {
    right: 10px;
}

/* Mostrar anúncios apenas quando a classe show-ads está presente no body */
body.show-ads .ad-container {
    display: block;
}

@media (max-width: 1200px) {
    .ad-container {
        display: none;
    }
    
    .menu-container {
        flex-direction: column;
    }
    
    .menu-buttons {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .menu-description {
        max-width: 100%;
        margin-top: 15px;
    }
}

@keyframes initialCardHint {
    0% { transform: translateX(0); opacity: 1; }
    20% { transform: translateX(-20px); opacity: 0.8; }
    50% { transform: translateX(0); opacity: 1; }
    80% { transform: translateX(20px); opacity: 0.8; }
    100% { transform: translateX(0); opacity: 1; }
}

.card.initial-hint {
    animation: initialCardHint 3s ease-in-out infinite;
    animation-delay: 0.5s;
    pointer-events: none;
}

.item-menu-button:hover {
    background: linear-gradient(to bottom, #3d2b2b, #4a2b2b);
    transform: scale(1.05);
    border-color: #6a3b3b;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.4);
}

.blood-icon.active {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.ad-container {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    z-index: 999;
    display: none; /* Oculto por padrão */
}

.ad-container.left {
    left: 10px;
}

.ad-container.right {
    right: 10px;
}

/* Mostrar anúncios apenas quando a classe show-ads está presente no body */
body.show-ads .ad-container {
    display: block;
}

@media (max-width: 1200px) {
    .ad-container {
        display: none;
    }
    
    .menu-container {
        flex-direction: column;
    }
    
    .menu-buttons {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .menu-description {
        max-width: 100%;
        margin-top: 15px;
    }
}
.menu-container {
    display: flex;
    margin-top: 5px;
    justify-content: center;
    align-items: center;
    gap: 0;
    grid-column: 2 / span 1;
    grid-row: 2;
    width: 100%;
}

.menu-buttons {
    display: flex;
    flex-direction: row;
    gap: 0;
    justify-content: center;
}

.menu-button {
    padding: 6px 12px; /* Reduzido o padding para diminuir o tamanho dos botões */
    background: linear-gradient(to bottom, #2a2020, #3d2b2b);
    color: #ddd;
    border: 1px solid #4a2b2b;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.2);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    margin: 0; /* Garantir que não haja margem */
}

.menu-button:hover {
    background: linear-gradient(to bottom, #3d2b2b, #4a2b2b);
    transform: scale(1.05);
    border-color: #6a3b3b;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.4);
}

.menu-button.logged {
    background: linear-gradient(to bottom, #1a4a1a, #2a6a2a) !important;
    color: white !important;
    border-color: #2a6a2a;
}

.menu-description {
    flex: 1;
    color: #ddd;
    font-family: 'Courier New', monospace;
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #4a2b2b;
    max-width: 60%;
}

/* Efeito de brilho para o botão Mundo */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: glowEffect 3s infinite;
}

@keyframes glowEffect {
    0% {
        left: -50%;
    }
    100% {
        left: 100%;
    }
}

.choice-btn:active {
    transform: scale(0.95);
}

.card {
    background-color: #2a2020;
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    text-align: center;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: grab;
    user-select: none;
    touch-action: none;
    transform: translateX(0) rotate(0);
    transition: all 0.3s ease-out;
    border: 1px solid #4a2b2b;
    color: #000000;
    flex: 1;
}

.damage-card-1 { background: linear-gradient(45deg, #4a2b2b, #6a3b3b); border-color: #8b0000; }
.damage-card-2 { background: linear-gradient(45deg, #6a3b3b, #8b4b4b); border-color: #a30000; }
.damage-card-3 { background: linear-gradient(45deg, #8b4b4b, #ac5c5c); border-color: #b70000; }
.damage-card-4 { background: linear-gradient(45deg, #ac5c5c, #cd6d6d); border-color: #cc0000; }
.damage-card-5 { background: linear-gradient(45deg, #cd6d6d, #ee7e7e); border-color: #ff0000; box-shadow: 0 0 25px rgba(255, 0, 0, 0.3); }

.card.meta-sequence {
    background-color: #ffa500 !important;
    border: 2px solid #ff8c00 !important;
    box-shadow: 0 0 25px rgba(255, 165, 0, 0.4) !important;
    color: #000000 !important;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.death-popup {
    background-color: #2a1f1f;
    border: 3px solid #8b0000;
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 30px rgba(139, 0, 0, 0.5);
}

.death-popup h2 {
    color: #ff4444;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.death-popup p {
    margin: 15px 0;
    font-size: 1.2em;
    line-height: 1.5;
    color: #ddd;
}



#days-counter .days-icon {
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23a33" d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/><path fill="%23a33" d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>');
    background-size: contain;
    margin: 0;
}

/* Fazer com que todo o container do contador de dias tenha o tooltip, não apenas o ícone */
#days-counter {
    cursor: pointer;
}

#days-counter .blood-icon,
#days-counter .infection-icon {
    width: 24px;
    height: 24px;
    margin: 0;
    opacity: 0.3;
    background-size: contain;
}

#days-counter .blood-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23a33" d="M12 2L8 6H16L12 2M7 8L3 12H21L17 8H7M3 14V16C3 19.3 5.7 22 9 22H15C18.3 22 21 19.3 21 16V14H3Z"/></svg>');
}

#days-counter .infection-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23a33" d="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M12 20C7.6 20 4 16.4 4 12S7.6 4 12 4 20 7.6 20 12 16.4 20 12 20M13.5 12C14.3 12 15 11.3 15 10.5S14.3 9 13.5 9 12 9.7 12 10.5s.7 1.5 1.5 1.5zm-3 0c.8 0 1.5-.7 1.5-1.5S11.3 9 10.5 9 9 9.7 9 10.5s.7 1.5 1.5 1.5zm1.5 1c-1.9 0-3.5 1.6-3.5 3.5h7c0-1.9-1.6-3.5-3.5-3.5z"/></svg>');
}

#days-counter .infection-icon.active {
    opacity: 1;
    animation: pulse 2s infinite;
}
#days-counter .blood-icon.active {
    opacity: 1;
    animation: pulse 2s infinite;
}

#days-counter .days-progress {
    width: 100%;
    height: 8px;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    margin: 5px 0;
}

.item-card {
    background: linear-gradient(45deg, #2a1f1f, #3d2b2b);
    border: 2px solid #4a2b2b;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.item-icon {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #ff4444;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
    border: 2px solid #4a2b2b;
}

.item-details {
    flex: 1;
    text-align: left;
}

.item-name {
    font-size: 1.1em;
    color: #ff4444;
    margin-bottom: 5px;
}

.item-description {
    font-size: 0.9em;
    color: #888;
}

#days-counter .days-progress-fill {
    height: 100%;
    background: linear-gradient(0deg, #4a2b2b, #8b0000);
    width: var(--progress, 0%);
    transition: width 0.3s ease;
}

#days-counter .days-label {
    font-size: 0.8em;
    color: #888;
    margin-right: 5px;
}

@keyframes cardPulse {
    0% { transform: scale(1); box-shadow: 0 0 25px rgba(139, 0, 139, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 0 35px rgba(139, 0, 139, 0.6); }
    100% { transform: scale(1); box-shadow: 0 0 25px rgba(139, 0, 139, 0.4); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

.meta-sequence-start {
    animation: shake 0.5s ease-in-out;
}

.card.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-out;
}

.card.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease-in;
}

.resource-value {
    margin-left: 10px;
    color: #00ff00;
    transition: color 0.3s;
}

.resource-value.decrease {
    color: #ff4444;
}

.resource-value.increase {
    color: #44ff44;
}

.choice-btn:active {
    background-color: #555;
}

.item-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(26, 26, 26, 0.95);
    border: 2px solid #4a2b2b;
    border-radius: 8px;
    padding: 15px;
    color: #ddd;
    z-index: 1000;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.item-notification h3 {
    color: #ff4444;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.item-notification p {
    font-size: 0.9em;
    line-height: 1.4;
}

.item-menu {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 26, 0.95);
    border: 2px solid #4a2b2b;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    min-width: 120px;
    display: none;
    z-index: 1000;
}

.item-menu.active {
    display: block;
}

.item-menu-button {
    width: 100%;
    padding: 8px;
    margin: 4px 0;
    background: linear-gradient(to bottom, #2a2020, #3d2b2b);
    border: 1px solid #4a2b2b;
    color: #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.2);
}

.item-menu-button:hover {
    background: linear-gradient(to bottom, #3d2b2b, #4a2b2b);
    transform: scale(1.05);
    border-color: #6a3b3b;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.4);
}

.blood-icon.active {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.ad-container {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    z-index: 999;
    display: none; /* Oculto por padrão */
}

.ad-container.left {
    left: 10px;
}

.ad-container.right {
    right: 10px;
}

/* Mostrar anúncios apenas quando a classe show-ads está presente no body */
body.show-ads .ad-container {
    display: block;
}

@media (max-width: 1200px) {
    .ad-container {
        display: none;
    }
    
    .menu-container {
        flex-direction: column;
    }
    
    .menu-buttons {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .menu-description {
        max-width: 100%;
        margin-top: 15px;
    }
}
.ad-container {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    z-index: 999;
    display: none; /* Oculto por padrão */
}

.ad-container.left {
    left: 10px;
}

.ad-container.right {
    right: 10px;
}

/* Mostrar anúncios apenas quando a classe show-ads está presente no body */
body.show-ads .ad-container {
    display: block;
}

@media (max-width: 1200px) {
    .ad-container {
        display: none;
    }
    
    .menu-container {
        flex-direction: column;
    }
    
    .menu-buttons {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .menu-description {
        max-width: 100%;
        margin-top: 15px;
    }
}

@keyframes initialCardHint {
    0% { transform: translateX(0); opacity: 1; }
    20% { transform: translateX(-20px); opacity: 0.8; }
    50% { transform: translateX(0); opacity: 1; }
    80% { transform: translateX(20px); opacity: 0.8; }
    100% { transform: translateX(0); opacity: 1; }
}

.card.initial-hint {
    animation: initialCardHint 3s ease-in-out infinite;
    animation-delay: 0.5s;
    pointer-events: none;
}

.item-menu-button:hover {
    background: linear-gradient(to bottom, #3d2b2b, #4a2b2b);
    transform: scale(1.05);
    border-color: #6a3b3b;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.4);
}

.blood-icon.active {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.ad-container {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    z-index: 999;
    display: none; /* Oculto por padrão */
}

.ad-container.left {
    left: 10px;
}

.ad-container.right {
    right: 10px;
}

/* Mostrar anúncios apenas quando a classe show-ads está presente no body */
body.show-ads .ad-container {
    display: block;
}

@media (max-width: 1200px) {
    .ad-container {
        display: none;
    }
    
    .menu-container {
        flex-direction: column;
    }
    
    .menu-buttons {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .menu-description {
        max-width: 100%;
        margin-top: 15px;
    }
}
.menu-container {
    display: flex;
    margin-top: 5px;
    justify-content: center;
    align-items: center;
    gap: 0;
    grid-column: 2 / span 1;
    grid-row: 2;
    width: 100%;
}

.menu-buttons {
    display: flex;
    flex-direction: row;
    gap: 0;
    justify-content: center;
}

.menu-button {
    padding: 8px 16px;
    background: linear-gradient(to bottom, #2a2020, #3d2b2b);
    color: #ddd;
    border: 1px solid #4a2b2b;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.2);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    margin: 0;
}

.menu-button:hover {
    background: linear-gradient(to bottom, #3d2b2b, #4a2b2b);
    transform: scale(1.05);
    border-color: #6a3b3b;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.4);
}

.menu-button.logged {
    background: linear-gradient(to bottom, #1a4a1a, #2a6a2a) !important;
    color: white !important;
    border-color: #2a6a2a;
}

.menu-description {
    flex: 1;
    color: #ddd;
    font-family: 'Courier New', monospace;
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #4a2b2b;
    max-width: 60%;
}

/* Efeito de brilho para o botão Mundo */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: glowEffect 3s infinite;
}

@keyframes glowEffect {
    0% {
        left: -50%;
    }
    100% {
        left: 100%;
    }
}

.choice-btn:active {
    transform: scale(0.95);
}

.card {
    background-color: #2a2020;
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    text-align: center;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: grab;
    user-select: none;
    touch-action: none;
    transform: translateX(0) rotate(0);
    transition: all 0.3s ease-out;
    border: 1px solid #4a2b2b;
    color: #000000;
    flex: 1;
}

.damage-card-1 { background: linear-gradient(45deg, #4a2b2b, #6a3b3b); border-color: #8b0000; }
.damage-card-2 { background: linear-gradient(45deg, #6a3b3b, #8b4b4b); border-color: #a30000; }
.damage-card-3 { background: linear-gradient(45deg, #8b4b4b, #ac5c5c); border-color: #b70000; }
.damage-card-4 { background: linear-gradient(45deg, #ac5c5c, #cd6d6d); border-color: #cc0000; }
.damage-card-5 { background: linear-gradient(45deg, #cd6d6d, #ee7e7e); border-color: #ff0000; box-shadow: 0 0 25px rgba(255, 0, 0, 0.3); }

.card.meta-sequence {
    background-color: #ffa500 !important;
    border: 2px solid #ff8c00 !important;
    box-shadow: 0 0 25px rgba(255, 165, 0, 0.4) !important;
    color: #000000 !important;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.death-popup {
    background-color: #2a1f1f;
    border: 3px solid #8b0000;
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 30px rgba(139, 0, 0, 0.5);
}

.death-popup h2 {
    color: #ff4444;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.death-popup p {
    margin: 15px 0;
    font-size: 1.2em;
    line-height: 1.5;
    color: #ddd;
}



#days-counter .days-icon {
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23a33" d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/><path fill="%23a33" d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>');
    background-size: contain;
    margin: 0;
}

/* Fazer com que todo o container do contador de dias tenha o tooltip, não apenas o ícone */
#days-counter {
    cursor: pointer;
}

#days-counter .blood-icon,
#days-counter .infection-icon {
    width: 24px;
    height: 24px;
    margin: 0;
    opacity: 0.3;
    background-size: contain;
}

#days-counter .blood-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23a33" d="M12 2L8 6H16L12 2M7 8L3 12H21L17 8H7M3 14V16C3 19.3 5.7 22 9 22H15C18.3 22 21 19.3 21 16V14H3Z"/></svg>');
}

#days-counter .infection-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23a33" d="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M12 20C7.6 20 4 16.4 4 12S7.6 4 12 4 20 7.6 20 12 16.4 20 12 20M13.5 12C14.3 12 15 11.3 15 10.5S14.3 9 13.5 9 12 9.7 12 10.5s.7 1.5 1.5 1.5zm-3 0c.8 0 1.5-.7 1.5-1.5S11.3 9 10.5 9 9 9.7 9 10.5s.7 1.5 1.5 1.5zm1.5 1c-1.9 0-3.5 1.6-3.5 3.5h7c0-1.9-1.6-3.5-3.5-3.5z"/></svg>');
}

#days-counter .infection-icon.active {
    opacity: 1;
    animation: pulse 2s infinite;
}

#days-counter .days-progress {
    width: 100%;
    height: 8px;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    margin: 5px 0;
}

.item-card {
    background: linear-gradient(45deg, #2a1f1f, #3d2b2b);
    border: 2px solid #4a2b2b;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.item-icon {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #ff4444;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
    border: 2px solid #4a2b2b;
}

.item-details {
    flex: 1;
    text-align: left;
}

.item-name {
    font-size: 1.1em;
    color: #ff4444;
    margin-bottom: 5px;
}

.item-description {
    font-size: 0.9em;
    color: #888;
}

#days-counter .days-progress-fill {
    height: 100%;
    background: linear-gradient(0deg, #4a2b2b, #8b0000);
    width: var(--progress, 0%);
    transition: width 0.3s ease;
}

#days-counter .days-label {
    font-size: 0.8em;
    color: #888;
    margin-right: 5px;
}

@keyframes cardPulse {
    0% { transform: scale(1); box-shadow: 0 0 25px rgba(139, 0, 139, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 0 35px rgba(139, 0, 139, 0.6); }
    100% { transform: scale(1); box-shadow: 0 0 25px rgba(139, 0, 139, 0.4); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

.meta-sequence-start {
    animation: shake 0.5s ease-in-out;
}

.card.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-out;
}

.card.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease-in;
}

.resource-value {
    margin-left: 10px;
    color: #00ff00;
    transition: color 0.3s;
}

.resource-value.decrease {
    color: #ff4444;
}

.resource-value.increase {
    color: #44ff44;
}

.choice-btn:active {
    background-color: #555;
}

.item-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(26, 26, 26, 0.95);
    border: 2px solid #4a2b2b;
    border-radius: 8px;
    padding: 15px;
    color: #ddd;
    z-index: 1000;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.item-notification h3 {
    color: #ff4444;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.item-notification p {
    font-size: 0.9em;
    line-height: 1.4;
}

.item-menu {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 26, 0.95);
    border: 2px solid #4a2b2b;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    min-width: 120px;
    display: none;
    z-index: 1000;
}

.item-menu.active {
    display: block;
}

.item-menu-button {
    width: 100%;
    padding: 8px;
    margin: 4px 0;
    background: #2a2020;
    border: 1px solid #4a2b2b;
    color: #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-menu-button:hover {
    background: linear-gradient(to bottom, #3d2b2b, #4a2b2b);
    transform: scale(1.05);
    border-color: #6a3b3b;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.4);
}

.blood-icon.active {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.ad-container {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    z-index: 999;
    display: none; /* Oculto por padrão */
}

.ad-container.left {
    left: 10px;
}

.ad-container.right {
    right: 10px;
}

/* Mostrar anúncios apenas quando a classe show-ads está presente no body */
body.show-ads .ad-container {
    display: block;
}

@media (max-width: 1200px) {
    .ad-container {
        display: none;
    }
    
    .menu-container {
        flex-direction: column;
    }
    
    .menu-buttons {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .menu-description {
        max-width: 100%;
        margin-top: 15px;
    }
}
.ad-container {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    z-index: 999;
    display: none; /* Oculto por padrão */
}

.ad-container.left {
    left: 10px;
}

.ad-container.right {
    right: 10px;
}

/* Mostrar anúncios apenas quando a classe show-ads está presente no body */
body.show-ads .ad-container {
    display: block;
}

@media (max-width: 1200px) {
    .ad-container {
        display: none;
    }
    
    .menu-container {
        flex-direction: column;
    }
    
    .menu-buttons {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .menu-description {
        max-width: 100%;
        margin-top: 15px;
    }
}

@keyframes initialCardHint {
    0% { transform: translateX(0); opacity: 1; }
    20% { transform: translateX(-20px); opacity: 0.8; }
    50% { transform: translateX(0); opacity: 1; }
    80% { transform: translateX(20px); opacity: 0.8; }
    100% { transform: translateX(0); opacity: 1; }
}

.card.initial-hint {
    animation: initialCardHint 3s ease-in-out infinite;
    animation-delay: 0.5s;
    pointer-events: none;
}

.item-menu-button:hover {
    background: linear-gradient(to bottom, #3d2b2b, #4a2b2b);
    transform: scale(1.05);
    border-color: #6a3b3b;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.4);
}

.blood-icon.active {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* Estilos para localizações do mapa */
.map-location {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #666;
    background: linear-gradient(45deg, #666, #888);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(102, 102, 102, 0.4);
}

.map-location:hover {
    transform: scale(1.1);
}

.map-location.active {
    transform: scale(1.2);
    z-index: 10;
}

.map-location.unlocked {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    border-color: #4CAF50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.6);
}

.map-location.available {
    background: linear-gradient(45deg, #FF9800, #FFB74D);
    border-color: #FF9800;
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.6);
    animation: glow 2s infinite alternate;
}

.map-location.locked {
    background: linear-gradient(45deg, #666, #888);
    border-color: #666;
    box-shadow: 0 0 10px rgba(102, 102, 102, 0.4);
}

@keyframes glow {
    from {
        box-shadow: 0 0 15px rgba(255, 152, 0, 0.6);
    }
    to {
        box-shadow: 0 0 25px rgba(255, 152, 0, 0.9);
    }
}

.unlock-button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #666;
    color: white;
    border: none;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.unlock-button:hover {
    transform: scale(1.1);
}

.world-map {
    position: relative;
    width: 100%;
    height: 300px;
    background: url('assets/images/map.png') center/cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.world-map-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.location-info {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.location-info h3 {
    color: #ddd;
    margin-bottom: 10px;
}

.location-info p {
    color: #bbb;
    line-height: 1.4;
    margin-bottom: 8px;
}

.ad-container {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
    z-index: 999;
    display: none; /* Oculto por padrão */
}

.ad-container.left {
    left: 10px;
}

.ad-container.right {
    right: 10px;
}

/* Mostrar anúncios apenas quando a classe show-ads está presente no body */
body.show-ads .ad-container {
    display: block;
}

@media (max-width: 1200px) {
    .ad-container {
        display: none;
    }
    
    .menu-container {
        flex-direction: column;
    }
    
    .menu-buttons {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .menu-description {
        max-width: 100%;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .game-container {
        height: auto;
        min-height: 98vh;
    }
    .resources {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
        box-sizing: border-box;
        padding: 5px;
        margin-bottom: 10px;
    }

    .resource {
        width: 100%;
        padding: 5px;
        box-sizing: border-box;
        text-align: center;
        margin: 0;
    }
    
    .resource-label {
        display: none;
    }
    
    .resource {
        padding: 5px;
        box-sizing: border-box;
        text-align: center;
    }
    
    .resource-icon {
        width: 32px;
        height: 32px;
    }
    
    .progress-bar {
        margin-top: 5px;
    }
    
    #days-counter {
        width: 100%;
        height: 35px;
        padding: 5px;
        margin: 10px 0;
        border-radius: 0;
        box-sizing: border-box;
        order: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .choices {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #3d2b2b;
    }
    
    .world-map-container {
        flex-direction: column;
    }
    
    .world-map {
        height: 250px;
    }
    
    .map-location {
        width: 35px;
        height: 35px;
    }
    
    .unlock-button {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}