/* All CSS styles for the main index/landing page */
:root {
    --color-bg-start: #6c006c;
    --color-bg-mid1: #4f158a;
    --color-bg-mid2: #2f1fa1;
    --color-bg-mid3: #0025b6;
    --color-bg-end: #0029cc;
    --neon-pink: #f900bf;
    --neon-cyan: #0ffbfb;
    --text-light: #f0f0f0;
    --text-dark: #1a052a;
}

/* === BASE & LAYOUT (Mostly Unchanged) === */
body {
    font-family: 'Rajdhani', sans-serif;
    margin: 0; padding: 0;
    height: 100vh; width: 100vw;
    color: var(--text-light);
    overflow: hidden;
    display: flex; justify-content: center; align-items: center;
    text-align: center; position: relative;
    user-select: none; -webkit-user-select: none;
}

#dynamic-background {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; z-index: -1;
    background: linear-gradient(135deg, var(--color-bg-start), var(--color-bg-mid1) 25%, var(--color-bg-mid2) 50%, var(--color-bg-mid3) 75%, var(--color-bg-end));
    animation: subtleShift 20s ease-in-out infinite alternate;
}

#particle-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    pointer-events: none; z-index: 0;
}

#page-content {
    position: relative;
    z-index: 5;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

#page-content.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.content-center {
    display: flex; flex-direction: column; align-items: center;
}

/* === THE NEW ANIMATED BUTTON === */
#main-interaction-button {
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 70%),
                linear-gradient(var(--neon-pink), var(--neon-cyan));
    background-blend-mode: overlay;
    border: 3px solid var(--neon-pink);
    color: white;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer;
    box-shadow: 0 0 15px var(--neon-pink), 0 0 30px var(--neon-pink), 0 0 45px var(--neon-cyan),
                inset 0 0 10px rgba(255,255,255,0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: pulseGlow 2.5s infinite alternate;
    position: relative; 
    overflow: hidden; /* Important for containing the shockwave */
}

#main-interaction-button:hover:not(.is-animating) {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--neon-pink), 0 0 40px var(--neon-pink), 0 0 60px var(--neon-cyan),
                inset 0 0 15px rgba(255,255,255,0.5);
}

#main-interaction-button i {
    font-size: 4.5rem;
    text-shadow: 0 0 10px white;
    transition: transform 0.5s ease-in;
    z-index: 2;
}

/* === NEW ANIMATION CLASSES & KEYFRAMES === */

/* The Shockwave Effect */
#shockwave {
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background-color: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 1;
}

#main-interaction-button.is-animating #shockwave {
    animation: shockwave-animation 0.7s ease-out forwards;
}

@keyframes shockwave-animation {
    0% { width: 0; height: 0; opacity: 1; border: 15px solid rgba(255, 255, 255, 0.8); }
    100% { width: 400px; height: 400px; opacity: 0; border: 1px solid rgba(255, 255, 255, 0); }
}

/* The Mic Drop Animation */
#main-interaction-button.is-animating i {
    animation: mic-drop-and-shatter 0.8s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

@keyframes mic-drop-and-shatter {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    40% { transform: translateY(120px) rotate(20deg) scale(1.1); /* Fall past the edge */ }
    45% { transform: translateY(90px) rotate(-15deg) scale(1.1); /* 'Hit' the bottom edge */ }
    60% { transform: translateY(85px) rotate(10deg) scale(1.15); /* Bounce */ }
    100% { transform: translateY(90px) rotate(0deg) scale(0); opacity: 0; /* Shatter/disappear */ }
}

/* Text Shake Effect */
.interaction-text.shake {
    animation: text-shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes text-shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* The Background Flash */
body.flash {
    animation: background-flash 0.6s ease-out;
}

@keyframes background-flash {
    0% { filter: brightness(1); }
    20% { filter: brightness(2.5); }
    100% { filter: brightness(1); }
}

/* === ORIGINAL PULSE & TEXT STYLES (Unchanged) === */
@keyframes pulseGlow {
    from {
        border-color: var(--neon-pink);
        box-shadow: 0 0 15px var(--neon-pink), 0 0 30px var(--neon-pink), 0 0 45px var(--neon-cyan),
                    inset 0 0 10px rgba(255,255,255,0.3);
    }
    to {
        border-color: var(--neon-cyan);
        box-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan), 0 0 60px var(--neon-pink),
                    inset 0 0 15px rgba(255,255,255,0.5);
    }
}

.interaction-text {
    margin-top: 35px;
    font-family: 'Audiowide', cursive;
    font-size: 2.8rem;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
    color: #fff;
    perspective: 400px; /* For the shake animation */
}

.interaction-text .micdrop-text {
    display: inline-block; /* Required for transform */
    text-shadow:
        0 0 5px rgba(255,255,255,0.8), 0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan), 0 0 30px var(--neon-cyan),
        0 0 40px #00a1a1, 0 0 50px #007777;
}

.interaction-text .tagline-text {
    display: block;
    font-size: 1.8rem; margin-top: 5px;
    text-shadow:
        0 0 5px rgba(255,255,255,0.8), 0 0 10px var(--neon-pink),
        0 0 20px var(--neon-pink), 0 0 30px var(--neon-pink),
        0 0 40px #a1007a, 0 0 50px #770058;
}

/* === MENU, TEASER BAR, ETC (Unchanged) === */
.teaser-bar { position: absolute; bottom: 0; left: 0; width: 100%; background-color: rgba(0,0,0,0.3); backdrop-filter: blur(5px); padding: 8px 0; z-index: 10; overflow: hidden; white-space: nowrap; }
.teaser-bar-content { display: inline-block; animation: scrollText 60s linear infinite; color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.teaser-bar-content span { margin-right: 50px; }
@keyframes scrollText { from { transform: translateX(0%); } to { transform: translateX(-50%); } }

#menu-toggle { position: absolute; top: 25px; right: 25px; font-size: 1.5rem; color: var(--text-light); background: none; border: none; padding: 10px; cursor: pointer; z-index: 1001; transition: color 0.2s; }
#menu-toggle:hover { color: var(--neon-pink); }
#slide-menu { position: fixed; top: 0; right: -300px; width: 280px; height: 100%; background-color: rgba(10, 5, 30, 0.9); backdrop-filter: blur(10px); z-index: 1000; padding-top: 80px; transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1); box-shadow: -5px 0 15px rgba(0,0,0,0.3); }
#slide-menu.open { right: 0; }
#slide-menu ul { list-style: none; padding: 0; margin: 0; }
#slide-menu ul li a { display: block; padding: 15px 25px; color: var(--text-light); text-decoration: none; font-family: 'Orbitron', sans-serif; font-size: 1.1rem; transition: color 0.2s, background-color 0.2s; border-bottom: 1px solid rgba(255,255,255,0.1); }
#slide-menu ul li a:hover { color: var(--neon-pink); background-color: rgba(249, 0, 191, 0.1); }

/* --- MODIFIED --- */
#volume-toggle { position: fixed; bottom: 40px; right: 25px; background: none; border: none; color: var(--text-light); font-size: 1.5rem; cursor: pointer; z-index: 1001; opacity: 0.5; transition: all 0.3s; }
#volume-toggle:hover { opacity: 1; color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan); }

@keyframes subtleShift {
    0% { background-position: 0% 0%; filter: hue-rotate(0deg) brightness(100%); }
    50% { filter: hue-rotate(20deg) brightness(110%); }
    100% { background-position: 100% 100%; filter: hue-rotate(-10deg) brightness(90%); }
}

/* --- NEW --- */
/* === RESPONSIVENESS (for smaller screens) === */
@media (max-width: 480px) {
    #main-interaction-button {
        width: 140px;
        height: 140px;
    }

    #main-interaction-button i {
        font-size: 4rem;
    }

    .interaction-text {
        font-size: 2.4rem; /* Slightly smaller for better fit */
        margin-top: 30px;
    }

    .interaction-text .tagline-text {
        font-size: 1.5rem;
    }

    #volume-toggle {
        font-size: 1.4rem;
        right: 20px;
        bottom: 50px; /* Give a bit more space from the teaser bar on small screens */
    }

/* Find this existing rule inside your media query and modify it */
#volume-toggle {
    font-size: 1.4rem;
    right: 20px;
    bottom: 85px; /* MODIFIED - Move it up to make space for the ticker */
}

/* ADD THIS NEW RULE right after the #volume-toggle rule */
.teaser-bar {
    bottom: 70px; /* NEW - Move the ticker up from the bottom of the screen */
}

    #menu-toggle {
        top: 20px;
        right: 20px;
    }

    #slide-menu {
        width: 260px; /* Adjust width for smaller viewports */
    }
}
/* ADD THIS TO THE END OF assets/css/index.css */

.teaser-bar-content .cyan {
    color: var(--neon-cyan);
    font-weight: bold;
}
