body {
    margin: 0;
    padding: 0;
    background-color: #000014;
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
    color: #00eaff;
    text-align: center;
    overflow-x: hidden;
}
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
}
.content {
    position: relative;
    z-index: 1;
    padding: 50px;
    pointer-events: none;
    min-height: 100vh;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: linear-gradient(135deg, rgba(0, 0, 20, 0.85), rgba(0, 0, 50, 0.5));
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.5);
    position: sticky;
    top: 0;
    z-index: 2;
}
nav {
    flex-grow: 1;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
}
nav ul li {
    display: inline;
}
nav ul li a {
    color: #00eaff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s, text-shadow 0.3s, box-shadow 0.3s;
    text-shadow: 0 0 12px rgba(0, 234, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
}
nav ul li a:hover {
    color: #ffaa44;
    text-shadow: 0 0 15px rgba(255, 170, 68, 0.8);
}
nav ul li a.active {
    color: #00eaff;
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.8), 0 0 25px rgba(0, 234, 255, 0.5);
    text-shadow: 0 0 12px rgba(0, 234, 255, 1);
    transform: scale(1.05);
}
.profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
}
.profile-picture {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
}
.profile-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.profile-name {
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 0 0 8px rgba(0, 234, 255, 0.8);
}
.profile-title {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
    text-shadow: 0 0 6px rgba(0, 234, 255, 0.3);
}
#hero {
    position: relative;
    padding: 100px 20px;
}
.hero-text {
    position: relative;
    z-index: 2;
}
h1 {
    font-size: 3rem;
    text-shadow: 0 0 15px rgba(0, 234, 255, 0.8), 0 0 25px rgba(0, 234, 255, 0.4);
    margin-bottom: 20px;
}
section {
    background: linear-gradient(135deg, rgba(0, 0, 20, 0.9), rgba(0, 0, 50, 0.6));
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.5), inset 0 0 10px rgba(0, 234, 255, 0.2);
    pointer-events: auto;
    text-align: left;
}
h2 {
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(0, 234, 255, 0.8), 0 0 20px rgba(0, 234, 255, 0.4);
    margin-top: 0;
}
h3 {
    font-size: 1.5rem;
    text-shadow: 0 0 8px rgba(0, 234, 255, 0.6);
}
p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 0 0 6px rgba(0, 234, 255, 0.5);
    line-height: 1.5;
}
.equation {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    background: rgba(0, 0, 20, 0.7);
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    text-align: center;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.social-links a {
    color: #00eaff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s, text-shadow 0.3s;
    text-shadow: 0 0 8px rgba(0, 234, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}
.social-links a:hover {
    color: #ffaa44;
    text-shadow: 0 0 10px rgba(255, 170, 68, 0.8);
}
.social-links img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
.social-links i {
    font-size: 1.4rem;
    width: 20px;
    text-align: center;
}
html, body {
    height: 100%;
    overflow-x: hidden;
}
section ul {
    list-style-type: none;
    padding-left: 20px;
}
section li {
    margin: 10px 0;
    position: relative;
}
section li:before {
    content: "•";
    color: #00eaff;
    position: absolute;
    left: -15px;
}
.library-link, .about-link, .practice-link, .flow-dynamics-link {
    display: block;
    background: linear-gradient(135deg, rgba(0, 0, 20, 0.9), rgba(0, 0, 50, 0.6));
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.5), inset 0 0 10px rgba(0, 234, 255, 0.2);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s, transform 0.3s;
    pointer-events: auto;
}
.library-link:hover, .about-link:hover, .practice-link:hover, .flow-dynamics-link:hover {
    box-shadow: 0 0 25px rgba(255, 170, 68, 0.8), inset 0 0 15px rgba(255, 170, 68, 0.2);
    transform: scale(1.02);
}
.library-link h2, .library-link p, .about-link h2, .about-link p, .practice-link h2, .practice-link p, .flow-dynamics-link h2 {
    margin: 0;
    padding: 0;
}
.about-link h2 {
    text-align: center;
}

/* Mobile-specific styles (≤ 768px) */
@media (max-width: 768px) {
    .content {
        padding: 20px;
    }
    header {
        flex-direction: column;
        padding: 10px;
    }
    nav {
        width: 100%;
        justify-content: center;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    nav ul li a {
        font-size: 16px;
        padding: 8px 12px;
    }
    .profile {
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
    }
    .profile-picture {
        width: 50px;
        height: 50px;
    }
    .profile-name {
        font-size: 1rem;
    }
    .profile-title {
        font-size: 0.8rem;
    }
    #hero {
        padding: 60px 10px;
    }
    h1 {
        font-size: 2rem;
    }
    p {
        font-size: 1rem;
    }
    section, .library-link, .about-link, .practice-link, .flow-dynamics-link {
        padding: 15px;
        margin: 10px auto;
        width: 90%;
    }
    h2 {
        font-size: 1.5rem;
    }
    .social-links {
        gap: 15px;
    }
    .social-links a {
        font-size: 1rem;
    }
    .social-links img, .social-links i {
        width: 18px;
        height: 18px;
    }
}
