/* CURSED MUSIC ZONE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7, #dda0dd, #98d8c8);
    background-size: 400% 400%;
    animation: rainbow-bg 6s ease-in-out infinite;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* SECRET OVERLAY STYLES */
.secret-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 2s ease-out, visibility 2s ease-out;
    font-family: 'Courier New', monospace;
}

.secret-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.secret-content {
    text-align: center;
    color: #00ff00;
    animation: secretGlow 3s ease-in-out infinite;
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border: 2px solid #00ff00;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
    max-width: 600px;
    width: 90%;
}

.secret-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #00ff00;
}

.secret-logo {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    animation: secretLogoPulse 2s ease-in-out infinite;
}

.secret-version {
    font-size: 0.8rem;
    color: #00aa00;
    font-family: 'Courier New', monospace;
}

.secret-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.secret-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: #00ff00;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    animation: secretTitlePulse 2s ease-in-out infinite;
    letter-spacing: 2px;
}

.secret-subtitle {
    font-size: 1rem;
    color: #00aa00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    font-family: 'Courier New', monospace;
}

.secret-instruction {
    font-size: 1.1rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: secretInstructionFade 4s ease-in-out infinite;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.secret-warning {
    font-size: 0.9rem;
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
    animation: secretWarningBlink 1.5s ease-in-out infinite;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.secret-cursor {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    color: #00ff00;
    animation: secretCursorBlink 1s ease-in-out infinite;
    margin: 20px 0;
}

.secret-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #00ff00;
    font-size: 0.8rem;
    color: #00aa00;
    font-family: 'Courier New', monospace;
}

.secret-status {
    animation: secretStatusPulse 3s ease-in-out infinite;
}

.secret-clearance {
    animation: secretClearancePulse 3s ease-in-out infinite;
}

@keyframes secretGlow {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
    }
    50% { 
        box-shadow: 0 0 50px rgba(0, 255, 0, 0.6);
    }
}

@keyframes secretLogoPulse {
    0%, 100% { 
        transform: scale(1);
        color: #00ff00;
    }
    50% { 
        transform: scale(1.05);
        color: #00aa00;
    }
}

@keyframes secretTitlePulse {
    0%, 100% { 
        transform: scale(1);
        color: #00ff00;
    }
    50% { 
        transform: scale(1.02);
        color: #00aa00;
    }
}

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

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

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

@keyframes secretStatusPulse {
    0%, 100% { color: #00aa00; }
    50% { color: #00ff00; }
}

@keyframes secretClearancePulse {
    0%, 100% { color: #00aa00; }
    50% { color: #00ff00; }
}

/* BACKGROUND VIDEO STYLES */
.background-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden;
}

#backgroundVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0.3;
    filter: hue-rotate(0deg);
    animation: videoHue 10s ease-in-out infinite;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.2), rgba(78, 205, 196, 0.2), rgba(69, 183, 209, 0.2), rgba(150, 206, 180, 0.2), rgba(255, 234, 167, 0.2), rgba(221, 160, 221, 0.2), rgba(152, 216, 200, 0.2));
    background-size: 400% 400%;
    animation: rainbow-bg 8s ease-in-out infinite;
    mix-blend-mode: overlay;
}

@keyframes videoHue {
    0%, 100% { filter: hue-rotate(0deg) brightness(1); }
    25% { filter: hue-rotate(90deg) brightness(1.2); }
    50% { filter: hue-rotate(180deg) brightness(1); }
    75% { filter: hue-rotate(270deg) brightness(1.2); }
}

@keyframes rainbow-bg {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 25% 75%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 75% 25%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* HEADER STYLES */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 5px solid #ff6b6b;
    animation: bounce 2s ease-in-out infinite, headerGlow 3s ease-in-out infinite alternate;
    backdrop-filter: blur(10px);
}

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

@keyframes headerGlow {
    from { 
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 107, 107, 0.5);
        border-color: #ff6b6b;
    }
    to { 
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 107, 107, 0.8);
        border-color: #4ecdc4;
    }
}

.title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7, #dda0dd);
    background-size: 300% 300%;
    animation: rainbow-text 2s ease-in-out infinite, titlePulse 1s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
}

@keyframes rainbow-text {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

.subtitle {
    font-size: 1.3rem;
    color: #333;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: subtitleShake 4s ease-in-out infinite;
}

@keyframes subtitleShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

/* VIDEO PLAYER STYLES */
.video-player {
    margin-bottom: 40px;
}

.player-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 5px solid #4ecdc4;
    text-align: center;
    animation: glow 2s ease-in-out infinite alternate, playerFloat 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes glow {
    from { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(78, 205, 196, 0.5); }
    to { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 30px rgba(78, 205, 196, 0.8); }
}

@keyframes playerFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(1deg); }
}

.player-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: #ff6b6b;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: titleFlash 2s ease-in-out infinite;
}

@keyframes titleFlash {
    0%, 100% { color: #ff6b6b; }
    50% { color: #4ecdc4; }
}

.video-wrapper {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

#cursedVideo {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: 3px solid #ff6b6b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: videoGlow 3s ease-in-out infinite;
}

@keyframes videoGlow {
    0%, 100% { 
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 107, 107, 0.3);
        border-color: #ff6b6b;
    }
    50% { 
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(78, 205, 196, 0.6);
        border-color: #4ecdc4;
    }
}

.player-status {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(45deg, #ffeaa7, #dda0dd);
    border-radius: 15px;
    border: 3px solid #ff6b6b;
    animation: statusPulse 1.5s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { 
        transform: scale(1);
        background: linear-gradient(45deg, #ffeaa7, #dda0dd);
    }
    50% { 
        transform: scale(1.02);
        background: linear-gradient(45deg, #dda0dd, #ffeaa7);
    }
}

#statusText {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* CURSED MESSAGES STYLES */
.cursed-messages {
    margin-bottom: 40px;
}

.message-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.message {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid transparent;
    animation: message-float 4s ease-in-out infinite;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.message:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: #ff6b6b;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.message:nth-child(1) { animation-delay: 0s; border-color: #ff6b6b; }
.message:nth-child(2) { animation-delay: 0.5s; border-color: #4ecdc4; }
.message:nth-child(3) { animation-delay: 1s; border-color: #45b7d1; }
.message:nth-child(4) { animation-delay: 1.5s; border-color: #96ceb4; }
.message:nth-child(5) { animation-delay: 2s; border-color: #ffeaa7; }
.message:nth-child(6) { animation-delay: 2.5s; border-color: #dda0dd; }

@keyframes message-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.message-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(0, 0, 0, 0.1); }
    50% { text-shadow: 0 0 10px rgba(255, 107, 107, 0.3); }
}

/* FLOATING ELEMENTS */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-item {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

#item1 { top: 10%; left: 10%; animation-delay: 0s; }
#item2 { top: 20%; right: 15%; animation-delay: 1s; }
#item3 { top: 40%; left: 5%; animation-delay: 2s; }
#item4 { top: 60%; right: 10%; animation-delay: 3s; }
#item5 { top: 80%; left: 20%; animation-delay: 4s; }
#item6 { top: 30%; right: 5%; animation-delay: 5s; }
#item7 { top: 70%; left: 15%; animation-delay: 1.5s; }
#item8 { top: 50%; right: 20%; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.7;
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    }
    50% { 
        transform: translateY(-20px) rotate(180deg) scale(1.2); 
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

/* FOOTER STYLES */
.footer {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 5px solid #dda0dd;
    animation: footer-glow 3s ease-in-out infinite, footerBounce 5s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes footer-glow {
    0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(221, 160, 221, 0.5); }
    50% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 25px rgba(221, 160, 221, 0.8); }
}

@keyframes footerBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.footer-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    animation: footerTextGlow 4s ease-in-out infinite;
}

@keyframes footerTextGlow {
    0%, 100% { text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); }
    50% { text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1), 0 0 10px rgba(221, 160, 221, 0.5); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .player-title {
        font-size: 1.2rem;
    }
    
    .message-container {
        grid-template-columns: 1fr;
    }
    
    .floating-item {
        font-size: 1.5rem;
    }
    
    #cursedVideo {
        max-width: 100%;
    }
    
    #backgroundVideo {
        opacity: 0.2;
    }
    
    .secret-logo {
        font-size: 1.2rem;
    }
    
    .secret-title {
        font-size: 1rem;
    }
    
    .secret-instruction {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .title {
        font-size: 1.4rem;
    }
    
    .header, .player-container, .footer {
        padding: 20px;
    }
    
    #backgroundVideo {
        opacity: 0.15;
    }
    
    .secret-logo {
        font-size: 1rem;
    }
    
    .secret-title {
        font-size: 0.8rem;
    }
    
    .secret-instruction {
        font-size: 0.8rem;
    }
    
    .secret-content {
        padding: 20px;
    }
}

/* CURSED CURSOR EFFECT */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><text y="20" font-size="20">🎬</text></svg>'), auto;
}

/* ADDITIONAL CURSED EFFECTS */
.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
    z-index: -2;
    animation: sparkle 4s ease-in-out infinite;
}

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

/* ENHANCED FLASHING EFFECTS */
@keyframes intenseFlash {
    0%, 100% { 
        filter: brightness(1) hue-rotate(0deg);
        transform: scale(1);
    }
    25% { 
        filter: brightness(1.5) hue-rotate(90deg);
        transform: scale(1.02);
    }
    50% { 
        filter: brightness(2) hue-rotate(180deg);
        transform: scale(1.05);
    }
    75% { 
        filter: brightness(1.5) hue-rotate(270deg);
        transform: scale(1.02);
    }
}

/* RANDOM FLASHING CLASSES */
.flash-red { animation: intenseFlash 0.5s ease-in-out; }
.flash-blue { animation: intenseFlash 0.5s ease-in-out; }
.flash-green { animation: intenseFlash 0.5s ease-in-out; }
.flash-yellow { animation: intenseFlash 0.5s ease-in-out; }
.flash-purple { animation: intenseFlash 0.5s ease-in-out; }

/* POPUP ANIMATIONS */
@keyframes popupAppear {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.5) rotate(-10deg);
    }
    100% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

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

@keyframes dramaticPopupAppear {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.3) rotate(-20deg);
        filter: blur(10px);
    }
    100% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        filter: blur(0px);
    }
}

@keyframes dramaticPopupFloat {
    0%, 100% { 
        transform: translate(-50%, -50%) translateY(0px) scale(1);
        box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6);
    }
    25% { 
        transform: translate(-50%, -50%) translateY(-15px) scale(1.05);
        box-shadow: 0 12px 35px rgba(255, 0, 0, 0.8);
    }
    50% { 
        transform: translate(-50%, -50%) translateY(-5px) scale(1.1);
        box-shadow: 0 15px 40px rgba(255, 0, 0, 1);
    }
    75% { 
        transform: translate(-50%, -50%) translateY(-20px) scale(1.05);
        box-shadow: 0 10px 30px rgba(255, 0, 0, 0.7);
    }
} 