@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

body {
  margin: 0;
  padding: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.container {
  position: relative;
  width: min(800px, 95vw);
  height: min(200px, 40vh);
  max-width: 800px;
  max-height: 200px;
  min-width: 320px;
  min-height: 120px;
}

.hidden-text {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-size: min(120px, 12vw);
  font-weight: 800;
  color: white;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  visibility: hidden;
  letter-spacing: min(8px, 0.8vw);
  white-space: nowrap;
}

.dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #333;
  border-radius: 0;
  opacity: 0.4;
  transition: all 0.2s ease;
}

.dot.active {
  background: #fff;
  opacity: 1;
  box-shadow: 0 0 10px #fff, 0 0 20px #fff;
  transform: scale(1.8);
  transition: all 0.3s ease;
}

.floating-dot {
  background: #555;
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, -8px) rotate(90deg);
  }
  50% {
    transform: translate(-5px, 12px) rotate(180deg);
  }
  75% {
    transform: translate(-12px, -6px) rotate(270deg);
  }
}

/* Settings Dialog Styles */
.settings-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.settings-overlay.open {
  display: flex;
}

.settings-dialog {
  background: #000;
  border: 1px solid #333;
  width: 600px;
  max-height: 80vh;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.settings-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #333;
  flex-shrink: 0;
}

.settings-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

.settings-subtitle {
  font-size: 14px;
  color: #888;
  margin: 4px 0 0;
}

.settings-content {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.settings-section {
  margin-bottom: 32px;
}

.settings-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.setting-item {
  margin-bottom: 20px;
}

.setting-label {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 8px;
  display: block;
}

.setting-input {
  width: 100%;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  transition: border-color 0.2s;
}

.setting-input:focus {
  outline: none;
  border-color: #666;
}

.setting-range {
  width: 100%;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #333;
  outline: none;
}

.setting-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: #fff;
  cursor: pointer;
}

.setting-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #fff;
  cursor: pointer;
  border: none;
}

.range-value {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

.color-input {
  width: 100%;
  height: 40px;
  background: transparent;
  border: 1px solid #333;
  cursor: pointer;
}

.settings-footer {
  padding: 16px 24px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: "Inter", sans-serif;
}

.btn-primary {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
}

.btn-primary:hover {
  background: #f0f0f0;
}

.btn-secondary {
  background: transparent;
  color: #ccc;
  border: 1px solid #333;
}

.btn-secondary:hover {
  border-color: #666;
  color: #fff;
}

.shortcut-hint {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #666;
  background: rgba(0, 0, 0, 0.8);
  padding: 8px 12px;
  border: 1px solid #333;
} 