/* Custom retro styling */
.pixelated {
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.pixel-title {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.retro-border {
    border-style: solid;
    border-image: linear-gradient(45deg, #92400e, #d97706, #92400e) 1;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

.retro-button {
    border-style: solid;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.1s ease;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

.retro-button:hover {
    transform: translateY(1px);
    box-shadow: 1px 1px 0px rgba(0,0,0,0.3);
}

.retro-button:disabled {
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

/* Scanline effect for authentic CRT feel */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.03) 2px,
        rgba(0,0,0,0.03) 4px
    );
    pointer-events: none;
    z-index: 1000;
}

/* Custom progress bar styling */
.bg-amber-600 {
    background: linear-gradient(90deg, #d97706, #f59e0b, #d97706);
}

/* NFT rarity borders */
.border-gray-400 { border-color: #9ca3af !important; }
.border-green-400 { border-color: #4ade80 !important; }
.border-blue-400 { border-color: #60a5fa !important; }
.border-purple-400 { border-color: #c084fc !important; }
.border-yellow-400 { border-color: #facc15 !important; }

/* Responsive design adjustments */
@media (max-width: 768px) {
    .pixel-title {
        font-size: 1.5rem;
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Animation for NFT notifications */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-pulse {
    animation: slideIn 0.5s ease-out;
}

/* Custom scrollbar for NFT gallery */
.overflow-y-auto::-webkit-scrollbar {
    width: 8px;
}

.overflow-y-auto::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 4px;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
    background: #d97706;
    border-radius: 4px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
    background: #92400e;
}