body {
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-family: Arial, sans-serif;
    text-align: center;
    background: black;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* mensagem */

.background-message {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(9 8 8 / 28%);
    z-index: 1;
}

.message {
    position: fixed;
    display: flex;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(216, 180, 226, 1) 50%,
            rgba(0, 0, 0, 0) 100%);
    color: white;
    width: 50%;
    height: 40px;
    align-items: center;
    font-size: 0.7em;
    text-align: center;
    justify-content: center;
    top: 40px;
    opacity: 1;
    /* Inicialmente visível */
    transition: opacity 2s ease;
}

/*  */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(black, #000030);
    overflow: hidden;
}


#clock {
    width: 20%;
}

#clock img {
    width: 100%;
}


.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
}

.screen.active {
    visibility: visible;
    opacity: 1;
}

h1, h2 {
    margin: 10px;
}

h1 {
    font-size: 1.2em;
    font-weight: bold;
}

h2 {
    font-size: 1em;
}

#timer {
    font-size: 1em;
    margin-top: 10px;
    padding: 10px;
    border: 2px solid #ff4081;
    color: #ff4081;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.7);
}

.btn-pulse {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.2em;
    color: #fff;
    background-color: #ff4081;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    animation: pulse 1.5s infinite;
}

.btn-pulse:hover {
    background-color: #ff1a63;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.star-link {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
}

/* Efeito de brilho */
.star-link::before,
.star-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    animation: sparkle 2s infinite;
}

.star-link::after {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
}

@keyframes sparkle {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

.star-link:hover {
    transform: scale(1.3);
}

#connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

line {
    stroke: white;
    stroke-width: 2;
}

.message-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #fff;
    text-align: center;
    display: none;
}

.image-slider {
    position: relative;
    margin: 10px 0;
}

.image-slider img {
    max-width: 100%;
    max-height: 30vh;
    border-radius: 10px;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
}

.slide-btn.prev {
    left: -50px;
}

.slide-btn.next {
    right: -50px;
}

.slide-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.close-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #ff4081;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}