@keyframes breathing {
    0%, 100% {
        transform: scale(1.0);
    }
    50% {
        transform: scale(1.2);
    }
}

.breathing {
    animation: breathing 6s ease-in-out infinite;
    display: inline-block;
    transition: color 0.6s ease;
}

.vesmirny-odpočet-wrapper {
    background: transparent;
    padding: 40px;
    text-align: center;
    border-radius: 56px;
    color: #0;
    font-family: 'Orbitron', 'Courier New', monospace;
    font-size: 2rem;
    margin: 40px auto;
    max-width: 500px;
    position: relative;
    z-index: 50;
    border: 1px solid #ff6600;
    transition: 
        color 5.1s ease,
        background-color 0.5s ease,
        border-color 0.3s ease,
        border-radius 5.5s ease,
        transform 10.9s ease;
    will-change: transform;
    animation: pulse 6s infinite ease-in-out;
}

.vesmirny-odpočet-wrapper:hover {
    color: orangered;
    background-color: rgba(0, 0, 50, 0.5);
    border-color: #ffa07a;
    transform: scale(1.1);
}

.vesmirny-odpočet {
    animation: breathing 6s ease-in-out infinite, colorchange 12s infinite ease-in-out;
    display: inline-block;
    transition: color 0.6s ease;
}

.vesmirny-odpočet-wrapper:hover .vesmirny-odpočet {
    color: orangered;
}

.vesmirny-hint {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    font-size: 1rem;
    margin-top: 10px;
    color: #ff4500;
}

.vesmirny-odpočet-wrapper:hover .vesmirny-hint {
    opacity: 1;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 102, 0, 0.3), 0 0 60px rgba(255, 102, 0, 0.1) inset;
    }
    50% {
        box-shadow: 0 0 60px rgba(255, 102, 0, 0.5), 0 0 100px rgba(255, 102, 0, 0.2) inset;
    }
}

@keyframes colorchange {
    0%   { color: #ff6600; }
    25%  { color: #ff7744; }
    50%  { color: #ff8855; }
    75%  { color: #ff9966; }
    100% { color: #ff6600; }
}
