html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, #050505 0%, #000000 100%);
  font-family: 'Cormorant Garamond', serif;
  color: #e0e0ff;
  overflow-y: auto;
  overflow-x: hidden;
}


#tsparticles {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.ui {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5vh 5vw;
  width: 69%;
  margin: 0 auto;
}

@media (max-width: 1000px) {
  .ui { width: 90%; }
}

h1 {
  font-family: 'Share Tech Mono', monospace;
  font-size: 3.4rem;
  color: #00ffcc;
  text-shadow: 0 0 14px #00ffcc;
  text-align: center;
  margin-bottom: 1rem;
}

p {
  max-width: 800px;
  margin: 0.4rem 0;
  line-height: 1.3;
  font-size: 1.25rem;
  color: #d0f5f5;
  text-shadow: 0 0 6px #003333;
  text-align: justify;
}

input {
  margin-top: 1.5rem;
  padding: 0.8rem 1rem;
  font-size: 1.2rem;
  border: 1px solid #66ffe5;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #00ffee;
  width: 100%;
  font-family: 'Share Tech Mono', monospace;
}

input::placeholder {
  color: #99fff0;
  opacity: 0.9;
}

button {
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  font-size: 1.1rem;
  background: rgba(0, 255, 204, 0.05);
  color: #00ffcc;
  border: 1px solid #00ffcc;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  cursor: pointer;
}

button:hover {
  background: rgba(0, 255, 204, 0.15);
}

#decoder {
  margin-top: 2rem;
  color: #0ff;
  font-family: 'Share Tech Mono', monospace;
  animation: blink 1s infinite;
  font-size: 1.3rem;
  display: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.vision-block {
  margin-top: 3rem;
  font-size: 1.5rem;
  color: #00ffcc;
  letter-spacing: 0.04em;
  font-family: 'Share Tech Mono', monospace;
  white-space: pre-wrap;
  word-break: break-word;
  max-width: 100%;
}

.char {
  opacity: 0;
  display: inline-block;
  animation: floatIn 3s forwards;
  filter: blur(2px);
  transition: filter 0.5s, opacity 0.5s;
  position: relative;
}

@keyframes floatIn {
  0% {
    transform: translate3d(calc(-150px + 300px * var(--rand-x)), calc(-150px + 300px * var(--rand-y)), 0) rotate(0deg);
    opacity: 0;
    filter: blur(4px);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(360deg);
    opacity: 1;
    filter: blur(0);
  }
}

.char::before {
  content: attr(data-glitch);
  position: absolute;
  left: 0;
  top: 0;
  color: #0ff;
  opacity: 0.5;
  transform: translateX(-1px);
  animation: glitchX 0.3s infinite alternate ease-in-out;
}

.no-glitch::before {
  content: none !important;
}

@keyframes glitchX {
  0% { transform: translateX(-1px); }
  100% { transform: translateX(1px); }
}

.word {
  display: inline-block;
  white-space: nowrap;
  margin-right: 0.5ch;
}

/* === STYLISTYKA DAILY.HTML === */
body.daily {
  background: radial-gradient(circle at center, #000000, #050505);
  font-family: 'Share Tech Mono', monospace;
  color: #00ffee;
}

body.daily .ui {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5vh 5vw;
  max-width: 800px;
  margin: 0 auto;
  color: #00ffee;
}

body.daily .entry {
  margin-top: 2rem;
  padding: 1rem;
  border-top: 1px solid #008877;
  width: 100%;
}

body.daily .entry h2 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #66fff0;
}

body.daily .entry p {
  white-space: pre-wrap;
  line-height: 1.4;
  color: #00ffee;
}

body.daily .back-link {
  text-align: center;
  margin-top: 2rem;
}

body.daily a {
  color: #00ffee;
  text-decoration: underline;
}
