:root {
  --bg-color: #020202;
  --bg-color: #0a0a0c;
  --heart-base: rgba(120, 40, 40, 0.4);
  --text-dim: rgba(200, 200, 200, 0.6); /* Increased from 0.3 for better visibility */
  --vignette-inner: rgba(0, 0, 0, 0);
  --vignette-outer: rgba(0, 0, 0, 0.85);
}

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

body {
  background-color: var(--bg-color);
  color: #888;
  font-family: "Inter", sans-serif; /* Minimal, modern */
  height: 100vh;
  margin: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Oppressive Background with Image */
  background:
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
    url("assets/cobbb.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://www.transparenttextures.com/patterns/dust.png");
  opacity: 0.05;
  pointer-events: none;
  z-index: 5;
}

.vignette-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    var(--vignette-inner) 20%,
    var(--vignette-outer) 100%
  );
  pointer-events: none;
  z-index: 10;
  transition: opacity 10s ease; /* Very slow intensification */
}

.container {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#heartCanvas {
  position: absolute;
  top: 0;
  left: 0;
}

.text-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  text-align: center;
  pointer-events: none;
  z-index: 15;
}

.minimal-text {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  opacity: 0;
  transition: opacity 2s ease;
}

.minimal-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.credits {
  position: fixed;
  bottom: 20px;
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.6); /* Balanced base visibility */
  letter-spacing: 0.5em;
  text-transform: uppercase;
  z-index: 20;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.credits:hover {
  color: rgba(255, 255, 255, 1);
}

.music-control {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.6); /* Balanced base visibility */
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3em;
  z-index: 30;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.music-control:hover {
  color: rgba(255, 255, 255, 1);
}

.audio-notice {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 100;
  opacity: 0.8; /* Increased opacity for clear initial visibility */
  transition: opacity 2s ease;
}

.audio-notice.hidden {
  opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .glass-overlay {
    bottom: 5%;
    padding: 1.5rem;
  }
}
