* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0000aa;
    color: white;
    font-family: 'Courier New', 'MS Sans Serif', monospace;
    font-size: 16px;
    line-height: 1.2;
    overflow: hidden;
    /* cursor: none; */
    user-select: none;
}

.bsod-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px;
    position: relative;
}

.bsod-content {
    width: 100%;
    max-width: 800px;
}

.error-header {
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.4;
    word-wrap: break-word;
}

.error-details {
    margin-top: 20px;
}

.error-line {
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    white-space: pre-wrap;
}

.cursor {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    animation: blink 1s infinite;
}

.cv-div {
    position: fixed;
    bottom: 10%;
    right: 10%;
    width: 300px;
    transform: translate(10%, 10%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border: 2px solid white;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    z-index: 1000;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Authentic Windows 98 styling */
@media screen and (max-width: 768px) {
    .bsod-container {
        padding: 20px;
        font-size: 14px;
    }
    
    .error-line {
        font-size: 14px;
    }
    
    .cursor {
        font-size: 14px;
        bottom: 20px;
        right: 20px;
    }
}

/* Add some screen flicker effect for authenticity */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        transparent 50%,
        rgba(0, 255, 0, 0.02) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(4px);
    }
}

/* CRT monitor effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 70%,
        rgba(0, 0, 0, 0.2) 100%
    );
    pointer-events: none;
}

.bsod-link {
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.bsod-link:hover {
    opacity: 0.8;
}

.bsod-link:visited {
    color: white !important;
}

.bsod-link:link {
    color: white !important;
}

.bsod-link:active {
    color: white !important;
}