/* === Base Styles === */
body {
  background-color: #e5e4e4; /* soft light gray */
  font-family: Tahoma, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

/* === Page Content Box === */
img.left { 
  float: left; 
  margin: 0.5em 1em 1em 0; 
  border: 1px solid #999; 
  clear: left; 
}

.page-content {
  max-width: 700px;
  margin: 60px auto;
  padding: 30px 25px;
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333;
}

.page-content h1 {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 20px;
  color: #444;
}

.page-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* === Hamburger Menu === */
.hamburger-menu {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.hamburger-icon {
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 5px;
  background-color: #bfc3bd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.hamburger-icon:hover {
  background-color: #a8aca6;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hamburger-icon span {
  width: 20px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-dropdown {
  display: none;
  position: absolute;
  top: 45px;
  left: 0;
  background-color: #bfc3bd;
  min-width: 220px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  overflow: hidden;
}

#hamburgerMenu.visible {
  display: block;
}

.hamburger-dropdown a {
  display: block;
  color: #333;
  padding: 15px 20px;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid #a8aca6;
}

.hamburger-dropdown a:hover {
  background-color: #a8aca6;
}

.hamburger-dropdown a:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.hamburger-dropdown a:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom: none;
}

/* === Go-To Buttons === */
.goto-container {
  position: absolute;
  top: 100px;
  right: 50px;
  display: flex;
  flex-direction: column;
}

.goto-container > div {
  margin-top: 10px;
}

.goto-button {
  background-color: #bfc3bd;
  color: #333;
  border: none;
  padding: 12px 20px;
  font-size: 14px;
  font-family: Georgia, serif;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  font-weight: bold;
}

.goto-button:hover {
  background-color: #a8aca6;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* === Dropdown Menu === */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #bfc3bd;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  border-radius: 10px;
  z-index: 1;
  top: 100%;
  right: 0;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: Georgia, serif;
  font-size: 14px;
}

.dropdown-content a:hover {
  background-color: #a8aca6;
}

#dropdownMenu.visible {
  display: block;
}
.dropdown-header {
    background-color: #9da199;
    color: #333;
    padding: 8px 16px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.goto-dropdown-content {
    top: 100%;
}

/* === Button Grid Layout === */
.button-grid {
 display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 600px;
  margin: 30px auto;
  padding: 0 20px;
}

/* === Navigation Buttons === */
.nav-button {
  background-color: #bfc3bd;
  color: #333;
  border: none;
  padding: 12px 20px;
  font-size: 14px;
  font-family: Georgia, serif;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.nav-button:hover {
  background-color: #a8aca6;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.nav-button:active {
  transform: translateY(0px);
}

/* === Game Button (Main CTA) === */
.game-button {
  background-color: #8d7ecf;
  color: white;
  font-size: 16px;
  padding: 15px 25px;
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

.game-button:hover {
  background-color: #7a6bb8;
}

/* === WOR Home Page Specific === */
.page-content.wor-home {
  text-align: center;
  padding: 20px;
  position: relative; /* This is needed for the GOTO button positioning */
}

.page-content.wor-home h1 {
  margin-bottom: 40px;
  font-size: 2rem;
}