@font-face {
    font-family: 'FrutigerMetro';
    src: url('https://suggustar.neocities.org/suggus/assets/fonts/columbia%20stroke.ttf');
    
}
@font-face {
    font-family: 'legible1'; /* El nombre que le quieras poner */
    src: url('https://suggustar.neocities.org/suggus/assets/fonts/DK%20Jambo.otf'); /* La ruta al nuevo archivo */
}

:root {
    --pastel-purple: #c4a5ff;
    --pastel-green: #a8e6cf;
    --ethereal-blue: #a1c4fd;
    --bg-dark: #121018; 
    --font-main: 'FrutigerMetro', 'Comic Sans MS', 'MS Sans Serif', sans-serif;
}

body {
    margin: 0; padding: 0;
    background-color: var(--bg-dark);
    color: var(--pastel-green);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* SCROLLBAR ESTILO NEOCITIES */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #000; border: 1px solid var(--pastel-purple); }
::-webkit-scrollbar-thumb { background: var(--pastel-purple); border-radius: 2px; }

/* 1. FONDO DINÁMICO */
.dynamic-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-size: cover; background-position: center;
    opacity: 0; z-index: -20; 
    transition: opacity 3s ease-in-out, filter 3s ease-in-out;
}
.active-bg { opacity: 0.3; }

/* 2. CAPAS SUPERPUESTAS DE IMÁGENES */
.overlay-graphic { position: fixed; pointer-events: none; z-index: -10; }
.static-edge { top: 0; bottom: 0; height: 100vh; width: 670px; opacity: 0.8; }
.static-edge img { height: 100%; width: 100%; object-fit: cover; }
.left-corrosion { left: 0; }
.right-art { right: 0; }

.wandering-biohazard { top: 20%; left: 10%; animation: drift 30s infinite alternate ease-in-out; pointer-events: auto; }
.wandering-biohazard-right { top: 30%; right: 10%; animation: drift-reverse 30s infinite alternate ease-in-out; pointer-events: auto; }

/* TRANSICIÓN PARA ROTACIÓN DE IMÁGENES Y LINKS CON TAMAÑOS FIJOS */
.wandering-biohazard img, .wandering-biohazard-right img { 
    transition: opacity 0.5s ease-in-out; 
    max-width: 380px; 
    max-height: 380px;
    object-fit: contain;
}
.fade-out { opacity: 0 !important; }

@keyframes drift { 100% { transform: translate(300px, 400px) rotate(45deg); } }
@keyframes drift-reverse { 100% { transform: translate(-300px, 400px) rotate(-45deg); } }

/* ZEPPELIN BANNERS */
.zeppelin-banner-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 90px;
    background: rgba(0,0,0,0.5); z-index: 100; display: flex; align-items: center;
    border-bottom: 2px solid var(--pastel-purple);
}
.zeppelin-banner-container img { height: 88px; margin-right: 30px; }

/* 3. MARCOS BASADOS EN IMÁGENES */
.img-layer-border {
    background: rgba(10, 5, 20, 0.9);
    border: 35px solid transparent; 
    border-image: url('') 35 stretch;
    margin-bottom: 15px;
}

/* SUGGUS CORE DESANCLADO A LA DERECHA (Sin marco lila) */
#suggus-core-container {
    position: fixed;
    right: 80px; 
    top: 250px;
    z-index: 50;
    pointer-events: none;
    width: 250px;
}
#suggus-core-container video { width: 100%; height: auto; }

/* LAYOUT PRINCIPAL (Con Z-INDEX 9999 para que las ventanas siempre sean clickeables por encima de los Gifs) */
.main-layout { display: flex; width: 100vw; height: 100vh; pointer-events: none; }
.sidebar-panel { width: 300px; padding: 80px 20px 20px 20px; display: flex; flex-direction: column; pointer-events: auto; z-index: 9999; position: relative; }
.image-title-container { margin-bottom: 20px; text-align: center; }
.main-title-img { max-width: 130%; margin-left: -15%; filter: drop-shadow(0 0 10px var(--pastel-purple)); }
.section-title-img { max-width: 100%; margin-bottom: 0; }
.title-with-gif { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.title-gif { width: 40px; height: auto; }

/* NAVEGACIÓN LIMPIA */
.nav-menu { display: flex; flex-direction: column; gap: 10px; border: none; background: transparent; }
.nav-item {
    background: transparent; color: var(--pastel-purple);
    border: none; padding: 10px; font-family: inherit; font-size: 1.1rem; 
    cursor: pointer; text-align: left; display: flex; align-items: center; gap: 10px;
}
.nav-item:hover, .nav-item.active { color: #fff; font-weight: bold; text-shadow: 0 0 5px var(--pastel-purple); }
.menu-icon { width: 20px; height: 20px; }

/* CONTADOR DE VISITAS MEJORADO */
.counter-box { text-align: center; margin-top: 10px; display: flex; justify-content: center; align-items: center; padding: 10px; }
.hit-counter-img { width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 0 8px var(--pastel-purple)); }

/* TABLERO FLOTANTE (Cascada) - Z-INDEX altísimo para evitar estorbos */
.board-panel { 
    position: absolute; width: 420px; height: 500px; 
    padding: 20px; pointer-events: auto; z-index: 9999;
}
.scrollable-content-area { max-height: 400px; overflow-y: auto; padding-right: 10px; }
.tab-content { display: none; }
.tab-content.active-content { display: block; }
@keyframes dropDownCascade {
    0% { transform: translateY(-100px) scale(0.9); opacity: 0; }
    50% { transform: translateY(10px) scale(1.02); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cascade-drop { animation: dropDownCascade 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards; }

.weird-links a { color: var(--pastel-green); text-decoration: none; display: block; margin: 10px 0; }
.weird-links a:hover { color: var(--pastel-purple); text-shadow: 0 0 8px var(--pastel-purple); }

/* DIARIO NATIVO */
.diario-container {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}
.diario-entry {
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--pastel-green);
    padding: 10px;
    margin-bottom: 10px;
}
.diario-entry h4 {
    margin: 0 0 5px 0;
    color: var(--pastel-purple);
    font-size: 0.95rem;
}
/* 1. ACTUALIZA EL TEXTO */
.diario-entry p,
#tab-updates p {
    margin: 0;
    font-family: 'legible1', sans-serif; /* Tu fuente */
    font-size: 1.2rem; /* O el tamaño que le hayas puesto */
    line-height: 1.6; 
    letter-spacing: 0.3px; 
    white-space: pre-wrap; 
    margin-bottom: 15px;
    
    /* ESTAS DOS LÍNEAS ARREGLAN EL DESBORDE */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 2. AÑADE ESTO PARA MATAR LA BARRA HORIZONTAL EN UPDATES */
#tab-updates {
    overflow-x: hidden; 
}
.diario-img {
    width: 100%;
    height: 100%;
    margin: 10px 0;
    border-radius: 5px;
}

/* ROAMING ELEMENTS */
.roaming-element {
    position: fixed; 
    z-index: 90; 
    pointer-events: none; 
}

/* MINI SUGGUS ALEJADO DE LOS LINKS Y SIN INTERFERIR EN LOS CLICKS */
#omnipresent-suggus { 
    display: flex; 
    opacity: 0; 
    transition: opacity 0.3s ease; 
    flex-direction: column; 
    align-items: center; 
    gap: 10px; 
    position: absolute; 
    bottom: -50px; 
    right: -130px;
    z-index: 110;
    pointer-events: none; 
}

#suggus-fact-bubble { 
    background: var(--ethereal-blue); 
    color: #000; 
    padding: 8px; 
    border-radius: 10px; 
    border: 2px solid #fff; 
    font-size: 0.9rem; 
    font-weight: bold; 
}

#omnipresent-suggus video { 
    max-width: 190px; 
    height: auto;
}

.floating-ascii { color: var(--pastel-purple); font-size: 12px; font-weight: bold; text-shadow: 0 0 5px var(--pastel-purple);}
.floating-item { position: absolute; pointer-events: auto; z-index: 5; transition: top 8s ease-in-out, left 8s ease-in-out; }

/* MEDIA PLAYER STYLE */
.media-player-window {
    position: fixed; background: #c0c0c0; border: 2px solid #fff;
    border-right-color: #888; border-bottom-color: #888;
    z-index: 99998; width: 450px; padding: 2px;
    box-shadow: 2px 2px 20px #4a7a40; 
    animation: flashIn 0.1s ease-out forwards;
}
@keyframes flashIn { 0% { transform: scale(0.1); opacity: 0;} 100% { transform: scale(1); opacity: 1; }}
.media-player-header {
    background: darkblue; color: white; display: flex; justify-content: space-between;
    padding: 3px 5px; font-family: 'Arial', sans-serif; font-size: 12px; font-weight: bold;
}
.close-btn { background: #c0c0c0; color: black; border: 1px solid #fff; border-right-color: #888; border-bottom-color: #888; cursor: pointer; width: 16px; height: 16px; display: flex; justify-content: center; align-items: center; font-size: 10px; }
.media-player-window video { width: 100%; background: #000; }

/* JUMPSCARE STYLE Y ANIMACIÓN DE AUTO-DESVANECIMIENTO */
.jumpscare-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.9); z-index: 999999;
    display: flex; justify-content: center; align-items: center;
    animation: flashIn 0.1s ease-out forwards;
}
.fade-out-jump {
    animation: fadeOutJump 0.5s forwards;
}
@keyframes fadeOutJump {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* RADIO LAIN */
.floating-radio { position: fixed; bottom: 20px; right: 20px; width: 300px; background: #000; border: 2px solid var(--pastel-green); z-index: 80; }
.radio-bar { background: var(--pastel-green); color: #000; padding: 5px; font-weight: bold; }
#start-radio-btn { width: 100%; padding: 15px; background: #222; color: #fff; border: none; cursor: pointer; font-family: inherit;}
#start-radio-btn:hover { background: var(--pastel-green); color: #000; }

/* BLINDAJE DE Z-INDEX PARA WEBAMP - Para que si vuelves a moverlo jamás se oculte */
#webamp {
    z-index: 999999 !important;
}