/* General Layout & Typography */
body {
  background-color: #282828;
  background-image: url('/content/screenshots/1_B&W.png');
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Verdana, sans-serif;
  color: #f0f0f0;
  margin: 0;
}

h1, h2, h3 {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  color: white;
}

h2 {
  font-size: 2rem;
  color: #f4cb00;
}

h3 {
  font-size: 1.5rem;
  color: #f4cb00;
}

p, ul, li {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0.5rem auto;
  max-width: 800px;
  text-align: left;
  padding: 0 1rem;
  color: #e0e0e0;
}

/* Main Logo */
.main-logo {
  width: 256px;
  height: 256px;
  display: block;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  background-color: #333;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.navbar a,
.dropdown .dropbtn {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: #0f1d37;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  z-index: 5;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Burger Icon */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: auto;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  transition: 0.4s;
}

/* Responsive Navbar */
@media screen and (max-width: 768px) {
  .burger {
    display: flex;
  }

  .navbar a,
  .navbar .dropdown {
    display: none;
    width: 100%;
    text-align: left;
  }

  .navbar.responsive {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar.responsive a,
  .navbar.responsive .dropdown {
    display: block;
    background-color: #333;
    border-top: 1px solid #444;
  }

  .navbar.responsive .dropdown-content {
    position: static;
    box-shadow: none;
    background-color: #444;
  }

  .navbar.responsive .dropdown-content a {
    color: white;
  }

  .navbar.responsive .dropdown-content a:hover {
    background-color: #555;
  }

  .navbar.responsive .dropdown .dropbtn {
    width: 100%;
    text-align: left;
  }

  .navbar.responsive .dropdown.active .dropdown-content {
    display: block;
  }
}

/* Other Page Styles (same as before, unchanged) */
/* Containers */
.recruiting, .textbox {
  background-color: rgba(15, 29, 55, 0.9);
  margin: 2rem auto;
  padding: 1.5rem;
  max-width: 900px;
  border: 2px solid #f4cb00;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.recruiting {
  background-color: rgba(139, 0, 0, 0.9);
}

.recruiting-slideshow {
  max-width: 500px;
  margin: 1rem auto;
}

.mySlides {
  display: none;
  width: 100%;
  border-radius: 8px;
  border: 2px solid black;
}

.row-textbox {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.column-textbox {
  flex: 1 1 45%;
  min-width: 300px;
}

/* Discord Widget */
.discord-widget {
  width: 100%;
  height: 500px;
  min-height: 300px;
  border: none;
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {
  .discord-widget {
    height: 400px;
    min-height: 300px;
  }

  .row-textbox {
    flex-direction: column;
  }
}

/* Table of Contents (TOC) Bar - Matches Site Style, No Background */
.toc-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem auto;
  padding: 0;
}

.toc-bar a {
  color: #f4cb00;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.toc-bar a:hover {
  color: #ffaa00;
}

/* Partnership Section */
.partner-block {
  text-align: center;
  margin-bottom: 2rem;
}

.partner-block h3 {
  color: #f4cb00;
  margin-bottom: 1rem;
}

.partner-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 1rem 0;
  border: 3px solid #000;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Store Page */
/* Store Grid Styles */
.store-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}

.store-item {
  background-color: rgba(15, 29, 55, 0.9);
  border: 2px solid #f4cb00;
  border-radius: 10px;
  max-width: 300px;
  width: 100%;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.image-container {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 aspect ratio */
  overflow: hidden;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.image-container img.hover {
  opacity: 0;
}

.image-container:hover img.hover {
  opacity: 1;
}

.image-container:hover img:first-child {
  opacity: 0;
}

.item-info {
  margin-top: 1rem;
}

.item-info h3 {
  color: #f4cb00;
  margin-bottom: 0.5rem;
}

.item-info p {
  color: #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .store-grid {
    flex-direction: column;
    align-items: center;
  }

  .store-item {
    max-width: 90%;
  }
}
