:root {
    --neon-red: #ff1a1a;
    --deep-black: #080808;
    --surface: #121212;
    --glass: rgba(20, 20, 20, 0.85);
}

body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--deep-black);
    color: #f1f5f9;
    margin: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
.brand-font {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

header.glass-panel {
    background: rgba(20, 20, 20, 0.95);
}

.red-glow {
    box-shadow: 0 0 25px rgba(255, 26, 26, 0.4);
}

.nav-item {
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-item.active {
    color: var(--neon-red);
    border-bottom: 2px solid var(--neon-red);
    text-shadow: 0 0 8px rgba(255, 26, 26, 0.6);
}

.chart-container {
    position: relative;
    width: 100%;
    height: 300px;
    max-width: 700px;
    margin: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #333;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-red);
}

/* Calendar Events */
.event-row {
    transition: background-color 0.3s ease;
}

.event-row:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.image-card {
    transition: all 0.5s ease;
    filter: grayscale(40%);
}

.image-card:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

@keyframes drift {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100% 100%;
    }
}

.bg-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.02) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Fix for Trix/Filament Editor Attachments */
.prose figure figcaption,
.prose figure .attachment__caption {
    display: none !important;
}

/* Optional: Ensure images in prose are full width or styled correctly */
.prose figure img {
    border-radius: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}