* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.hidden {
  display: none !important;
}

.screen {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #2a0000 0%, #120000 55%, #000000 100%);
}

.intro-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.welcome-title {
  margin: 0;
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 2rem;
  letter-spacing: 3px;
  color: #e8e8e8;
  text-shadow: 0 0 10px rgba(200, 0, 0, 0.8), 0 0 24px rgba(255, 255, 255, 0.25);
}

.horror-btn {
  position: relative;
  z-index: 1;
  padding: 18px 48px;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #d6d6d6;
  background: rgba(20, 0, 0, 0.6);
  border: 2px solid #8b0000;
  border-radius: 4px;
  cursor: pointer;
  text-shadow: 0 0 8px rgba(200, 0, 0, 0.8);
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.6), inset 0 0 15px rgba(139, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.horror-btn:hover {
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.9), inset 0 0 20px rgba(255, 0, 0, 0.5);
}

.horror-btn:active {
  transform: scale(0.98);
}

.horror-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

#fog-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  touch-action: none;
  transition: opacity 0.8s ease;
}

#fog-canvas.fog-dispersed {
  opacity: 0;
}
