@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&family=Inter:wght@400;500;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #0d0d0d;
    color: #e5e5e5;
    overflow-x: hidden;
    background-image: radial-gradient(circle, rgba(255, 0, 0, 0.05) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}

/* Custom scrollbar for a sleek look */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4a0000;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6a0000;
}

.font-mono {
    font-family: 'Roboto Mono', monospace;
}

/* Hero section specific styles */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, rgba(0, 0, 0, 1) 75%);
    animation: pulse-glow 10s infinite;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.scanline-animation {
    animation: scanline 4s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Custom button animation */
.btn-ghost-hunt {
    position: relative;
    overflow: hidden;
    border: 2px solid #ff0000;
    transition: all 0.3s ease;
}

.btn-ghost-hunt:hover {
    box-shadow: 0 0 15px #ff0000, inset 0 0 15px #ff0000;
    transform: translateY(-2px) scale(1.05);
}

.btn-ghost-hunt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 0, 0, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-ghost-hunt:hover::before {
    transform: translateX(100%);
}

/* Card hover effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.active-link {
    border-bottom: 2px solid #ff0000;
}

/* Modal background */
.modal-bg {
    background-color: rgba(0, 0, 0, 0.8);
}
