.circuit-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(28, 176, 196, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

.circuit-pattern-dark {
    background-image: radial-gradient(circle at 2px 2px, rgba(1, 15, 77, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Geeky Animations */
@keyframes mesh-drift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-mesh {
    background: radial-gradient(circle at 50% 50%, rgba(28, 176, 196, 0.25) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(244, 63, 94, 0.15) 0%, transparent 40%);
    background-size: 200% 200%;
    animation: mesh-drift 10s ease infinite;
}

@keyframes pulse-soft {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.animate-pulse-soft {
    animation: pulse-soft 8s ease-in-out infinite;
}

@keyframes float-geek {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
    33% { transform: translateY(-20px) rotate(5deg); opacity: 0.4; }
    66% { transform: translateY(10px) rotate(-5deg); opacity: 0.2; }
}

.geek-icon {
    animation: float-geek 12s ease-in-out infinite;
}

.btn-pressable {
    transition: all 0.2s ease;
}

.btn-pressable:active {
    transform: translateY(4px);
    box-shadow: none;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* Labs Page Styles */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.blueprint-grid {
    background-image: radial-gradient(#bcc9cc 0.5px, transparent 0.5px);
    background-size: 24px 24px;
}

.block-shadow {
    box-shadow: 0px 4px 0px 0px #004f59;
}

.block-shadow-hover:active {
    box-shadow: 0px 0px 0px 0px #004f59;
    transform: translateY(4px);
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-bounce-slow {
    animation: bounce-slow 4s ease-in-out infinite;
}

.offset-image {
    position: relative;
}

/* TinyMCE Image Alignment Support within .prose */
.prose .alignleft {
    float: left;
    margin: 0 2rem 1.5rem 0 !important;
}

.prose .alignright {
    float: right;
    margin: 0 0 1.5rem 2rem !important;
}

.prose .aligncenter {
    display: block;
    margin: 2rem auto !important;
    text-align: center;
}

/* Clearfix for floating images in articles */
.prose::after {
    content: "";
    display: table;
    clear: both;
}

/* Swiper Hero Customizations (Background Slideshow) */
.hero-bg-swiper .swiper-slide {
    overflow: hidden;
}

.hero-bg-swiper img {
    transition: transform 10s ease;
    image-rendering: -webkit-optimize-contrast; /* Sharpening for Webkit */
    image-rendering: high-quality;
    backface-visibility: hidden;
    will-change: transform;
}

.hero-bg-swiper .swiper-slide-active img {
    transform: scale(1.05); /* Reduced scale for better pixel density */
}

.animate-mesh {
    pointer-events: none;
}


