body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-color: #404040;
    margin: 0;
    padding: 20px;
}

.container {
    display: flex;
    gap: 20px;
}

h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
}

.status-header {
    /*
    width: 100%;
    max-width: 900px;
    */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background-color: #2a2a2a;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
    color: white;
    box-sizing: border-box;
    align-self: center;
    /* Center the header horizontally */
}

.status-counter-text {
    font-size: 18px;
    font-weight: bold;
    font-family: monospace;
    letter-spacing: 1px;
}

.status-counter-number {
    color: #ff4444;
    font-size: 24px;
    text-shadow: 0 0 5px rgba(255, 68, 68, 0.5);
}

.btn-fetch-new {
    background-color: #44f;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-family: sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s;
}

.btn-fetch-new:hover {
    background-color: #55f;
}

@keyframes tamperPulse {
    0% { background-color: #404040; }
    50% { background-color: #5a1a1a; }
    100% { background-color: #404040; }
}

body.tampered {
    animation: tamperPulse 2s infinite;
}

#explosion-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ffffff 0%, #ffeb3b 20%, #ff5722 50%, transparent 80%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
    z-index: 9999;
    pointer-events: none;
}

@keyframes explode {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        box-shadow: 0 0 100px #ffeb3b;
    }
    40% {
        opacity: 1;
        background: radial-gradient(circle, #fff 0%, #ffeb3b 10%, #ff5722 40%, rgba(200, 20, 0, 0.8) 80%, transparent 100%);
    }
    80% {
        background: radial-gradient(circle, #555 0%, #333 30%, transparent 100%);
    }
    100% {
        transform: translate(-50%, -50%) scale(300);
        opacity: 0;
    }
}

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

body.shaking {
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
    overflow: hidden;
}