body {
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.circle-container {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 100px;
}

.circle {
  width: 100%;
  height: 100%;
  border: 32px solid white;
  border-radius: 50%;
  position: relative;
  box-sizing: border-box;
}

.dot {
  width: 32px;
  height: 32px;
  background-color: red;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg) translateY(-184px);
  animation: rotate 60s linear infinite;
  transform-origin: center;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg) translateY(-184px);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg) translateY(-184px);
  }
}

.timer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: monospace;
  font-size: 24px;
  text-align: center;
}

.small-circle-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  position: absolute;
  top: calc(100% - 60px);
  left: 50%;
  transform: translateX(-50%);
}

.small-circle {
  width: 200px;
  height: 200px;
  border: 20px solid;
  border-radius: 50%;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
}

.small-dot {
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg) translateY(-90px);
  animation: rotate-small 60s linear infinite;
  transform-origin: center;
}

@keyframes rotate-small {
  from {
    transform: translate(-50%, -50%) rotate(0deg) translateY(-90px);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg) translateY(-90px);
  }
}

#fullscreen-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  font-size: 14px;
  background-color: rgb(0, 0, 0);
  color: black;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  z-index: 999;
}

.small-timer-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: monospace;
  font-size: 16px;
  text-align: center;
  line-height: 1.4;
  white-space: pre-line;
}

.timer-details {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 320px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 16px;
  background: #0d0d0d;
  border: 1px solid #333;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
  color: #f1f1f1;
  z-index: 1000;
}

.timer-details.hidden {
  display: none;
}

.timer-details h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.timer-details .timer-meta {
  margin-bottom: 10px;
  color: #bfbfbf;
  font-size: 0.9rem;
}

.timer-entry {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #222;
}

.timer-entry:last-child {
  border-bottom: none;
}

.timer-entry .label {
  flex: 1;
  font-weight: 600;
  color: #eaeaea;
}

.timer-entry .countdown {
  white-space: nowrap;
  font-family: monospace;
  color: #9fd3ff;
}

.timer-details .close-btn {
  background: #222;
  color: #f1f1f1;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.timer-details .close-btn:hover {
  background: #333;
}

#twitter-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
