@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&display=swap');

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

body {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    background: 
        linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff, #00ff00, #ff0080, #00ffff),
        linear-gradient(135deg, #ffff00, #ff00ff, #00ffff, #ffff00, #ff0080, #00ff80, #ffff00),
        linear-gradient(225deg, #00ffff, #ffff00, #ff00ff, #00ffff, #ff0080, #00ff00, #ff00ff);
    background-size: 400% 400%, 500% 500%, 600% 600%;
    animation: gradientShift 6s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-blend-mode: screen;
}

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

.container {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.wordart {
    font-size: 72px;
    font-weight: bold;
    color: #ff00ff;
    text-shadow: 
        4px 4px 0px #00ffff,
        8px 8px 0px #ffff00,
        12px 12px 0px #ff00ff,
        16px 16px 0px #00ffff;
    margin-bottom: 60px;
    animation: bounce 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 5px;
    transform: rotate(-2deg);
    display: inline-block;
}

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

.video-container {
    margin: 60px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 8px solid #ff00ff;
    border-radius: 20px;
    box-shadow: 
        0 0 20px #00ffff,
        0 0 40px #ffff00,
        inset 0 0 20px rgba(255, 0, 255, 0.3);
    display: inline-block;
    animation: pulse 3s ease-in-out infinite;
    position: relative;
}

.video-container::before {
    content: "★ CLICK TO PLAY ★";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ff00ff;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 0px #00ffff;
    animation: blink 1s step-end infinite;
}

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

@keyframes pulse {
    0%, 100% { 
        box-shadow: 
            0 0 20px #00ffff,
            0 0 40px #ffff00,
            inset 0 0 20px rgba(255, 0, 255, 0.3);
    }
    50% { 
        box-shadow: 
            0 0 40px #00ffff,
            0 0 60px #ffff00,
            inset 0 0 30px rgba(255, 0, 255, 0.5);
    }
}

.video-container iframe {
    display: block;
    border: 4px solid #00ffff;
    border-radius: 10px;
    width: 100%;
    max-width: 560px;
    height: auto;
    aspect-ratio: 16/9;
}

.footer-text {
    font-size: 48px;
    color: #ffff00;
    text-shadow: 
        3px 3px 0px #ff00ff,
        6px 6px 0px #00ffff;
    margin-top: 80px;
    font-weight: bold;
    animation: rainbow 3s linear infinite;
    text-transform: uppercase;
    letter-spacing: 3px;
}

@keyframes rainbow {
    0% { color: #ff00ff; }
    25% { color: #00ffff; }
    50% { color: #ffff00; }
    75% { color: #ff00ff; }
    100% { color: #00ffff; }
}

#trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Add some sparkle stars in the background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 70% 20%, white, transparent);
    background-size: 200% 200%;
    animation: sparkle 10s linear infinite;
    pointer-events: none;
    z-index: 2;
}

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

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .wordart {
        font-size: clamp(24px, 8vw, 48px);
        letter-spacing: 2px;
        margin-bottom: 30px;
        text-shadow: 
            2px 2px 0px #00ffff,
            4px 4px 0px #ffff00,
            6px 6px 0px #ff00ff,
            8px 8px 0px #00ffff;
    }
    
    .video-container {
        padding: 12px;
        margin: 30px auto;
        border-width: 6px;
    }
    
    .video-container::before {
        font-size: clamp(14px, 4vw, 20px);
        top: -25px;
    }
    
    .video-container iframe {
        width: 100%;
        max-width: 100%;
    }
    
    .footer-text {
        font-size: clamp(20px, 6vw, 36px);
        margin-top: 40px;
        letter-spacing: 2px;
        text-shadow: 
            2px 2px 0px #ff00ff,
            4px 4px 0px #00ffff;
    }
}

/* iPhone specific optimizations */
@media (max-width: 480px) {
    .container {
        padding: 15px 10px;
    }
    
    .wordart {
        font-size: clamp(20px, 7vw, 36px);
        letter-spacing: 1px;
        margin-bottom: 25px;
        line-height: 1.2;
    }
    
    .video-container {
        padding: 10px;
        margin: 25px auto;
        border-width: 5px;
    }
    
    .video-container::before {
        font-size: clamp(12px, 3.5vw, 18px);
        top: -20px;
    }
    
    .footer-text {
        font-size: clamp(18px, 5.5vw, 28px);
        margin-top: 30px;
        letter-spacing: 1px;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .wordart {
        font-size: clamp(20px, 5vw, 32px);
        margin-bottom: 20px;
    }
    
    .video-container {
        margin: 20px auto;
    }
    
    .footer-text {
        margin-top: 25px;
        font-size: clamp(18px, 4vw, 24px);
    }
}

