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

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: #0f172a;
  color: #f8fafc;
  overflow: hidden;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}

.floating-text {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: 1rem;
  z-index: 1;
  user-select: none;
  animation: floatLetters 10s ease-in-out infinite;
}

@keyframes floatLetters {
  0% { transform: translateX(-50%) translateY(0); opacity: 0.02; }
  50% { transform: translateX(-50%) translateY(-10px); opacity: 0.08; }
  100% { transform: translateX(-50%) translateY(0); opacity: 0.02; }
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 32px;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #38bdf8;
}

.nav-links a {
  color: #f8fafc;
  margin-left: 24px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #38bdf8;
}

.content {
  position: relative;
  z-index: 2;
  top: 120px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
}

.card h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: #38bdf8;
}

.card p {
  font-size: 1.1em;
  margin-bottom: 1.5em;
  line-height: 1.6;
}

.button {
  padding: 14px 28px;
  background-color: #3b82f6;
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #2563eb;
}

#text-canvas,
#textCanvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}


.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(15, 23, 42, 0.7);
  color: #94a3b8;
  text-align: center;
  padding: 16px 0;
  font-size: 0.9em;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.footer a {
  color: #38bdf8;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}
