:root {
    --primary: #00f3ff;
    --secondary: #ff00e5;
    --accent: #7700ff;
    --background: #0a0a0a;
    --surface: #1a1a1a;
    --text: #ffffff;
    --neural-glow: 0 0 20px rgba(0, 243, 255, 0.5);
}

/* Base Styles */
body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--background);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Logo Styles */
.logo-svg {
    width: 120px;
    height: 120px;
}

.logo-small {
    width: 30px;
    height: 30px;
}

.logo-orbit {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    opacity: 0.5;
}

.logo-planet {
    fill: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary));
}

.logo-core {
    fill: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary));
}

.logo-wave {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    opacity: 0.7;
}

/* Navigation */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.bg-glass {
    background: rgba(10, 10, 10, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: 600;
    color: var(--primary) !important;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.neural-pulse-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 20px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
    color: var(--text) !important;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.neural-pulse-btn:hover {
    animation: btnPulse 2s infinite;
}

/* Hero Section & Particles */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.hero-description {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 2rem;
}

/* Subliminal Messages */
.subliminal-messages {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.message {
    position: absolute;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease-in-out;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.message.show {
    opacity: 1;
    transform: scale(1);
}

/* Neural Stats */
.neural-stats {
    position: relative;
    z-index: 20;
}

.stat-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00f3ff, #7700ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.counter {
    display: inline-block;
    transition: transform 0.2s ease;
}

.counter.highlight {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.8);
}

/* Slider */
.hero-slider {
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.slide-content {
    max-width: 800px;
    z-index: 1;
}

.slide-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.swiper-slide-active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

.slide-description {
    font-size: 1.5rem;
    color: var(--text);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.2s;
}

.swiper-slide-active .slide-description {
    opacity: 1;
    transform: translateY(0);
}

/* Neural Waves Animation */
.neural-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.neural-waves::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    filter: blur(4px);
    animation: waveMove 3s ease-in-out infinite;
}

/* Neural Grid Animation */
.neural-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

/* Emotion Particles */
.emotion-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neural-glow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    padding: 4rem 0 2rem;
}

.footer-brand p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #00f3ff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links-inline a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links-inline a:hover {
    color: #00f3ff;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.logo-small {
    width: 30px;
    height: 30px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: var(--background);
    transform: translateY(-3px);
}

/* Animations */
@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 243, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0); }
}

@keyframes waveMove {
    0% { transform: translateY(0) scaleY(1); }
    50% { transform: translateY(20px) scaleY(2); }
    100% { transform: translateY(0) scaleY(1); }
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* Existing styles... */

/* Loading Screen */
#loadingScreen {
    background: var(--background);
    z-index: 9999;
}

.neural-logo {
    position: relative;
    width: 120px;
    height: 120px;
}

.neural-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
}

.neural-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.neural-circle circle {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: circleAnimation 4s ease-in-out infinite;
}

.neural-logo-small {
    width: 30px;
    height: 30px;
    position: relative;
}

.neural-pulse-small {
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 8s ease infinite;
}

/* Connection Status */
.connection-status {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: statusPulse 2s ease-in-out infinite;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scanAnimation 3s linear infinite;
    opacity: 0.7;
}

.face-guide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

.face-guide svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
}

.face-guide path {
    stroke-dasharray: 20;
    animation: dashAnimation 2s linear infinite;
}

/* Thought Bubble */
.thought-bubble {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 10px 20px;
    color: var(--text);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thought-bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--primary);
}

/* Cards */
.card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--neural-glow);
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.2); }
    100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
}

@keyframes circleAnimation {
    0% { stroke-dashoffset: 283; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -283; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes statusPulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes scanAnimation {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(1000%); }
}

@keyframes dashAnimation {
    to { stroke-dashoffset: 40; }
}

/* Neural Background Canvas */
#neuralBackground {
    width: 100vw;
    height: 100vh;
    opacity: 0.2;
    pointer-events: none;
}

/* Technical Research Section */
.tech-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.95) 100%);
    position: relative;
    overflow: hidden;
}

.tech-section .container {
    max-width: 1200px;
}

.tech-section .row {
    margin-bottom: 2rem;
}

.tech-section .row:last-child {
    margin-bottom: 0;
}

.research-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.research-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.3);
}

.research-card:hover .research-overlay {
    opacity: 0.1;
}

.research-icon {
    font-size: 2.5rem;
    color: #00f3ff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.research-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.research-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.metrics-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.metric {
    text-align: center;
    flex: 1;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00f3ff;
    display: block;
    font-family: 'Space Grotesk', sans-serif;
}

.metric-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-top: 0.25rem;
}

.research-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 243, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Subliminal Elements */
.subliminal-text {
    position: relative;
    animation: subliminalGlow 5s infinite;
}

@keyframes subliminalGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 243, 255, 0);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    }
}

/* API Link Styles */
.api-link {
    position: relative;
    color: #00f3ff !important;
    padding-right: 1.5rem !important;
}

.api-link i {
    font-size: 0.8em;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.api-link:hover i {
    transform: translate(2px, -2px);
}

/* Research Cards */
.research-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.research-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.research-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Metrics Card */
.metrics-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    position: relative;
}

.chart-container {
    position: relative;
    height: 200px;
    width: 100%;
}

.chart-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.metrics-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Cognitive Load */
.realtime-metrics {
    padding: 1.5rem;
}

.metric-item {
    margin-bottom: 1rem;
}

.metric-item:last-child {
    margin-bottom: 0;
}

.metric-item label {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

/* Analysis Card */
.analysis-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
    height: 100%;
}

.webcam-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 10px;
}

.webcam-container video,
.webcam-container canvas,
.analysis-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.analysis-overlay {
    pointer-events: none;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 243, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.8);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.target-box {
    position: absolute;
    border: 2px solid rgba(0, 243, 255, 0.5);
    border-radius: 5px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 243, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0); }
}

.data-points {
    position: absolute;
    width: 100%;
    height: 100%;
}

.data-point {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00f3ff;
    border-radius: 50%;
    opacity: 0.8;
}

/* Infrastructure Metrics Section */
.infra-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.infra-card:hover {
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

.infra-card h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    background: linear-gradient(45deg, #00f3ff, #00ff9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-specs {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.spec-item {
    position: relative;
}

.spec-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-family: 'Space Grotesk', sans-serif;
}

.spec-value {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Space Grotesk', monospace;
    margin-bottom: 0.5rem;
}

.spec-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.spec-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--percentage);
    background: linear-gradient(90deg, #00f3ff, #00ff9d);
    border-radius: 2px;
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: var(--percentage);
    }
}

.infra-card:hover .spec-bar::after {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        border: 1px solid rgba(0, 243, 255, 0.2);
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
    }

    .btn-gradient {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Subliminal Messages */
.subliminal-text {
    position: fixed;
    bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: subliminal-pulse 3s infinite;
}

@keyframes subliminal-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Hero Section & Particles */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section .container {
    z-index: 2;
}

/* Neural Overlay Effect */
.neural-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, 
        rgba(0,243,255,0.02) 0%,
        rgba(0,0,0,0) 70%);
    animation: neural-pulse 12s infinite;
    mix-blend-mode: screen;
    pointer-events: none;
}

@keyframes neural-pulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.35; }
}

/* Subliminal Messaging System */
.subliminal-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    grid-gap: 5px;
    padding: 2%;
    pointer-events: none;
    mix-blend-mode: luminosity;
    opacity: 0.08;
}

.subliminal-message {
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    color: rgba(0,243,255,0.4);
    text-shadow: 0 0 8px rgba(0,243,255,0.4);
    letter-spacing: 0.1em;
    text-align: center;
    overflow: hidden;
    animation: subliminal-fade 5s infinite alternate;
}

.subliminal-message:before {
    content: attr(data-message);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: subliminal-text-shadow 3s infinite alternate;
}

@keyframes subliminal-fade {
    0% { opacity: 0; transform: scale(0.9); }
    20%, 80% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(0.9); }
}

@keyframes subliminal-text-shadow {
    0% { text-shadow: 0 0 5px rgba(0,243,255,0.4); }
    100% { text-shadow: 0 0 20px rgba(0,243,255,0.8); }
}
/* Container dei messaggi subliminali */
#subliminal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Non interferisce con i click dell'utente */
    z-index: 1; /* Sopra il canvas, ma sotto il contenuto principale */
    mix-blend-mode: overlay; /* Effetto fusione per integrarsi con il background */
    /* Un leggero overlay neurale con gradienti per non rovinare la grafica */
    background: radial-gradient(circle, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.1) 100%);
  }
  
  /* Stile dei messaggi */
  .subliminal-message {
    position: absolute;
    font-size: 0.8rem;
    color: #ffffff;
    opacity: 0.1; /* Base nell'intervallo 0.08-0.15 */
    animation: pulse 3s infinite; /* Pulsazione impercettibile */
  }
  
  /* Animazione di pulsazione */
  @keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.15; }
  }
  /* Container dei messaggi subliminali */
#subliminal-container {
    position: absolute; /* Sovrapposto al container dei particles */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Così non interferiscono con i click */
    z-index: 1; /* Deve stare sopra i particles, ma sotto il contenuto principale */
    mix-blend-mode: overlay; /* Effetto fusione per integrarsi con il background */
    background: radial-gradient(circle, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.1) 100%);
  }
  
  /* Stile per ogni messaggio subliminale */
  .subliminal-message {
    position: absolute;
    font-size: 0.8rem;
    font-family: 'Space Grotesk', sans-serif;
    color: #ffffff;
    opacity: 0.08; /* Base al di sotto della soglia cosciente */
    white-space: nowrap;
    animation: pulse 3s infinite; /* Pulsazione impercettibile */
  }
  
  /* Animazione di pulsazione */
  @keyframes pulse {
    0%, 100% { opacity: 0.08; }
    50% { opacity: 0.15; }
  }
  