/* estructura general tipo “desktop” */
.desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* HEADER estilo ventana XP */
header {
    margin-top: 30px;
    padding: 10px 20px;

    background: linear-gradient(to bottom, #1f4f9c, #0b2a5a);
    border: 2px solid #6aa2ff;
    box-shadow: 0 0 10px rgba(100,160,255,0.3);

    width: 90%;
    max-width: 600px;
}

/* título XP fuerte */
h1 {
    margin: 0;
    font-size: 34px;
    color: #ffffff;
    text-shadow: 1px 1px 0 #000;
}

/* subtítulo más “sistema viejo” */
.subtitle {
    margin: 5px 0 0 0;
    font-size: 13px;
    color: #cfe3ff;
    opacity: 0.9;
}

/* ticker como barra vieja */
.ticker {
    width: 90%;
    max-width: 600px;
    margin-top: 10px;

    border: 1px solid #355a9c;
    background: #050b18;

    box-shadow: inset 0 0 8px rgba(80,140,255,0.15);
    
    color: #cfe3ff;
    font-size: 14px;
}

marquee {
    color: #cfe3ff;
}


/* ventana principal XP */
.error-box {
    margin-top: 15px;
    width: 90%;
    max-width: 600px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;

    padding: 25px;

    /* look “ventana vieja” */
    background: #0b1020;
    border: 2px solid #6aa2ff;
    box-shadow:
        0 0 0 1px #000,
        0 0 15px rgba(70,120,255,0.2);
}

/* gif con marco más “hardware viejo” */
.error-img {
    width: 500px;
    border: 2px solid #3b6db3;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

/* texto más contrastado */
.message {
    font-size: 14px;
    line-height: 1.5;
    color: #d7e8ff;
    text-shadow: 1px 1px 0 #000;
}

/* código sistema tipo BIOS */
.code {
    font-size: 12px;
    color: #7fb2ff;
    opacity: 0.8;

    text-decoration: none;
    display: inline-block;

    cursor: pointer;
}

.code:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(120,180,255,0.5);
}

/* efecto “ligero ruido viejo” */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;

    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.02),
        rgba(255,255,255,0.02) 1px,
        transparent 2px,
        transparent 4px
    );

    opacity: 0.4;
}

html, body {
    background-color: #02040a;
}