/* --- BASE --- */
html, body { height: 100%; margin: 0; padding: 0; overflow-x: hidden; }

body {
    background: url('https://cdn.wallpapersafari.com/36/56/hDk2zE.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: "Segoe UI", Tahoma, sans-serif;
    user-select: none;
}

/* --- CURSORES --- */
*, html, body { cursor: url("https://www.rw-designer.com/cursor-view/214323.png"), auto !important; }
a, button, [role="menuitem"], .t-icon { cursor: url('https://www.rw-designer.com/cursor-view/214337.png'), pointer !important; }

/* --- BARRA DE MENÚ SUPERIOR --- */
#main-menu-container {
    background: #f0f0f0;
    border-bottom: 1px solid #b2b2b2;
    height: 28px;
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000000;
}

/* --- ESCRITORIO --- */
.desktop {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 0; right: 0;
    padding: 20px;
    display: flex; 
    gap: 20px;
    justify-content: center;
    overflow-y: auto; 
    align-items: flex-start;
}

.desktop-column { display: flex; flex-direction: column; gap: 15px; }
.side-window { width: 260px; flex-shrink: 0; }
.main-window { width: 550px; }

/* --- CONTENIDO --- */
.logo-container { padding: 5px; background: #fff; text-align: center; }
.logo-container img { width: 100%; height: auto; border: 1px solid #7f9db9; display: block; }

.photo-group { display: flex; flex-direction: column; gap: 15px; }

/* --- CONTENIDO ACTUALIZADO --- */
.contenido-actividades {
    padding: 18px;
    font-size: 16px;
    text-align: justify;
    background: white;
    /* Corrección clave: */
    box-sizing: border-box; 
    width: 100%;
    overflow-x: hidden; 
    line-height: 1.35;
}

/* --- ESTILO COMPACTO MEDIA PLAYER (CORREGIDO) --- */
.media-small {
    width: 260px !important; /* Mismo ancho que las laterales en PC */
    flex: none;
}

.media-small .window-body {
    margin: 0 !important;
    padding: 8px !important;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.media-small .logo-container {
    border: none !important;
    padding: 0 !important;
    width: 100%;
}

.media-small .logo-container img {
    width: 100% !important;
    height: 150px !important; /* Altura fija para que parezca reproductor */
    object-fit: cover; /* Recorta la imagen para que no se estire */
    border: 1px solid #7f9db9;
}

/* --- MESSENGER --- */
.messenger-window { width: 100%; max-width: 550px; }
.messenger-body { padding: 8px !important; background: #f0f0f0 !important; }

/* --- TASKBAR --- */
.win7-taskbar {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 40px;
    background: linear-gradient(to bottom, rgba(100, 160, 220, 0.8) 0%, rgba(20, 60, 120, 0.95) 100%);
    backdrop-filter: blur(5px); 
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    display: flex; align-items: center; z-index: 1000000;
}

.start-button { width: 42px; height: 100%; background: url('https://upload.wikimedia.org/wikipedia/commons/d/d7/Windows_logo_-_2002–2012_%28multi-colored_orb%29.svg') no-repeat center; background-size: 30px; }
.taskbar-icons { display: flex; align-items: center; gap: 12px; margin-left: 15px; flex-grow: 1; }
.t-icon img { width: 26px; height: 26px; }
.taskbar-time { color: white; padding: 0 15px; font-size: 13px; font-weight: bold; text-shadow: 1px 1px 2px #000; }

/* --- DIVIDER CORREGIDO --- */
.divider-wrapper {
    text-align: center;
    margin: 20px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.divider-wrapper img { 
    max-width: 100%; /* Evita que se salga del contenedor */
    height: auto; 
    display: block;
    /* Mantiene el estilo pixel art nítido si es un GIF */
    image-rendering: pixelated; 
}

/* --- RESPONSIVE (MÓVIL) --- */
@media (max-width: 900px) {
    /* Forzamos el tamaño en el contenedor y todos sus hijos directos */
    .contenido-actividades, 
    .contenido-actividades p, 
    .contenido-actividades li,
    .contenido-actividades strong { 
        font-size: 15px !important; /* Prueba con 13px para ver el cambio drástico */
        line-height: 1.4 !important;
    }

    .contenido-actividades h2 {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    /* Ajustes de layout que ya tenías */
    .desktop {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        top: 30px;
    }

    .photo-group {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100% !important;
    }

    .desktop-column, .side-window, .main-window, .messenger-window, .media-small {
        width: 100% !important;
        max-width: none !important;
    }

    .media-small .logo-container img {
        height: 100px !important;
    }

    .win7-taskbar { height: 35px; }

    /* Achicamos el divider para que no empuje el ancho */
    .divider-wrapper img {
        width: 90% !important;
    }
}