* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background-color: #1a1a1a;
    color: #f0f0f0;
    overflow: hidden;
}

#game-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

#hud {
    background-color: #2a2a2a;
    padding: 10px 20px;
    border-bottom: 2px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
}

#game-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
}

#stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

#stats span {
    color: #aaa;
}

#stats span span {
    color: #fff;
    font-weight: bold;
}

#game-canvas {
    flex: 1;
    background-color: #000;
    display: block;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

#debug-log {
    background-color: #1a1a1a;
    border-top: 1px solid #444;
    padding: 10px;
    font-size: 12px;
    max-height: 150px;
    overflow-y: auto;
    color: #888;
}

/* Overlay UI Divine */
#divine-overlay {
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: rgba(26, 26, 26, 0.95);
    border: 2px solid #444;
    border-radius: 8px;
    padding: 15px;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.divine-section {
    margin-bottom: 15px;
}

.divine-section:last-child {
    margin-bottom: 0;
}

.divine-label {
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: bold;
}

.divine-value {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
}

.divine-subinfo {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

/* Barres de progression */
.divine-bar-container {
    width: 100%;
    height: 20px;
    background-color: #222;
    border: 1px solid #444;
    border-radius: 4px;
    overflow: hidden;
    margin: 5px 0;
}

.divine-bar {
    height: 100%;
    transition: width 0.3s ease;
}

.energy-bar {
    background: linear-gradient(90deg, #4169e1, #6495ed);
    box-shadow: 0 0 10px rgba(65, 105, 225, 0.5);
}

.corruption-bar {
    background: linear-gradient(90deg, #8b008b, #ff1493);
    box-shadow: 0 0 10px rgba(139, 0, 139, 0.5);
}
