/* ESTILO GENERAL Y VARIABLES DE COLOR */
:root {
    --browser-bg: #e0e0e0;
    --content-bg: #ffffff;
    --text-color: #333;
    --accent-color: #888;
    --border-color: #bbb;
    --control-panel-bg: rgba(0, 0, 0, 0.85);
}

body {
    font-family: 'Courier New', Courier, monospace; /* Fuente estilo máquina de escribir */
    margin: 0;
    padding: 20px;
    background-color: var(--browser-bg);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    box-sizing: border-box;
}

/* PANEL DE CONTROL */
#control-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    background-color: var(--control-panel-bg);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    z-index: 1000;
    font-family: sans-serif;
    font-size: 0.9rem;
}
#control-panel h3 { margin: 0 0 10px; color: #4caf50; }
#control-panel p { margin: 0 0 15px; opacity: 0.8; }
.control-group { margin-bottom: 15px; }
.control-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.control-group select, .control-group input[type="text"], .control-group input[type="color"] {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}
.control-group input[type="range"] { width: 80%; vertical-align: middle; }
#opacity-value { margin-left: 10px; font-weight: bold; }

/* VENTANA NAVEGADOR */
.browser-window {
    width: 850px;
    background-color: var(--browser-bg);
    border: 1px solid #999;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.1);
    margin-top: 80px; /* Espacio para el panel flotante */
}

/* CABECERA VENTANA */
.browser-header {
    background: linear-gradient(to bottom, #f0f0f0, #d0d0d0);
    border-bottom: 1px solid #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px 0;
}
.tabs { display: flex; gap: 5px; }
.tab {
    background-color: var(--content-bg);
    border: 1px solid #999;
    border-bottom: none;
    padding: 5px 15px;
    border-radius: 5px 5px 0 0;
    font-size: 0.8rem;
    cursor: pointer;
}
.tab.active { background-color: var(--content-bg); font-weight: bold; position: relative; top: 1px; }
.window-controls span {
    display: inline-block;
    width: 12px; height: 12px;
    border-radius: 50%;
    margin-left: 5px;
    border: 1px solid #777;
}
.window-controls span:nth-child(1) { background-color: #ff5f56; }
.window-controls span:nth-child(2) { background-color: #ffbd2e; }
.window-controls span:nth-child(3) { background-color: #27c93f; }

/* BARRA URL */
.url-bar {
    background-color: var(--content-bg);
    padding: 5px 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #999;
    font-size: 0.9rem;
}
.url-icon { width: 16px; height: 16px; margin-right: 10px; }
.reload-btn {
    margin-left: auto;
    background-color: #e0e0e0;
    border: 1px solid #999;
    padding: 2px 10px;
    cursor: pointer;
}

/* CONTENIDO PRINCIPAL */
.content-wrapper { background-color: var(--content-bg); padding: 20px; }

/* CABECERA BANNER */
.header-banner {
    height: 180px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff; /* Fondo por defecto */
}
/* Estilo para imagen de fondo */
.header-banner.has-image {
    background-size: cover;
    background-position: center;
}
/* Estilo para GIF de fondo */
.header-banner.has-gif {
    background-size: cover;
    background-position: center;
}
.mountain-art {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://i.imgur.com/J73L2E5.png') no-repeat center;
    background-size: contain;
    mix-blend-mode: multiply; /* Simula el efecto de la imagen original */
}
.title-box {
    border: 1px solid var(--border-color);
    padding: 5px 30px;
    background-color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    z-index: 1;
}

/* ESTRUCTURA DE COLUMNAS */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}
.left-column, .right-column { display: flex; flex-direction: column; gap: 20px; }

/* CAJAS DE CONTENIDO */
.box {
    border: 1px solid var(--border-color);
    padding: 15px;
    background-color: #fff;
}
.box h3 { margin: 0 0 10px 0; font-size: 1rem; font-weight: bold; }
.box p { margin: 0; line-height: 1.5; font-size: 0.9rem; }

/* LISTA EXTRA LINKS */
.extra-links-list { list-style: none; padding: 0; margin: 0; }
.extra-links-list li { margin-bottom: 5px; font-size: 0.9rem; }

/* CAJA PERFIL */
.profile-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    border: 1px solid var(--border-color);
    padding: 15px;
    background-color: #fff;
}
.profile-pic-container { border: 1px solid var(--border-color); padding: 5px; }
.profile-pic { width: 100%; height: auto; display: block; }
.profile-info p { margin: 0 0 5px 0; font-size: 0.9rem;