* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #2a2a2a;
  color: #fff;
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: blur(1.5px);
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.title {
  font-size: clamp(56px, 11vw, 128px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  user-select: none;
}

.pill {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  color: #d4d4d4;
  font: inherit;
  max-width: 92vw;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pill:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: #232323;
}

.snippet {
  font-family: 'Cascadia Code', 'Fira Code', Consolas, 'Courier New', monospace;
  font-size: clamp(12px, 1.1vw, 14px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.snippet .fn   { color: #dcdcaa; }
.snippet .var  { color: #9cdcfe; }
.snippet .pun  { color: #d4d4d4; }
.snippet .str  { color: #ce9178; }
.snippet .url  { color: #ce9178; text-decoration: underline; text-underline-offset: 2px; }
.snippet .b1   { color: #ffd700; }
.snippet .b2   { color: #da70d6; }

.copy-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s ease;
}

.pill:hover .copy-icon {
  color: #fff;
}

.discord-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.discord-btn:hover {
  background: #5865f2;
  border-color: #5865f2;
  transform: translateY(-1px);
}

.discord-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.executions {
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
  user-select: none;
}

.executions span {
  color: #fff;
  font-weight: 600;
}

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
