﻿/* ==========================================
   ÍNDICE DEL SISTEMA (PORTFOLIO OS)
   ==========================================
   00. RESET & VARIABLES
   01. TIPOGRAFÍA Y BASE
   02. CURSOR PERSONALIZADO
   03. ESCRITORIO Y COPYRIGHT
   04. FÍSICAS DE ARRASTRE (Inercia)
   05. ICONOS DEL ESCRITORIO (Lógica PNG/GIF)
   06. VENTANAS (Estructura y Dinamismo)
   07. ESTILOS DE APPS ESPECÍFICAS
   08. STICKERS Y DECORACIÓN
   09. EASTER EGGS Y GLITCHES
   10. RESPONSIVE
   ========================================== */

/* Importamos la tipografía técnica para los detalles */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

/* ==========================================
   00. RESET & VARIABLES
   ========================================== */
* {
    box-sizing: border-box; 
    cursor: none !important; /* Eliminación total del cursor del sistema */
}

/* Forzamos a que incluso en hover a cualquier cosa no aparezca el cursor original */
a, button, .icon, .window, .window-header, .dot, .tab-icon, .paint-btn {
    cursor: none !important;
}

:root {
    /* Paleta Senior: Blanco puro y Negro carbón */
    --bg-cream: #ffffff; 
    --border-black: #1535E6;
    --purpleblue: #312783;
    --stroke-width: 1.5px; /* Grosor de línea más sofisticado */
}

/* ==========================================
   01. TIPOGRAFÍA Y BASE
   ========================================== */
body {
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    background-color: var(--bg-cream);
    font-family: 'Montserrat', sans-serif;
    color: var(--border-black);
    font-size: 14px; /* Reducido para dar más aire */
}

/* Tipografía técnica para elementos de la interfaz */
.window-header, .window-title, .copyright-header, .paint-btn, .icon span, .window-content strong {
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
}

p, li {
    font-size: 15px; /* Reducido */
    line-height: 1.6;
    margin-bottom: 14px;
}

h2, h3 {
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-top: 20px;
    margin-bottom: 12px;
}

strong {
    font-weight: 700;
}

/* ==========================================
   02. CURSOR PERSONALIZADO (Precisión)
   ========================================== */
#custom-cursor {
    position: fixed;
    top: 0; 
    left: 0;
    pointer-events: none; 
    z-index: 999999;
    mix-blend-mode: normal; 
    
    /* Cursor más pequeño para transmitir precisión */
    width: 26px; /* Reducido */
    height: 26px;
    background-image: url('assets/cursor-pixel.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent; 
    
    image-rendering: pixelated; 
    image-rendering: crisp-edges;
    border-radius: 0; 
    
    /* 🛑 LA BARRERA ANTI-LAG 🛑 */
    transition: width 0.1s ease-out, height 0.1s ease-out !important; 
    
    will-change: transform, width, height;
}

#custom-cursor.hovering {
    width: 36px; /* Reducido */
    height: 36px;
}

/* Desactivamos el cursor custom en pantallas táctiles */
@media (pointer: coarse) {
    * { cursor: auto !important; }
    #custom-cursor { display: none !important; }
}

/* ==========================================
   03. ESCRITORIO Y COPYRIGHT
   ========================================== */
html, body { scrollbar-width: none; } /* Firefox */
html::-webkit-scrollbar,
body::-webkit-scrollbar { display: none; } /* Chrome/Safari/Edge */

#desktop {
    width: 100vw;
    min-height: 150vh;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    background-color: #1535E6;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='white' stroke-opacity='0.10' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 40px 40px;
    animation: moveGridDiagonal 10s linear infinite;
}

/* ── Título central del escritorio ── */
.desktop-hero {
    position: absolute;
    top: calc(40vh + 10px);
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 1;
    width: 100%;
}

/* ── App Launcher (fan) ── */
#app-launcher {
    position: absolute;
    top: 72vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#launcher-folder-img {
    width: 150px;
    height: auto;
    display: block;
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: none;
}
#app-launcher:hover #launcher-folder-img {
    transform: scale(1.12) translateY(-4px);
}

#launcher-hint {
    position: absolute;
    left: calc(100% + 18px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    pointer-events: none;
    animation: hintBounce 0.7s ease-in-out infinite alternate;
    transition: opacity 0.4s ease;
}
#launcher-hint .hint-arrow {
    font-size: 18px;
    color: #ffffff;
    line-height: 1;
}
#launcher-hint .hint-text {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: #1535E6;
    border: 2px solid #ffffff;
    padding: 3px 8px;
    box-shadow: 3px 3px 0 #ffffff;
}
#launcher-hint.hidden {
    opacity: 0;
    pointer-events: none;
}
@keyframes hintBounce {
    from { transform: translateY(-50%) translateX(0px); }
    to   { transform: translateY(-50%) translateX(-6px); }
}
.desktop-hero-tag {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.45);
    text-align: center;
}
.desktop-title-svg {
    width: min(84vw, 720px);
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    pointer-events: auto;
    cursor: none;
}

@keyframes moveGridDiagonal {
    from { background-position: 0px 0px; }
    to { background-position: 40px 40px; }
}

/* ── Doodles decorativos (grupos ciclados) ── */

/* Contenedor del grupo: posición, tamaño y animación compuesta */
.doodle-group {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    user-select: none;
    -webkit-user-select: none;
}

/* Cada variante SVG dentro del grupo */
/* La transition se añade/quita desde JS: instant entre variantes, suave al aparecer/desaparecer */
.doodle-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0;
    pointer-events: none;
    display: block;
}

/* ── Grupo: Estrellas grandes ── */
.doodle-group-star {
    top: -70px;
    left: calc(5vw - 80px);
    width: 384px;
    height: 384px;
    z-index: 0;
}

/* ── Grupo: Estrellas pequeñas ── */
.doodle-group-star-sm {
    top: calc(30vh + 15px);
    right: 5vw;
    width: 297px;
    height: 297px;
    z-index: 0;
}

/* ── Grupo: Óvalos ── */
/* Con translateY(-50%), el CSS top coincide exactamente con el centro visual.  */
/* La frase está en top: calc(95vh + 177px) transform: translate(-50%,-50%)     */
/* → su centro visual también es 95vh + 177px → mismo valor aquí.              */
.doodle-group-oval {
    top: calc(95vh + 177px);
    left: calc(50% - 216px);
    width: 432px;
    height: 212px;
    z-index: 0;
    transform: translateY(-50%);
}

/* ── Keyframes ── */

/* Aparecer → quedarse → desaparecer → pausa */
@keyframes doodle-appear {
    0%         { opacity: 0; }
    6%         { opacity: 1; }
    72%        { opacity: 1; }
    82%        { opacity: 0; }
    100%       { opacity: 0; }
}


.copyright-header {
    /* Intacto como pediste */
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    color: #ffffff;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 1px;
}

/* ── Decorative drawing lines ── */
.deco-lines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}
.deco {
    position: absolute;
    overflow: visible;
}
.deco line,
.deco rect,
.deco circle,
.deco path,
.deco polyline {
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1.5px;
    fill: none;
    stroke-linecap: square;
}
.deco-1 { top: 100px; left: 70px; }
.deco-2 { top: 50px;  right: 90px; }
.deco-3 { top: 38vh;  left: 18px; }
.deco-4 { top: 30vh;  right: 55px; }
.deco-5 { bottom: 140px; left: 50%; transform: translateX(-50%); }

@keyframes dash-draw {
    0%   { stroke-dashoffset: var(--d); opacity: 0; }
    6%   { opacity: 1; }
    55%  { stroke-dashoffset: 0; opacity: 1; }
    84%  { stroke-dashoffset: 0; opacity: 0.9; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

/* ── Mensaje fondo del desktop ── */
.desktop-bottom-msg {
    position: absolute;
    top: calc(95vh + 177px);  /* centrado sobre el óvalo */
    left: 50%;
    transform: translate(-50%, -50%);  /* centrado horizontal y vertical */
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    pointer-events: none;
    text-transform: lowercase;
}

/* ── Photoshop selection box ── */
.ps-selection {
    position: fixed;
    border: 2.5px solid #1535E6;
    outline: 1.5px solid rgba(255,255,255,0.7);
    pointer-events: none;
    z-index: 9999;
}
.ps-handle {
    position: absolute;
    width: 11px;
    height: 11px;
    background: #1535E6;
    border: var(--stroke-width) solid #1535E6;
    outline: 1.5px solid #ffffff;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.ps-handle-tl { top: 0%;   left: 0%;   }
.ps-handle-tc { top: 0%;   left: 50%;  }
.ps-handle-tr { top: 0%;   left: 100%; }
.ps-handle-ml { top: 50%;  left: 0%;   }
.ps-handle-mr { top: 50%;  left: 100%; }
.ps-handle-bl { top: 100%; left: 0%;   }
.ps-handle-bc { top: 100%; left: 50%;  }
.ps-handle-br { top: 100%; left: 100%; }

/* Indicador de scroll */
.scroll-indicator {
    position: fixed;
    bottom: 32px;
    left: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
    pointer-events: none;
    animation: scrollIndicatorPulse 2.4s ease-in-out infinite;
}
.scroll-indicator-line {
    width: 1px;
    height: 52px;
    background: #ffffff;
    opacity: 0.7;
}
.scroll-indicator-text {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #ffffff;
    opacity: 0.7;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}
@keyframes scrollIndicatorPulse {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50%       { opacity: 0.4; transform: translateY(6px); }
}

/* ==========================================
   04. FÍSICAS DE ARRASTRE (Inercia y Peso)
   ========================================== */
.icon, 
#sticker-2026, 
#sticker-identification {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                top 0.3s ease-out, 
                left 0.3s ease-out,
                filter 0.2s ease;
    will-change: top, left, transform; 
}

.window {
    transition: transform 0.2s ease, 
                box-shadow 0.2s ease, 
                top 0.15s ease-out, 
                left 0.15s ease-out;
    will-change: top, left, transform;
}

.icon:active, 
.sticker:active,
#sticker-2026:active,
#sticker-identification:active {
    transition: transform 0.1s ease-out, top 0.1s ease-out, left 0.1s ease-out !important;
    z-index: 999;
}

.window:active {
    transition: transform 0.05s ease-out, top 0.05s ease-out, left 0.05s ease-out !important;
}

/* ==========================================
   05. ICONOS DEL ESCRITORIO (PNG + GIF)
   ========================================== */
.icon {
    position: absolute;
    width: 50px; /* Reducido de 60px para dar aire */
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    user-select: none;
}

.icon img {
    width: 100%;
    height: auto;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.2s ease;
    image-rendering: pixelated; 
    object-fit: contain;
    filter: grayscale(0.15); 
}

.icon:hover img {
    transform: translateY(-4px) scale(1.05); 
    filter: grayscale(0);
}

/* --- LÓGICA DE ICONO ABIERTO --- */
/* Por defecto, los iconos abiertos se ven como una carpeta estática */
.icon.opened img { content: url('assets/carpetaidle.png') !important; }

/* EXCEPCIONES: Iconos que NO son carpetas y deben mantener su propio PNG al abrirse */
#icon-reproductor.opened img { content: url('assets/musicidle.png') !important; }
#icon-designer.opened img { content: url('assets/designeridle.png') !important; }
#icon-mifoto.opened img { content: url('assets/mifoto-final-final.png') !important; }
#icon-designopedia.opened img { content: url('assets/designopediaidle.png') !important; }

/* Efecto hover específico para designopedia */
#icon-designopedia:hover img {
    transform: translateY(-4px) scale(1.05);
    filter: grayscale(0);
}

/* Textos de los iconos */
.icon span, .icon {
    pointer-events: auto;
}

.icon span {
    display: inline-block;
    margin-top: 5px;
    font-weight: 700;
    font-size: 10px; /* Reducido de 12px */
    background: rgba(255,255,255,0.92);
    color: var(--border-black);
    border: var(--stroke-width) solid var(--border-black);
    padding: 3px 6px;
    box-shadow: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.icon:hover span {
    transform: translateY(-2px);
    box-shadow: none;
}

/* ==========================================
   06. VENTANAS GLOBALES (Estilo Senior)
   ========================================== */
.window {
    position: fixed;
    background: #ffffff;
    border: var(--stroke-width) solid #1535E6;
    box-shadow: none;
    display: none;
    width: 500px;
    max-width: 90vw;
    z-index: 100;
    border-radius: 0px;
}

.window:hover {
    transform: translate(-2px, -2px);
    box-shadow: none;
}

.window-header {
    background: #ffffff;
    border-bottom: var(--stroke-width) solid #1535E6;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    user-select: none;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #1535E6;
}

.window-title {
    flex-grow: 1;
    text-align: left;
    margin-left: 70px;
    font-weight: bold;
    color: #1535E6;
}

.window-controls {
    display: flex;
    gap: 4px;
    position: absolute;
}

.dot {
    width: 15px;
    height: 15px;
    border: var(--stroke-width) solid #1535E6;
    border-radius: 0%;
}

.dot.red {
    background-color: #1535E6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    background-size: 8px 8px;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-color 0.2s ease;
}

.dot.red:hover {
    background-color: #ff3b30;
}
.dot.yellow { background: rgba(21, 53, 230, 0.18); }
.dot.green  { background: #1535E6; }

.window-content {
    padding: 20px;
    line-height: 1.6;
    max-height: 70vh;
    overflow-y: auto;
    font-size: 14px;
    background-color: transparent;
}

.window-content a {
    color: #1535E6;
    font-weight: 800;
    text-decoration: underline;
}

.window-content h2 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 12px;
    border-bottom: var(--stroke-width) solid #1535E6;
    padding-bottom: 8px;
    color: #1535E6;
}

.window-content .skill-tag {
    display: inline-block;
    background: #1535E6;
    color: #FFFFFF;
    padding: 4px 8px;
    font-size: 11px;
    margin: 3px 2px;
    font-weight: bold;
}

.project-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-list li {
    margin-bottom: 10px;
    padding: 10px;
    border: var(--stroke-width) solid #1535E6;
    background: rgba(21, 53, 230, 0.04);
    font-size: 14px;
}

/* ==========================================
   06b. VENTANA DE CONTACTO
   ========================================== */
.contacto-content { padding: 0 !important; overflow: hidden; }

.contacto-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 18px 16px;
    border-bottom: var(--stroke-width) solid #1535E6;
    background: rgba(21,53,230,0.05);
}
.contacto-avatar {
    width: 52px; height: 52px;
    background: #1535E6;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 15px; font-weight: 700;
    flex-shrink: 0;
    box-shadow: 3px 3px 0 rgba(21,53,230,0.35);
}
.contacto-tagline {
    font-family: 'Space Mono', monospace;
    font-size: 17px; font-weight: 700;
    color: #1535E6; letter-spacing: 2px;
    line-height: 1.1;
}
.contacto-sub {
    font-family: 'Space Mono', monospace;
    font-size: 8px; letter-spacing: 1.2px;
    color: #1535E6; opacity: 0.5;
    margin-top: 5px; text-transform: uppercase;
}
.contacto-links {
    display: flex; flex-direction: column; gap: 8px;
    padding: 14px;
}
.contacto-card {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 14px;
    border: var(--stroke-width) solid #1535E6;
    text-decoration: none;
    color: #1535E6;
    background: rgba(21,53,230,0.03);
    transition: background 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}
.contacto-card:hover {
    background: rgba(21,53,230,0.1);
    transform: translate(-2px,-2px);
    box-shadow: none;
}
.contacto-card-icon {
    font-size: 20px; flex-shrink: 0; line-height: 1;
}
.contacto-card-body { flex: 1; min-width: 0; }
.contacto-card-label {
    font-family: 'Space Mono', monospace;
    font-size: 8px; letter-spacing: 1.5px;
    opacity: 0.55; text-transform: uppercase;
}
.contacto-card-value {
    font-size: 11px; font-weight: 700;
    margin-top: 3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.contacto-card-arrow {
    margin-left: auto; font-size: 18px;
    opacity: 0.5; transition: opacity 0.12s, transform 0.12s;
}
.contacto-card:hover .contacto-card-arrow {
    opacity: 1; transform: translateX(3px);
}

/* ==========================================
   07. ESTILOS DE APPS ESPECÍFICAS
   ========================================== */

/* --- PORTFOLIO GIF PREVIEW --- */
.portfolio-window-content {
    padding: 0 !important; 
    background-color: #1A1A1A !important; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.portfolio-gif-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.portfolio-gif-img {
    width: 100%;
    height: auto;
    object-fit: contain; 
    display: block;
    margin: 0 auto;
}

.portfolio-gif-link:hover .portfolio-gif-img {
    filter: brightness(1.05); 
}

/* --- VISOR DE IMÁGENES Y MI FOTO --- */
#icon-mifoto { width: 85px !important; } /* Reducido */
#icon-mifoto img {
    width: 50px !important;  
    height: 65px !important; 
    object-fit: cover !important; 
    border: var(--stroke-width) solid var(--border-black) !important; 
    box-shadow: none !important; 
    background-color: white !important;
    display: block !important;
    margin: 0 auto !important;
    max-width: none !important; 
}

.icon-img img {
    width: 38px !important; 
    height: 38px !important; 
    object-fit: cover;
    border: var(--stroke-width) solid var(--border-black) !important;
    box-shadow: none !important;
    background: white;
}

.visor-img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border: var(--stroke-width) solid var(--border-black);
    box-shadow: none;
}

/* Icono del carné: mostrar imagen completa sin recorte */
#icon-mifoto img {
    width: 54px !important;
    height: auto !important;
    object-fit: contain !important;
    border: none !important;
    border-radius: 6px !important;
}

/* ── Carné de identificación ── */
#carne-card {
    position: absolute;
    width: 360px;
    perspective: 1200px;
    user-select: none;
    -webkit-user-select: none;
    z-index: 500;
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter   0.18s ease;
}
/* Entrada: caída desde arriba con rebote */
@keyframes carneFall {
    0%   { transform: translateY(-110vh) rotate(-6deg); }
    62%  { transform: translateY(0px)    rotate(1deg);  }
    75%  { transform: translateY(-18px)  rotate(-0.5deg); }
    87%  { transform: translateY(6px)    rotate(0.2deg);  }
    100% { transform: translateY(0px)    rotate(0deg);    }
}
#carne-card.carne-falling {
    animation: carneFall 0.68s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* Coger: se eleva con escala y sombra suave */
#carne-card.carne-held {
    transform: scale(1.06) translateY(-8px);
    filter: drop-shadow(0 18px 32px rgba(0,0,0,0.28));
}
/* Soltar: rebote de caída con física de muelle */
#carne-card.carne-dropping {
    animation: carneDropBounce 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes carneDropBounce {
    0%   { transform: scale(1.06) translateY(-8px); filter: drop-shadow(0 18px 32px rgba(0,0,0,0.28)); }
    55%  { transform: scale(0.98) translateY(3px);  filter: drop-shadow(0  3px  8px rgba(0,0,0,0.12)); }
    100% { transform: scale(1)    translateY(0px);  filter: drop-shadow(0  6px 14px rgba(0,0,0,0.14)); }
}
.carne-inner {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
}
#carne-card.flipped .carne-inner {
    transform: rotateY(180deg);
}
.carne-face {
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    border-radius: 10px;
}
.carne-front {
    position: relative;
    display: block;
}
.carne-back {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    transform: rotateY(180deg);
}
.carne-face img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}
/* ── Flip hint (mobile only, mostrado 1.5s al abrir) ── */
#carne-flip-hint {
    display: none;
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: rgba(21, 53, 230, 0.68);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    pointer-events: none;
    z-index: 5;
}
#carne-flip-hint.cfh-visible {
    display: flex;
    animation: cfhFade 1.5s ease forwards;
}
/* Pista + punto deslizante */
.cfh-gesture {
    position: relative;
    width: 72px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cfh-track {
    position: absolute;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
}
.cfh-thumb {
    position: absolute;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    animation: cfhSlide 0.72s ease-in-out infinite alternate;
}
.cfh-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
}
@keyframes cfhSlide {
    0%   { transform: translateX(-22px); }
    100% { transform: translateX(22px);  }
}
@keyframes cfhFade {
    0%   { opacity: 0; }
    14%  { opacity: 1; }
    70%  { opacity: 1; }
    100% { opacity: 0; }
}

/* Barrido de luz enmascarado dentro del carné */
.carne-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.72) 50%,
        transparent 80%
    );
    transform: translateX(-150%);
    pointer-events: none;
    border-radius: 10px;
}
.carne-shine.shining {
    animation: carneShine 0.45s ease-out forwards;
}
@keyframes carneShine {
    from { transform: translateX(-150%); }
    to   { transform: translateX(150%);  }
}


/* --- REPRODUCTOR (reproductor.exe) --- */
.player-wrap {
    padding: 0 !important;
    overflow: hidden !important;
    max-height: none !important;
    display: flex;
    flex-direction: column;
}

/* ── Zona vinilo + info ── */
.player-main {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: #0d0d0d;
}

.player-vinyl-wrap { flex-shrink: 0; }

.player-vinyl {
    width: 108px; height: 108px;
    border-radius: 50%;
    position: relative;
    border: 3px solid #2a2a2a;
    box-shadow: 0 0 0 2px #111, 0 0 0 4px #222, 0 6px 24px rgba(0,0,0,0.85);
    overflow: hidden;
    flex-shrink: 0;
}
/* Surcos del vinilo */
.player-vinyl::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-radial-gradient(
        circle at 50% 50%,
        transparent 0, transparent 5px,
        rgba(0,0,0,0.12) 5px, rgba(0,0,0,0.12) 6px
    );
    border-radius: 50%;
    z-index: 1; pointer-events: none;
}
.player-vinyl-art {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: brightness(0.88);
}
.player-vinyl-hole {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 20px; height: 20px;
    background: #0d0d0d;
    border-radius: 50%;
    border: 1.5px solid #3a3a3a;
    z-index: 2;
}
@keyframes vinyl-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.player-vinyl.spinning { animation: vinyl-spin 3.2s linear infinite; }

.player-info { flex: 1; min-width: 0; }
.player-title {
    font-family: 'Space Mono', monospace;
    font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
    color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 5px;
}
.player-artist {
    font-size: 11px; color: rgba(255,255,255,0.45);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 8px;
}
.player-by {
    font-family: 'Space Mono', monospace;
    font-size: 9px; letter-spacing: 0.5px;
    color: var(--purpleblue); opacity: 0.9;
}

/* ── Barra de progreso ── */
.player-progress-wrap {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 14px;
    background: #141414;
    border-top: 1px solid #222;
}
.player-progress-bar {
    flex: 1; height: 3px;
    background: #2e2e2e;
    position: relative; cursor: pointer;
}
.player-progress-bar:hover { height: 5px; margin-top: -1px; }
.player-progress-fill {
    height: 100%; background: var(--purpleblue);
    width: 0%; transition: width 0.5s linear;
    pointer-events: none;
}
.player-time {
    font-family: 'Space Mono', monospace;
    font-size: 9px; color: rgba(255,255,255,0.3);
    flex-shrink: 0; min-width: 36px; text-align: right;
}

/* ── Controles ── */
.player-controls {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background: #141414;
    border-top: 1px solid #222; gap: 8px;
}
.player-btns { display: flex; gap: 5px; align-items: center; }

.player-btn {
    background: #232323;
    border: 1px solid #3a3a3a; color: #ccc;
    font-family: 'Space Mono', monospace;
    font-size: 9px; font-weight: 700;
    padding: 6px 10px; letter-spacing: 0.5px;
    box-shadow: 1px 1px 0 #000;
    transition: all 0.08s;
}
.player-btn:hover { background: #2e2e2e; color: #fff; }
.player-btn:active { transform: translate(1px,1px); box-shadow: none; }
.player-btn:disabled { opacity: 0.3; pointer-events: none; }

.player-btn-main {
    padding: 6px 18px;
    background: var(--purpleblue);
    border-color: #4a3aaa; color: #fff;
}
.player-btn-main:hover { background: #3d32a0; }

.player-btn-fiesta {
    background: transparent;
    border: 1px dashed #3a3a3a; color: rgba(255,255,255,0.25);
    font-size: 9px; padding: 5px 9px; letter-spacing: 0;
}
.player-btn-fiesta:hover { border-color: #ff9f0a; color: #ff9f0a; background: rgba(255,159,10,0.06); }
.player-btn-fiesta.fiesta-on {
    border-color: #ff9f0a; color: #ff9f0a;
    background: rgba(255,159,10,0.1);
    animation: fiesta-glow 1.2s ease infinite;
}
@keyframes fiesta-glow {
    0%,100% { box-shadow: 0 0 4px rgba(255,159,10,0.25); }
    50%      { box-shadow: 0 0 14px rgba(255,159,10,0.55); }
}

/* ── Cola ── */
.player-queue {
    border-top: var(--stroke-width) solid var(--border-black);
    background: var(--bg-cream);
}
.player-queue-label {
    font-family: 'Space Mono', monospace;
    font-size: 8px; font-weight: 700; letter-spacing: 1.5px;
    color: rgba(26,26,26,0.38); text-align: center;
    padding: 7px 0 5px;
    border-bottom: 1px solid rgba(26,26,26,0.08);
}
.player-queue-list {
    max-height: 150px; overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-black) transparent;
}
.player-queue-list::-webkit-scrollbar { width: 3px; }
.player-queue-list::-webkit-scrollbar-thumb { background: var(--border-black); }

.player-queue-item {
    display: flex; align-items: center; gap: 9px;
    padding: 7px 12px;
    border-bottom: 1px solid rgba(26,26,26,0.06);
    transition: background 0.1s; cursor: default;
}
.player-queue-item:hover { background: rgba(49,39,131,0.04); }
.player-queue-item.now-playing {
    background: rgba(49,39,131,0.07);
    border-left: 2.5px solid var(--purpleblue);
}
.player-queue-thumb {
    width: 38px; height: 28px;
    object-fit: cover; flex-shrink: 0;
    border: 1px solid rgba(26,26,26,0.12);
}
.player-queue-meta { flex: 1; min-width: 0; }
.player-queue-title {
    font-family: 'Space Mono', monospace;
    font-size: 9px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    color: var(--border-black);
}
.player-queue-sub {
    font-size: 9px; color: rgba(26,26,26,0.4);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-queue-vote {
    display: flex; flex-direction: column;
    align-items: center; gap: 1px; flex-shrink: 0;
}
.player-vote-btn {
    background: none;
    border: 1px solid rgba(26,26,26,0.2);
    font-family: 'Space Mono', monospace;
    font-size: 8px; font-weight: 700;
    padding: 2px 6px; color: rgba(26,26,26,0.4);
    transition: all 0.1s; line-height: 1.4;
}
.player-vote-btn:hover { border-color: var(--purpleblue); color: var(--purpleblue); }
.player-vote-btn.voted {
    background: var(--purpleblue); color: #fff;
    border-color: var(--purpleblue);
}
.player-vote-count {
    font-family: 'Space Mono', monospace;
    font-size: 8px; color: rgba(26,26,26,0.3);
}
.player-queue-empty {
    font-family: 'Space Mono', monospace;
    font-size: 9px; color: rgba(26,26,26,0.28);
    text-align: center; padding: 16px 0; letter-spacing: 0.5px;
}

/* ── Botón añadir ── */
.player-add-btn {
    width: 100%; background: var(--bg-cream);
    border: none; border-top: var(--stroke-width) solid var(--border-black);
    font-family: 'Space Mono', monospace;
    font-size: 9px; font-weight: 700; letter-spacing: 1px;
    color: var(--border-black); padding: 11px;
    transition: background 0.1s;
}
.player-add-btn:hover { background: #f0f0f0; }

/* ── Diálogo añadir canción ── */
.add-song-box { min-width: 300px; max-width: 92vw; gap: 10px; }
.add-song-url-row {
    display: flex; gap: 6px; align-items: center;
}
.add-song-url-row .upload-dialog-input { flex: 1; min-width: 0; }
.add-song-preview {
    display: flex; gap: 10px; align-items: center;
    border: var(--stroke-width) solid var(--border-black);
    padding: 8px; background: #f5f5f5;
    box-shadow: none;
    animation: lightbox-pop 0.15s cubic-bezier(0.175,0.885,0.32,1.275);
}
.add-song-thumb {
    width: 56px; height: 42px;
    object-fit: cover; flex-shrink: 0;
    border: 1px solid rgba(26,26,26,0.15);
}
.add-song-meta { flex: 1; min-width: 0; }
.add-song-meta-title {
    font-family: 'Space Mono', monospace;
    font-size: 10px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    color: var(--border-black); margin-bottom: 3px;
}
.add-song-meta-ch {
    font-size: 10px; color: rgba(26,26,26,0.45);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.add-song-author { margin-top: 2px; }

/* ── Responsive mobile ── */

/* --- DESIGNER (designer.exe) --- */
.designer-wrap {
    padding: 0 !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
    max-height: none !important;
}

.dsgn-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-bottom: var(--stroke-width) solid var(--border-black);
    background: var(--bg-cream);
    flex-wrap: wrap;
}

.dsgn-tool-group {
    display: flex;
    align-items: center;
    gap: 3px;
    padding-right: 8px;
    border-right: 1px solid rgba(26,26,26,0.2);
    flex-shrink: 0;
}
.dsgn-tool-group:last-child {
    border-right: none;
    padding-right: 0;
    margin-left: auto;
}

.dsgn-tool {
    background: #fff;
    border: var(--stroke-width) solid var(--border-black);
    width: 26px; height: 26px;
    font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: none;
    transition: all 0.07s;
    line-height: 1;
    flex-shrink: 0;
}
.dsgn-tool:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--border-black); }
.dsgn-tool.active {
    background: var(--border-black); color: #fff;
    box-shadow: 0 0 0 var(--border-black); transform: translate(1px,1px);
}

.dsgn-size {
    background: #fff;
    border: var(--stroke-width) solid var(--border-black);
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: none;
    transition: all 0.07s;
    flex-shrink: 0;
}
.dsgn-size span {
    background: var(--border-black);
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
}
.dsgn-size:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--border-black); }
.dsgn-size.active { background: #e0e0e0; box-shadow: 0 0 0 var(--border-black); transform: translate(1px,1px); }

.dsgn-swatches {
    flex-wrap: wrap;
    max-width: 108px;
    gap: 3px !important;
    align-content: center;
}

.dsgn-swatch {
    width: 17px; height: 17px;
    border: var(--stroke-width) solid var(--border-black);
    border-radius: 0;
    transition: all 0.07s;
    position: relative;
    flex-shrink: 0;
    box-shadow: none;
}
.dsgn-swatch:hover { transform: scale(1.15); }
.dsgn-swatch.active::after {
    content: '';
    position: absolute; inset: -3px;
    border: 2px solid var(--border-black);
    pointer-events: none;
}

.dsgn-custom-color {
    position: relative;
    width: 17px; height: 17px;
    border: var(--stroke-width) dashed var(--border-black);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
    font-size: 11px; font-weight: 700; line-height: 1;
    box-shadow: none;
}
.dsgn-custom-color input[type="color"] {
    position: absolute; inset: 0; opacity: 0;
    width: 100%; height: 100%; border: none; padding: 0;
}

.dsgn-action-btn {
    background: #fff;
    border: var(--stroke-width) solid var(--border-black);
    font-family: 'Space Mono', monospace;
    font-size: 9px; font-weight: 700;
    padding: 5px 9px;
    letter-spacing: 0.5px;
    box-shadow: none;
    transition: all 0.07s;
    white-space: nowrap;
}
.dsgn-action-btn:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--border-black); }
.dsgn-upload-btn { background: var(--border-black); color: #fff; }
.dsgn-upload-btn:hover { background: #333; }

#paint-canvas {
    display: block;
    width: 100%;
    touch-action: none;
    border-bottom: var(--stroke-width) solid var(--border-black);
    background: #fff;
    flex-shrink: 0;
}

.dsgn-gallery {
    background: var(--bg-cream);
    padding: 8px 10px 10px;
    flex-shrink: 0;
}
.dsgn-gallery-label {
    font-family: 'Space Mono', monospace;
    font-size: 8px; font-weight: 700; letter-spacing: 1.5px;
    color: rgba(26,26,26,0.45);
    margin-bottom: 7px; text-align: center;
}
.dsgn-gallery-track {
    display: flex; gap: 8px;
    overflow-x: auto; overflow-y: hidden;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-black) transparent;
    min-height: 90px; align-items: center;
}
.dsgn-gallery-track::-webkit-scrollbar { height: 4px; }
.dsgn-gallery-track::-webkit-scrollbar-thumb { background: var(--border-black); }

.dsgn-gallery-item {
    position: relative; flex-shrink: 0;
    width: 82px; height: 82px;
    border: var(--stroke-width) solid var(--border-black);
    box-shadow: none;
    overflow: hidden;
}
.dsgn-gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; image-rendering: pixelated;
}
.dsgn-gallery-name {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(26,26,26,0.88); color: #fff;
    font-family: 'Space Mono', monospace;
    font-size: 8px; font-weight: 700; text-align: center;
    padding: 3px 4px;
    opacity: 0; transform: translateY(4px);
    transition: opacity 0.18s, transform 0.18s;
    letter-spacing: 0.5px; text-transform: uppercase;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.dsgn-gallery-item:hover .dsgn-gallery-name { opacity: 1; transform: translateY(0); }

.dsgn-gallery-empty {
    font-family: 'Space Mono', monospace; font-size: 9px;
    color: rgba(26,26,26,0.3); text-align: center;
    width: 100%; padding: 16px 0; letter-spacing: 0.5px;
}

/* Drawing lightbox */
.drawing-lightbox {
    position: fixed; inset: 0; z-index: 999990;
    display: flex; align-items: center; justify-content: center;
}
.drawing-lightbox-backdrop {
    position: absolute; inset: 0;
    background: rgba(26,26,26,0.72);
    animation: lightbox-in 0.18s ease;
}
@keyframes lightbox-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.drawing-lightbox-box {
    position: relative; z-index: 1;
    background: var(--bg-cream);
    border: var(--stroke-width) solid var(--border-black);
    box-shadow: none;
    display: flex; flex-direction: column;
    max-width: min(520px, 92vw);
    animation: lightbox-pop 0.18s cubic-bezier(0.175,0.885,0.32,1.275);
}
@keyframes lightbox-pop {
    from { transform: scale(0.88); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}
.drawing-lightbox-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px;
    border-bottom: var(--stroke-width) solid var(--border-black);
    background: var(--bg-cream);
}
.drawing-lightbox-author {
    font-family: 'Space Mono', monospace;
    font-size: 11px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; color: var(--border-black);
}
.drawing-lightbox-close {
    font-family: 'Space Mono', monospace;
    font-size: 9px; font-weight: 700; letter-spacing: 0.5px;
    background: var(--border-black); color: #fff;
    border: var(--stroke-width) solid var(--border-black);
    padding: 4px 9px;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
    transition: all 0.08s;
}
.drawing-lightbox-close:active { transform: translate(2px,2px); box-shadow: none; }
.drawing-lightbox-img {
    display: block;
    width: 100%; height: auto;
    image-rendering: pixelated;
    max-height: 70vh; object-fit: contain;
    background: #fff;
}

/* Upload dialog */
.upload-dialog-overlay {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(255,255,255,0.8);
    display: flex; align-items: center; justify-content: center;
}
.upload-dialog-box {
    background: var(--bg-cream);
    border: var(--stroke-width) solid var(--border-black);
    box-shadow: none;
    padding: 22px 26px;
    min-width: 270px; max-width: 90vw;
    display: flex; flex-direction: column; gap: 10px;
}
.upload-dialog-title {
    font-family: 'Space Mono', monospace;
    font-size: 13px; font-weight: 700; letter-spacing: 1px;
    border-bottom: var(--stroke-width) solid var(--border-black);
    padding-bottom: 10px; margin-bottom: 2px;
}
.upload-dialog-sub {
    font-size: 12px; color: rgba(26,26,26,0.55); margin: 0;
}
.upload-dialog-input {
    border: var(--stroke-width) solid var(--border-black);
    padding: 8px 10px;
    font-family: 'Space Mono', monospace;
    font-size: 12px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    outline: none; background: #fff; width: 100%;
    box-shadow: none;
}
.upload-dialog-input:focus { box-shadow: none; }
.upload-dialog-btns {
    display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px;
}

/* ==========================================
   08. STICKERS Y DECORACIÓN (Alejados de los bordes)
   ========================================== */

/* Sticker 2026 */
#sticker-2026 {
    position: absolute;
    top: 80vh; /* Subido ligeramente */
    left: 40vw; /* Movido un poco más al centro */
    width: 300px; /* Reducido de 380px */
    z-index: 900;
}
#sticker-2026 img { width: 100%; height: auto; display: block; pointer-events: none; }

@keyframes neon-pulse-2026 {
    0%   { filter: drop-shadow(0 0 2px var(--purpleblue)) brightness(1); }
    20%  { filter: drop-shadow(0 0 5px var(--purpleblue)) brightness(1.1); }
    100% { filter: drop-shadow(0 0 2px var(--purpleblue)) brightness(1); }
}

#sticker-2026:hover {
    transform: scale(1.08);
    animation: neon-pulse-2026 1.5s infinite;
}

/* Sticker Rotatorio Clean */
#clean-sticker {
    position: fixed;
    bottom: 50px; /* MÁS ALEJADO DEL BORDE (antes 20px) */
    right: 50px;  /* MÁS ALEJADO DEL BORDE (antes 20px) */
    width: 170px; /* Reducido de 170px */
    height: 170px;
    z-index: 900;
    border-radius: 50%;
    overflow: hidden; 
    border: var(--stroke-width) solid var(--border-black); 
    box-shadow: none;
    background: var(--bg-cream);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#clean-sticker img {
    width: 100%; height: 100%; object-fit: cover;
    animation: smoothRotate 30s linear infinite;
}

#clean-sticker::after {
    content: ''; position: absolute; top: 0; left: -150%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: glowSweep 6s infinite;
    pointer-events: none;
}

#clean-sticker:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: none;
    z-index: 1000;
}
#clean-sticker:hover img, #clean-sticker:hover::after { animation-play-state: paused; }
#clean-sticker:hover img { filter: brightness(1.05); }

/* --- ANIMACIONES PARA EL CLEAN STICKER --- */
@keyframes smoothRotate { 
    from { transform: rotate(0deg); } 
    to { transform: rotate(360deg); } 
}

@keyframes glowSweep { 
    0% { left: -150%; } 
    50% { left: 200%; } 
    100% { left: 200%; } 
}

/* --- ANIMACIONES PARA LA IDENTIFICACIÓN --- */
@keyframes pingVibrate { 
    0%, 100% { transform: translate(0, 0); } 
    50% { transform: translate(-0.5px, -0.5px); } 
}

@keyframes identificationGlitch {
    0%, 100% { transform: translate(0, 0) skew(0deg); filter: hue-rotate(0deg) contrast(100%) blur(0px); }
    10% { transform: translate(-1.5px, -1.5px) skew(2deg); filter: hue-rotate(30deg) contrast(150%) blur(0.5px); }
    20% { transform: translate(1.5px, 1.5px) skew(-2deg); filter: hue-rotate(-30deg) contrast(130%) blur(0.5px); }
    30% { transform: translate(-1.5px, 1.5px) skew(1deg); filter: hue-rotate(10deg) contrast(110%); }
    40% { transform: translate(1.5px, -1.5px) skew(-1deg); filter: hue-rotate(-10deg) contrast(110%); }
    50% { transform: translate(0, 0) scaleY(1.05); filter: hue-rotate(0deg) blur(0px); }
}

/* Insignia de Identificación (Glitch) */
#sticker-identification {
    position: fixed;
    top: 50px; /* MÁS ALEJADO DEL BORDE (antes 20px) */
    right: 50px; /* MÁS ALEJADO DEL BORDE (antes 20px) */
    width: 280px; /* Reducido de 350px */
    height: auto;
    z-index: 800; user-select: none;
    filter: none;
}

#sticker-identification img {
    width: 100%; height: auto; display: block;
    background: transparent; border: none;
    image-rendering: pixelated; 
}

#sticker-identification:hover {
    filter: none;
    animation: pingVibrate 0.1s linear infinite;
}
#sticker-identification:hover img { animation: identificationGlitch 0.2s linear infinite; }

@keyframes pingVibrate { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-0.5px, -0.5px); } }
@keyframes identificationGlitch {
    0%, 100% { transform: translate(0, 0) skew(0deg); filter: hue-rotate(0deg) contrast(100%) blur(0px); }
    10% { transform: translate(-1.5px, -1.5px) skew(2deg); filter: hue-rotate(30deg) contrast(150%) blur(0.5px); }
    20% { transform: translate(1.5px, 1.5px) skew(-2deg); filter: hue-rotate(-30deg) contrast(130%) blur(0.5px); }
    30% { transform: translate(-1.5px, 1.5px) skew(1deg); filter: hue-rotate(10deg) contrast(110%); }
    40% { transform: translate(1.5px, -1.5px) skew(-1deg); filter: hue-rotate(-10deg) contrast(110%); }
    50% { transform: translate(0, 0) scaleY(1.05); filter: hue-rotate(0deg) blur(0px); }
}

/* ==========================================
   09. EASTER EGGS
   ========================================== */

/* Gato Pixel Art (Intacto) */
#pixel-cat { position: fixed; bottom: 0px; left: 230px; z-index: 1000; width: 45px; height: 45px; } 
#pixel-cat img {
    width: 75px; 
    height: auto; image-rendering: pixelated; 
    position: absolute; bottom: 0; left: 0; transition: opacity 0.1s ease-out;
}

#pixel-cat .cat-idle { opacity: 1; z-index: 2; }
#pixel-cat .cat-hover { opacity: 0; z-index: 1; }
#pixel-cat:hover .cat-idle { opacity: 0; }
#pixel-cat:hover .cat-hover { opacity: 1; z-index: 3; }

@keyframes catJump { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }
.jump { animation: catJump 0.3s ease-out; }

@keyframes catShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-10px) rotate(-8deg); }
    40% { transform: translateX(10px) rotate(8deg); }
    60% { transform: translateX(-10px) rotate(-5deg); }
    80% { transform: translateX(10px) rotate(5deg); }
}

@keyframes catFall { 0% { top: var(--start-y); opacity: 1; } 100% { top: 120vh; opacity: 0; } }

.spawned-cat {
    position: fixed; 
    width: 200px; 
    max-width: 50vw; 
    height: auto;
    image-rendering: pixelated; 
    
    z-index: 999998 !important; 
    
    pointer-events: none;
    border: var(--stroke-width) solid var(--border-black); 
    box-shadow: none; 
    background: white;
}

/* ==========================================
   LIENZO PORTFOLIO (Calco de tu diseño)
   ========================================== */
:root {
    --azul-corp: #312783; /* Tu azul corporativo */
    --negro-texto: #1A1A1A; /* Negro para el texto de lectura */
}

/* ==========================================
   PANTALLA DE CARGA
   ========================================== */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}
#loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}
#loading-logo-img {
    width: 180px;
    height: auto;
    display: block;
    image-rendering: pixelated;
}
#loading-bar-wrap {
    margin-top: 10px;
    width: 180px;
    height: 2px;
    background: rgba(21, 53, 230, 0.15);
}
#loading-bar-fill {
    height: 100%;
    width: 0%;
    background: #1535E6;
    transition: width 0.15s ease;
}
/* Recoloriza los SVGs de carga del navy original al azul de la web */
.loading-frame {
    filter: brightness(0) saturate(100%) invert(19%) sepia(97%) saturate(2500%) hue-rotate(220deg) brightness(108%);
}

/* ==========================================
   LIENZO PORTFOLIO Y SCROLLBAR CUSTOM
   ========================================== */
/* ==========================================
   PORTFOLIO CANVAS — contenido directo
   ========================================== */
.portfolio-canvas {
    background-color: #FFFFFF;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    padding: 30px 40px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #312783 #FFFFFF;
}
.portfolio-canvas::-webkit-scrollbar { width: 14px; }
.portfolio-canvas::-webkit-scrollbar-track { background: #FFFFFF; border-left: 2px solid #1A1A1A; }
.portfolio-canvas::-webkit-scrollbar-thumb { background-color: #312783; border: 3px solid #FFFFFF; border-radius: 0px; }
.portfolio-canvas::-webkit-scrollbar-thumb:hover { background-color: #1A1A1A; }

/* — Hilo de progreso scroll — */
.scroll-thread {
    position: sticky; top: 0; height: 2px;
    background: #312783;
    transform: scaleX(0); transform-origin: left;
    pointer-events: none; z-index: 20;
    margin-top: -30px; margin-bottom: 30px;
    margin-left: -40px; margin-right: -40px;
    will-change: transform;
}

/* — Cabecera — */
.port-header {
    display: flex; justify-content: space-between;
    color: #312783; font-weight: 600; font-size: 12px; margin-bottom: 40px;
}

/* — Título SVG — */
.port-title-wrapper { width: 100%; margin-bottom: 20px; }
.svg-portfolio { width: 100%; height: auto; display: block; }
.svg-portfolio:hover { animation: secuencia-titulo 1s step-end infinite; cursor: crosshair; }
@keyframes secuencia-titulo {
    0%      { content: url('assets/tituloportfolio.svg'); }
    33.33%  { content: url('assets/tituloportfolio2.svg'); }
    66.66%  { content: url('assets/tituloportfolio3.svg'); }
    100%    { content: url('assets/tituloportfolio.svg'); }
}

/* — Marquee tags — */
.port-tags-marquee {
    width: 100%; overflow: hidden;
    border-top: 1.5px solid #312783; border-bottom: 1.5px solid #312783;
    padding: 8px 0; margin-bottom: 30px;
    color: #312783; font-weight: 600; font-size: 15px; white-space: nowrap;
}
.marquee-track { display: flex; width: max-content; animation: scroll-marquee 20s linear infinite; }
.marquee-content { display: flex; gap: 60px; padding-right: 60px; }
.marquee-content span { letter-spacing: 1px; transition: letter-spacing 0.4s cubic-bezier(0.25,1,0.5,1); }
.port-tags-marquee:hover .marquee-content span { letter-spacing: 5px; }
@keyframes scroll-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

/* — Separadores — */
.section-rule-wrap { display: flex; align-items: center; gap: 10px; margin: 28px 0; }
.section-rule { flex: 1; height: 1.5px; background: #312783; transform: scaleX(0); transform-origin: left; transition: transform 0.9s cubic-bezier(0.16,1,0.3,1); will-change: transform; }
.reg-mark { font-family: 'Space Mono', monospace; font-size: 11px; font-weight: 700; color: #312783; flex-shrink: 0; transform: scale(0) rotate(45deg); opacity: 0; transition: transform 0.35s cubic-bezier(0.175,0.885,0.32,1.275), opacity 0.25s ease; line-height: 1; user-select: none; }
.section-rule-wrap.animate .section-rule { transform: scaleX(1); }
.section-rule-wrap.animate .reg-mark { transform: scale(1) rotate(0deg); opacity: 1; }

/* — Bio — */
.port-bio-section { margin-bottom: 30px; }
.svg-sobremi { width: 300px; margin-bottom: 0; display: block; }
.bio-content { position: relative; width: 100%; display: flow-root; }
.foto-perfil { float: right; width: 35%; max-width: 320px; margin-left: 40px; margin-bottom: 30px; display: block; }
.foto-perfil:hover { animation: secuencia-fotos 1s step-end infinite; }
@keyframes secuencia-fotos {
    0%      { content: url('assets/fotoportfolio1.png'); }
    33.33%  { content: url('assets/fotoportfolio2.png'); }
    66.66%  { content: url('assets/fotoportfolio3.png'); }
    100%    { content: url('assets/fotoportfolio1.png'); }
}
.svg-asterisco { position: absolute; width: 120px; right: 32%; top: 45%; transform: translateY(-50%); z-index: 10; }
.bio-text { color: #1A1A1A; font-size: 14px; line-height: 1.5; font-weight: 600; text-align: justify; margin-bottom: 15px; }
.txt-pixel { font-family: 'Space Mono', monospace; color: #312783; font-size: 15px; font-weight: 700; letter-spacing: -0.5px; }
.txt-bold-blue { font-family: 'Space Mono', monospace; color: #312783; font-size: 15px; font-weight: 700; letter-spacing: -0.5px; }

/* — Contacto — */
.port-contacto { clear: both; border-top: 1.5px solid #312783; padding-top: 20px; margin-top: 20px; width: 100%; }
.port-contacto h3 { color: #312783; font-size: 18px; font-weight: 800; margin-bottom: 15px; }
.contacto-line { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 14px; }
.contacto-line span { color: #1A1A1A; font-weight: 800; }
.contacto-line a { color: #1A1A1A; font-weight: 600; text-decoration: none; }


/* ==========================================
   09b. EASTER EGG — ESCÁNER + SNAKE
   ========================================== */

/* ── Dispositivo escáner — estética OS ── */
#scanner-device {
    position: fixed;
    left: 0;
    top: 50%;
    /* Combinamos la centering vertical con la animación de entrada */
    transform: translateY(-50%) translateX(-110%);
    transition: transform 0.7s cubic-bezier(0.34, 1.42, 0.64, 1);
    width: 66px;
    background: #ffffff;
    border: var(--stroke-width) solid #1535E6;
    border-left: none;
    padding: 14px 8px;
    z-index: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    pointer-events: none;
}
#scanner-device.scanner-visible {
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}
.scanner-label-v {
    font-family: 'Space Mono', monospace;
    font-size: 5.5px;
    letter-spacing: 3px;
    color: #1535E6;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    user-select: none;
    text-transform: uppercase;
    opacity: 0.45;
}
.scanner-slot-wrap {
    width: 44px;
    border: var(--stroke-width) solid #1535E6;
    background: #f5f7ff;
}
#scanner-slot {
    width: 100%;
    height: 84px;
    background: #eef1ff;
    position: relative;
    overflow: hidden;
}
#scanner-sweep {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: #1535E6;
    top: -3px;
    opacity: 0;
    pointer-events: none;
}
#scanner-sweep.active {
    opacity: 1;
    animation: scanSweep 1.1s ease-in-out forwards;
}
@keyframes scanSweep {
    0%   { top: -3px; opacity: 0; }
    8%   { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: calc(100% + 3px); opacity: 0; }
}
.scanner-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 100%;
}
#scanner-led {
    width: 8px;
    height: 8px;
    border: var(--stroke-width) solid #1535E6;
    background: #ffffff;
    transition: background 0.25s;
}
#scanner-led.led-ready    { background: #1535E6; }
#scanner-led.led-scanning { background: #1535E6; animation: ledPulse 0.28s steps(1) infinite; }
#scanner-led.led-ok       { background: #1535E6; }
@keyframes ledPulse { 0%,49% { opacity:1; } 50%,100% { opacity:0; } }
#scanner-lcd {
    font-family: 'Space Mono', monospace;
    font-size: 5.5px;
    color: #1535E6;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.55;
    background: #ffffff;
    padding: 4px 3px;
    border: var(--stroke-width) solid #1535E6;
    width: 44px;
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/* ── Overlay "ACCESO CONCEDIDO" — estética OS ── */
#access-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
#access-overlay.visible { opacity: 1; }
.access-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-family: 'Space Mono', monospace;
    color: #1535E6;
    text-align: center;
    padding: 40px 52px;
    border: var(--stroke-width) solid #1535E6;
    background: #ffffff;
    max-width: 480px;
    width: 90vw;
}
.access-header {
    font-size: 8px;
    letter-spacing: 4px;
    color: #1535E6;
    opacity: 0.45;
    text-transform: uppercase;
}
.access-main {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.15;
    color: #1535E6;
    animation: accessFlicker 0.14s steps(1) infinite;
}
@keyframes accessFlicker {
    0%,91%  { opacity: 1; }
    92%,100% { opacity: 0.82; }
}
.access-details {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 8.5px;
    letter-spacing: 1px;
    color: #1535E6;
    border-top: var(--stroke-width) solid #1535E6;
    border-bottom: var(--stroke-width) solid #1535E6;
    padding: 14px 0;
    width: 100%;
    opacity: 0.7;
}
.access-details div { display: flex; justify-content: space-between; gap: 16px; }
.access-details span { opacity: 1; color: #1535E6; }
.access-loading {
    font-size: 8px;
    letter-spacing: 2px;
    color: #1535E6;
    opacity: 0.5;
    animation: loadingBlink 0.55s steps(1) infinite;
}
@keyframes loadingBlink { 0%,49% { opacity:0.5; } 50%,100% { opacity:0; } }

/* ── Snake game window ── */
.snake-wrap {
    background: #060d06 !important;
    padding: 14px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
#snake-score {
    font-family: 'Space Mono', monospace;
    color: #00ff41;
    font-size: 11px;
    letter-spacing: 3px;
    text-shadow: 0 0 8px rgba(0,255,65,0.6);
}
#snake-game-area {
    position: relative;
    width: 280px;
    height: 280px;
}
#snake-canvas {
    display: block;
    border: 1px solid #1a3a1a;
    box-shadow: 0 0 20px rgba(0,255,65,0.1);
    width: 280px;
    height: 280px;
}
#snake-msg {
    font-family: 'Space Mono', monospace;
    color: #33aa55;
    font-size: 9px;
    letter-spacing: 1px;
    text-align: center;
}

/* ── Leaderboard ── */
#snake-leaderboard {
    width: 280px;
    height: 280px;
    background: #060d06;
    border: 1px solid #1a3a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px;
    gap: 8px;
    overflow: hidden;
    box-sizing: border-box;
}
.lb-my-rank {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: #ffdd44;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0 0 8px rgba(255,220,68,0.5);
    min-height: 16px;
}
.lb-title {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    color: #338844;
    letter-spacing: 3px;
    text-align: center;
    border-bottom: 1px solid #1a3a1a;
    width: 100%;
    padding-bottom: 6px;
}
#lb-rows {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    overflow: hidden;
}
.lb-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: #44aa66;
    padding: 2px 4px;
}
.lb-row.lb-mine {
    color: #ffdd44;
    background: rgba(255,220,68,0.07);
    text-shadow: 0 0 6px rgba(255,220,68,0.4);
}
.lb-pos  { width: 18px; flex-shrink: 0; color: #225533; }
.lb-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-score { flex-shrink: 0; }
.lb-date  { flex-shrink: 0; font-size: 7px; color: #1a4428; }

/* ── Formulario de nombre ── */
#snake-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}
.entry-label {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    color: #338844;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}
.entry-row {
    display: flex;
    gap: 6px;
    width: 100%;
}
#snake-name-input {
    flex: 1;
    background: #000;
    border: 1px solid #1a3a1a;
    color: #00ff41;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    padding: 5px 8px;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}
#snake-name-input::placeholder { color: #1a3a1a; }
#snake-name-input:focus { border-color: #00ff41; }
#snake-submit-btn {
    background: #00ff41;
    border: none;
    color: #000;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    cursor: none !important;
}
#snake-submit-btn:hover { background: #00dd38; }

/* ── Botón restart ── */
#snake-restart-btn {
    background: transparent;
    border: 1px solid #225533;
    color: #338844;
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 2px;
    padding: 5px 12px;
    cursor: none !important;
    text-transform: uppercase;
}
#snake-restart-btn:hover { border-color: #00ff41; color: #00ff41; }

/* ==========================================
   10. RESPONSIVE (MOBILE OS PARADIGM)
   ========================================== */
@media screen and (max-width: 768px) {

    /* 1. Scroll habilitado en móvil */
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    #desktop {
        width: 100vw;
        /* min-height: 200vh heredado del estilo global */
        position: relative;
    }

    /* 2. ICONOS: el abanico JS se encarga de posicionarlos */
    .icon {
        position: absolute !important;
        transform: none !important;
        width: 48px !important;
    }

    .icon img {
        filter: grayscale(0) !important;
    }

    .icon span {
        font-size: 8px !important;
        padding: 3px 5px !important;
        width: max-content !important;
        max-width: 88px !important;
        margin-left: 0 !important;
        text-align: center !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }

    /* Doodles en móvil */
    .doodle-group-star    { width: 240px; height: 240px; top: 0vh;  left: 5vw;  }
    .doodle-group-star-sm { width: 160px; height: 160px; top: 18vh; right: 3vw; }
    /* Óvalo visible en móvil, más pequeño, centrado con la frase */
    .doodle-group-oval {
        width: 280px;
        height: 137px; /* 280 × 710/1447 ≈ 137 */
        left: calc(50% - 140px);
        transform: translateY(-50%);
    }

    /* Carpeta del launcher más arriba en móvil */
    #app-launcher {
        top: 62vh !important;
        z-index: 10 !important; /* por encima de los iconos ocultos */
    }

    /* Extensión invisible del hitbox hacia abajo: tapa la zona donde están los iconos ocultos */
    #app-launcher::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 340px;   /* cubre el ancho del abanico */
        height: 18vh;   /* cubre la zona donde caen los iconos */
    }

    /* Pista de scroll más arriba para no solaparse con el gato */
    .scroll-indicator {
        display: flex !important;
        bottom: 80px !important;
    }

    /* Frase "trabajando en el portfolio" mucho más pequeña en móvil */
    .desktop-bottom-msg {
        font-size: 7px !important;
        letter-spacing: 1px !important;
    }

    /* Hint del launcher: debajo de la carpeta en móvil */
    #launcher-hint {
        left: 50% !important;
        top: calc(100% + 12px) !important;
        transform: translateX(-50%) !important;
        animation: hintBounceMobile 0.7s ease-in-out infinite alternate !important;
    }
    #launcher-hint .hint-arrow {
        display: none !important;
    }
    @keyframes hintBounceMobile {
        from { transform: translateX(-50%) translateY(0px); }
        to   { transform: translateX(-50%) translateY(4px); }
    }

    /* 3. APP MODALS: Las ventanas se vuelven hojas inmersivas */
    .window {
        position: fixed !important;
        top: 5vh !important;
        left: 5vw !important;
        width: 90vw !important;
        height: 85vh !important; 
        transform: none !important;
        
        box-shadow: 0 0 0 100vmax rgba(244, 244, 242, 0.85), 6px 6px 0 var(--border-black) !important; 
        z-index: 1000 !important;
    }

    #win-baile {
        height: auto !important;
        width: auto !important;
        max-width: 90vw !important;
        top: 12% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    #win-baile2 {
        height: auto !important;
        width: auto !important;
        max-width: 90vw !important;
        top: 12% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* Ventanas de contenido corto: altura automática, sin espacio en blanco inferior */
    #win-proyectos,
    #win-contacto {
        height: auto !important;
    }
    #win-proyectos .window-content,
    #win-contacto .window-content {
        height: auto !important;
        max-height: 75vh !important;
    }

    .window:hover {
        transform: none !important;
        box-shadow: 0 0 0 100vmax rgba(244, 244, 242, 0.85), 6px 6px 0 var(--border-black) !important;
    }

    .window-header {
        padding: 10px 12px !important; 
    }

    .window-controls {
        gap: 4px !important; 
    }
    .dot {
        width: 15px !important;
        height: 15px !important;
    }

    .window-content {
        height: calc(100% - 46px) !important; 
        max-height: none !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch; 
        padding: 20px !important;
    }

    /* 4. DECLUTTER & EASTER EGGS */
    #sticker-2026, 
    #sticker-identification {
        display: none !important; 
    }

    /* Gato devuelto a la vida en móvil */
    #pixel-cat {
        display: block !important;
        bottom: 0px !important;
        left: 20px !important; /* Abajo a la izquierda */
        width: 45px !important;
        height: 45px !important;
        z-index: 900 !important;
    }

    #clean-sticker {
        width: 100px !important;
        height: 100px !important;
        bottom: 20px !important;
        right: 20px !important;
        border-width: 2px !important;
        z-index: 900 !important;
    }

    /* 5. FIXES DE APPS ESPECÍFICAS */
    /* 5. FIXES DE APPS ESPECÍFICAS */
    
    #carne-card {
        width: 88vw !important;
        left: 6vw !important;
        top: 15vh !important;
    }

    #win-reproductor {
        height: auto !important;
        top: 5vh !important;
        max-height: 90vh !important;
    }
    .player-vinyl { width: 80px !important; height: 80px !important; }
    .player-queue-list { max-height: 110px !important; }

    #win-designer .dsgn-toolbar {
        justify-content: flex-start;
        gap: 4px;
    }
    #win-designer #paint-canvas {
        height: 38vh !important;
        width: 100% !important;
    }
    .dsgn-gallery-track {
        min-height: 70px !important;
    }
    .dsgn-gallery-item {
        width: 65px !important;
        height: 65px !important;
    }
/* Ajuste del copyright para móvil */
    .copyright-header {
        font-size: 7px !important;
        letter-spacing: 1px !important;
        top: 10px !important;
        width: 90% !important; /* Asegura que no se corte en pantallas muy estrechas */
        opacity: 1 !important;
    }
}



