
html, body {  filter: hue-rotate(5deg) saturate(1.1) contrast(1.1);
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
  }
      #coordinates {
        display: inline-block;
        position: absolute;
        left: 10px;
        top: 32px;
        background-color: rgba(0, 0, 0, 0.7);
        border: 1px solid rgb(0, 0, 0);
        border-radius: 5px;
        z-index: 100;
        font-size: 12px;
        font-family: Verdana, sans-serif;
        line-height: 18px;
        color: rgb(255, 255, 255);
        padding-left: 8px;
        padding-right: 8px;
        padding-bottom: 4px;
        padding-top: 4px;
        max-width: calc(100%-20px);
      }

      #coordinates h3 {
  margin-bottom: 2px;
}

#game-info {
  display: inline-block;
  position: absolute;
  left: 10px;
  bottom: 31px;
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid rgb(0, 0, 0);
  border-radius: 5px;
  z-index: 100;
  font-size: 12px;
  font-family: Verdana, sans-serif;
  line-height: 22px;
  color: rgb(255, 255, 255);
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 4px;
  padding-bottom: 4px;
}

#tries-value {
    font-weight: bold;

}

#coordinates p {
  margin: 6px 0; /* Set margin for paragraphs */
}

      #copyright {
        position: absolute;
        bottom: 4px;
        left: 50%;
        line-height: 2px;
        transform: translateX(-50%);
        z-index: 9999;
        font-size: 12px;
        text-align: center;
        font-family: Helvetica, sans-serif;
        color: rgb(255, 255, 255);
        text-shadow: 1px 1px rgb(0, 0, 0);
      }

      #custom-marker {display:none}

      /* CSS for the pop-up container */
.popup {

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  display: flex;
  justify-content: center;
  align-items: center;
  
}


/* Default (desktop): 50% width */
.logo-img {
  width: 50%;
}

/* Mobile screens: 80% width */
@media (max-width: 768px) {
  .logo-img {
    width: 80%;
  }
}



.help-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 70%;
  height: 70%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}


.popup-content {
  background-color: rgba(0, 0, 0, 0);
  
  top: 2%;
  left: 5%;
  right: 5%;
  max-width: 100%;
  max-height: 100%;
  text-align: center;
  font-size: 18px;
  font-family: Helvetica, sans-serif;
        color: rgb(255, 255, 255);
     line-height: 18px;
     overflow: auto; /* Add this property to make the content scrollable */
  max-height: 95vh;


}
/* General slider styles */
#tries-slider {
  -webkit-appearance: none; /* Remove default WebKit appearance */
  -moz-appearance: none;    /* Remove default Firefox appearance */
  appearance: none;         /* Remove default styles */
  width: 20%;               /* Slider width */
  height: 6px;              /* Track height */
  background: white;        /* Slider track color */
  border: 6px solid rgb(38, 102, 102);  /* Green border for the track */
  border-radius: 20px;       /* Rounded edges for the track */
  cursor: pointer;          /* Pointer cursor for interactivity */
        /* Space between the slider and other elements */
  transition: opacity 0.2s;
  transform: scaleX(1);

   /* Smooth transition for hover effect */
}

#tries-slider:hover {
  border-color: rgb(38, 102, 102); /* Pink example */
}


#tries-slider::-webkit-slider-runnable-track {
  margin-left: -10px;
  margin-right: -10px;
}

#tries-slider::-moz-range-track {
  margin-left: -10px;
  margin-right: -10px;
}

#tries-slider::-ms-track {
  margin-left: -10px;
  margin-right: -10px;
}


/* Track styling for WebKit browsers (Chrome, Safari, etc.) */

/* Green

/* Thumb styling for WebKit browsers */
#tries-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;       /* match your PNG size */
  height: 30px;
  background: url('wittygoose2d.png') no-repeat center center;
  background-size: contain;
  border: none;      /* remove default circle border */
  cursor: pointer;

}

/* Track styling for Firefox */
#tries-slider::-moz-range-track {
  background: white;        /* Track background color */
  border: 2px white;  /* Green border for the track */
  border-radius: 5px;       /* Rounded edges for the track */
}

/* Thumb styling for Firefox */
#tries-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background:  rgb(0, 225, 255);
  border: 2px solid white;
  border-radius: 50%;
  cursor: pointer;

}

/* Track styling for IE/Edge */
#tries-slider::-ms-track {
  background: transparent; /* Transparent track for custom styling */
  border-color: transparent;
  border-width: 6px 0;
  color: transparent;

}

/* Thumb styling for IE/Edge */
#tries-slider::-ms-thumb {
  width: 20px;
  height: 20px;
  background: rgb(0, 225, 255);
  border: 2px solid white;
  border-radius: 50%;
  cursor: pointer;
}

/* Fill lower track for IE/Edge */
#tries-slider::-ms-fill-lower {
  background: white;
  border-radius: 5px;
}

/* Fill upper track for IE/Edge */
#tries-slider::-ms-fill-upper {
  background: white;
  border-radius: 5px;
}

/* Hover effect for the slider */
#tries-slider:hover {
  opacity: 0.8; 
             /* Reduce opacity slightly on hover */
}

/* Hover zoom for WebKit browsers */
#tries-slider::-webkit-slider-thumb:hover {
  transform: scale(1.5);
}

/* Hover zoom for Firefox */
#tries-slider::-moz-range-thumb:hover {
  transform: scale(1.5);
}

/* Hover zoom for old Edge/IE */
#tries-slider::-ms-thumb:hover {
  transform: scale(1.5);
}


/* CSS for the close button */
.button {
  bottom: 40px;
    cursor: pointer;
    font-size: 40px;
  font:700 1.25rem/1.2 "Press Start 2P", sans-serif;
    background-color: #00eff4; /* Green */
    border: none;
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    border-radius: 10px;
    transition-duration: 0.4s;
}

/* Hover effect for the PLAY button */
#play-button:hover {
    background-color:#00d00a;
 } /* Darker green */


#play-again-button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1100; 
}

#play-again-button:hover {
    background-color: #00d00a;
 } /* Darker green */


#help-button {
  position: absolute;
  top: 10px; 
  right: 10px; 
  cursor: pointer;
  font-size: 30px;
  background-color: rgba(0, 0, 0, 0.5); 
  color: white; 
  width: 40px; 
  height: 40px;
  display: inline-block;
  text-align: center;
  box-sizing: border-box; /* Ensure padding and border are included in width/height */
  padding: 0;
border: solid;
border-color: white;
border-radius: 50%;
}

#help-button:hover{background-color: rgb(34, 110, 151);}


    .mapboxgl-ctrl-scale {
  cursor: move;  /* Make it look draggable */
  position: absolute; 

}

/* Add this to your CSS to define the wiggle effect */
@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.wiggling {
    animation: wiggle 0.5s ease-in-out infinite;
    transform-origin: bottom center;
}

.goose-marker {
  background-repeat: no-repeat;
  background-position: center;
  transform: translateY(5%);
}

/* Close button */
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
}



  .menu-button {
    position: fixed;
    top: 1px;
    right: 1px;
    z-index: 9999; /* Above all elements */
    background-color: transparent;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-button svg {
    width: 24px;
    height: 24px;
    fill: white; /* Set icon color */
    transition: fill 0.2s ease;
  }

  .menu-button:hover {
    background-color: rgba(90, 246, 243, 0.573);
  }

  /* Menu Content */
  #menu-content {
    display: none;
    position: absolute;
    right: 48px;
    top: 32px;
    background-color: rgba(0, 0, 0, 0.9);
    border: 1px solid rgb(0, 0, 0);
    border-radius: 5px;
    z-index: 9999;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif, sans-serif;
    font-style:bold;
    text-align: right;
    line-height: 18px;
    color: rgb(255, 255, 255);
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 4px;
    padding-top: 4px;
    max-width: calc(100%-20px);
  }


  #menu-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #menu-content li {
    margin: 10px 0;
  }

  #menu-content a {
    text-decoration: none;
    color: #ffffff;
  }

  #menu-content a:hover {
    color: #000;
    background-color: rgba(90, 246, 243, 0.573);
    padding: 2px 4px; /* Add some padding */
    border-radius: 3px; /* Rounded corners */
  }

  a {
    color: inherit; /* Inherit color from parent element */
    text-decoration: none; /* Remove underline */
  }
  
  /* Hover effect for links */
  a:hover {
    text-decoration: underline; /* Underline on hover */
  }
  

  /* Modal container */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6); /* Black background with opacity */
}

/* Modal content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  text-align: center;
  font-family: Arial, sans-serif;
  position: relative;
}

/* Close button */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

#score-popup {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 35%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid rgb(0, 0, 0);
  border-radius: 5px;
  z-index: 100;
  font-family: "Press Start 2P", sans-serif;
  font-size: 0.75rem; /* Smaller text */
  line-height: 1.2;
  color: rgb(255, 255, 255);
  padding: 4px 8px;
  text-align: center; /* Center-align text */
}




#score-popup.show {
  display: block;
  animation: scorePopupBounce 0.4s ease-out;
}
#popup .popup-content p:first-of-type {
  margin-bottom: -2px; 
}

#popup .popup-content h1 {
  margin-top: -2px;
}


#todays-prize-box {
  display: inline-block;   /* shrinks to fit content */
  padding: 10px 20px;      /* inner spacing */
  text-align: center;
  border-radius: 15px;
  background: rgba(50, 246, 243, 0.3);
  border: 2px solid #ffdd55;

  box-shadow:
    0 0 10px #ffdd55,
    0 0 20px #ffcc33,
    0 0 30px #ffbb22,
    inset 0 0 15px rgba(255, 200, 50, 0.4);
}

/* Increase spacing between label and number */
#todays-prize-label {
  color: #fff;
  margin-bottom: 2px;     /* more spacing between lines */
  line-height: 1;        /* gentler spacing inside */
  font-size: 1em;
}

.slot-glow {
  font-size: 1.6em;
  font-weight: bold;
  color: #ffe066;
  line-height: 1.1;        /* matching spacing */

}/* ----------------------------------------------------
   CLUE BAR — SLIDES COMPLETELY AWAY
---------------------------------------------------- */
#clue-bar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%); /* start fully off-screen */

  width: 60%;
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid #00eff4;
  border-radius: 0 0 10px 10px;

  color: #00eff4;
  font-family: "Press Start 2P", sans-serif;

  opacity: 0;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease;

  z-index: 3000;
  text-align: center;
  overflow: hidden;
}

/* Fully hidden */
#clue-bar.clue-hidden,
#clue-bar.clue-collapsed {
  transform: translate(-50%, -100%);
  opacity: 0;
}

/* Fully expanded (slides into view) */
#clue-bar.clue-expanded {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ----------------------------------------------------
   HEADER
---------------------------------------------------- */
#clue-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
  text-align: center;
}

#clue-title {
  font-size: 14px;
  color: #00eff4;
}

/* ----------------------------------------------------
   TOGGLE (right side)
---------------------------------------------------- */
#clue-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 20px;
  cursor: pointer;
  user-select: none;

  color: white;
  transition: transform 0.3s ease, color 0.2s ease;
}

#clue-toggle:hover {
  color: rgb(0, 225, 255);
}

/* Rotate arrow when expanded (optional) */
#clue-bar.clue-expanded #clue-toggle.arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* ----------------------------------------------------
   BODY
---------------------------------------------------- */
#clue-body {
  padding: 16px;
  color: white;
  font-size: 12px;
  line-height: 1.5;
}
/* --- TOGGLE MAIN WRAPPER --- */
.toggle-wrapper {
  display: inline-block;
}

/* Hide real checkbox */
.toggle-wrapper input {
  display: none;
}

/* --- TRACK --- */
.toggle-track {
  width: 120px;
  height: 50px;
  background: #74021f; /* OFF = red */
  border-radius: 40px;
  border: 3px solid #ff6f8a;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  transition: background 0.25s ease, border-color 0.25s ease;
  color: #fff;
  font-family: 'Press Start 2P', monospace;
  cursor: pointer;
}



/* --- TEXT LABELS --- */
.toggle-off,
.toggle-on {
  font-size: 11px;
  user-select: none;
  opacity: 1;
  transition: opacity 0.2s ease;       /* each takes ~35% of width */   /* center the text in its slot */
}

.toggle-off {
  margin-left: 6px;  /* try -4, -8, etc. until it looks right */
}

/* (Optional) tiny counter–nudge for ON if it feels too close to the edge */
.toggle-on {
  margin-right: 10px;
}

/* ON text dimmed initially */
.toggle-on { opacity: 1; }
.toggle-off { opacity: 1; }

/* --- GOOSE THUMB --- */
.toggle-thumb {
  position: absolute;
  top: 50%;
  left: 3px;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0);
  border-radius: 50%;
  border: 3px solid rgb(255, 255, 255);     /* crisp outline */
  box-sizing: border-box;
  transition: left 0.25s ease;
}

/* --- default: both dim --- */
.toggle-label {
  opacity: 0.35;
  transition: opacity 0.2s ease;

  
}

/* --- OFF state (unchecked) --- */
.toggle-wrapper input:checked + .toggle-track .toggle-off {
  opacity: 0.35;
}

/* --- ON state (checked) --- */
.toggle-wrapper input:not(:checked) + .toggle-track .toggle-on {
  opacity: 0.35;
}


/* --- WHEN ON --- */
.toggle-wrapper input:not(:checked) + .toggle-track {
  background: rgba(90, 246, 243, 0.573);      /* ON = cyan */
  border-color: #ffffff;
}

.toggle-wrapper input:not(:checked) + .toggle-track .toggle-thumb {
  left: -3px;
}
.toggle-wrapper input:checked + .toggle-track .toggle-thumb {
  left: calc(100% - 47px);
}
.hard-mode-label {
  font-family: "Press Start 2P", monospace;
  font-size: 0.8rem;        /* tweak if you want bigger/smaller */
  letter-spacing: 0.03em;   /* optional: give it a bit of arcade spacing */
}
