* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img {
    pointer-events: auto;
    -webkit-user-drag: none;
}

nav {
    background: #d4d0c8; /* Mantém a cor original */
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 4px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Necessário para posicionar a barra */
}

nav::before {
    content: '';
    position: absolute;
    top: -15px; /* Barra preta aparece acima */
    left: -50px; /* Estende para a esquerda */
    right: -50px; /* Estende para a direita */
    bottom: -15px; /* Barra preta aparece abaixo */
    background: #000000; /* Barra preta */
    z-index: -1; /* Fica ATRÁS da nav */
    border-radius: 0; /* Opcional: bordas retas */
}
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #c0c0c0;
}

::-webkit-scrollbar-thumb {
    background: #808080;
    border: 2px solid #808080;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
}

::-webkit-scrollbar-thumb:hover {
    background: #dfdfdf;
}

::-webkit-scrollbar-button {
    background: #dfdfdf;
    border: 1px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    width: 1px;
    height: 1px;
}

html, body {
    height: 100%;
    font-family: 'MS Sans Serif', Tahoma, Arial, sans-serif;
    font-size: 11px;
}

body {
    background: #008080;
    overflow-x: hidden;
}

body.home-bg {
  background-color: #000000; /* Preto sólido */
    background-image: url('https://images2.alphacoders.com/628/thumb-1920-628358.jpg');
    background-position: center -34%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

a {
    text-decoration: underline;
    color: inherit;
}

#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #c0c0c0;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    font-weight: bold;
}

#loadingScreen.active {
    display: flex;
}

#easterEggText {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: bold;
    color: #ffff00;
    z-index: 10001;
    display: none;
    animation: blink 0.1s infinite;
    pointer-events: none;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

#bebecaHoverGif {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    display: none;
    width: 300px;
    height: 300px;
    cursor: pointer;
}

/* Hidden audio containers */
.audio-container {
    position: fixed;
    width: 1px;
    height: 1px;
    overflow: hidden;
    left: -1000px;
    top: -1000px;
}

nav {
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 4px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    gap: 2px;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #000;
    font-weight: bold;
    font-size: 13px;
}

.nav-right {
    display: flex;
    gap: 8px;
    color: #000;
}

.nav-right a {
    color: #000;
    cursor: pointer;
    font-weight: bold;
}

nav a {
    color: #000;
    text-decoration: underline;
    padding: 4px 12px;
    margin: 0 2px;
    display: inline-block;
    background: #d4d0c8;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    font-weight: bold;
    cursor: pointer;
}

nav a:hover {
    background: #c0c0c0;
}
/* Botão normal quando clicado momentaneamente */
nav a:active {
    border-color: #808080 #ffffff #ffffff #808080;
    background: #b0b0b0;
}

/* Botão da aba ativa (SEMPRE apertado) */
nav a.active,
.nav-link.active {
    border-style: inset !important;
    border-color: #808080 #ffffff #ffffff #808080 !important;
    background: #a0a0a0 !important;
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.3) !important;
    cursor: default !important;
    pointer-events: none !important;
}

.page {
    display: none;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 50px);
    padding-bottom: 60px;
}

.page.active {
    display: block;
}
.blog-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 50px);
}

.blog-content {
    flex: 1;
}

footer {
    margin-top: auto;
    padding: 10px 20px;
    background: #c0c0c0;
    border-top: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

footer div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}


footer a {
    color: #000;
    text-decoration: underline;
    cursor: pointer;
}

.footer-icon {
    width: 14px;
    height: 14px;
}

#footerDot {
    cursor: pointer;
    color: #000;
    transition: color 0.1s;
}

#footerDot:hover {
    color: #ff0000;
}

/* BACKGROUNDS */

body.about-bg {
    background-color: #000000; /* Preto sólido */
    background-image: url('https://images6.alphacoders.com/532/thumb-1920-532017.jpg');
    background-position: center -62%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

body.downloads-bg {
    background-color: #000000; /* Preto sólido */
    background-image: url('https://raw.githubusercontent.com/erishlimazl/DOWNLOADS-NEOCITIES/main/downloadpage.jpg');
    background-position: center -160%; /* Mesma linha preta */
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

/* BLOG */
body.blog-bg {
    background-color: #000000;
    background-image: url('https://wallpapercave.com/wp/Pq2wXIp.jpg');
    background-position: center -16%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    
}

/* DMC 3 ORB ROULETTE */
#orbRouletteContainer {
    position: relative;
    width: 280px;
    height: 240px;
    margin: 0 auto 10px;
    border: 3px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    overflow: hidden;
    background: #000000;
}

/* Expanded state for result - SQUARE */
#orbRouletteContainer.expanded {
    width: 320px;
    height: 320px;
}

/* Loading State */
.orb-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    z-index: 100;
}

.loading-gif {
    width: 50px;
    height: 50px;
}

/* Start Button */
.orb-click-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #000000;
    cursor: pointer;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.orb-click-message:hover {
    background: #222222;
}

.orb-click-message:active {
    background: #111111;
}

.orb-message-text {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Hide question mark in click message */
.orb-click-message .orb-question-mark {
    display: none;
}

/* Horizontal Marquee */
.orb-marquee-container {
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
}

/* Center Chooser Box */
.orb-marquee-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border: 3px solid #ffffff;
    z-index: 10;
    pointer-events: none;
    background: transparent;
}

/* Arrow Indicator */
.orb-marquee-container::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 25px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid #ffffff;
    z-index: 11;
    pointer-events: none;
}

.orb-marquee-track {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.orb-marquee-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 1px solid #666666;
    flex-shrink: 0;
}

/* Result Display */
.orb-result {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #c0c0c0;
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
}

/* Question mark in result */
.orb-result-question {
    font-size: 40px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1;
}

.orb-result-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    margin-bottom: 12px;
}

.orb-result-name {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

.orb-result-description {
    font-size: 14px;
    font-weight: normal;
    color: #000000;
    line-height: 1.5;
    padding: 0 15px;
}

