@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Raleway:wght@300&display=swap');

body {
  background-color: #050505; /* Near-black for the background */
  color: #e0d4d1;
  font-family: 'Raleway', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  background-image: radial-gradient(circle at center, #1a0102 0%, #050505 80%); /* Darker, more ominous gradient */
}

.container {
  text-align: center;
  padding: 2rem;
  border: 1px solid #7e1e2b;
  border-radius: 10px;
  background-color: rgba(0,0,0,0.6);
  box-shadow: 0 0 20px rgba(126, 30, 43, 0.4);
  width: 80%;
  max-width: 800px;
  animation: pulseBox 5s ease-in-out infinite; /* Pulsing effect for the box */
}

h1 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 3rem;
  color: #a61e36;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-shadow: 0 0 4px #a61e36, 0 0 8px #a61e36; /* Subtle glow */
  animation: pulseText 5s ease-in-out infinite; /* Pulsing effect for the text */
}

p {
  font-size: 1.2rem;
  color: #d6c1be;
  max-width: 600px;
  margin: 0 auto 1.2rem auto;
  line-height: 1.6;
}

.warning {
  color: #a61e36;  /* A deeper, more subtle red */
  font-weight: bold;
  margin-top: 2rem;
  font-size: 1rem;
  padding: 8px;
  border: 2px solid #a61e36; /* Matching the text color */
  border-radius: 5px;
  animation: pulseBorder 5s ease-in-out infinite;
}

.promise {
  margin-top: 2.5rem;
  font-style: italic;
  font-size: 1.05rem;
  color: #c997a7;
  animation: pulse 5s ease-in-out infinite;
}

@keyframes pulseText {
  0%, 100% {
    text-shadow: 0 0 4px #a61e36, 0 0 8px #a61e36;
  }
  50% {
    text-shadow: 0 0 6px #a61e36, 0 0 12px #a61e36;
  }
}

@keyframes pulseBox {
  0%, 100% {
    box-shadow: 0 0 20px rgba(126, 30, 43, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(126, 30, 43, 0.6); /* Box glow pulse */
  }
}

@keyframes pulseBorder {
  0%, 100% {
    border-color: #ff0033;
    box-shadow: 0 0 5px #ff0033;
  }
  50% {
    border-color: #ff6655;
    box-shadow: 0 0 15px #ff6655; /* Subtle border and glow pulse */
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.footer {
  text-align: center;
  color: #ccc;
  font-size: 0.9rem;
  margin-top: 2rem;
}

.credit {
  position: fixed;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.95rem;
  color: #b2a19f; /* Light greyish beige for legibility */
  opacity: 0.8; /* Slightly higher opacity for readability */
  font-style: italic;
  z-index: 10;
  pointer-events: auto;
  animation: pulseGlow 5s ease-in-out infinite;
}

.credit a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease, text-shadow 0.3s ease;
}

.credit a:hover {
  opacity: 0.85;
  text-shadow: 0 0 3px #e28d8f; /* Subtle pinkish glow */
}

/* Pulse glow animation */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.8;
    text-shadow: 0 0 5px #7e1e2b, 0 0 10px #9e3a3f; /* Soft glowing red-pink */
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 10px #9e3a3f, 0 0 15px #e28d8f; /* Brighter glowing pink */
  }
}

.credits-box {
  position: fixed;
  bottom: 2px;
  width: 100%;
  text-align: center;
  color: #444;
  font-size: 0.35rem;
  font-style: italic;
  opacity: 0.1;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.5s ease-in-out;
}

.credits-box:hover {
  opacity: 0.3;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Raleway', sans-serif;
  background-color: #0a0607;
  background-image: radial-gradient(circle at center, #1a0b0e 0%, #0a0607 80%);
  color: #e0d4d1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

.container {
  margin-top: 4rem;
  padding: 2rem;
  width: 90%;
  max-width: 1000px;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid #7e1e2b;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(126, 30, 43, 0.4);
}

h1 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 3rem;
  text-align: center;
  color: #a61e36;
  text-shadow: 0 0 8px rgba(166, 30, 54, 0.5);
  animation: glowPulse 6s ease-in-out infinite;
}

p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #d6c1be;
  max-width: 800px;
  margin: 1.5rem auto;
  text-align: center;
}

.bar-image {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(126, 30, 43, 0.4);
}

footer {
  font-size: 0.7rem;
  color: #c08895;
  margin-top: 3rem;
  text-align: center;
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

footer:hover {
  opacity: 0.8;
}

.footer-link {
  color: #e3a3b0;
  text-decoration: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 6px rgba(166, 30, 54, 0.3);
  }
  50% {
    text-shadow: 0 0 12px rgba(166, 30, 54, 0.6);
  }
}
