body {
font-family: "Verdana", Geneva, Tahoma, sans-serif;
max-width: 800px;
color: rgb(0, 13, 22);
font-weight: 400;
line-height: 1.65;
position: relative;
margin: 0 auto;
padding: 20px;
padding-left: 220px;
background: #f9f9f9;
}
h1, h2, h3 {
  color: #16213e;
  line-height: 1.2;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align: center;
}
img {
  width: 150px;
  height: 150px;
  border-radius: 10%;
}
.left-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 100vh;
  background: linear-gradient(180deg, #7301b0, #012b2c);
  padding: 50px 0;
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  transform: translateX(0);
  font-family: 'verdana', serif;

}

.left-sidebar h3 {
  color: #dcdcdc;
  margin: 0 0 20px 0;
  font-size: 18px;
  text-align: center;
  border-bottom: 2px solid #16213e;
  padding: 0 10px 10px 10px;
  flex-shrink: 0;
}

.nav-item {
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  color: rgb(0, 5, 77);
  font-size: 12px;
  font-weight: lighter;
  transition: all 0.3s ease;
}

.nav-item:hover {
  font-size: 13px;
  transform: translateX(5px);
}

.nav-item.active {
  border-color: #535353;
}




.quiz-word {
  background-color: rgb(123, 123, 123);
  color: rgb(123, 123, 123);
  padding: 2px 2px;
  cursor: pointer;
  border: 0px solid #ffffff;
  position: relative;
  display: inline-block;
  border-radius: 5px;
  font-family: "Roboto", "sans-serif";
}
.try-again {
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
}
.quiz-word.revealed {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
}

.quiz-word.incorrect {
  background-color: #5a2d2d;
  color: rgb(255, 0, 0);
}

.answer-input {
  border: 2px solid #4a9eff;
  padding: 2px 6px;
  margin: 0;
  border-radius: 3px;
  font-size: inherit;
  font-family: inherit;
  width: auto;
  min-width: 60px;
  background-color: #2a2a2a;
  color: white;
  outline: none;
}

.answer-input:focus {
  border-color: #66b3ff;
  box-shadow: 0 0 5px rgba(102, 179, 255, 0.5);
}

.score {
  position: fixed;
  right: 15%;
  transform: translateX(100%);
  z-index: 1;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: white;
  background-color: #16213e;
  padding: 5px;
  border-radius: 5px;
}

.quiz-container {
  position: relative;
  z-index: 0;
}

.feedback {
  margin-left: 5px;
  font-weight: bold;
}

.correct {
  color: #009800;
}

.incorrect {
  color: #f66666;
  text-decoration-color: #ff6666;
}

/* Tooltip styling for hints */
.quiz-word[title] {
  position: relative;
}

.quiz-word[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 10px;
  white-space: nowrap;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.quiz-word[title]:hover::before {
  content: '';
  position: absolute;
  bottom: 95%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
  z-index: 1000;
}
div ul {
  font-size: large;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
p {
  background-color: #f6eaff;
  color: #13004e;
  padding: 10px 10px;
  border: 1px solid #000000;
  border-radius: 5px;
  line-height: 2;
}
li {
  margin-bottom: 12px;
  line-height: 2;
  padding: 10px 18px 10px 38px;
  background: "transparent";
  border-radius: 12px;
  border: white solid 1px;
  box-shadow: 0 2px 8px rgba(202, 202, 202, 0.12), 0 1.5px 4px rgba(223, 223, 223, 0.08);
  position: relative;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  list-style-type: none;
  font-size: 1.08em;
font-family: "Roboto", sans-serif;
  font-weight: 400;
  cursor: pointer;
  overflow: visible;
    -webkit-backdrop-filter: blur(8px) saturate(160%);
   backdrop-filter: blur(8px) saturate(160%);
  border: 1px solid rgba(0, 0, 151, 0.25);
}
.cardcontent {
  background: linear-gradient(#ecffff, #f3ebff), #74e1ff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.08);
  padding: 2em;
  border: 1px solid #000000;
  margin: 2em auto;
  max-width: 700px;
  font-family: 'Roboto', sans-serif;
}
li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%) scale(1);
  color: #c3d2ff;
  font-size: 1.2em;
  transition: color 0.3s, transform 0.2s;
  opacity: 0.85;
}

li:hover {
  background: linear-gradient(90deg, #ffffff 0%, #cbcbcb 100%);
  box-shadow: 0 4px 16px rgba(255, 160, 122, 0.18), 0 2px 8px rgba(22, 33, 62, 0.12);
}

li:hover::before {
  color: #ff9800;
  transform: translateY(-50%) scale(1.2) rotate(-10deg);
  opacity: 1;
}

li:hover {
  background-color: #404040;
}

button {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  border: none;
  padding: 1px 2px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 0.3s ease;

  font-weight: bold;
  margin-left: 5px;
}

button:hover {
  background-color: #333333;
}

/* Additional sidebar improvements for dropdown overflow */
.category-section {
  margin-bottom: 5px;
}

.category-items::-webkit-scrollbar {
  width: 6px;
}

.category-items::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.category-items::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.category-items::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Ensure sidebar content area is scrollable */
.left-sidebar::-webkit-scrollbar {
  width: 8px;
}

.left-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.left-sidebar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.left-sidebar::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}


/* Removed duplicate body selector, merged properties above */


.sliding-header-container {
  text-align: center;
  padding: 2rem;
  background: white;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sliding-header {
  opacity: 0;
  animation: fade-in 0.5s ease-in;
  animation-fill-mode: forwards;
  font-size: 1.15em;
  margin: 0.5rem 0;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.bundle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.bundle-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: #2c3e50;
  margin: 1rem 0;
}

.purchase-button {
  width: 100%;
  padding: 12px;
  background: #000000;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.2rem;
  margin-top: 1rem;
  transition: background 0.3s ease;
}

.purchase-button:hover {
  background: #576bff;
}

@media (max-width: 700px) {
  /* Simple viewport scaling - everything stays the same, just smaller */
  html {
    zoom: 0.55; /* Adjust this value to scale everything proportionally */
  }
  
  /* Hide banner on mobile only */
  #buymeacoffee-banner {
    display: none;
  }
  
  /* Optional: Prevent horizontal scrolling */
  body {
    overflow-x: auto;
  }
}

/* Keep everything else exactly the same - remove all the other mobile styles */

li.collapsing {
  max-height: 0 !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: scaleY(0) scaleX(0) !important;
  transition:
    max-height 1s cubic-bezier(.2,0,.2,1),
    opacity 0.7s,
    margin 0.7s,
    padding 0.7s,
    transform 1s cubic-bezier(.2,0,.2,1);
}

.autocomplete-dropdown {

  display: none;
 
}

.dollar-green {
    color: #003413 !important; /* Tailwind green-500 */
   
    font-weight: none;
    font-size: 1.1em;
    background-color: #deffde;
    padding: 2px 4px;
  }
.explanation-button {
      background: #efefef;
        color: rgb(26, 26, 26);
        padding: 5px 5px;
        font-family: 'Verdana', Courier, monospace, Geneva, Tahoma,
          sans-serif;
        font-size: 0.7rem;
}
.explanation-content {
  font-family: 'verdana', Geneva, Tahoma,
    sans-serif;
  font-size: 0.9rem;
  font-weight: 0.9rem;
  color: blue;
}