@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

 :root {
    --cbv-black: #000000;
    --cbv-white: #ffffff;
    --cbv-pink: #ff29b0;   /* acento fucsia del logo CBV */
    --cbv-green: #00FF00;  /* verde retro que ya tenía la página */
}
html, body {
            font-family: 'VT323', monospace;
            cursor: url("https://xrrxr.art/assets/cursors/cursor2.png"), auto;
            margin: 0;
            height: 100%;
            color: white;
            overflow-x: hidden;
            background-color: #000000;

  
      
            background-image: url('https://xrrxr.art/media/images/fantasma.gif');
            background-size: 860 860;
            background-position: 0 0;
            animation: slide 30s infinite linear;
        }

        @keyframes slide {
            from {
                background-position: 0 0;
            }
            to {
                background-position: -120px 60px;
            }
        }








        .xp-window {
            background-image: url('https://xrrxr.art/assets/backgrounds/sm8.gif');
            background-size: 80px;
            color: white;
            border: 2px solid #000;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            border-radius: 15px;
            position: fixed;
            display: block;
            padding: 0;
        }

       .xp-header {
    background: linear-gradient(to bottom, #4CAF50, #087F23);
    color: white;
    padding: 2px 6px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    height: 24px;
    box-sizing: border-box;
    text-shadow: 1px 1px 2px #000;
    border-bottom: 2px solid #005700;
}

.window-buttons {
    display: flex;
    margin-left: auto;
    gap: 2px;
}

.window-button {
    width: 20px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    color: white;
    margin: 0;
    border: 1px solid #000;
    border-radius: 4px;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
    font-size: 12px;
    transition: all 0.2s ease;
}

.window-button:hover {
    background: linear-gradient(to bottom, #5A5A5A, #4A4A4A);
    transform: scale(1.1);
}

.window-button:active {
    background: linear-gradient(to bottom, #2A2A2A, #1A1A1A);
    transform: scale(0.95);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.7);
}

.close-btn {
    background: linear-gradient(to bottom, #FF4444, #B22222);
    border: 1px solid #800000;
}

.minimize-btn {
    background: linear-gradient(to bottom, #FFD700, #B8860B);
    border: 1px solid #8B6508;
}

.maximize-btn {
    background: linear-gradient(to bottom, #4CAF50, #087F23);
    border: 1px solid #005700;
}




      .xp-taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 52px;
    background: linear-gradient(to bottom, #2A2A2A, #1A1A1A);
    display: flex;
    align-items: center;
    z-index: 1002;
    justify-content: flex-start;
    border-top: 2px solid #4CAF50;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.5);
}

/* OPTIMIZACION: .start-btn ya no se usa en esta pagina. El boton "XRRXR"
   que simulaba ser el boton de Windows (y abria el iframe #startMenu) se
   reemplazo por un boton "VER TODO" con la clase .toggle-btn, igual que
   el resto de los iconos de la barra. Se deja esta regla por si otra
   pagina del sitio todavia la usa; si confirmas que no, se puede borrar
   junto con #startMenu mas abajo. */
.start-btn {
    cursor: pointer;
    font-size: 14px;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    margin: 0 3px;
    background: linear-gradient(to bottom, #4CAF50, #087F23);
    color: white;
    border: 1px solid #005700;
    border-radius: 4px;
    font-family: 'Press Start 2P', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
}

.start-btn:hover {
    background: linear-gradient(to bottom, #6AEF72, #3CB043);
    color: black;
    transform: scale(1.03);
}

.start-btn:active {
    background: linear-gradient(to bottom, #3CB043, #6AEF72);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.toggle-btn, .toggle-hand {
    cursor: pointer;
    font-size: 12px;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    margin: 0 2px;
    background: linear-gradient(to bottom, #3A3A3A, #2A2A2A);
    color: #CCCCCC;
    border: 1px solid #4CAF50;
    border-radius: 4px;
    font-family: 'Press Start 2P', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
}

.toggle-btn:hover, .toggle-hand:hover {
    background: linear-gradient(to bottom, #5A5A5A, #4A4A4A);
    color: white;
}

.toggle-btn:active, .toggle-hand:active {
    background: #4CAF50;
    color: black;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.7);
}

.taskbar-info {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-right: 10px;
    font-size: 12px;
    color: #CCCCCC;
    font-family: 'Press Start 2P', monospace;
}

.taskbar-info .clock {
    margin-left: 10px;
    padding: 2px 6px;
    background: #2A2A2A;
    border: 1px solid #4CAF50;
    border-radius: 4px;
    color: #FFFFFF;
}

        #yearWindow {
            top: calc(2% + 5%);
            width: calc(250px + 5%);
            height: 400px;
            left: 3%;
            z-index: 1001;
            background-color: black;
        }

        #welcomeWindow {
            width: 400px;
            height: 400px;
            top: calc(30% + 10%);
            left: calc(-7% + 10%);
            background-image: url('');
            background-size: 150px;
            z-index: 1020;
            display: block;
        }

        .xp-header.welcome {
            background-color: black;
        }

        /* OPTIMIZACION: #startMenu ya no se usa en esta pagina (ver nota en
           .start-btn mas arriba). Se deja por si otra pagina del sitio
           todavia lo referencia. */
        #startMenu {
            width: 300px;
            height: 400px;
            position: fixed;
            bottom: 40px;
            left: 0;
            z-index: 1003;
            border: 2px solid #000;
            border-radius: 10px;
            background-color: #2e2e2e;
            color: white;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            display: none;
            overflow: hidden;
        }

        .audio-box {
            padding: 8px;
        }
        .audio-box {
            max-width: 450px;
            overflow: hidden;
            white-space: nowrap;
            position: fixed;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            background-image: url(https://xrrxr.art/assets/backgrounds/gm3-moshed-05-21-22-01-19.gif);
            background-position: 0 0;
            background-size: 100px;
            background-repeat: repeat;
            padding: 20px 40px;
            border-radius: 10px;
            margin: 0 auto;
            box-shadow: 0px 0px 10px #fff;
            z-index: 1000;
                font-size: 22px;

        }

        .audio-box .minimize-btn {
            position: absolute;
            top: 5px;
            right: 10px;
            width: 16px;
            height: 16px;
            background-color: #4f88f2;
            cursor: pointer;
        }

        #scrolling-text {
            position: absolute;
            animation: scroll-text 10s linear infinite;
            top: 5px;
            left: 60px;
            white-space: nowrap;
            color: #000;
            background-color: transparent;
            text-shadow: 2px 2px 2px #fff;
        }

        @keyframes scroll-text {
            0% { left: 450px; }
            100% { left: -100%; }
        }

        .audio-controls-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 10px;
        }

        .audio-controls {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 16px;
            color: #ffffff;
            margin: 3px;
        }

        .content {
            padding: 8px;
            text-align: center;
            overflow: auto;
            height: calc(100% - 30px);
            color: white;
        }

        .year-item {
            cursor: pointer;
            padding: 4px 0;
            color: #000;
            background-color: white;
        }

        .year-item:hover {
            text-decoration: underline;
        }

      .content::-webkit-scrollbar {
    width: 10px;
    background: #2A2A2A;
}

.content::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #4CAF50, #087F23);
    border-radius: 5px;
    border: 2px solid #2A2A2A;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #6AEF72, #3CB043);
}

.content::-webkit-scrollbar-thumb:active {
    background: linear-gradient(to bottom, #3CB043, #6AEF72);
}

.content::-webkit-scrollbar-corner {
    background: #2A2A2A;
}


      /* Icono de Cubo Blanco Virtual */
.desktop-icon {
    position: absolute;
    bottom: 150px;
    left: 20px;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 2px black;
    cursor: pointer;
    width: 90px;
    padding: 8px;
    border: 2px solid #4CAF50;
    background: linear-gradient(to bottom, #3A3A3A, #2A2A2A);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease;
}

.desktop-icon:hover {
    background: linear-gradient(to bottom, #5A5A5A, #4A4A4A);
    transform: scale(1.05);
}

.desktop-icon img {
    width: 86px;
    height: 108px;
    margin-bottom: 5px;
    display: block;
}

.desktop-icon p {
    margin: 0;
    line-height: 1.2;
    font-size: 12px;
    font-family: 'Press Start 2P', monospace;
    color: #FFFF00;
}





.back-arrow a {
    display: inline-block;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    background: linear-gradient(to bottom, #3A3A3A, #2A2A2A);
    color: #00FF00;
    border: 2px solid #00FF00;
    border-radius: 6px;
    padding: 8px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: fixed;
    top: 15px;
    left: 15px;
    min-width: 100px;
}

.back-arrow a:hover {
    background: linear-gradient(to bottom, #5A5A5A, #4A4A4A);
    color: white;
    transform: scale(1.05);
}

.back-arrow a:active {
    background: linear-gradient(to bottom, #2A2A2A, #1A1A1A);
    transform: scale(0.95);
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.6);
}




        .scrolling-text {
            overflow: hidden;
            width: 100%;
            height: 20px;
            white-space: nowrap;
        }

        .scrolling-text div {
            display: inline-block;
            padding-left: 100%;
            animation: scrolling-text 10s linear infinite;
        }

        @keyframes scrolling-text {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-100%);
            }
        }

        .halo-effect {
            box-shadow: 0 0 10px 5px rgba(255, 215, 0, 0.3);
            border-radius: 50px;
            transition: transform 0.3s ease-in-out;
            animation: sunlight-effect 1s infinite alternate;
        }

        .halo-effect:hover {
            transform: scale(1.05);
        }

        @keyframes sunlight-effect {
            0% { box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.7); }
            100% { box-shadow: 0 0 20px 10px rgba(255, 255, 255, 1); }
        }
        

.year-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    gap: 10px;
}

.year-button {
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    background: linear-gradient(to bottom, #3A3A3A, #2A2A2A);
    color: var(--cbv-green);
    border: 2px solid var(--cbv-pink);
    border-radius: 8px;
    padding: 10px 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.year-button:hover {
    background: linear-gradient(to bottom, var(--cbv-pink), #b8007a);
    color: var(--cbv-white);
    transform: scale(1.1);
    border-color: var(--cbv-white);
}

.year-button:active {
    background: linear-gradient(to bottom, #2A2A2A, #1A1A1A);
    transform: scale(0.95);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.7);
}

/* Subtítulo dentro de un botón, usado por "iref" */
.project-subtitle {
    font-family: 'VT323', monospace;
    font-size: 11px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--cbv-pink);
}

.year-button:hover .project-subtitle {
    color: var(--cbv-white);
}


/* Ventanas dinamicas (Anios) */
.dynamic-window {

    border: 3px solid #4CAF50;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.7), 0 0 50px rgba(0, 255, 0, 0.3);
    position: fixed;
    z-index: 2000;
    animation: fadeInScale 0.5s ease-out;
    max-width: 40%;
    max-height: 70%;
    overflow: auto;
    padding: 20px;
    color: white;
    font-family: 'Press Start 2P', monospace;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.dynamic-window .dynamic-header {
    background: linear-gradient(to bottom, #4CAF50, #087F23);
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    border-bottom: 2px solid #005700;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 10px 10px 0 0;
}

.dynamic-window .dynamic-content {
    padding: 15px;
    overflow-y: auto;
    scrollbar-color: #4CAF50 #2A2A2A;
    scrollbar-width: thin;
    text-align: center;
    font-size: 14px;
    color: #00FF00;
}

.dynamic-window .close-btn {
    background: linear-gradient(to bottom, #FF4444, #B22222);
    border: 2px solid #800000;
    color: white;
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    padding: 8px 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
}

.dynamic-window .close-btn:hover {
    background: linear-gradient(to bottom, #FF6666, #CC0000);
    transform: scale(1.05);
}

.dynamic-window .close-btn:active {
    background: linear-gradient(to bottom, #B22222, #FF4444);
    transform: scale(0.95);
}


/* ============================================================
   OPTIMIZACION: .floating-buttons, .accessibility-switch y
   .accessibility-menu (de emojis) ya NO se usan en la pagina de
   arte - fueron reemplazados por el menu unificado ".settings-menu"
   mas abajo. Se dejan aqui sin borrar por si alguna OTRA pagina del
   sitio todavia las referencia; si confirmas que no, se pueden
   eliminar.
   ============================================================ */

.floating-buttons {
    position: fixed;
    top: 10px;
    right: 70px;
    z-index: 1000;
}

.accessibility-switch {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.menu-icon {
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.menu-icon:hover {
    transform: scale(1.1);
}

.accessibility-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: black;
    color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 70px;
    right: 10px;
    z-index: 1001;
}

.accessibility-menu.hidden {
    display: none;
}

.accessibility-menu button {
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    background-color: black;
    color: white;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.accessibility-menu button:hover {
    transform: scale(1.1);
    background-color: #333;
}
.xp-window {
    width: calc(250px + 5%);
    max-width: 70vh;
    height: 400px;
    background-color: black;
    border: 2px solid #4CAF50;
    border-radius: 15px;
    position: fixed;
    overflow: hidden;
    z-index: 1001;
}

@media (max-width: 768px) {
    .xp-window {
        width: 90%;
        max-width: 90%;
        left: 5% !important;
        right: 5% !important;
        height: auto;
        max-height: 80vh;
        top: 10% !important;
    }

    #yearWindow {
        width: 90%;
        max-width: 90%;
        left: 5% !important;
        right: 5% !important;
        height: auto;
        max-height: 80vh;
        top: 10% !important;
    }

    .dynamic-window {
        width: 90% !important;
        max-width: 90% !important;
        left: 5% !important;
        right: 5% !important;
        height: auto;
        max-height: 80vh;
        top: 10% !important;
    }
}

/* ============================================================
   NUEVO: menu unificado de ajustes (accesibilidad + idioma).
   Mismo patron que la portada de xrrxr.art (un solo boton abre un
   panel con backdrop), pero con la piel verde neon / negro /
   "Press Start 2P" de esta pagina en vez de los colores de la
   portada, para mantener consistencia visual con el resto de esta
   seccion del sitio.
   ============================================================ */
#settings-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
#settings-backdrop.hidden {
    display: none;
}
#settings-backdrop:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.settings-menu {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#settings-toggle-btn {
    width: 50px;
    height: 50px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #3A3A3A, #2A2A2A);
    color: #00FF00;
    border: 2px solid #00FF00;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, background-color 0.2s ease;
}
#settings-toggle-btn:hover,
#settings-toggle-btn:focus-visible {
    transform: scale(1.1);
    background: linear-gradient(to bottom, #5A5A5A, #4A4A4A);
    outline: 2px solid #00FF00;
    outline-offset: 2px;
}
#settings-toggle-btn svg {
    width: 26px;
    height: 26px;
}

.settings-panel {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: black;
    color: white;
    padding: 12px;
    border: 2px solid #00FF00;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    width: 230px;
    box-sizing: border-box;
    max-height: min(480px, calc(100vh - 80px));
    overflow-y: auto;
}
.settings-panel.hidden {
    display: none !important;
}
.settings-panel button {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Press Start 2P', monospace;
    font-size: 11px;
    line-height: 1.4;
    background-color: black;
    color: #00FF00;
    border: 2px solid #00FF00;
    border-radius: 8px;
    padding: 10px;
    min-height: 44px;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}
.settings-panel button:hover,
.settings-panel button:focus-visible {
    transform: scale(1.03);
    background-color: #333;
    color: white;
    outline: 2px solid #00FF00;
    outline-offset: 2px;
}
.settings-panel svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.settings-font-controls {
    display: flex;
    gap: 6px;
}
.settings-font-controls button {
    flex: 1;
    justify-content: center;
    font-size: 10px;
    padding: 10px 4px;
}

#lang-section-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 6px;
    border-left: 2px solid #00FF00;
    margin: -2px 0 0 4px;
}
#lang-section-list.hidden {
    display: none;
}
#lang-section-list a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: black;
    color: #00FF00;
    text-decoration: none;
    font-family: 'Press Start 2P', monospace;
    font-size: 11px;
    text-align: center;
    padding: 8px 6px;
    border: 2px solid #00FF00;
    border-radius: 8px;
}
#lang-section-list a:hover,
#lang-section-list a:focus-visible {
    background-color: #333;
    color: white;
}
#lang-section-btn svg.chevron {
    transition: transform 0.15s ease;
}
#lang-section-btn[aria-expanded="true"] svg.chevron {
    transform: rotate(180deg);
}

@media (max-width: 480px) {
    .settings-panel {
        width: min(240px, calc(100vw - 20px));
    }
}