/* ==========================
   GLOBAL BODY STYLING
========================== */

body {
  margin: 0;
  padding: 0;
   background: url('../images/early_reviews.webp') no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
  background-repeat: no-repeat;
   min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
 
}

body.secure-comms-page {
  --secure-comms-scene-depth: 3200px;
  background-color: #02070b;
  background-image: url('../images/page-bg/secure-comms-sinking-container-ship-scroll-20260825.webp');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

body.secure-comms-page .page-content {
  min-height: var(--secure-comms-scene-depth);
}

body.secure-comms-page .cot-footer.cot-footer {
  margin-top: 0;
}

body.safe-house-page {
  position: relative;
  overflow-x: hidden;
  background: #020606;
  --safe-house-bg-x: 0px;
  --safe-house-bg-y: 0px;
}

body.safe-house-page::before {
  content: "";
  position: fixed;
  inset: -28px;
  z-index: 0;
  pointer-events: none;
  background: url('../images/safe-house-radar-bg-20260824.webp') center center / cover no-repeat;
  transform: translate3d(var(--safe-house-bg-x), var(--safe-house-bg-y), 0) scale(1.035);
  transition: transform 0.18s ease-out;
  will-change: transform;
}

body.safe-house-page:has(.cot-footer) {
  display: block;
  min-height: 100vh;
}

/* Wrapper holds page content */
.page-wrapper {
  min-height: 2980px; /* Matches your image height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}







/* Centering container */
.page-content {
  position: relative;
  z-index: 30;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto 0 auto; /* top margin only */
  padding: 1rem;
  box-sizing: border-box;
}

body.safe-house-page .page-content {
  flex: 0 0 auto;
  max-width: min(900px, 100%);
  min-height: calc(100svh + 96px);
  margin-top: 0;
  padding-top: clamp(4rem, 8vh, 7rem);
}

body.safe-house-page .cot-footer {
  margin-top: 0;
}

body.safe-house-page h1 {
  color: yellow;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  -webkit-text-stroke: 1px black;
  text-stroke: 1px black;
  text-shadow: 0 2px 0 #000, 0 16px 44px rgba(0, 0, 0, 0.62);
}

.page-content > h1,
.page-content > .safe-house-intro,
.page-content > .info-block {
  position: relative;
  z-index: 4;
}

body.safe-house-page .safe-house-intro {
  max-width: 860px;
  margin: 0 auto 1.6rem;
  padding: clamp(1rem, 2.4vw, 1.6rem) clamp(1.1rem, 3vw, 2rem);
  text-align: center;
  background: linear-gradient(135deg, rgba(2, 14, 14, 0.7), rgba(3, 32, 35, 0.48));
  border: 1px solid rgba(255, 226, 104, 0.32);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 8px rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.safe-house-page .safe-house-alert {
  margin: 0 0 0.45rem;
  background: transparent;
  color: #ff3a73;
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-shadow: 0 0 14px rgba(255, 58, 115, 0.72);
}

body.safe-house-page .safe-house-hook {
  margin: 0;
  background: transparent;
  color: #fff2b8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.14;
  text-shadow: 0 2px 0 #000, 0 0 22px rgba(255, 226, 104, 0.35);
}

body.safe-house-page .safe-house-lede {
  max-width: 760px;
  margin: 0.8rem auto 0;
  background: transparent;
  color: #d8fff0;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  line-height: 1.55;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

body.safe-house-page .safe-house-lede strong,
body.safe-house-page .info-text strong {
  color: #ffe268;
  font-weight: 800;
}

body.safe-house-page .info-block {
  margin-bottom: 1.15rem;
  background: rgba(3, 18, 18, 0.62);
  border: 1px solid rgba(255, 226, 104, 0.22);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 4px rgba(255, 255, 255, 0.08),
    0 16px 38px rgba(0, 0, 0, 0.38);
}

body.safe-house-page .info-text {
  background: rgba(0, 0, 0, 0.32);
  border-color: rgba(0, 255, 136, 0.2);
  border-radius: 8px;
}

body.safe-house-page .info-text h2 {
  margin-bottom: 0.55rem;
  line-height: 1.08;
}

body.safe-house-page .info-text p {
  margin: 0;
  background: transparent;
  color: #d8fff0;
  font-size: 1.03rem;
  line-height: 1.56;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* ==========================
   HEADINGS & PARAGRAPHS
========================== */
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 0.2em;
  color: yellow;
  -webkit-text-stroke: 1px black;
  text-stroke: 1px black;         /* Fallback (limited support) */
  text-shadow: 0 2px 0 #000, 0 16px 44px rgba(0, 0, 0, 0.62);
}

h2 {
  font-size: 1.75rem;
  color: yellow;
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
  font-family: 'Orbitron', sans-serif; /* Matches your tech theme */
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(0, 255, 136, 0.3);
  padding-bottom: 0.05rem;
  -webkit-text-stroke: 1px black; /* Outline the text */
  text-stroke: 1px black;         /* Fallback (limited support) */
  color: yellow;                 /* Fill color */
}

h3 {
  font-size: 0.5rem;
  color: #fff;
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
  font-family: 'Orbitron', sans-serif; /* Matches your tech theme */
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(0, 255, 136, 0.3);
  padding-bottom: 0.05rem;
}


p {
  font-size: 1rem;
  margin-bottom: 0.0em;
  background: rgba(0, 0, 0, 0.1);
 
  border-radius: 1px;
  color: #00ff88;
}

 #blink {
                font-size: 2rem;
                font-weight: bold;
                color: red;
                transition: 0.1s;
            }


.blink {
                animation: blinker 1.5s linear infinite;
                color: red;
                font-family: sans-serif;
				 background: rgba(0, 0, 0, 0.9);
            }
            @keyframes blinker {
                50% {
                    opacity: 0.5;
                }
            }
			
			
/* ==========================
   FORM STYLING
========================== */
.form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 800px;
  padding: 0 1rem;
}

form {
  background: rgba(255, 255, 255, 0.2);
  padding: 2em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

input,
textarea,
button {
  box-sizing: border-box;
  width: 100%;
  padding: 0.75em;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 1rem;
}

input::placeholder,
textarea::placeholder {
  color: #fff;
}

button {
  background: #00ff88;
  color: #000;
  font-weight: bold;
  transition: all 0.3s ease;
}

button:hover {
  background: #00cc66;
  color: #fff;
  cursor: pointer;
}

label {
  font-weight: bold;
  color: #00ff88;
  margin-bottom: 0.25em;
  text-align: left;
  display: block;
}

select#character-role, #us-navy-rank, #royal-navy-rank {
  width: 100%;
  padding: 0.75em;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 1rem;
 /* backdrop-filter: blur(8px);
  appearance: none;*/
}

select#character-role option {
  background-color: #000;
  color: #00ff88;
}

select#us-navy-rank option {
  background-color: #000;
  color: #00ff88;
}

select#royal-navy-rank option {
  background-color: #000;
  color: #00ff88;
}

/* ==========================
   RADAR CANVAS
========================== */
canvas#radar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
   padding: 0px;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 2;
}

/* ==========================
   RADAR CONTROL PANEL (Image-Based Switch & Knob)
========================== */
/* Radar Controls Panel */
#radar-controls {
  position: fixed;
  top: 200px;
  right: 12px;

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;

  background: rgba(255, 255, 255, 0.08); /* translucent white */
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.1),
              0 4px 20px rgba(0, 0, 0, 0.3);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  z-index: 9; /* increase if needed to sit above radar canvas */
}

.dial-wrapper {
  position: relative;
  width: 86px;
  height: 91px;
  display: flex;
  justify-content: center;
  align-items: center;
  touch-action: none; /* prevent native gestures */
}

/* Static label background */
/* Static background image */
.dial-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 86px;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none; /* ensures it doesn’t capture touch/click */
  user-select: none;
}

/* Toggle switch image */
/* Sound Switch */
#sound-switch {
  width: 50px;  /* match knob size if needed */
  height: 80px;
  display: block;
  object-fit: contain;
}

/* Volume dial container */
/* Dial container should match new knob size 
.dial-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}*/

.dial-wrapper {
  position: relative;
  width: 86px;
  height: 91px;
}

/* Rotating knob – smaller than the full dial */
#volume-knob {
  position: absolute;
  width: 61px;
  height: 61px;
  top: 63.5%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center center;
  z-index: 2;
  transition: transform 0.2s ease-out;
   pointer-events: auto; 
  cursor: pointer;
  user-select: none;
}


/* Invisible range input matches knob size */
/* Invisible range slider over the whole dial */
#volume-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 3;
  
  cursor: pointer;
  touch-action: none;
}

.info-block {
  display: flex;
  z-index: 99;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
  gap: 2rem;
  flex-wrap: wrap;

  background: rgba(255, 255, 255, 0.08); /* frosted glass look */
  border-radius: 16px;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.1),
              0 4px 20px rgba(0, 0, 0, 0.3); /* outer shadow */

  backdrop-filter: blur(10px); /* adds macOS glassy effect */
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1rem; /* Adjust as needed */
  
}

.info-text {
  flex: 1;
  min-width: 300px;
   padding: 1rem 1.5rem;
  background: rgba(0, 0, 255, 0.08); /* frosted glass look */
  border-radius: 8px;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.1),
              0 4px 20px rgba(0, 0, 0, 0.3); /* outer shadow */

  backdrop-filter: blur(10px); /* adds macOS glassy effect */
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.info-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
}

/* ==========================
   MOBILE RESPONSIVENESS
========================== */
@media screen and (max-width: 600px) {
  #radar-controls {
    top: 10px;
    right: 10px;
    padding: 6px;
    gap: 10px;
  }

  h1 {
    font-size: clamp(3.2rem, 7vw, 6.5rem);
  }

  p {
    font-size: 1rem;
    padding: 0.5em 1em;
  }

  form {
    padding: 1.25em;
  }

  input,
  textarea,
  button {
    font-size: 0.95rem;
  }
}


/* Tooltip style */
#volume-tooltip {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: rgba(0, 0, 0, 0.85);
  color: #00ff88;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-family: 'Orbitron', sans-serif;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

#volume-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

#volume-hint {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #00ff88;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  padding: 8px 14px;
  border: 1px solid #00ff88;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.3s ease-in-out;
}

#volume-hint.show {
  opacity: 1;
}



 /* Invisible scroll trigger area */
    #trigger {
      height: 1px;
      margin-top: 2900px;
      background: transparent;
    }

    /* Fixed image overlay */
    #overlay {
      position: fixed;
      top: 40px;
      right: 1540px;
      width: 150px;
      opacity: 0;
      transition: opacity 2s ease;
      z-index: 1;
      pointer-events: none;
    }

    #overlay.visible {
      opacity: 1;
    }
	
	
	#background-overlay {
  position: absolute;
  top: 3018px; /* Distance from the top of the page */
  left: 22.2%;
  transform: translateX(-18%);
  width: 45px;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

	#background-overlay.visible {
	  opacity: 1;
}


/* Invisible scroll trigger area */
    #triggerSkull {
      height: 1px;
      margin-top: 2100px;
      background: transparent;
    }

    /* Fixed image overlay */
    #overlaySkull {
      position: fixed;
      top: 40px;
      right: 1040px;
      width: 800px;
      opacity: 0;
      transition: opacity 2s ease;
      z-index: 1;
      pointer-events: none;
    }

    #overlaySkull.visible {
      opacity: 0.2;
    }
	
	
	#background-overlaySkull {
  position: absolute;
  top: 1500px; /* Distance from the top of the page */
  left: 38.5%;
  transform: translateX(-18%);
  width: 50%;
  opacity: 0;
  transition: opacity 2s ease;
  z-index: 1;
}

	#background-overlaySkull.visible {
	  opacity: 1;
}


/* ==========================
   BUTTON STYLES
========================== */

/* image button rectangular */

.img-button {
  display: inline-block;
  width: 266px;                 /* Set to match your image size */
  height: 131px;
  background-image: url('/assets/images/button-default.png');
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  text-align: center;
  color: #00ff88;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 130px;            /* Vertically center the text */
  text-decoration: none;
  border: none;
  transition: background-image 0.3s ease;
}

/* Container centers everything inside it */
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;              /* spacing between buttons */
  margin: 0.25rem auto;
  flex-wrap: wrap;
}

.img-button:hover {
  background-image: url('/assets/images/button-hover.png');
  color: #fff;
}

.img-button .btn-text {
  position: relative;
  z-index: 2;
}

/* Reactor Start Button Styles */
#start-button {
  width: 200px;
  height: 200px;
  background: url('/assets/ui/nb-up.png') no-repeat center center;
  background-size: contain;
  border: none;
  outline: none;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  position: relative;
}

/* Hover Effect — depressed look */
#start-button:hover {
  background-image: url('/assets/ui/nb-over.png');
  transform: translateY(2px); /* subtle press-down effect */
}

/* Active/Clicked — lights up */
#start-button.active {
  background-image: url('/assets/ui/nb-clicked.png');
}

/* Optional: Glowing Label after activation */
#start-button.active::after {
  content: 'ENGAGED';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: #00ff88;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  text-shadow: 0 0 8px #00ff88;
  letter-spacing: 2px;
  animation: glow-pulse 1s infinite;
}

/* Pulse animation for text */
@keyframes glow-pulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 6px #00ff88; }
  50% { opacity: 0.7; text-shadow: 0 0 14px #00ff88; }
}

/* Reactor Start Button Styles END */




/* ==========================
   BRIDGE MENU STYLES
========================== */
#bridge-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  color: #00ff88;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px 15px 50px;
  border-bottom: 1px solid #00ff88;
  z-index: 1000;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
}

#bridge-menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 20px;
}

#bridge-menu li {
  display: inline;
}

#bridge-menu a {
  text-decoration: none;
  color: #00ff88;
  transition: color 0.3s ease;
}

#bridge-menu a:hover {
  color: #ffffff;
}

#status-indicator {
  font-size: 1.2rem;
  color: #00ff88;
  padding-right: 159px;
}

.status-active {
	font-weight: bold;
	color: red;
  animation: pulse 1s infinite;
  -webkit-animation: glow 1s ease-in-out infinite alternate;
  -moz-animation: glow 1s ease-in-out infinite alternate;
  animation: glow 1s ease-in-out infinite alternate;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.glow {
  font-size: 1.2rem;
  font-weight: bold;
  color: red;
  text-align: center;
  animation: glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
  }
  
  to {
    text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
  }
}


 



/* ==========================
   BRIDGE MENU console
========================== */
#bridge-console {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: auto;
}

#bridge-console svg {
  filter: drop-shadow(0 0 5px #00ff8855);
  cursor: pointer;
}

#bridge-console circle:hover {
  fill: #66ffcc;
  stroke: #fff;
  stroke-width: 2;
  transition: 0.2s ease;
}

/* Tooltip (optional) */
#bridge-console .tooltip {
  position: absolute;
  top: 65px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #00ff88;
  background: rgba(0, 0, 0, 0.7);
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s;
}

#bridge-console:hover .tooltip {
  opacity: 1;
}


/* Responsive: collapse menu on small screens */
@media screen and (max-width: 600px) {
  #bridge-menu ul {
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 48px;
    right: 0;
    display: none;
  }

  #bridge-menu ul.active {
    display: flex;
  }

  #bridge-menu::after {
    content: "☰";
    font-size: 1.4rem;
    cursor: pointer;
    color: #00ff88;
    display: block;
  }
}








/* Responsive: collapse menu on small screens */
@media screen and (max-width: 600px) {
  #bridge-menu ul {
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 48px;
	padding-bottom: 40px;
    right: 0;
    display: none;
  }

  #bridge-menu ul.active {
    display: flex;
  }

  #bridge-menu::after {
    content: "☰";
    font-size: 1.4rem;
    cursor: pointer;
    color: #00ff88;
    display: block;
  }
}




@media screen and (max-width: 768px) {
  body.secure-comms-page {
    --secure-comms-scene-depth: 3600px;
  }

  body {
    background-size: cover;           /* On smaller screens, let it fill more freely */
	width: 100vw;
    background-attachment: scroll;    /* Always use scroll */
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 4000px;               /* Match the image height */
  }

  #background-overlay {
    top: 1200px; /* Adjust overlay trigger point for smaller screens */
    width: 120px;
  }

  h1 {
    font-size: clamp(3.2rem, 7vw, 6.5rem);
  }

  .form-wrapper {
    padding-top: 2rem;
  }
  
@media screen and (max-width: 600px) {
  #radar-controls {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: 90%;
    right: 5%;
    left: 5%;
  }

  #sound-switch,
  .dial-wrapper {
    width: 60px;
    height: 60px;
  }

  #volume-knob {
    width: 40px;
    height: 40px;
  }

  #volume-range {
    width: 60px;
    height: 60px;
  }
}

@media screen and (max-width: 600px) {
  .img-button {
    width: 200px;
    height: 90px;
    font-size: 1.2rem;
    line-height: 90px;
  }
}

@media screen and (max-width: 768px) {
  #radar-controls {
    display: none !important;
  }
}

/* ==========================
   BRIDGE MENU STYLES (CLEANED + FROSTED)
========================== */
 #bridge-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(0, 0, 0, 0.3);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      border-bottom: 1px solid #00ff88;
      z-index: 10000;
    }

    #menu-toggle {
      display: none;
      font-size: 2rem;
      cursor: pointer;
      color: #00ff88;
    }

    #menu-list {
      display: flex;
      gap: 20px;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    #menu-list li a {
      text-decoration: none;
      color: #00ff88;
      font-weight: bold;
    }

    #menu-list li a:hover {
      color: white;
    }
	/* Default: visible on small screens */
	#menu-toggle {
	  display: block;
	  font-size: 2rem;
	  cursor: pointer;
	  color: #00ff88;
	}

	/* Hidden on larger screens */
	@media screen and (min-width: 769px) {
	  #menu-toggle {
		display: none;
	  }
	}

      @media screen and (max-width: 768px) {
 #menu-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 1rem 0;
  gap: 1rem;

  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);

  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);

  background-clip: padding-box;
  box-sizing: border-box;
  overflow: hidden;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
}
#menu-list li:first-child {
  margin-top: 20px;
}

#menu-list.active {
  opacity: 0.8;
  transform: translateY(0);
  pointer-events: auto;
}
}
    

/*    main {
      margin-top: 100px;
      padding: 2rem;
      color: #00ff88;
      text-align: center;
    }
	
---------------------------
	Info block for contents	
----------------------------*/
@media screen and (max-width: 600px) {
  .info-block {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    padding: 1rem;
    width: 95%;
    box-sizing: border-box;
    gap: 1.2rem;
  }

  .info-text {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    box-sizing: border-box;
  }

  .info-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .img-button {
    width: 266px;
    height: 131px;
    font-size: 1.4rem;
    line-height: 131px; /* centres text vertically */
    text-align: center;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}
