/* Fonts */
@font-face {
  font-family: 'MINECRAFT';
  src: url('fonts/Minecraft.ttf') format('truetype');
}

@font-face {
  font-family: 'DAYDREAM';
  src: url('fonts/Daydream.ttf') format('truetype');
}

/* General Layout */
body {
  margin: 0;
  font-family: 'MINECRAFT', sans-serif;
  background-image: url('images/verdant.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  image-rendering: pixelated;
  color: white;
  padding-bottom: 100px;
  position: relative;
  z-index: 0;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* stronger for better readability */
  z-index: -1;
}

/* Container for text content */
.about-container {
  max-width: 900px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
  z-index: 1;
}

/* Headings and Subtitle */
h1 {
  font-family: 'DAYDREAM', sans-serif;
  font-size: 3rem;
  color: #ffccb3;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #f3e5dc;
}

/* Section Styles */
section {
  background: rgba(0, 0, 0, 0.5);
  padding: 30px;
  margin-bottom: 40px;
  border-left: 5px solid #ffb199;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 15px rgba(255, 170, 140, 0.3);
  transition: transform 0.3s ease;
}

section:hover {
  transform: scale(1.01);
}

section h2 {
  font-family: 'DAYDREAM', sans-serif;
  color: #ffd6c6;
  margin-bottom: 15px;
}

section p,
section ul {
  text-align: left;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.8;
  font-size: 1rem;
  color: #fbe8e4;
}

/* List spacing */
section ul {
  padding-left: 20px;
}

/* Bottom Navigation Bar */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  height: 80px;
  z-index: 10;
}

.circle-group {
  display: flex;
  gap: 20px;
}

.circle {
  width: 45px;
  height: 45px;
  background: white;
  color: #222;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-family: 'DAYDREAM', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.circle.active,
.circle:hover {
  background: #ffccb3;
  transform: scale(1.1);
}

.nav-icon {
  font-size: 24px;
  background: #ffccb3;
  color: #222;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background 0.2s;
}

.nav-icon:hover {
  background-color: #ffe0d5;
}

.help-wrapper {
  position: relative;
  margin-right: 50px; /* Adds spacing from the right edge */
}

.help-button {
  font-family: 'DAYDREAM', sans-serif;
  font-size: 24px;
  background: #ffccb3;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  color: #222;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


.help-button:hover {
  background-color: #ffe0d5;
}

.help-cloud {
  display: none;
  position: absolute;
  bottom: 60px;
  right: -10px;
  left: auto;
  background: #fff;
  color: #222;
  padding: 12px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  width: 200px;
  text-align: center;
  z-index: 5;
}

.help-cloud::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 10px;
  border-width: 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

@media (max-width: 600px) {
  .help-wrapper {
    margin-right: 5px;
  }

  .help-cloud {
    width: 180px;
    font-size: 0.85rem;
  }
}

/* === Build-In Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.2s; }
.animate-delay-2 { animation-delay: 0.4s; }
.animate-delay-3 { animation-delay: 0.6s; }
.animate-delay-4 { animation-delay: 0.8s; }
.animate-delay-5 { animation-delay: 1s; }
