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

body, html {
    height: 100%;
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #fff;
    overflow: hidden;
}

.offline-wrapper {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Укажите путь к вашей картинке ниже */
    background: /*linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),*/ 
                url('../dleimages/offline.jpg') no-repeat center center;
    background-size: cover;
}

.reason-box {
    padding: 20px;
    max-width: 800px;
}

.reason-box i {
    font-size: 1.8rem;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.countdown-container {
    position: absolute;
    bottom: 50px;
    width: 100%;
}

.countdown-container h3 {
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
}

.flip-clock {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.flip-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.unit-val {
    background: #333;
    background: linear-gradient(to bottom, #444 50%, #222 50%);
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 3rem;
    font-weight: bold;
    min-width: 80px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Эффект горизонтальной линии разделения "перевертыша" */
.unit-val::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.4);
}

.flip-unit span {
    margin-top: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 
    -3px -3px 0 #000,  
     3px -3px 0 #000,
    -3px  3px 0 #000,
     3px  3px 0 #000;
}