/* === style.css - MODO XBOX RADIACTIVO (Toxic Edition) === */

/* 1. VARIABLES: Paleta de Colores "Toxic" */
:root {
    /* Verde Lima Ácido (Más brillante y tóxico) */
    --color-rosa-fuerte: #a3ff00; 
    
    /* El resplandor (Glow) */
    --color-brillo: rgba(163, 255, 0, 0.5); 
    
    --color-negro: #000000;
    
    /* Fondo casi negro para las cajas */
    --color-fondo-cajas: #0a0a0a; 
    
    /* Texto gris claro para lectura cómoda */
    --color-texto-cajas: #cccccc; 
    
    /* Borde fino con el color tóxico */
    --borde-estilo: 1px solid var(--color-rosa-fuerte);
    
    --fuente-titulos: 'Courier New', monospace; 
    --fuente-cuerpo: 'Verdana', sans-serif; 
}

/* 2. EL CUERPO (Fondo Espacial) */
body {
    background-color: #000000;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    font-family: var(--fuente-cuerpo);
    margin: 0;
    padding: 20px;
    font-size: 11px;
    color: #cccccc;
}

/* 3. CONTENEDOR PRINCIPAL (Con Resplandor) */
.myspace-container {
    width: 95%;
    max-width: 960px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.95); 
    border: 1px solid var(--color-rosa-fuerte);
    /* EFECTO GLOW: Hace que el perfil "brille" */
    box-shadow: 0 0 20px var(--color-brillo); 
    padding: 15px;
}

/* 4. ENCABEZADO */
header h1 {
    color: var(--color-rosa-fuerte);
    font-family: var(--fuente-titulos);
    font-size: 3em;
    margin: 0;
    text-shadow: 0 0 10px var(--color-rosa-fuerte); /* Letras de neón */
    letter-spacing: -2px;
}

header marquee {
    font-size: 1.2em;
    color: #000; /* Texto negro */
    background-color: var(--color-rosa-fuerte); /* Fondo verde */
    border: 1px solid var(--color-rosa-fuerte);
    margin-top: 10px;
    padding: 5px;
    font-weight: bold;
    /* Un pequeño brillo al marquee también */
    box-shadow: 0 0 10px var(--color-brillo);
}

/* 5. ESTRUCTURA DE COLUMNAS */
.content-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.profile-sidebar {
    flex: 1;      
    max-width: 300px;
}

.main-content {
    flex: 2;      
}

/* 6. CAJAS DE CONTENIDO (Con Glow) */
.content-box {
    background-color: var(--color-fondo-cajas);
    color: var(--color-texto-cajas);
    border: var(--borde-estilo);
    padding: 10px;
    margin-bottom: 15px;
    /* Resplandor suave en cada caja */
    box-shadow: 0 0 5px var(--color-brillo);
}

.content-box h2, .content-box h3 {
    background-color: var(--color-rosa-fuerte);
    color: black; /* Texto negro sobre fondo verde para contraste */
    font-weight: bold;
    font-size: 1.2em;
    margin: -10px -10px 10px -10px; 
    padding: 5px 10px;
    border-bottom: 1px solid var(--color-rosa-fuerte);
}

/* 7. ESTILOS DE LA BARRA LATERAL */
.profile-image-container {
    text-align: center;
    margin-bottom: 10px;
}

.profile-image-container img {
    width: 100%;        
    max-width: 200px;   
    height: auto;       
    border: 2px solid var(--color-rosa-fuerte); 
    padding: 2px;
    box-sizing: border-box;
    /* La foto también brilla */
    box-shadow: 0 0 8px var(--color-brillo);
}

/* Estilos para los iconos de MSN/AIM (Si los usas) */
.contact-icons a {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    color: var(--color-rosa-fuerte);
    text-decoration: none;
    border-bottom: 1px dashed #333;
    padding-bottom: 2px;
}
.contact-icons a:hover {
    background-color: #111;
    color: white;
}
.contact-icons img {
    margin-right: 5px;
    border: none;
}

.contact-box ul {
    list-style: none;
    padding: 0;
}
.contact-box li {
    margin-bottom: 5px;
    border-bottom: 1px dashed #333; /* Oscurecido */
}

/* 8. TABLA DE INTERESES */
.interests-table {
    width: 100%;
    border-collapse: collapse;
}

.interests-table td {
    padding: 5px;
    vertical-align: top;
    /* Borde verde oscuro sutil */
    border-bottom: 1px solid #1a3300; 
}

.interests-table .label {
    width: 80px;
    font-weight: bold;
    color: var(--color-rosa-fuerte);
}

/* 9. TOP 8 AMIGOS */
.friends-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px;
    text-align: center;
}

.friend-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid var(--color-rosa-fuerte);
}

.friend-card span {
    display: block;
    font-size: 10px;
    color: var(--color-rosa-fuerte); /* Nombres en verde */
    font-weight: bold;
    margin-top: 2px;
}

/* 10. ENLACES */
a {
    color: var(--color-rosa-fuerte);
    text-decoration: none;
    font-weight: bold;
}
a:hover {
    background-color: var(--color-rosa-fuerte);
    color: black;
    cursor: crosshair; 
}

/* 11. COMENTARIOS (Modo Oscuro) */
.comment-block {
    display: flex;
    background-color: #1a1a1a; /* Fondo oscuro */
    margin-bottom: 5px;
    padding: 5px;
    border: 1px solid #333;
    font-size: 11px;
    color: #ddd; /* Texto claro */
}

.comment-user {
    width: 100px;
    text-align: center;
    font-weight: bold;
    border-right: 1px solid #333;
    padding-right: 5px;
    margin-right: 5px;
}

.comment-user img {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-rosa-fuerte);
    margin-bottom: 3px;
}

.comment-text p {
    margin: 2px 0;
}

/* 12. SCROLLBAR (Verde Tóxico) */
::-webkit-scrollbar {
    width: 12px; 
}
::-webkit-scrollbar-track {
    background: #000000; 
}
::-webkit-scrollbar-thumb {
    background-color: var(--color-rosa-fuerte); /* Verde */
    border: 1px solid #000; 
}
::-webkit-scrollbar-thumb:hover {
    background-color: #ccff00; /* Más brillante al pasar mouse */
}

/* 13. WINAMP (Estilo Dark) */
.winamp-player {
    background-color: #1a1a1a; 
    border: 1px solid #444; 
    padding: 10px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box; 
    box-shadow: inset 0 0 10px #000;
}

.winamp-header {
    background: linear-gradient(to right, #003300, #006600); /* Verde oscuro */
    color: var(--color-rosa-fuerte);
    font-family: sans-serif;
    font-size: 10px;
    padding: 2px 4px;
    margin-bottom: 5px;
    font-weight: bold;
    border: 1px solid #004400;
}

.winamp-screen {
    background-color: #000;
    color: var(--color-rosa-fuerte); /* Texto verde terminal */
    font-family: 'Courier New', monospace;
    font-size: 10px;
    padding: 4px;
    margin-bottom: 5px;
    border: 1px inset #333;
    white-space: nowrap; 
    overflow: hidden;
}

.winamp-controls-area audio {
    width: 100%;
    height: 25px;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(60deg); /* Truco CSS para hacer el player verde */
    outline: none;
}

/* 14. USERBARS */
.userbars-box img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2px auto;
    border: 1px solid #333;
    opacity: 0.9;
}
.userbars-box img:hover {
    opacity: 1;
    box-shadow: 0 0 5px var(--color-rosa-fuerte);
}

/* === ESTILO DE LA PANTALLA DE CARGA === */
#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 10000; /* Siempre encima de todo */
    display: flex;
    align-items: flex-start; /* Empezar desde arriba */
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: var(--color-rosa-fuerte); /* Tu verde tóxico */
    overflow: hidden;
    cursor: wait;
}

#boot-text {
    white-space: pre-wrap; /* Respeta los espacios y saltos de línea */
    line-height: 1.5;
}

/* ========================================= */
/* === AGREGAR AL FINAL DE TU STYLE.CSS === */
/* ========================================= */

/* 1. ESTILO DE LA PANTALLA DE CARGA (BOOT SCREEN) */
#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* Fondo negro total */
    z-index: 10000; /* Encima de TODO */
    display: flex;
    align-items: flex-start;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: var(--color-rosa-fuerte); /* Tu verde tóxico */
    overflow: hidden;
    cursor: wait;
}

#boot-text {
    white-space: pre-wrap;
    line-height: 1.5;
}

/* 2. EFECTO MONITOR CRT (SCANLINES) */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.2)
    );
    background-size: 100% 4px; /* Rayitas horizontales */
    z-index: 9999; /* Encima del perfil, debajo de la carga */
    pointer-events: none; /* ¡IMPORTANTE! Para poder dar clic a través de ellas */
    opacity: 0.6;
}

/* 3. PARPADEO DE PANTALLA VIEJA */
body {
    animation: flicker 0.15s infinite;
}

@keyframes flicker {
    0% { opacity: 0.98; }
    50% { opacity: 1; }
    100% { opacity: 0.99; }
}

/* Animación de Alarma para el Konami Code */
@keyframes alarma {
    0% { border: 5px solid red; }
    50% { border: 5px solid yellow; }
    100% { border: 5px solid red; }
}