/* Dark Environment */
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #050505; /* Pitch Black */
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

/* Subtle top light source */
.ambient-light {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
    z-index: 1;
}

/* Rope */
.rope {
    width: 2px;
    height: 120px;
    background: #444;
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
}

/* Bell Styling */
.bell-assembly {
    position: relative;
    transform-origin: top center;
    z-index: 2;
}

.bell-icon {
    width: 120px;
    height: 120px;
    fill: #e0e0e0;
    /* 3D Drop Shadow on the bell itself */
    filter: drop-shadow(0px 10px 10px rgba(0,0,0,0.8));
}

/* Bell Vibration Animation (Not swinging left-right) */
.bell-assembly.vibrate {
    animation: shakeBell 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shakeBell {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(5deg); }  /* Very small angle */
    40% { transform: rotate(-5deg); }
    60% { transform: rotate(3deg); }
    80% { transform: rotate(-3deg); }
    100% { transform: rotate(0deg); }
}

/* Floor Shadow (Under the button) */
.floor-shadow {
    width: 100px;
    height: 15px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    filter: blur(5px);
    margin-top: 15px;
    margin-bottom: -35px; /* Pull button up to float slightly */
    transition: all 0.3s ease;
}

/* Button Styling */
.notify-btn {
    position: relative;
    margin-top: 20px;
    padding: 12px 35px;
    border-radius: 30px;
    border: none;
    background: #ffffff;
    color: #000;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    /* Initial soft shadow */
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Button Animations */

/* 1. Jump Logic */
.notify-btn.jump {
    animation: jumpHit 0.3s forwards;
}

@keyframes jumpHit {
    0% { transform: translateY(0); }
    50% { transform: translateY(-45px); } /* Hits bell */
    100% { transform: translateY(0); }
}

/* 2. Highlight/Glow Logic */
.notify-btn.highlight {
    /* The Glow Effect requested */
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 255, 255, 0.4); 
    background-color: #ffffff;
    color: #2ed573; /* Green text */
}

/* Shadow Logic: When button goes up, shadow gets smaller and lighter */
.floor-shadow.far {
    transform: scale(0.6);
    opacity: 0.4;
}

/* Confetti */
.emoji-particle {
    position: absolute;
    font-size: 20px;
    top: 50px;
    left: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 5;
}

h1{
    color: white;
}