:root {
  --accent: rgb(45, 20, 184);
}

body {
  background-color: rgb(255, 255, 254);
  font-family: "SF Mono", "Fira Code", Menlo, Consolas, "Courier New", monospace;
  font-weight: 400;
}

h1 {
  color: rgb(32, 0, 209);
}

p {
  color: #000;
  word-spacing: 3px;
}

.text {
  text-align: center;
}

a {
  color: rgb(173, 173, 189);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease, color 0.3s ease;
}

a:visited {
  color: rgb(238, 0, 174);
}

a:hover {
  color: rgb(5, 0, 162);
  background-size: 100% 2px;
}

.image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 8px auto 40px;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  display: block;
  background-image: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

nav a:hover {
  transform: translateY(-3px);
  opacity: 0.7;
}

nav img {
  display: block;
  width: 28px;
  height: auto;
}

.marquee {
  display: flex;
  overflow: hidden;
  width: 420px;
  max-width: 80vw;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  animation: marquee-scroll 15s linear infinite;
}

.marquee-group > * {
  margin: 0;
  font-size: 2em;
  font-weight: bold;
  color: rgb(32, 0, 209);
  word-spacing: normal;
  white-space: nowrap;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.clock {
  position: fixed;
  bottom: 14px;
  left: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 252, 246, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(45, 20, 184, 0.15);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(45, 20, 184, 0.1);
  white-space: nowrap;
}

#time {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

#date {
  font-size: 9px;
  color: rgb(47, 47, 49);
  opacity: 0.6;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(45, 20, 184, 0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(45, 20, 184, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 20, 184, 0.5); }
}

.corner {
  position: fixed;
  bottom: 14px;
  right: 14px;
  width: 60px;
  height: auto;
  z-index: 10;
}