* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #0b0314;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: background-color 0.12s ease;
}

/* Strobe Background Configurations */
body.strobe-1 { background-color: #24023d; }
body.strobe-2 { background-color: #033620; }
body.strobe-3 { background-color: #4a0520; }

.container {
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    z-index: 2;
}

header {
    margin-bottom: 30px;
}

.neon-text {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #b026ff, 0 0 30px #b026ff, 0 0 40px #b026ff;
    animation: neonBlink 3s infinite alternate;
}

.subtitle {
    font-size: 1rem;
    color: #00ffcc;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 5px;
}

.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: #000;
    aspect-ratio: 9 / 16;
    max-height: 58vh;
    margin: 0 auto;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Trigger Button Layout */
.button-container {
    margin-top: 25px;
}

.neon-btn {
    background: transparent;
    color: #00ffcc;
    border: 2px solid #00ffcc;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: lowercase;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.2);
    transition: all 0.2s ease;
    letter-spacing: 1px;
}

.neon-btn:hover {
    background: #00ffcc;
    color: #0b0314;
    box-shadow: 0 0 25px #00ffcc;
    transform: scale(1.05);
}

/* Massive Image Overlay Modal Frame */
.modal {
    display: none; 
    position: fixed;
    z-index: 999; 
    left: 0; 
    top: 0; 
    width: 100vw; 
    height: 100vh;
    background-color: rgba(11, 3, 20, 0.94); 
    backdrop-filter: blur(8px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.modal-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 70vh;
    position: relative;
}

.modal-content {
    max-width: 90%;
    max-height: 65vh;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(255, 0, 85, 0.4);
    border: 3px solid #ff0055;
    transform: scale(1) rotate(0deg) translate(0, 0);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-radius 0.4s ease, filter 0.4s ease;
}

/* Animation Deck Box Container */
.animation-deck {
    display: flex;
    gap: 12px;
    background: rgba(0, 0, 0, 0.8);
    padding: 16px 24px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    max-width: 95%;
    overflow-x: auto;
    position: absolute;
    bottom: 40px;
    z-index: 1000;
}

.anim-btn {
    background: transparent;
    color: #ff0055;
    border: 1px solid #ff0055;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.anim-btn:hover {
    background: #ff0055;
    color: #ffffff;
    box-shadow: 0 0 12px #ff0055;
}

.anim-btn.close-btn {
    color: #ffffff;
    border-color: #ffffff;
    margin-left: 10px;
}
.anim-btn.close-btn:hover {
    background: #ffffff;
    color: #0b0314;
}

/* Interactive Animation Classes */
.animate-stretch { transform: scaleX(1.7) scaleY(0.5); }
.animate-shrink { transform: scale(0.25); }
.animate-flex { transform: skewX(20deg) skewY(-10deg) scale(1.05); }

.animate-wobble { animation: wobbleEffect 0.4s ease infinite alternate; }
@keyframes wobbleEffect {
    0% { transform: rotate(-8deg) scaleX(1.05); }
    100% { transform: rotate(8deg) scaleY(1.05); }
}

.animate-transform { transform: rotate(180deg) scaleX(-1); filter: hue-rotate(120deg); }

.animate-blobify {
    border-radius: 50% 40% 60% 50% / 40% 50% 50% 60%;
    animation: blobFloatEffect 3.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes blobFloatEffect {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
    30% { border-radius: 40% 60% 40% 60% / 50% 40% 60% 40%; transform: translate(10px, -50px) scale(0.9); }
    100% { transform: translate(40px, -120vh) scale(0.05) rotate(90deg); opacity: 0; }
}

/* Baseline Engine Blinking Keyframe */
@keyframes neonBlink {
    0%, 100% { opacity: 1; }
    70% { opacity: 1; }
    72% { opacity: 0.95; }
    73% { opacity: 1; }
}