/** Shopify CDN: Minification failed

Line 71:4 Unexpected "0%"
Line 77:4 Unexpected "50%"
Line 81:0 Unexpected "}"
Line 85:4 Unexpected "0%"
Line 91:4 Unexpected "50%"
Line 193:8 Expected identifier but found "scale("

**/
#searchResultsContainer.max-h-0 {
    visibility: hidden;
}

/* Base styles and custom animations */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.animate-shake {
    animation: shake 0.2s ease-in-out 0s 2;
}
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;

}

body {
    margin: 0;
    width: 100%;
    overflow: visible;
}

h1, h2, h3, h4, h5, .h0, .h1, .h2, .h3, .h4, .h5 {
    color: #fff;
}

#MainContent div:empty {
    display: block;
}

#MainContent {
    z-index: auto !important;
}

.main-wrapper {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

:root {
    --primary: #030213;
    --background: #0a0a0a;
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.dot-grid {
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

    0%,
    100% {
        opacity: 0.15;
        transform: scale(1);
    }

    50% {
        opacity: 0.25;
        transform: scale(1.05);
    }
}

@keyframes pulse-delayed {

    0%,
    100% {
        opacity: 0.1;
        transform: scale(1);
    }

    50% {
        opacity: 0.2;
        transform: scale(1.1);
    }
}

@keyframes pulse-slower {

    0%,
    100% {
        opacity: 0.1;
        transform: scale(1);
    }

    50% {
        opacity: 0.2;
        transform: scale(1.02);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 8s infinite ease-in-out;
}

.animate-pulse-delayed {
    animation: pulse-delayed 10s infinite ease-in-out 2s;
}

.animate-pulse-slower {
    animation: pulse-slower 12s infinite ease-in-out 4s;
}

.logo-3d {
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
    transition: transform 0.5s ease-out;
}

/* Modal Specific Animations */
@keyframes portal-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-portal {
    animation: portal-rotate 10s linear infinite;
}

@keyframes music-bar-pulse {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(1.2); opacity: 1; }
}

.animate-music-bar {
    animation: music-bar-pulse 1s infinite ease-in-out;
    transform-origin: bottom;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease-out forwards;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes dataPointFlow {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        scale(1);
    }
    100% {
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0);
        opacity: 0;
    }
}

@keyframes token-move {
    0% { left: 0%; transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.token-particle {
    animation: token-move 3s linear infinite;
}

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(var(--tx), var(--ty)); opacity: 0.8; }
}

.data-point {
    animation: float-particle var(--duration) ease-in-out infinite;
}

.puzzle-piece {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.1) !important;
}


#system-modal-content::-webkit-scrollbar,
#modal-inner-content::-webkit-scrollbar {
    width: 6px;
}

#system-modal-content::-webkit-scrollbar-track,
#modal-inner-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

#system-modal-content::-webkit-scrollbar-thumb,
#modal-inner-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

#system-modal-content::-webkit-scrollbar-thumb:hover,
#modal-inner-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.logo-3d:hover {
    transform: perspective(1000px) rotateY(10deg) rotateX(5deg) scale(1.05);
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Nav styles */
#sticky-nav.show {
    transform: translateY(0);
    opacity: 1;
}

.path-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.path-card:hover {
    transform: translateY(-12px) scale(1.02);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Role Selector Buttons */
.role-selector-btn {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.role-selector-btn:hover {
    transform: translateY(-4px) scale(1.08);
}

.role-selector-btn.active {
    transform: scale(1.05);
}

/* Active indicator glow */
.role-selector-btn.active::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #facc15;
    border-radius: 50%;
    border: 2px solid #000;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.8);
    z-index: 20;
}

.role-selector-btn[onclick*="'all'"].active { border-color: rgba(168, 85, 247, 0.8); box-shadow: 0 0 25px rgba(168, 85, 247, 0.4); }
.role-selector-btn[onclick*="'attend'"].active { border-color: rgba(59, 130, 246, 0.8); box-shadow: 0 0 25px rgba(59, 130, 246, 0.4); }
.role-selector-btn[onclick*="'host'"].active { border-color: rgba(239, 68, 68, 0.8); box-shadow: 0 0 25px rgba(239, 68, 68, 0.4); }
.role-selector-btn[onclick*="'vendor'"].active { border-color: rgba(34, 197, 94, 0.8); box-shadow: 0 0 25px rgba(34, 197, 94, 0.4); }
.role-selector-btn[onclick*="'sponsor'"].active { border-color: rgba(234, 179, 8, 0.8); box-shadow: 0 0 25px rgba(234, 179, 8, 0.4); }

/* Hide scrollbar */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Premium Modal Styles */
.portal-icon-glow {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1), 0 0 40px rgba(255, 255, 255, 0.05);
    animation: iconPulse 4s infinite ease-in-out;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.1), 0 0 40px rgba(255, 255, 255, 0.05); }
    50% { box-shadow: 0 0 30px rgba(255, 255, 255, 0.2), 0 0 60px rgba(255, 255, 255, 0.1); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fadeInDown { animation: fadeInDown 0.5s ease-out forwards; }
.animate-fadeIn { animation: fadeIn 0.5s ease-out forwards; }
.animate-fadeInRight { animation: fadeInRight 0.5s ease-out forwards; }
.animate-scaleIn { animation: scaleIn 0.5s ease-out forwards; }

.gradient-border {
    position: relative;
    border-radius: inherit;
}

.gradient-border::before {
    content: "";
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(to bottom right, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

/* Highlight Statement Breathing Glow */
@keyframes breathing-glow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    }

    50% {
        text-shadow: 0 0 40px rgba(251, 191, 36, 0.6);
    }
}

.highlight-statement {
    animation: breathing-glow 4s ease-in-out infinite;
}

/* 3D and effects */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Font classes */
.font-garamond {
    font-family: 'Cormorant Garamond', serif;
}

@keyframes portal-shift {
    0% {
        background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    }

    33% {
        background: radial-gradient(circle at 80% 50%, rgba(251, 191, 36, 0.15) 0%, transparent 50%);
    }

    66% {
        background: radial-gradient(circle at 50% 80%, rgba(239, 68, 68, 0.15) 0%, transparent 50%);
    }

    100% {
        background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    }
}

.animate-portal-shift {
    animation: portal-shift 20s infinite linear;
}

@keyframes portal-icon-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    }
}

@keyframes floating-logo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.footer-logo-glow {
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3)) drop-shadow(0 0 60px rgba(255, 215, 0, 0.2));
    animation: floating-logo 5s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px) scale(0);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px) scale(0);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.portal-icon-glow {
    animation: portal-icon-glow 2s infinite ease-in-out;
}

/* Reveal Animations */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-top {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal-top {
    transform: translateY(-30px);
}

.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delay classes */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

.delay-600 {
    transition-delay: 600ms;
}

.delay-700 {
    transition-delay: 700ms;
}

.delay-800 {
    transition-delay: 800ms;
}

.delay-900 {
    transition-delay: 900ms;
}

.delay-1000 {
    transition-delay: 1000ms;
}

/* Sequential Card Glow Animation */
@keyframes staggeredBlinkGlow {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes staggeredBlinkShadow {

    0%,
    100% {
        box-shadow: 0 0 0px rgba(251, 191, 36, 0);
    }

    50% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
    }
}

.step-glow {
    animation: staggeredBlinkGlow 2s infinite;
    will-change: opacity;
}

.step-content {
    animation: staggeredBlinkShadow 2s infinite;
    will-change: box-shadow;
}

/* Dynamic Prompt Card Slider */
.dynamic-card-container {
    perspective: 1000px;
    position: relative;
    transition: min-height 0.4s ease;
    overflow: hidden;
}

.dynamic-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    position: absolute;
    inset: 0;
    display: none;
}

.dynamic-card.active {
    opacity: 1;
    transform: translateY(0);
}

.dynamic-card.exit {
    opacity: 0;
    transform: translateY(-20px);
}

.progress-dot {
    transition: all 0.3s ease;
}

.progress-dot.active {
    width: 32px;
    background-color: #facc15;
}

/* Gradient Variants */
.bg-variant-default {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(236, 72, 153, 0.3));
}

.bg-variant-university {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(6, 182, 212, 0.3));
}

.bg-variant-faith {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
}

.bg-variant-community {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(16, 185, 129, 0.3));
}

.border-variant-default {
    border-color: rgba(239, 68, 68, 0.5);
}

.border-variant-university {
    border-color: rgba(59, 130, 246, 0.5);
}

.border-variant-faith {
    border-color: rgba(168, 85, 247, 0.5);
}

.border-variant-community {
    border-color: rgba(34, 197, 94, 0.5);
}

/* System Map & Modal */
.system-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    stroke-linecap: round;
    transition: stroke-width 0.3s ease, stroke-opacity 0.3s ease;
}

@keyframes drawLine {
    from {
        stroke-dashoffset: 1;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.reveal.active .system-line {
    animation: drawLine 1s ease-out forwards;
}

@keyframes lineBreath {

    0%,
    100% {
        stroke-opacity: 0.3;
    }

    50% {
        stroke-opacity: 0.6;
    }
}

.system-line:not(.active-line) {
    animation: lineBreath 3s ease-in-out infinite;
}

@keyframes electrified {

    0%,
    100% {
        stroke-opacity: 0.4;
        filter: blur(4px);
    }

    50% {
        stroke-opacity: 0.9;
        filter: blur(8px);
    }
}

.system-line.active-line {
    stroke-opacity: 0.9;
    stroke-width: 4;
    animation: electrified 0.8s ease-in-out infinite;
}

@keyframes nodeBreath {

    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.02);
        opacity: 1;
    }
}

.node-content-group {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    cursor: pointer;
}

.system-node-group:not(.active) .node-content-group {
    animation: nodeBreath 4s ease-in-out infinite;
}

@keyframes activeNodePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.system-node-group.active .node-content-group {
    animation: activeNodePulse 1.5s ease-in-out infinite !important;
}

.system-node-group.active .node-circle {
    filter: drop-shadow(0 0 20px currentColor);
}

@keyframes celebrateRing {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.celebration-ring {
    pointer-events: none;
    transform-box: fill-box;
    transform-origin: center;
    animation: celebrateRing 0.6s ease-out forwards;
}

@keyframes springIn {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.node-check:not(.hidden) {
    transform-box: fill-box;
    transform-origin: center;
    animation: springIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

#system-modal-content {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.node-circle:hover {
    filter: brightness(1.2);
}

/* Step Into the Room Immersive Styles */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) scale(1) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) scale(1.05) rotate(2deg);
    }
}

@keyframes float-alt {

    0%,
    100% {
        transform: translateY(0px) scale(1) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) scale(1.08) rotate(-3deg);
    }
}

@keyframes pulse-scale {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }
}

@keyframes intensifyGlow {

    0%,
    100% {
        box-shadow: 0 0 40px rgba(251, 191, 36, 0.4), 0 20px 60px rgba(0, 0, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 80px rgba(251, 191, 36, 0.8), 0 0 120px rgba(251, 191, 36, 0.4), 0 30px 80px rgba(0, 0, 0, 0.6);
    }
}

.float-1 {
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    animation: float-alt 7s ease-in-out infinite 0.5s;
}

.float-3 {
    animation: float 8s ease-in-out infinite 1s;
}

.float-4 {
    animation: float-alt 6.5s ease-in-out infinite 1.5s;
}

.float-5 {
    animation: float 7.5s ease-in-out infinite 2s;
}

.float-6 {
    animation: float-alt 9s ease-in-out infinite 2.5s;
}

.float-7 {
    animation: float 5.5s ease-in-out infinite 3s;
}

.float-8 {
    animation: float-alt 8.5s ease-in-out infinite 3.5s;
}

.float-9 {
    animation: float 7s ease-in-out infinite 4s;
}

.glow-intensify {
    animation: intensifyGlow 3s ease-in-out infinite;
}

.ambient-text {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    filter: blur(0.5px);
}

.bg-blob-animate {
    animation: pulse-scale 8s ease-in-out infinite;
}

/* Wildcard Economy Section Styles */
.economy-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.economy-card:hover {
    transform: translateY(-10px);
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.1);
}

@keyframes tokenFlow {
    0% {
        transform: translate(calc(-50% - 100px), -50%) opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) opacity: 1;
    }

    100% {
        transform: translate(calc(-50% + 100px), -50%) opacity: 0;
    }
}

.token-flow-icon {
    animation: tokenFlow 2s linear infinite;
}

.trust-line-box {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.15), rgba(249, 115, 22, 0.15), rgba(251, 191, 36, 0.15));
    border: 2px solid rgba(251, 191, 36, 0.5);
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.2);
}

.marketplace-item {
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sim-step {
    transition: all 0.3s ease;
}

.sim-step.active {
    background: #facc15;
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.5);
}

.sim-step.completed {
    background: #4ade80;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
}

/* Artifact Portal Section Styles */
@keyframes portalShift {
    0% {
        background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    }

    33% {
        background: radial-gradient(circle at 80% 50%, rgba(251, 191, 36, 0.15) 0%, transparent 50%);
    }

    66% {
        background: radial-gradient(circle at 50% 80%, rgba(239, 68, 68, 0.15) 0%, transparent 50%);
    }

    100% {
        background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    }
}

.animate-portal-shift {
    animation: portalShift 20s linear infinite;
}

.portal-icon-glow {
    animation: portalIconPulse 3s ease-in-out infinite;
}

@keyframes portalIconPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    }

    50% {
        box-shadow: 0 0 50px rgba(251, 191, 36, 0.4);
    }
}

.portal-dot.active {
    background: #facc15;
    width: 48px;
    /* w-12 */
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.5);
}

.portal-label.active {
    color: #facc15;
    opacity: 1;
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        transform: translate(var(--tw-translate-x), var(--tw-translate-y));
        opacity: 0;
    }
}

.portal-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat 15s linear infinite;
}

/* Data Stream & Highlight Animations */
@keyframes dataStreamUp {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-150px);
        opacity: 0;
    }
}

.data-stream-item {
    animation: dataStreamUp 8s linear forwards;
}

@keyframes pulseShadow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    }

    50% {
        text-shadow: 0 0 40px rgba(251, 191, 36, 0.6);
    }
}

.animate-pulse-slow {
    animation: pulseShadow 4s ease-in-out infinite;
}

@keyframes bounceSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-slow {
    animation: bounceSlow 3s ease-in-out infinite;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* --- START OF SYSTEM MAP MOBILE OPTIMIZATIONS --- */
@media (max-width: 1023px) {
    /* 1. Simplify active lines: Disable dynamic SVG blur filters to prevent rasterization thrashing */
    .system-line.active-line {
        animation: activeLineMobile 1.5s ease-in-out infinite !important;
        filter: none !important;
        -webkit-filter: none !important;
    }
    
    @keyframes activeLineMobile {
        0%, 100% {
            stroke-opacity: 0.5;
            stroke-width: 3.5px;
        }
        50% {
            stroke-opacity: 0.95;
            stroke-width: 4.5px;
        }
    }

    /* 2. Simplify node breathing: Replace scaling (transform) with simple opacity shifts */
    .system-node-group:not(.active) .node-content-group {
        animation: nodeBreathMobile 4s ease-in-out infinite !important;
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    @keyframes nodeBreathMobile {
        0%, 100% {
            opacity: 0.6;
        }
        50% {
            opacity: 1;
        }
    }

    /* 3. Simplify active node pulsing: Replace scale pulse with standard opacity breathing */
    .system-node-group.active .node-content-group {
        animation: activeNodePulseMobile 2s ease-in-out infinite !important;
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    @keyframes activeNodePulseMobile {
        0%, 100% {
            opacity: 0.85;
        }
        50% {
            opacity: 1;
        }
    }

    /* 4. Disable heavy dynamic drop-shadow on node circles (primary cause of GPU context OOM) */
    .system-node-group.active .node-circle {
        filter: none !important;
        -webkit-filter: none !important;
        stroke-width: 4px !important;
        stroke: #facc15 !important; /* Standout active highlight using border outline */
    }

    /* 5. Hide SVG celebration rings */
    .celebration-ring {
        display: none !important;
        animation: none !important;
    }
}
/* --- END OF SYSTEM MAP MOBILE OPTIMIZATIONS --- */
