/* Ensure html stretches full width */
html {
  width: 100% !important;
  max-width: none !important;
}

/* Global base styles */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: sans-serif;
  background-color: #1e6ba8;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  color: #eee;
  text-align: center;
  border: 0; /* added from duplicate */
}

/* Final clean container layout */
  .container {
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
    padding: 0;
    line-height: 1.5;
    text-align: center;
    box-sizing: border-box;
  }
  
/* --- PAGE-SPECIFIC ELEMENTS USED IN 01 --- */
#tip, #message, #endPrompt {
  max-width: 600px;
  /*width: 90%;*/
  margin: 10px auto;
  /*font-size: 18px;*/
  font-size: clamp(18px, 3vw, 28px);
}

#endPrompt {
  opacity: 0;
  transition: opacity 6s ease;
}

/* --- HEADINGS & TEXT --- */
h1 {
  font-size: clamp(26px, 4vw, 40px);
  color: #a0d8ef;
  display: block;
  width: 90%;
  margin: 0 auto;
}

h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: #a0d8ef;
  display: block;
  width: 90%;
  margin: 20px auto;
}

h3 {
  font-size: clamp(20px, 3vw, 25px);
  color: #f0e68c;
  display: block;
  width: 90%;
  margin: 10px auto;
}

p, li {
  display: block;
  font-size: clamp(18px, 2.6vw, 24px);
  height: auto;
  width: 90%;
  margin: 10px auto;
}

ul {
  padding-left: 30px;
}

.left-align {
  text-align: left;
}

.center {
  text-align: center;
}

.justify {
  text-align: justify;
}

/* --- TEXT FADE --- */
.fade {
  transition: opacity 6s ease;
}

/* --- AUDIO --- */
audio {
  display: block;
  margin: 10px auto 30px auto;
  width: 90%;
  max-width: 600px;
}

/* --- AUDIO WRAPPER SPACING --- */
.audio-wrap {
  padding-top: 20px;
}

/* --- MEDIA --- */
.sigil {
      width: 90%;
      height: auto;
      display: block;
      margin: 20px auto;

}

.sigil-small {
  display: block;
  width: 224px;
  height: auto;
  margin: 40px auto;
}

/* --- BUTTONS --- */
.button-wrap {
  margin-top: 40px;
  text-align: center;
}

button,
.continueBtn {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: clamp(18px, 3.0vw, 28px);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  cursor: pointer;
}

.continueBtn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 6s ease;
}
.continueBtn.visible {
  opacity: 1;
  pointer-events: auto;
}

button:hover, .continueBtn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* --- FOOTER --- */
footer {
  max-width: 600px;
  width: 90%;
  margin: 10px auto; /* adds bottom spacing if needed */
  text-align: center;
  font-size: 11px;
  color: white;
  opacity: 0.6;
  padding: 0px 0 0px;
}

.created-date {
  font-size: 11px;
  color: white;
  opacity: .8;
}

/* --- PAGE WRAPPER FOR STICKY FOOTER --- */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrapper .container {
  flex: 1;
}
