:root {
    --neon-pink: #ff00ff;
    --neon-blue: #00ffff;
    --star-speed: 8s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: fixed;
    background-color: #0a0a0a;
    color: white;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#star-field {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    width: 2px; height: 2px;
    opacity: 0.5;
    animation: fall var(--star-speed) linear infinite, twinkle 3s infinite;
}

@keyframes fall {
    from { transform: translateY(-10vh); }
    to { transform: translateY(110vh); }
}

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

.party-flash { animation: flash 0.1s infinite; }
@keyframes flash {
    0%, 100% { background-color: #0a0a0a; }
    50% { background-color: #220022; }
}

.shrine-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    height: 100%;
    width: 100%;
    padding: 15px 10px;
    z-index: 10;
}

.neon-text {
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink);
}

.char-box img {
    max-height: 40vh;
    width: auto;
    filter: drop-shadow(0 0 15px var(--neon-pink));
}

.floating { animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.shake { animation: shake 0.1s infinite; }
@keyframes shake {
    0% { transform: translate(1px, 1px); }
    50% { transform: translate(-2px, -1px); }
    100% { transform: translate(1px, 1px); }
}

.counter-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 15px;
    width: 85%;
    text-align: center;
}

.neon-text-small {
    font-size: 2rem;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.reset-btn {
    background: transparent;
    border: 1px solid #444;
    color: #666;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 10px;
    cursor: pointer;
}

.vibe-button {
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue));
    border: none;
    padding: 15px 60px;
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    border-radius: 50px;
    box-shadow: 0 0 20px var(--neon-pink);
    cursor: pointer;
}

.music-controls button {
    background: #222;
    color: #fff;
    border: 1px solid var(--neon-blue);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.floating-item {
    position: fixed;
    bottom: -50px;
    font-size: 2.5rem;
    animation: moveUp 4s linear forwards;
    pointer-events: none;
}

@keyframes moveUp { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-110vh); opacity: 0; } }

#notification-toast {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon-pink);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    transition: top 0.5s;
    z-index: 100;
}

#notification-toast.show { top: 20px; }
