/* Resetare globală */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Stil pentru corpul paginii */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at 50% 50%, #001f3f, #011526, #000000), 
                url('https://source.unsplash.com/1920x1080/?space,stars');
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: overlay;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    overflow: hidden;
}

/* Container principal */
.container {
    max-width: 700px;
    padding: 20px;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s ease-in-out;
    animation: container-appear 1.5s ease forwards;
}

/* Animație pentru apariția containerului */
@keyframes container-appear {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Logo-ul */
.logo {
    width: 150px;
    margin-bottom: 20px;
    animation: logo-bounce 2s ease infinite;
}

/* Animație subtilă pentru logo */
@keyframes logo-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Numele site-ului */
.site-name {
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
    color: #f0f0f0;
    letter-spacing: 2px;
    animation: fade-in 1.5s ease forwards 0.5s;
}

/* Mesaj descriptiv */
.message {
    font-size: 18px;
    margin-bottom: 30px;
    color: #dcdcdc;
    animation: fade-in 1.5s ease forwards 0.8s;
}

/* Animație pentru fade-in */
@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Numărătoarea inversă */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    animation: fade-in 1.5s ease forwards 1s;
}

.countdown div {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.countdown span {
    font-size: 32px;
    display: block;
}

/* Contacte */
.contacts {
    display: flex; /* Flexbox pentru un singur rând */
    justify-content: center; /* Centrare pe orizontală */
    align-items: center; /* Centrare pe verticală */
    gap: 10px; /* Spațiu între elemente */
    font-size: 16px;
    margin-top: 20px;
    animation: fade-in 1.5s ease forwards 1.3s;
}

.contacts a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #ffffff;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.contacts a:hover {
    color: #cccccc;
    border-bottom: 1px solid #cccccc;
}

.contacts span {
    color: #ffffff;
}

/* Mod compatibilitate pentru Forced Colors */
@media (forced-colors: active) {
    body {
        background-color: Canvas;
        color: CanvasText;
    }

    .countdown div {
        background: ButtonFace;
        color: ButtonText;
        border: 1px solid ButtonText;
    }

    .contacts a {
        color: LinkText;
        border-bottom: 1px solid LinkText;
    }
}

/* Adaptivitate pentru ecrane mici */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .logo {
        width: 120px;
    }

    .site-name {
        font-size: 28px;
    }

    .message {
        font-size: 16px;
    }

    .countdown div {
        padding: 15px 20px;
        font-size: 16px;
    }

    .countdown span {
        font-size: 24px;
    }

    .contacts {
        flex-direction: column;
        gap: 5px;
    }
}
