/* Custom CSS */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Antigravity Header & Footer */
.header {
    background: rgba(10, 25, 47, 0.7) !important;
    /* More translucent */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, #0046BE, #64ffda) 1;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
}

/* Fix overlap */
.floating-tags {
    margin-top: 120px;
    /* Push content down */
}

.header .menu li a {
    color: #e6f1ff !important;
    /* Light blue-white */
    font-weight: 500;
    transition: color 0.3s ease;
}

.header .menu li a:hover {
    color: #64ffda !important;
    /* Neon cyan accent */
}

/* Logo filtering to make it white if it's an image */
.header .logo-image img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Language selector */
.languages span {
    color: #e6f1ff !important;
}

.footer {
    background: rgba(10, 25, 47, 0.9) !important;
    color: #8892b0 !important;
    /* Muted text */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    padding-bottom: 40px;
}

.footer a {
    color: #e6f1ff !important;
    text-decoration: none;
}

.footer a:hover {
    color: #64ffda !important;
}

.footer .copyright {
    color: #8892b0 !important;
}

/* Dark Theme for Content */
body {
    background-color: #0a192f !important;
    color: #8892b0 !important;
}

.page-title {
    color: #ccd6f6 !important;
    font-size: 3.5em !important;
}

.page-description {
    color: #8892b0 !important;
    font-size: 1.2em !important;
}

/* Deep Black Header and Size Adjustments */
.header-back.header-back-simple {
    background: #000000 !important;
    background-image: none !important;
}

.header-back-small {
    padding: 140px 0 40px 0 !important;
    /* Reduced from 140px/70px */
}

.header-back-simple .page-info,
.header-back-simple .page-info-simple {
    background: #000000 !important;
    /* Deep black matching background */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5) !important;
}

.blog-post {
    background-color: #0a192f !important;
    box-shadow: none !important;
    border: none !important;
}

.blog-post h2 {
    color: #ccd6f6 !important;
    border-bottom: 2px solid #64ffda !important;
}

.blog-post h3 {
    color: #ccd6f6 !important;
}

.blog-post p {
    color: #8892b0 !important;
}

.post-note {
    background-color: #000000 !important;
    border-left: 4px solid #64ffda !important;
}

.post-note p {
    color: #ccd6f6 !important;
}

.step {
    background-color: #000000 !important;
    border-left: 4px solid #64ffda !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}

.step h4 {
    color: #ccd6f6 !important;
}

.step p {
    color: #8892b0 !important;
}

pre {
    background-color: #233554 !important;
    color: #e6f1ff !important;
    border: 1px solid #303C55 !important;
    border-radius: 5px !important;
}

/* Fix Menu White Background */
.sf-menu ul {
    background: #172a45 !important;
    /* Lighter Navy for contrast */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid #233554 !important;
}

.sf-menu ul li a {
    color: #e6f1ff !important;
    /* Light text */
    border-bottom: 1px solid #233554 !important;
    /* Separators */
    background: #172a45 !important;
}

.sf-menu ul li a:hover {
    background: #233554 !important;
    /* Even lighter hover */
    color: #64ffda !important;
    /* Teal accent */
}