.chrome-gradient-title {
  background: url('art/Chrome Gradient.png') left center no-repeat;
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}
/* Reusable search bar input style with editable colors */
.modern-searchbar-input {
  width: 100%;
  height: 36px;
  padding: 0 16px 0 44px;
  border-radius: 13px;
  border: 1.5px solid #3A3069;
  background: #252046;
  color: #B7B9D3;
  font-size: 1.08em;
  font-family: 'Inter','Montserrat','Segoe UI',Arial,sans-serif;
  outline: none;
}
/* Custom page title styling for user control */
.page-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 7rem 0 5rem 0; /* User can change these values */
  padding: 0;           /* User can change these values */
  display: block;
  user-select: none;
  line-height: 1.1;
}
/* Reusable style for sort/filter button (gods page) */
.sort-filter-btn {
  height: 40px;
  width: 40px;
  background: #252046;
  border: 1.5px solid #3A3069;
  border-radius: 14px;
  padding: 0;
  margin-left: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.sort-filter-btn:hover {
  background: #252046;
}
html, body, .content-wrapper, .section, #gods-section, #gods-gallery, .gods-grid {
  box-sizing: border-box !important;
}
.gods-grid {
  outline: none !important;
  background: transparent !important;
  overflow: visible !important;
}
#gods-gallery {
  background: transparent !important;
  max-width: 1200px;
  margin: 0 auto;
  outline: none !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-right: 0 !important;
  overflow: visible !important;
}
/* Debug: purple outline for gods-section */
#gods-section {
  background: transparent !important;
  outline: none !important;
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  padding-top: 16px !important;
  padding-bottom: 32px !important;
  overflow: visible !important;
  padding-left: 80px !important;
  padding-right: 32px !important;
}
.new-tag-anim, .floating-new { z-index: 10 !important; }
#newsSortFilterMenu { z-index: 99999 !important; outline: none !important; }
/* Custom scrollbar for sort/filter menu */
#itemsSortFilterMenu::-webkit-scrollbar {
  width: 12px;
  background: none;
#itemsSortFilterMenu::-webkit-scrollbar-thumb {
  background: #d1b97a;
  border-radius: 6px;
  /* border: 1px solid #333; */
  /* border-radius: 8px; */
  /* box-shadow: 0 0 8px rgba(0,0,0,0.4); */
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  background-color: #222a44 !important;
  border: 2px solid #ffd47b;
}
#itemsSortFilterMenu::-webkit-scrollbar-track {
  background: #222;
}
/* Ensure filter bar rows and icons are spaced and sized correctly on gods page */
.filter-bar-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  align-items: center;
  width: 100%;
  background: transparent;
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: auto;
}
.filter-bar {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  overflow-y: visible;
  margin-bottom: 0.25rem;
  padding: 0.5rem 0 0.5rem 0;
  width: 100%;
  background: transparent;
  box-sizing: border-box;
  max-width: 100%;
}
.tag-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Item card hover effect matches god icon glow, no enlargement */
.item-card img {
  transition: box-shadow 0.18s;
}
.item-card:hover img,
.item-card:focus img {
  box-shadow: 0 0 16px 4px #AAD3DD, 0 0 32px 8px #AAD3DD99;
}
/* Ensure footer-desc text is the same blue as on the Gods page */
.footer-desc {
  margin: 0.5rem 0 0.7rem 0;
  color: #b6eaff;
  font-size: 1.02rem;
}
/* Footer text and link styles from footer.html */
.footer-copyright {
  color: #6e7a8a;
  font-size: 0.98em;
  margin-top: 0.7em;
}
.footer-disclaimer {
  color: #6e7a8a;
  font-size: 0.98em;
  margin-top: 0.7em;
}
.footer-explore {
  min-width: 180px;
  margin-top: 0.2rem;
}
.footer-explore-title {
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.7em;
  font-size: 1.08em;
}
 .section {
  z-index: auto;
  background: #181d22;
  border: 1px solid #333;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  overflow: visible;
  background-color: rgba(24,29,34,0.82);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
    align-items: flex-start;
  }
  .footer-explore {
    margin-top: 1.5rem;
  }

/* Footer styles extracted from footer.html */
.site-footer {
  color: #eaf6fb;
  padding: 0;
  margin-top: 0;
  font-size: 1rem;
  width: 100%;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin-left: 64px !important;
  margin-right: 0 !important;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-left: 48px !important;
  padding-right: 48px !important;
  padding-top: 120px !important;
  padding-bottom: 80px !important;
}
.footer-brand {
  min-width: 260px;
  max-width: 420px;
}
.footer-logo {
  margin-bottom: 0.5rem;
}
.footer-logo-img {
  height: 2.2rem;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px #00000088);
  margin-right: 0;
}
.footer-logo-genesis {
  font-size: 1.4rem;
  font-family: 'Segoe UI', 'Arial Black', Impact, sans-serif;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  display: block;
  position: relative;
  top: -0.15rem;
  background: linear-gradient(90deg, #ff6ec4 0%, #6ecaff 100%);
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px #fff6, 0 0 12px #fff8;
}
.footer-desc,
.footer-copyright,
.footer-disclaimer {
  font-family: sans-serif;
  font-weight: 400;
}
/* Extracted header styles from index.html for Home page test */


.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #181d22;
  /* border-bottom: 2px solid #222b33; */
  padding: 1rem 2.5rem;
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 #0007, 0 1.5px 0 #222b33;
  max-width: 1200px;
  width: 100%;
  min-width: 320px;
  z-index: 2147483647;
@media (max-width: 700px) {
  .site-header {
    left: 50%;
    transform: translateX(-50%);
    width: 98vw;
    min-width: unset;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 10px;
  }
}
}
.logo-img {
  height: 3.2rem;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px #00000088);
  margin-right: 0.2rem;
}
.logo-genesis {
  font-size: 2rem;
  font-family: 'Segoe UI', 'Arial Black', Impact, sans-serif;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  display: block;
  position: relative;
  top: -0.15rem;
  background: linear-gradient(90deg, #ff6ec4 0%, #6ecaff 100%), url('art/crystal-gradient.png');
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px #fff6, 0 0 12px #fff8;
}
.nav-links {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.8rem;
}
.nav-links a {
  margin-left: 0;
  margin-right: 0;
  color: #b6eaff;
  text-decoration: none;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  font-size: 0.97rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.18s cubic-bezier(.4,0,.2,1), text-shadow 0.18s cubic-bezier(.4,0,.2,1);
  text-shadow: 0 1px 2px #000a;
}
.nav-links a:hover {
  color: #ffd700;
  text-shadow: 0 0 8px #ffd70088, 0 1.5px 0 #222b33;
}
.content-wrapper {
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  padding-top: 16px !important;
  padding-bottom: 0 !important;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  outline: none !important;
  padding-left: 80px !important;
  padding-right: 32px !important;
}
.section, .sort-section, .common-section, .role-section, .pantheon-section {
  outline: none !important;
}
* {
  outline: none !important;
}
.debug-info {
  display: none !important;
}
.gods-controls {
  outline: none !important;
}
#gods-gallery, .gods-grid {
  /* background removed to allow pink debug background */
  outline: none !important;
    /* Removed flexbox for proper centering */
}

.gods-grid {
  /* background removed to allow pink debug background */
  outline: none !important;
  display: flex;
  flex-wrap: wrap;
  gap: 1.27343rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gods-grid:not(.card-view) {
  justify-content: flex-start;
}
.gods-grid.card-view {
  justify-content: center;
}
.section, #gods-gallery, .gods-grid {
  box-sizing: border-box !important;
  overflow: visible !important;
}
/* Custom Chrome Gradient border for god tooltips */
.custom-chrome-border {
  position: relative;
  box-sizing: border-box;
  overflow: visible;
  padding: 18px !important;
}
.custom-chrome-border::before, .custom-chrome-border::after,
.custom-chrome-border .chrome-border-left, .custom-chrome-border .chrome-border-right {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 100;
  border-radius: 0 !important;
}
.custom-chrome-border::before {
  top: 0; left: 0; right: 0; height: 2px;
  background: url('art/Chrome Border (Top).png') repeat-x;
  background-size: cover;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  z-index: 201;
  position: absolute;
}
.custom-chrome-border::after {
  bottom: 0; left: 0; right: 0; height: 2px;
  background: url('art/Chrome Border (Bottom).png') repeat-x;
  background-size: cover;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  position: absolute;
}
.custom-chrome-border .chrome-border-left {
  top: 0; left: 0; bottom: 0; width: 2px;
  background: url('art/Chrome Border (Left).png') repeat-y;
  background-size: cover;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  height: 100%;
  min-height: 100%;
  position: absolute;
}
.custom-chrome-border .chrome-border-right {
  top: 0; right: 0; bottom: 0; width: 2px;
  background: url('art/Chrome Border (Right).png') repeat-y;
  background-size: cover;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  height: 100%;
  min-height: 100%;
  position: absolute;
}
/* Ensure all tooltip borders stretch perfectly and match the container size */
.custom-chrome-border {
  position: relative;
  box-sizing: border-box;
  overflow: visible;
  padding: 18px !important;
}
.custom-chrome-border::before,
.custom-chrome-border::after {
  width: 100%;
  min-width: 100%;
  left: 0;
  right: 0;
  position: absolute;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-sizing: border-box;
}
.custom-chrome-border .chrome-border-left,
.custom-chrome-border .chrome-border-right {
  height: 100%;
  min-height: 100%;
  top: 0;
  bottom: 0;
  position: absolute;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-sizing: border-box;
}
