* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff00ff;
    --secondary: #00ffff;
    --dark: #1a1a1a;
    --light: #ffffff;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--primary), -0.05em -0.025em 0 var(--secondary),
            -0.025em 0.05em 0 #14fc14;
    }
    14% {
        text-shadow: 0.05em 0 0 var(--primary), -0.05em -0.025em 0 var(--secondary),
            -0.025em 0.05em 0 #14fc14;
    }
    15% {
        text-shadow: -0.05em -0.025em 0 var(--primary), 0.025em 0.025em 0 var(--secondary),
            -0.05em -0.05em 0 #14fc14;
    }
    49% {
        text-shadow: -0.05em -0.025em 0 var(--primary), 0.025em 0.025em 0 var(--secondary),
            -0.05em -0.05em 0 #14fc14;
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--primary), 0.05em 0 0 var(--secondary),
            0 -0.05em 0 #14fc14;
    }
    99% {
        text-shadow: 0.025em 0.05em 0 var(--primary), 0.05em 0 0 var(--secondary),
            0 -0.05em 0 #14fc14;
    }
    100% {
        text-shadow: -0.025em 0 0 var(--primary), -0.025em -0.025em 0 var(--secondary),
            -0.025em -0.05em 0 #14fc14;
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes shimmer {
    0% { background-position: 200% 200%; }
    100% { background-position: -200% -200%; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

body {
    font-family: 'Press Start 2P', 'Courier New', monospace;
    background-color: var(--dark);
    background-image: url('BG.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--light);
    min-height: 100vh;
    padding: 2rem;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAGFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE6d/iAAAACHRSTlMABQgNERwjLSaI2qwAAABkSURBVDjLY2AYBaNgFIyCUYAH+P//P4oYKxCD4QgLC6NYGAMDAwMbG5uLiwsqH0zz8vJi0UNDQ4PFAhYWFgYGBjgfwmdgYGBmZkblo/IZGBgYUPkMDAwMqHwGBgYGVP4oGHYAAKx6SHs5Z/8UAAAAAElFTkSuQmCC');
    opacity: 0.05;
    pointer-events: none;
    z-index: 1000;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.coming-soon {
    font-size: 1.2rem;
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
    margin: 1rem 0;
    letter-spacing: 2px;
    animation: blink 2s infinite;
    font-family: 'Press Start 2P', monospace;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border: 2px solid var(--secondary);
    display: inline-block;
    border-radius: 4px;
}

.site-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 10px var(--primary))
           drop-shadow(0 0 20px var(--secondary));
}

h1.glitch {
    font-size: 3.5rem;
    color: var(--light);
    animation: glitch 1s infinite;
    letter-spacing: 2px;
    position: relative;
    margin-top: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.controls-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links {
    margin-top: 0;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary);
    color: var(--light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.social-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.social-button i {
    font-size: 1.2rem;
}

.mute-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--secondary);
    color: var(--light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.mute-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.mute-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 25%, rgba(255,255,255,0.1) 50%, transparent 75%);
    background-size: 200% 200%;
    animation: shimmer 2s infinite linear;
    pointer-events: none;
}

.try-now-container {
    text-align: center;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.try-now-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--light);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.try-now-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 20px rgba(255, 0, 255, 0.5),
        0 0 40px rgba(0, 255, 255, 0.5);
}

.try-now-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 25%, rgba(255,255,255,0.2) 50%, transparent 75%);
    background-size: 200% 200%;
    animation: shimmer 2s infinite linear;
    pointer-events: none;
}

.try-now-description {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--light);
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.category-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.nav-button {
    padding: 0.8rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--secondary);
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.nav-button:hover,
.nav-button.active {
    background: var(--secondary);
    color: var(--dark);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(42, 42, 42, 0.8);
    box-shadow: 
        0 0 0 2px var(--primary),
        0 0 0 4px var(--secondary),
        0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.gallery-item.hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    image-rendering: pixelated;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 
        0 0 0 2px var(--primary),
        0 0 0 4px var(--secondary);
    image-rendering: pixelated;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .site-logo {
        width: 80px;
        height: 80px;
    }

    h1.glitch {
        font-size: 2.5rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .nav-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .try-now-button {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }

    .coming-soon {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .site-logo {
        width: 60px;
        height: 60px;
    }

    h1.glitch {
        font-size: 2rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .category-nav {
        gap: 0.5rem;
    }

    .nav-button {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
    }

    .try-now-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .coming-soon {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}
