body {
    margin: 0;
    padding: 0;
    background-color: #050505;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    overflow-y: auto;
    height: 100vh;
}

#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(140, 70, 255, 0.3);
    box-shadow: 0 0 20px rgba(100, 50, 255, 0.2);
    overflow: hidden;
    height: 60px;
    background-color: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    background-color: rgba(20, 10, 35, 0.2);
    z-index: 0;
}

.audio-visualizer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
}

#visualizerCanvas {
    width: 100%;
    height: 100%;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(120, 60, 255, 0.1) 50%, transparent 100%),
        linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(120, 60, 255, 0.05) 100%);
    background-size: 200% 100%, 100% 100%;
    animation: navbarGlow 8s linear infinite;
    z-index: 2;
}

@keyframes navbarGlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 5px rgba(140, 70, 255, 0.8), 0 0 10px rgba(120, 60, 255, 0.5);
    position: relative;
    padding-left: 10px;
    z-index: 3;
}

.logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: #a070ff;
    box-shadow: 0 0 10px #a070ff, 0 0 20px #a070ff;
}

.nav-links {
    display: flex;
    gap: 2rem;
    z-index: 3;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a070ff, transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.nav-links a:hover {
    color: #a070ff;
    text-shadow: 0 0 5px rgba(140, 70, 255, 0.8);
    border-color: rgba(140, 70, 255, 0.3);
    background: rgba(120, 60, 255, 0.2);
}

.nav-links a:hover::before {
    transform: translateX(100%);
}

main {
    position: relative;
    z-index: 1;
    margin-top: 80px;
}

.sound-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(60, 30, 90, 0.4);
    color: white;
    border: 1px solid rgba(100, 50, 150, 0.6);
    padding: 10px 15px;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 0 10px rgba(60, 30, 90, 0.5);
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.sound-toggle.active {
    background: rgba(100, 50, 150, 0.6);
    box-shadow: 0 0 15px rgba(140, 70, 255, 0.8);
    border-color: rgba(140, 70, 255, 0.8);
}

.content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 10px rgba(140, 70, 255, 0.8);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #a070ff, transparent);
}

.count-display {
    font-size: 1.2rem;
    color: rgba(140, 70, 255, 0.8);
    margin-bottom: 2rem;
}

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
    width: 100%;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img, .gallery-item video {
    max-width: 100%;
    width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(140, 70, 255, 0.4);
}

.item-description {
    margin-top: 15px;
    text-align: center;
    max-width: 800px;
    color: #a070ff;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 10px;
    background: rgba(30, 15, 45, 0.4);
    border-radius: 5px;
    border: 1px solid rgba(140, 70, 255, 0.3);
}

.item-description a {
    color: #c090ff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.item-description a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(160, 112, 255, 0.8);
}

.about-content {
    max-width: 800px;
    margin: 30px auto;
    text-align: center;
    padding: 20px;
    background: rgba(30, 15, 45, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(140, 70, 255, 0.3);
    box-shadow: 0 0 15px rgba(140, 70, 255, 0.3);
    font-size: 1.1rem;
    line-height: 1.6;
    letter-spacing: 1px;
    color: #e0e0ff;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 5px;
    background: rgba(60, 30, 90, 0.4);
    color: white;
    border: 1px solid rgba(100, 50, 150, 0.6);
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 0 10px rgba(60, 30, 90, 0.5);
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-decoration: none;
}

.social-button:hover {
    background: rgba(100, 50, 150, 0.6);
    box-shadow: 0 0 15px rgba(140, 70, 255, 0.8);
    border-color: rgba(140, 70, 255, 0.8);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(140, 70, 255, 0.3);
    background-color: rgba(20, 10, 35, 0.4);
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(140, 70, 255, 0.5);
}

::-webkit-scrollbar {
    width: 12px;
    background-color: #0a0a10;
}

::-webkit-scrollbar-track {
    background-color: rgba(20, 10, 35, 0.2);
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8c46ff, #6432ff);
    border-radius: 10px;
    border: 2px solid #0a0a10;
    box-shadow: 0 0 8px rgba(140, 70, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9c56ff, #7442ff);
    box-shadow: 0 0 12px rgba(160, 90, 255, 0.7);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #8c46ff #0a0a10;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

img, video {
    max-width: 100%;
    height: auto;
}

.gallery {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

#visualizerCanvas {
    width: 100% !important;
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
        height: 50px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding: 15px;
        font-size: 0.9rem;
        max-width: 90%;
    }
    
    .gallery-item img, .gallery-item video {
        width: 90%;
    }
    
    .item-description {
        max-width: 90%;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 0.5rem;
    }
    
    .logo {
        margin-bottom: 0.5rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: space-around;
    }
    
    .nav-links a {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .sound-toggle {
        bottom: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    html {
        scroll-behavior: smooth;
    }
}