* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial Black', 'Helvetica Neue', sans-serif;
    background: #000;
    color: #fff;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

/* Dark cinematic background */
.container {
    width: 100%;
    height: 100vh;
    position: relative;
    background: #000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(20,20,20,0.5) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

/* Particle canvas */
#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.8;
}

/* Main text container */
.kinetic-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* Text elements */
.lyric-line {
    position: absolute;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    white-space: nowrap;
    /* Prevent text overflow on desktop */
    max-width: calc(90vw - 40px); /* Account for padding */
    /* Add padding to accommodate shadow */
    padding: 20px;
    box-sizing: content-box; /* Padding doesn't affect width */
}

/* Desktop text sizes - responsive to viewport */
.epic {
    font-size: clamp(60px, 10vw, 150px);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.massive {
    font-size: clamp(45px, 7vw, 100px);
    font-weight: 800;
}

.large {
    font-size: clamp(30px, 5vw, 60px);
    font-weight: 700;
}

.medium {
    font-size: clamp(20px, 3vw, 35px);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.small {
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 400;
    letter-spacing: 0.2em;
}

/* Text styles */
.white {
    color: #ffffff;
}

.outline {
    color: transparent;
    -webkit-text-stroke: 2px #ffffff;
    text-stroke: 2px #ffffff;
}

.gradient {
    background: linear-gradient(180deg, #ffffff 0%, #666666 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow {
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(255,255,255,0.9),
        0 0 40px rgba(255,255,255,0.7),
        0 0 60px rgba(255,255,255,0.5),
        0 0 80px rgba(255,255,255,0.3);
}

/* Vertical text */
.vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Control button - removed since autoplay */
.controls {
    display: none;
}

.start-btn {
    display: none;
}

/* Music container */
#musicContainer {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

/* Large desktop adjustments */
@media (min-width: 1920px) {
    .lyric-line {
        max-width: 80vw;
    }
    
    .epic {
        font-size: clamp(80px, 8vw, 130px);
    }
    
    .massive {
        font-size: clamp(60px, 6vw, 90px);
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) {
    .epic {
        font-size: clamp(50px, 10vw, 100px);
    }
    
    .massive {
        font-size: clamp(40px, 7vw, 70px);
    }
    
    .large {
        font-size: clamp(30px, 5vw, 45px);
    }
    
    .medium {
        font-size: clamp(20px, 3vw, 28px);
    }
    
    .small {
        font-size: clamp(14px, 2vw, 18px);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .lyric-line {
        /* Force center alignment on mobile */
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
        text-align: center !important;
        max-width: calc(90vw - 40px); /* Account for padding */
        word-wrap: break-word;
        white-space: normal;
        padding: 15px; /* Smaller padding on mobile */
    }
    
    /* Remove vertical text on mobile */
    .vertical {
        writing-mode: initial !important;
        text-orientation: initial !important;
    }
    
    .epic {
        font-size: clamp(40px, 12vw, 60px);
    }
    
    .massive {
        font-size: clamp(30px, 10vw, 50px);
    }
    
    .large {
        font-size: clamp(24px, 8vw, 40px);
    }
    
    .medium {
        font-size: clamp(18px, 6vw, 28px);
    }
    
    .small {
        font-size: clamp(14px, 4vw, 18px);
    }
    
    .outline {
        -webkit-text-stroke: 1px #ffffff;
        text-stroke: 1px #ffffff;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .epic {
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .massive {
        font-size: 28px;
    }
    
    .large {
        font-size: 22px;
    }
    
    .medium {
        font-size: 18px;
    }
    
    .small {
        font-size: 14px;
        letter-spacing: 0.1em;
    }
}