main {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    /* centraliza */
    margin: -20px 0 10px 0;
    /* puxa pra "encaixar" no frame */
    z-index: 999;
    min-height: 600px;

}

.container {
    width: 90%;
    max-width: 1200px;

    display: flex;
    gap: var(--spacing-md);

    position: relative;
    z-index: 999;
    /* fica acima do frame */
}

.content {
    flex: 4;
    background: var(--background-soft);
    border: 1px solid var(--primary);
    padding: var(--spacing-md);
    position: relative;
}

/* Wrapper geral do banner + frames */
.content-banner-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
}

/* Banner */
.content-banner {
    position: relative;
    /* IMPORTANTE pro overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background);
    overflow: hidden;
    /* evita overflow do overlay */
}

/* Imagem */
.content-banner-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    /* evita distorção */
    border: 1px solid var(--primary);
    padding: 10px;
    margin: 0;
    display: block;
}

/* Overlay countdown (ajustado pro seu layout) */
.countdown-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.4));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    z-index: 5;
}

.countdown-box {
    text-align: center;
    color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
}

.countdown-title {
    font-size: 22px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.countdown-timer {
    display: flex;
    gap: 12px;
}

.countdown-timer div {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--primary);
    padding: 8px 12px;
    border-radius: 6px;
    min-width: 55px;
}

.countdown-timer span {
    font-size: 20px;
    font-weight: bold;
    display: block;
}

.countdown-timer small {
    font-size: 11px;
    opacity: 0.7;
}

/* Linha divisória */
.content-border {
    margin: 30px 0;
    border-top: 1px solid var(--primary);
}

/* Frames laterais */
.frame-left,
.frame-right {
    width: 50px;
    min-height: 260px;
    background-size: contain;
    background-repeat: repeat-y;
    flex-shrink: 0;
}

.frame-left {
    background-image: url('../img/previous.png');
}

.frame-right {
    background-image: url('../img/next.png');
}

/* Frame topo */
.frame-top {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -90px;

    width: 260px;
    height: 500px;

    background: url('../img/top.png') no-repeat center;
    background-size: contain;

    z-index: 10;
    pointer-events: none;
}

/*------------- Fim Stylo do Main ---------------*/

/*------------- Content Page ---------------*/
.content-page {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.title-line {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 20px;
    width: 100%;

    text-align: center;
}

/* LINHAS */
.title-line::before,
.title-line::after {
    content: "";
    flex: 1;
    height: 1px;

    background: linear-gradient(to right,
            transparent,
            var(--primary));
}

/* inverter lado direito */
.title-line::after {
    background: linear-gradient(to left,
            transparent,
            var(--primary));
}




/*------------------ ASIDE ----------------- */

/* -------------- SIDE MENU ------------- */
.sideMenu {
    flex: 1;
    background: var(--background-soft);
    border: var(--primary);
    border: 1px solid var(--primary);
    padding: var(--spacing-md);
}


.server-box {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--primary);
    box-shadow: var(--shadow-soft);
    padding: 10px;

}

.status-item {
    margin: 10px 0;
    font-size: 14px;
}

/* cores */
.online {
    color: #00ff88;
    text-shadow: 0 0 5px #00ff88;
}

.offline {
    color: #ff3c3c;
    text-shadow: 0 0 5px #ff3c3c;
}




/*-------------Responsividade---------------*/
@media (max-width: 1200px) {
    .frame-top {
        left: calc(50% - 600px);
        width: 200px;
        top: 320px;
    }
}

@media (max-width: 992px) {
    .frame-top {
        left: calc(50% - 480px);
        width: 160px;
        top: 300px;
        opacity: 0.7;
        /* opcional */
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .content,
    .sideMenu {
        width: 100%;
    }

    .frame-top {
        display: none;
    }
}