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

body, html {
    height: 100%;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

.background-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-image: url('chandrian_attack_aftermath.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.counter-container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    /*background: rgba(255, 255, 255, 0.3);*/
    backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 1000px;
    min-width: 600px;
}

.title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.counter-display {
    margin: 40px auto;
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3);
}

.digit-container {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.digit {
    display: block;
    font-size: 100px;
    font-weight: bold;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease-out;
    font-family: 'Courier New', monospace;
    text-align: center;
}

.digit.comma {
    width: auto;
    min-width: auto;
    margin: 0 0px;
}




.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin: 30px 0 20px 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #0080ff);
    border-radius: 4px;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.progress-text {
    font-size: 1rem;
    opacity: 0.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive design */
@media (max-width: 768px) {
    .counter-container {
        min-width: 500px;
        padding: 30px 20px;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .digit {
        font-size: 2.8rem;
    }
    
    .digit-container {
        height: 100px;
        width: 50px;
        min-width: 50px;
        flex: 0 0 50px;
    }
    
    .counter-display {
        height: 100px;
        gap: 3px;
        max-width: 500px;
    }
}

@media (max-width: 600px) {
    .counter-container {
        min-width: 400px;
        padding: 25px 15px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .digit {
        font-size: 2.2rem;
    }
    
    .digit-container {
        height: 80px;
        width: 40px;
        min-width: 40px;
        flex: 0 0 40px;
    }
    
    .counter-display {
        height: 80px;
        gap: 2px;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .counter-container {
        min-width: 350px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .digit {
        font-size: 2rem;
    }
    
    .digit-container {
        height: 70px;
        width: 35px;
        min-width: 35px;
        flex: 0 0 35px;
    }
    
    .counter-display {
        height: 70px;
        gap: 1px;
        max-width: 350px;
    }
}
