html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
}

/* nav bar */
.navUlTop {
  list-style: none;
  margin: 0;
  padding: 0 15px;
  background-color: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navUlTop li a {
  display: block;
  color: white;
  text-align: center;
  font-family: "Verdana", "Arial", sans-serif;
  font-size: clamp(20px, 6vw, 30px);
  font-weight: 900;
  padding: 14px 16px;
  text-decoration: none;
  width: auto;
}
.navSpacer {
  width: 60px;
  display: block;
}
.navUlTop li a.logo {
  font-size: clamp(18px, 5vw, 30px);
  color: white;
  text-decoration: none;
  font-weight: 900;
}

.pushRightTop {
  display: flex;
  align-items: center;
  height: 100%;
}
.pushRightTop button {
  background: black;
  color: white;
  display: block;
  border: none;
  padding: 5px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

@media (max-width: 400px) {
  .navSpacer { display: none; }
}

.menuToggle { display: none; }

.navUl {
  display: flex;
  list-style: none;
  background: white;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid;
  width: 100%;
}
.navUl li a {
  display: block;
  color: black;
  text-align: center;
  font-family: "Verdana", "Arial", sans-serif;
  font-size: 14px;
  padding: 12px 10px;
  text-decoration: none;
  width: 150px;
  margin: 5px 100px;
}
.navUl li a:hover { color: var(--nav-bar-hover-color); }

@media (max-width: 900px) {
  .menuToggle {
    display: block;
    width: 100%;
    padding: 15px;
    background: #fff;
    border: none;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    cursor: pointer;
  }
  .navUl {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .navUl.active { display: flex; }
  .navUl li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  .navUl li a {
    padding: 20px;
    box-sizing: border-box;
  }
}

/* universal */
.hidden { display: none !important; }
.centerButton {
  display: flex;
  justify-content: center;
}

/* text */
h1 {
  text-align: center;
  font-family: "Verdana", "Arial", sans-serif;
  font-weight: 900;
  font-size: 50px;
}
h2 {
  text-align: center;
  font-family: "Verdana", "Arial", sans-serif;
  font-weight: 600;
}
h3 {
  text-align: center;
  font-family: "Verdana", "Arial", sans-serif;
}
p {
  text-align: center;
  font-family: "Verdana", "Arial", sans-serif;
  font-size: 14px;
}
form {
  text-align: center;
  font-family: "Verdana", "Arial", sans-serif;
  font-size: 14px;
}
ul { padding: 0; }
ul li {
  font-family: "Verdana", "Arial", sans-serif;
  font-size: 14px;
  text-align: center;
}
ol { padding: 0; }
ol li {
  font-family: "Verdana", "Arial", sans-serif;
  font-size: 14px;
  text-align: center;
}
button {
  font-family: "Verdana", "Arial", sans-serif;
  font-size: 14px;
}

/* lists */
.biasScroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  justify-content: center;
}
.biasScroll::-webkit-scrollbar { display: none; }
.biasCircle {
  min-width: 200px;
  max-width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--bias-circle-background);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-snap-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease;
}
.biasCircle:hover { transform: scale(1.05); }
.biasName {
  font-weight: 600;
  font-size: 20px;
  text-align: center;
  font-family: "Verdana", "Arial", sans-serif;
}
.biasCountdown {
  font-size: 14px;
  margin-top: 5px;
  font-family: "Verdana", "Arial", sans-serif;
}
#biasUl { list-style: none; }

#potsModalBody ul { list-style: none; }
#potsModalBody ul li {
  position: relative;
  display: flex;
  justify-content: center;
}
#potsModalBody ul li::before {
  content: "🍲";
  position: relative;
  padding-right: 1em;
  padding-left: 0;
}

.biasPageNRol {
  list-style: none;
  counter-reset: bias-counter;
}
.biasPageNRol li {
  counter-increment: bias-counter;
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 5px;
}
.biasPageNRol li::before {
  content: counter(bias-counter) "🍲";
  position: relative;
  padding-right: 1em;
  font-weight: bold;
  color: var(--bias-list-number-color);
}

/* buttons */
.buttonRow {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 20px;
}

.biasButton {
  background-color: var(--bias-button-background-color);
  border: none;
  border-radius: 12px;
  color: var(--bias-button-text-color);
  padding: 1px 10px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 5px 6px var(--bias-button-shadow-color);
}
.biasButton:hover {
  background-color: var(--bias-button-hover-color);
  box-shadow: 0 7px 10px var(--bias-button-hover-shadow-color);
}

.classicButton {
  background: #f0f0f0;
  border: none;
  padding: 2px 6px;
  margin-left: 4px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: background 0.2s ease, transform 0.15s ease;
}
.classicButton:hover {
  background: #d0d0ff;
  transform: scale(1.1);
}

.slideButton {
  background: var(--slide-button-color);
  border: none;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
  color: white;
  transition: background 0.2s ease, transform 0.15s ease;
}
.slideButton:hover {
  background: var(--slide-button-hover-color);
}

.addBiasButton {
  background: var(--add-bias-button-color);
  border: none;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 10px;
  box-shadow: 0 0 6px var(--add-bias-button-shadow-color);
  transition: background 0.2s ease, transform 0.15s ease;
}
.addBiasButton:hover { transform: scale(1.05); }

.themeButton {
  border: none;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: 0.3s ease;
}
.themeButton:hover {
  transform: scale(1.05);
}
.themeButton.selected {
  filter: drop-shadow(0 0 20px var(--theme-button-glow-color));
}

/* inputs */
.inputStyle {
  border-style: none;
  margin-right: 4px;
  border-radius: 10px;
  background-color: var(--input-color);
  padding: 5px;
  box-shadow: 0 0 6px var(--input-shadow-color);
  scrollbar-width: none;
}
.inputStyle::-webkit-scrollbar { display: none; }

/* modal */
.modal {
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); /* dark translucent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* make sure it’s on top */
}
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.2);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 18px;
  cursor: pointer;
  background: #f0f0f0;
  border: none;
  padding: 2px 6px;
  margin-left: 4px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: background 0.2s ease, transform 0.15s ease;
}
.modal span:hover {
  background: #d0d0ff;
  transform: scale(1.1);
  font-weight: bold;
}
.modal textarea {
  width: 90%;
  margin-top: 6px;
  padding: 8px;
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  resize: vertical;
}

/* slider */
#mainSlider ul {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 400px;
  height: auto;
}
.slideWrapper {
  width: 100%;
  overflow: hidden;
  user-select: none;

  touch-action: pan-y;
  position: relative;
}
.slide {
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  opacity: 0;
  transition: opacity 900ms ease;
  visibility: hidden;
  box-sizing: border-box;
}
.slide.active {
  position: relative;
  opacity: 1;
  z-index: 1;
  visibility: visible;
}
.slide img {
  height: 100%;
  object-fit: cover;
  display: block;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot-color);
  cursor: pointer;
}
.dot.active { background: var(--dot-active-color); }

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 90%;
  max-width: 450px;

  background: var(--slide-overlay-color);
  padding: 20px 24px;
  border-radius: 10px;
  
  max-height: 80vh;
  overflow-y: auto;
}
.overlay h2 {
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.1;
  font-size: clamp(24px, 5vw, 36px);
}
.overlay p {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(16px, 3vw, 24px);
}
.overlay p:last-of-type { margin-bottom: 0; }

/* daily check-in */
#dailyCheckInButton {
  font-size: 20px;
  font-weight: bold;
  
  padding: 15px 30px;
  margin-top: 40px;
  margin-bottom: 20px;

  border: none;
  border-radius: 15px;

  background-color: var(--daily-check-in-background-color);
  color: var(--daily-check-in-text-color);

  cursor: pointer;

  transition: 0.2s;
}
#dailyCheckInButton:hover {
  filter: brightness(1.05);
}
#dailyCheckInButton:active {
  transform: scale(0.98);
}

#dailyCheckInModal h2 {
  margin-bottom: 20px;
}
#dailyCheckInModal .modal-content {
  text-align: center;
}

#checkInButton {
  margin-top: 20px;
  margin-bottom: 15px;
  padding: 12px 24px;

  font-size: 16px;
  font-weight: bold;

  border: none;
  border-radius: 10px;

  background-color: var(--check-in-background-color);
  color: var(--check-in-text-color);

  cursor: pointer;

  transition: 0.2s ease;
}
#checkInButton:hover:not(:disabled) {
  filter: brightness(1.05);
}
#checkInButton:active:not(:disabled) {
  transform: scale(0.98);
}
#checkInButton:disabled {
  background-color: var(--check-in-disabled-background-color);
  color: var(--check-in-disabled-text-color);

  cursor: not-allowed;

  transform: none;
  filter: none;
}
