@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

.retro-font {
    font-family: 'Press Start 2P', cursive;
}

.retro-body-font {
    font-family: 'VT323', monospace;
}

.retro-bg {
    background-color: #50577D;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d9c7a7' fill-opacity='0.4'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.retro-card {
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    box-shadow: 5px 5px 0px #d9d9d9, 
                -5px -5px 0px #ffffff;
    transition: all 0.3s ease;
}

.retro-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0px #d9d9d9, 
                -2px -2px 0px #ffffff;
}

.retro-btn {
    background: linear-gradient(145deg, #f0e6d2, #d9ccb8);
    box-shadow: 3px 3px 0px #c4b9a5;
    transition: all 0.2s ease;
}

.retro-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #c4b9a5;
}

.retro-btn:active {
    transform: translate(0px, 0px);
    box-shadow: 2px 2px 0px #c4b9a5;
}

.retro-nav {
    background: linear-gradient(145deg, #333333, #1a1a1a);
    box-shadow: 0px 5px 0px #222222;
}

.retro-nav-item {
    position: relative;
}

.retro-nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #ff6b6b;
    transition: width 0.3s ease;
}

.retro-nav-item:hover::after {
    width: 100%;
}

.retro-divider {
    border-top: 3px dashed #333;
}

.retro-tag {
    background: linear-gradient(145deg, #ff6b6b, #e65c5c);
    box-shadow: 2px 2px 0px #cc4d4d;
}

.retro-pixel-border {
    border: 3px solid #333;
    position: relative;
}

.retro-pixel-border::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 3px solid #ff6b6b;
    z-index: -1;
}

.retro-post-date {
    background: #333;
    color: white;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
}

@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

.retro-flicker {
    animation: flicker 3s infinite;
}

