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

/* Base Layout with Full-Cover Background Image */
html, body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  /* Background Image */
  background-image: url('gct.jpg');
  background-size: cover;                    
  background-position: center center;        
  background-repeat: no-repeat;              
  background-attachment: fixed;            
  background-color: #33473c;                 /* Backup Color */

  color: #f8fafc;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  user-select: none;
  overflow-x: hidden;
}

/* Header Banner */
header {
  position: fixed;
  top: 20px;
  width: 100%;
  text-align: center;
  pointer-events: none;
  z-index: 100;
}

h1 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #EFB75D;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/*sound disclosure text */ 
h2 {
  font-size: 1rem; 
  font-weight: 500;
  color:#D0ADA1; 
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* permanent image positioned at specific screen coordinates */
.target-container {
  position: absolute;
  top: 497px;           /* adjust Y coordinate */
  left: 495px;          /* adjust X coordinate */
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 50;
}

/* Permanent Target Image */
#permanent-target {
  width: 40px;
  height: 40px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#permanent-target:hover {
  transform: scale(1.1);
}

/* Square Chat Bubble */
.chat-bubble {
  position: absolute;
  bottom: 70px;          /* Sits right above the 60px image */
  background-color: #1e293b;
  color: #f8fafc;
  border: 1px solid #334155;
  padding: 10px 14px;
  border-radius: 8px;    /* Slightly rounded square look */
  font-size: 0.875rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;  /* Allows click-through */
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Little triangle pointer at the bottom of the square bubble */
.chat-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #1e293b transparent transparent transparent;
}

/* Hidden Utility State */
.chat-bubble.hidden {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

/* Placed Star Image Styling */
.star {
  position: absolute;
  width: 40px;
  height: 40px;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  z-index: 10;
}

/* Floating Action Button Group */
.button-group {
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 100;
}

.btn {
  background-color: #D0ADA1;
  color: #33473c;
  border: 1px solid #653F19;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background-color: #B88269;
  color: #f8fafc;
}

/* Flex Spacer pushing footer down */
.page-body-content {
  flex: 1;
}

/* Footer Styling */
.horizontal-footer {
  background-color: #653F19;
  color: #ffffff;
  padding: 20px;
  font-family: sans-serif;
  margin-top: auto;
  position: relative;
  z-index: 20;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.footer-text a {
  text-decoration: none;
  font-weight: 500;
}

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