/* Base Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('NightclubGreenOrange.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.content-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Container Styles */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 2rem;
    text-align: center;
}

/* Crescendo Text */
#crescendo {
    font-size: 6rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

/* Subtle Rainbow Glow */
.glow-effect {
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.7),
                  0 0 20px rgba(0, 255, 0, 0.7),
                  0 0 30px rgba(0, 0, 255, 0.7),
                  0 0 40px rgba(255, 255, 0, 0.7),
                  0 0 50px rgba(0, 255, 255, 0.7),
                  0 0 60px rgba(255, 0, 255, 0.7);
    animation: rainbow-glow 3s linear infinite alternate;
}

@keyframes rainbow-glow {
    0% { text-shadow: 0 0 10px rgba(255, 0, 0, 0.7), 0 0 20px rgba(0, 255, 0, 0.7); }
    50% { text-shadow: 0 0 30px rgba(0, 0, 255, 0.7), 0 0 40px rgba(255, 255, 0, 0.7); }
    100% { text-shadow: 0 0 50px rgba(0, 255, 255, 0.7), 0 0 60px rgba(255, 0, 255, 0.7); }
}

/* Colored Fading Border */
.fading-border {
    border: 10px solid transparent;
    border-image: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet);
    border-image-slice: 1;
    animation: border-fade 5s infinite alternate;
}

@keyframes border-fade {
    0% { border-image: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet); }
    100% { border-image: linear-gradient(45deg, violet, indigo, blue, green, yellow, orange, red); }
}

/* Fine Noise Texture */
.noise-background {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: multiply;
}

/* Glitch Effect */
.glitch-effect {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    color: black;
}

.glitch-effect:before,
.glitch-effect:after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: none;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-animation 2s infinite;
}

.glitch-effect:before {
    left: 2px;
    text-shadow: -2px 0 red;
    animation-delay: 0.1s;
}

.glitch-effect:after {
    left: -2px;
    text-shadow: -2px 0 blue;
    animation-delay: 0.2s;
}

@keyframes glitch-animation {
    0% { clip: rect(44px, 9999px, 56px, 0); }
    5% { clip: rect(30px, 9999px, 70px, 0); }
    10% { clip: rect(10px, 9999px, 90px, 0); }
    15% { clip: rect(15px, 9999px, 85px, 0); }
    20% { clip: rect(55px, 9999px, 35px, 0); }
    25% { clip: rect(70px, 9999px, 20px, 0); }
    30% { clip: rect(40px, 9999px, 60px, 0); }
    35% { clip: rect(25px, 9999px, 75px, 0); }
    40% { clip: rect(35px, 9999px, 65px, 0); }
    45% { clip: rect(60px, 9999px, 40px, 0); }
    50% { clip: rect(50px, 9999px, 50px, 0); }
    55% { clip: rect(35px, 9999px, 65px, 0); }
    60% { clip: rect(25px, 9999px, 75px, 0); }
    65% { clip: rect(15px, 9999px, 85px, 0); }
    70% { clip: rect(5px, 9999px, 95px, 0); }
    75% { clip: rect(0px, 9999px, 100px, 0); }
    80% { clip: rect(20px, 9999px, 80px, 0); }
    85% { clip: rect(30px, 9999px, 70px, 0); }
    90% { clip: rect(40px, 9999px, 60px, 0); }
    95% { clip: rect(50px, 9999px, 50px, 0); }
    100% { clip: rect(55px, 9999px, 45px, 0); }
}

/* Tagline Styles */
.tagline-container {
    position: relative;
    max-width: 80%;
    margin: 1rem auto 0;
    padding: 1rem;
}

.tagline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    z-index: -1;
    filter: url(#noise);
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M41.9,-51.5C54.1,-44.2,63.5,-30.9,67.7,-15.8C71.9,-0.6,70.8,16.4,63.5,29.6C56.2,42.8,42.6,52.2,28.3,57.9C14,63.6,-1,65.5,-16.6,62.8C-32.2,60.1,-48.4,52.7,-58.3,40.1C-68.2,27.5,-71.8,9.7,-69.1,-6.6C-66.4,-22.9,-57.5,-37.7,-45.2,-45.2C-32.9,-52.7,-17.2,-52.9,-1.3,-51.3C14.6,-49.8,29.7,-58.8,41.9,-51.5Z' transform='translate(100 100)'/%3E%3C/svg%3E");
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
}

#tagline {
    font-size: 1.5rem;
    line-height: 1.4;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
}

#tagline em {
    font-style: italic;
    font-weight: bold;
    color: #00ff00; /* Neon green color */
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
}

/* Footer Styles */
.footer {
    padding: 20px;
    text-align: center;
}

.footer a {
    font-size: 1.2rem;
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.footer a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    #crescendo {
        font-size: 4rem;
    }

    #tagline {
        font-size: 1.2rem;
    }

    .tagline-container {
        max-width: 90%;
    }

    .footer a {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #crescendo {
        font-size: 3rem;
    }

    #tagline {
        font-size: 1rem;
    }

    .tagline-container {
        max-width: 95%;
    }
}