* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    @font-face {
    font-family: 'Cinzel';
    src: url('Cinzel-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cinzel';
    src: url('Cinzel-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

}

html, body {
    height: 100%;
    font-family: 'Cinzel', serif;
}

body {
    background: url("earth.jpg") no-repeat center center / cover; /* fallback */
    background: url("earth.webp") no-repeat center center / cover;
}

/* Затемнение + космический градиент */
.overlay {
    height: 100%;
    width: 100%;
    background:
        radial-gradient(circle at top, rgba(60, 80, 160, 0.35), rgba(0, 0, 0, 0.85)),
        rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content {
    text-align: center;
    color: #eaf2ff;

    text-shadow:
        0 0 14px rgba(140, 180, 255, 0.9),
        0 0 32px rgba(140, 180, 255, 0.45);

    opacity: 1;
}

.title {
    font-size: 42px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.countdown {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 3px;
}

/* ✨ Плавное появление */
.fade-in {
    animation:
        fadeInUp 2s ease-out forwards,
        breathe 6s ease-in-out infinite 2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 🌌 Космическое дыхание */
.breathe {
    animation:
        fadeInUp 2s ease-out forwards,
        breathe 6s ease-in-out infinite 2s;
}

@keyframes breathe {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(120, 160, 255, 0.5),
            0 0 22px rgba(120, 160, 255, 0.25);
    }
    50% {
        text-shadow:
            0 0 14px rgba(160, 190, 255, 0.7),
            0 0 30px rgba(160, 190, 255, 0.35);
    }
}

/* 📱 Адаптация под мобильные */
@media (max-width: 768px) {
    .title {
        font-size: 28px;
        letter-spacing: 1.5px;
    }

    .countdown {
        font-size: 34px;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 24px;
    }

    .countdown {
        font-size: 28px;
    }
}
