/* ===== RESET ===== */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #000;

  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-weight: 300;
}

/* ===== BACKGROUND VIDEO ===== */
#bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;

  filter: contrast(1.1) brightness(0.9) saturate(1.3);
}

/* ===== OVERLAY ===== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;

  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


/* ===== CONTENT ===== */
.content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  justify-items: center;
  align-content: start;
  padding-top: 120px;
  color: #eaeaea;
  text-align: center;
}

.wrap {
  max-width: 700px;
  padding: 0 18px;
}

/* ===== RAINBOW NAME ===== */
.rainbow {
  font-family: "Stalinist One", system-ui, sans-serif;
  font-size: 32px;
  font-weight: 400; /* Stalinist One only has one weight */
  letter-spacing: 1px;
  line-height: 1;
  display: inline-block;
  animation: rainbow 2.5s linear infinite;
  margin-bottom: 12px;
}


@keyframes rainbow {
  0%   { color: #ff004c; }
  14%  { color: #ff7a00; }
  28%  { color: #ffe600; }
  42%  { color: #2bff00; }
  57%  { color: #00d9ff; }
  71%  { color: #2b65ff; }
  85%  { color: #b200ff; }
  100% { color: #ff004c; }
}


/* ===== CLOCK ===== */

.clock-wrap {
  margin-top: 6px;
  margin-bottom: 22px;
  font-family: "VT323", monospace;
  font-size: 24px;
  letter-spacing: 0.8px;
  color: #e0e0e0;
}

.clock {
  opacity: 0.9;
}




/* ===== LINKS ===== */
a {
  color: #00ff5a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Prevent selecting labels, allow handles only */
.noselect {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.selectable {
  user-select: text;
  -webkit-user-select: text;
}

/* Make "copy" feel clickable */
.copy-handle {
  color: #00ff5a;
  cursor: pointer;
  text-decoration: none;
}

.copy-handle:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section {
  margin-top: 22px;
  letter-spacing: 0.6px;
}

.now-section {
  margin-top: 20px;
  font-family: "VT323", monospace;
  font-size: 22px;
  letter-spacing: 0.6px;
  color: #aaa;
}

.now-label {
  color: #aaa;
}

.now-text {
  color: #00ff5a;
}


.muted {
  color: #aaa;
  font-size: 20px;
  margin-top: 26px;
  letter-spacing: 0.4px;
  font-family: "VT323", monospace;
}

.meta {
  margin-top: -6px;
  margin-bottom: 18px;
  font-family: "VT323", monospace;
  font-size: 22px;
  color: #bdbdbd;
  letter-spacing: 0.6px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.clock {
  color: #e0e0e0;
}

.dot {
  opacity: 0.7;
}

.now-text {
  color: #00ff5a;
}

.rainbow-now {
  font-weight: 700;
  animation: rainbow 5.5s linear infinite;
}


/* ===== TOAST POPUP ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 9999;

  padding: 12px 16px;
  border: 1px solid rgba(0,255,90,0.35);
  background: rgba(0,0,0,0.75);
  color: #eaeaea;
  letter-spacing: 0.5px;

  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}
