/* Custom styles for authentic retro feel */

@import url('https://fonts.googleapis.com/css2?family=Tahoma:wght@400;700&display=swap');

body {
    font-family: 'Tahoma', sans-serif;
}

.ie-window {
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.8),
        inset -1px -1px 0 rgba(0,0,0,0.2),
        2px 2px 10px rgba(0,0,0,0.3);
}

.retro-font {
    font-family: 'Courier New', monospace;
    color: #ff0000;
    text-shadow: 2px 2px 0px #000000;
}

.blink {
    animation: blink 1s infinite;
}

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

/* CRT Monitor effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        transparent 50%, 
        rgba(0, 255, 0, 0.03) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1000;
}

/* Pixelated styling for buttons */
button {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* Authentic Windows XP gradients */
.bg-gradient-to-r {
    background: linear-gradient(to right, #0078d4, #106ebe);
}

/* Toolbar specific styling */
.bg-purple-600 { background-color: #7c3aed !important; }
.bg-blue-500 { background-color: #3b82f6 !important; }
.bg-red-500 { background-color: #ef4444 !important; }
.bg-blue-400 { background-color: #60a5fa !important; }
.bg-yellow-500 { background-color: #eab308 !important; }
.bg-cyan-500 { background-color: #06b6d4 !important; }
.bg-orange-500 { background-color: #f97316 !important; }
.bg-green-500 { background-color: #22c55e !important; }
.bg-pink-500 { background-color: #ec4899 !important; }
.bg-indigo-500 { background-color: #6366f1 !important; }

/* Scrollbar styling for retro feel */
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border: 1px inset #dfdfdf;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #dfdfdf, #c1c1c1);
    border: 1px outset #dfdfdf;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #c1c1c1, #a1a1a1);
}

/* Achievement popup styling */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-bounce {
    animation: slideInRight 0.5s ease-out;
}

/* Retro button effects */
button:active {
    transform: translateY(1px);
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.3);
}

/* Under construction gif effect */
@keyframes construction {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

h1 {
    animation: construction 2s ease-in-out infinite;
    color: #ff6600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}