/* bell.css */
body {
  margin: 0;
  background-color: #0d0d0d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#bell {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: #1a1a1a;
  border: 1px solid #4ade80;
  border-right: none;
  padding: 12px;
  border-radius: 12px 0 0 12px;
  cursor: pointer;
  z-index: 9999;
}
#bell:hover {
  background: #333;
}
#bell svg {
  width: 24px;
  height: 24px;
  fill: #4ade80;
  transition: transform 0.3s;
}
.ring svg {
  animation: shake 0.6s ease-in-out;
}
@keyframes shake {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-15deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-10deg); }
  80% { transform: rotate(5deg); }
  100% { transform: rotate(0deg); }
}
#timerBox {
  position: fixed;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  background: #1a1a1a;
  border: 1px solid #4ade80;
  padding: 20px 24px;
  border-radius: 16px;
  color: #fff;
  display: none;
  flex-direction: column;
  align-items: center;
  z-index: 9998;
  min-width: 240px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.timer-title {
  font-size: 16px;
  font-weight: 500;
  color: #ccc;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: 0.2px;
  opacity: 0.9;
}
.countdown {
  display: flex;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
}
.countdown span {
  background: #111;
  padding: 6px 10px;
  border-radius: 8px;
  min-width: 44px;
  text-align: center;
  color: #4ade80;
  border: 1px solid #4ade80;
}
.rules-button {
  margin-top: 12px;
  display: inline-block;
  background: rgba(255,255,255,0.05);
  color: #4ade80;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid #4ade80;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, color 0.2s ease;
}
.rules-button:hover {
  background: rgba(74, 222, 128, 0.1);
}
@media (max-width: 768px) {
  #bell {
    top: 50%;
    right: 0;
    border-radius: 12px 0 0 12px;
  }
  #timerBox {
    top: auto;
    bottom: 160px;
    right: 16px;
    left: 16px;
    transform: none;
    width: auto;
  }
}