/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Cinzel:wght@400;700&display=swap');

:root {
    --neon-cyan: #00f7ff;
    --neon-gold: #ffd700;
    --neon-purple: #c300ff;
    --neon-pink: #ff00aa;
    --deep-void: #0a001f;
    --butler-black: #111133;
}

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

body {
    background: radial-gradient(circle at center, #1a0033, #000000);
    color: var(--neon-cyan);
    font-family: 'Press Start 2P', system-ui;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: relative;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.header {
    margin-bottom: 30px;
    animation: temporal-glitch 4s infinite linear;
}

.title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.8rem, 9vw, 6rem);
    font-weight: 700;
    text-shadow: 
        0 0 15px var(--neon-gold),
        0 0 30px var(--neon-cyan),
        0 0 60px var(--neon-purple);
    letter-spacing: 8px;
    line-height: 0.95;
    transform: rotate(-4deg);
}

.subtitle {
    font-size: clamp(1.1rem, 3vw, 1.9rem);
    color: var(--neon-gold);
    text-shadow: 0 0 25px var(--neon-gold);
    letter-spacing: 10px;
    margin-top: 8px;
}

.creator-line {
    font-size: 0.95rem;
    color: var(--neon-pink);
    opacity: 0.9;
    margin-top: 12px;
    letter-spacing: 3px;
}

.play-button {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, #1a0033, #000011);
    border: 14px solid var(--neon-gold);
    box-shadow: 
        0 0 70px var(--neon-cyan),
        0 0 140px var(--neon-purple),
        inset 0 0 70px var(--neon-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 130px;
    color: var(--neon-gold);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 10;
    animation: butler-pulse 2.5s infinite ease-in-out;
}

.play-button:hover {
    transform: scale(1.18) rotate(380deg);
    box-shadow: 
        0 0 110px var(--neon-cyan),
        0 0 220px var(--neon-purple);
}

.play-button.playing {
    animation: butler-pulse-playing 0.7s infinite ease-in-out;
    border-color: var(--neon-pink);
    color: var(--neon-pink);
}

.play-button::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border: 5px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    animation: temporal-ring 5s infinite linear;
}

.lyrics-container {
    margin-top: 50px;
    min-height: 190px;
    width: 100%;
    max-width: 820px;
    background: rgba(15, 5, 45, 0.85);
    border: 5px solid var(--neon-gold);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 0 70px var(--neon-purple);
    font-size: clamp(1.15rem, 2.6vw, 1.65rem);
    line-height: 1.7;
    text-shadow: 0 0 22px var(--neon-cyan);
    transition: all 0.7s ease;
    font-family: 'Cinzel', serif;
}

.lyrics-text {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.status {
    margin-top: 25px;
    font-size: 1.15rem;
    color: var(--neon-pink);
    text-shadow: 0 0 18px var(--neon-pink);
    letter-spacing: 5px;
}

.footer {
    position: absolute;
    bottom: 25px;
    font-size: 0.85rem;
    opacity: 0.75;
    z-index: 10;
    text-shadow: 0 0 12px var(--neon-cyan);
}

@keyframes temporal-glitch {
    0%, 100% { transform: translate(0); }
    25% { transform: translate(-4px, 3px); }
    50% { transform: translate(4px, -4px); }
    75% { transform: translate(-3px, 2px); }
}

@keyframes butler-pulse {
    0%, 100% { box-shadow: 0 0 70px var(--neon-cyan), 0 0 140px var(--neon-purple); }
    50% { box-shadow: 0 0 130px var(--neon-cyan), 0 0 240px var(--neon-pink); }
}

@keyframes butler-pulse-playing {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.13); }
}

@keyframes temporal-ring {
    0% { transform: scale(0.75); opacity: 0.9; }
    100% { transform: scale(1.9); opacity: 0; }
}
