* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #4a9eff #0a0a0a;
}

body {
  font-family: "Courier New", monospace;
  background: #0a0a0a;
  color: #c0c0c0;
  line-height: 1.6;
  overflow-x: hidden;
}

h3 {
  scroll-margin-top: 300px;
}

h2 {
  scroll-margin-top: 250px;
} 

/* table thing that im defs gonna use more than once (spoilers: i didnt) */
th, td{
      border: 1px solid #97cef3;
      padding: 0.5rem;
      text-align: center;
      word-wrap: break-word;

}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: #4a9eff;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Header */
header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-bottom: 2px solid #333;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #4a9eff;
  text-shadow: 0 0 10px rgba(74, 158, 255, 0.3);
}

.search-box {
  background: #333;
  border: 1px solid #555;
  padding: 8px 12px;
  border-radius: 4px;
  color: #c0c0c0;
  width: 250px;
}

.search-box:focus {
  outline: none;
  border-color: #4a9eff;
  box-shadow: 0 0 5px rgba(74, 158, 255, 0.3);
}

/* Navigation */
nav {
  background: #1a1a1a;
  padding: 15px 0;
  border-bottom: 1px solid #333;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: #c0c0c0;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: #4a9eff;
  color: #000;
  box-shadow: 0 0 10px rgba(74, 158, 255, 0.3);
}

/* Main Content */
main {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  padding: 30px 0;
  min-height: calc(100vh - 200px);
}

/* Sidebar */
.sidebar {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #333;
  height: fit-content;
  position: sticky;
  top: 120px;
}

.sidebar h3 {
  color: #4a9eff;
  margin-bottom: 15px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 8px;
}

.sidebar a {
  color: #c0c0c0;
  text-decoration: none;
  padding: 5px 0;
  display: block;
  transition: color 0.3s ease;
}

.sidebar a.inactive {
  color: #3d3d3d;
  text-decoration: none;
  padding: 5px 0;
  display: block;
  transition: color 0.3s ease;
}

.sidebar a:hover {
  color: #4a9eff;
  padding-left: 10px;
}

/* Content Area */
.content {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #333;
}

.content h1 {
  color: #4a9eff;
  font-size: 32px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(74, 158, 255, 0.2);
}

.content h2 {
  color: #66ccff;
  font-size: 24px;
  margin: 30px 0 15px 0;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
}

.content h3 {
  color: #88ddff;
  font-size: 18px;
  margin: 20px 0 10px 0;
  
}

.content p {
  margin-bottom: 15px;
  text-align: justify;
}

/* Special Elements */
.warning-box {
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid #4a9eff;
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
  border-left: 4px solid #4a9eff;
}

.info-box {
  background: rgba(102, 204, 255, 0.1);
  border: 1px solid #66ccff;
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
  border-left: 4px solid #66ccff;
}

.code-block {
  background: #0d1117;
  border: 1px solid #333;
  padding: 15px;
  margin: 15px 0;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  overflow-x: auto;
  color: #4a9eff;
}

.mystery-text {
  color: #4a9eff;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(74, 158, 255, 0.3);
}

.hidden-text {
  background: #333;
  color: #333;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hidden-text:hover {
  color: #c0c0c0;
  background: #555;
}

/* Added quote box component for nothing_left entity quotes */
.quote-box {
  background: rgba(74, 158, 255, 0.08);
  border: 1px solid #4a9eff;
  border-left: 4px solid #4a9eff;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  position: relative;
  font-style: italic;
  box-shadow: 0 2px 8px rgba(74, 158, 255, 0.1);
}

.quote-box::before {
  content: '"';
  font-size: 48px;
  color: #4a9eff;
  position: absolute;
  top: -5px;
  left: 10px;
  opacity: 0.3;
  font-family: serif;
}

.quote-box .quote-text {
  color: #88ddff;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 8px;
  padding-left: 20px;
}

.quote-box .quote-author {
  color: #4a9eff;
  font-size: 14px;
  text-align: right;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(74, 158, 255, 0.2);
}

.quote-box .quote-author::before {
  content: "— ";
  color: #66ccff;
}

/* Added entity portrait component for ARG-style documentation photos */
.entity-portrait {
  background: #0d0d0d;
  border: 2px solid #333;
  border-radius: 8px;
  padding: 12px;
  margin: 20px 0;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.entity-portrait::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 48%,
    rgba(74, 158, 255, 0.1) 49%,
    rgba(74, 158, 255, 0.1) 51%,
    transparent 52%
  );
  pointer-events: none;
  animation: scanline 3s linear infinite;
}

@keyframes scanline {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(300px);
  }
}

.entity-portrait img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  filter: contrast(1.1) brightness(0.9) sepia(0.1);
  transition: filter 0.3s ease;
}

.entity-portrait:hover img {
  filter: contrast(1.2) brightness(1.0) sepia(0.2);
}

.portrait-caption {
  background: rgba(74, 158, 255, 0.1);
  border-top: 1px solid #4a9eff;
  padding: 8px 12px;
  margin: 8px -12px -12px -12px;
  font-size: 12px;
  color: #88ddff;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portrait-metadata {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #666;
  margin-top: 4px;
}
/* new moon portrait cuz like it has to happen eventually */

.moon-profile{
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 25px 0;
  padding: 20px;
  background: rgba(74, 158, 255, 0.05);
  border: 1px solid #333;
  border-radius: 12px;
  border-left: 4px solid #4a9eff;
  cursor: pointer;
  transition: all 0.3s ease;
}



/* Added integrated entity profile component that combines portrait, name, and quote */
.entity-profile {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 25px 0;
  padding: 20px;
  background: rgba(74, 158, 255, 0.05);
  border: 1px solid #333;
  border-radius: 12px;
  border-left: 4px solid #4a9eff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.entity-profile:hover {
  background: rgba(74, 158, 255, 0.08);
  border-color: #4a9eff;
  box-shadow: 0 0 15px rgba(74, 158, 255, 0.2);
  transform: translateY(-2px);
}

.entity-profile:hover .entity-profile-name {
  text-shadow: 0 0 12px rgba(136, 221, 255, 0.5);
}

.entity-profile-main {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.entity-profile .entity-portrait {
  margin: 0;
  flex-shrink: 0;
  max-width: 200px;
}

.entity-profile-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.entity-profile-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.entity-profile-name {
  color: #88ddff;
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 0 8px rgba(136, 221, 255, 0.3);
}

.entity-profile .quote-box {
  margin: 0;
  background: rgba(74, 158, 255, 0.12);
  border-left: 3px solid #88ddff;
}

@media (max-width: 768px) {
  .entity-profile-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .entity-profile-header {
    flex-direction: column;
    gap: 10px;
  }
}

/* Added event profile system similar to entity profiles but adapted for events */
.event-profile {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 25px 0;
  padding: 20px;
  background: rgba(74, 158, 255, 0.05);
  border: 1px solid #333;
  border-radius: 12px;
  border-left: 4px solid #66ccff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.event-profile:hover {
  background: rgba(74, 158, 255, 0.08);
  border-color: #66ccff;
  box-shadow: 0 0 15px rgba(102, 204, 255, 0.2);
  transform: translateY(-2px);
}

.event-profile:hover .event-profile-name {
  text-shadow: 0 0 12px rgba(102, 204, 255, 0.5);
}

.event-profile-main {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.event-screenshot {
  background: #0d0d0d;
  border: 2px solid #333;
  border-radius: 8px;
  padding: 12px;
  max-width: 200px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.event-screenshot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 48%,
    rgba(102, 204, 255, 0.1) 49%,
    rgba(102, 204, 255, 0.1) 51%,
    transparent 52%
  );
  pointer-events: none;
  animation: scanline 4s linear infinite;
}

.event-screenshot img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  filter: contrast(1.1) brightness(0.9) sepia(0.1);
  transition: filter 0.3s ease;
  max-width: 200px;
  align-items: center;
}

.event-screenshot:hover img {
  filter: contrast(1.2) brightness(1.0) sepia(0.2);
}

.modal-screenshot-image{
  width: 400px;
  border-radius: 4px;
  filter: contrast(1.1) brightness(0.9) sepia(0.1);
  transition: filter 0.3s ease;
  max-width: 100%;
}

.screenshot-caption {
  background: rgba(102, 204, 255, 0.1);
  border-top: 1px solid #66ccff;
  padding: 8px 12px;
  margin: 8px -12px -12px -12px;
  font-size: 12px;
  color: #88ddff;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-profile-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.event-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.event-profile-name {
  color: #66ccff;
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 0 8px rgba(102, 204, 255, 0.3);
}

.event-frequency {
  background: rgba(74, 158, 255, 0.2);
  border: 1px solid #4a9eff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  color: #4a9eff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.event-profile .quote-box {
  margin: 0;
  background: rgba(102, 204, 255, 0.12);
  border-left: 3px solid #88ddff;
}

@media (max-width: 768px) {
  .event-profile-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .event-profile-header {
    flex-direction: column;
    gap: 10px;
  }

  .event-screenshot {
    max-width: 100%;
  }
}

/* Footer */
footer {
  background: #1a1a1a;
  border-top: 1px solid #333;
  padding: 20px 0;
  text-align: center;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  main {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 15px;
  }

  .header-content {
    flex-direction: column;
    gap: 15px;
  }
}

/* Glitch effect for special elements (looks kinda meh or maybe even ass tbh) */
.glitch {
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.3);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: modalFadeIn 0.3s ease-out;
  overflow: hidden; /* Added to contain scanning line within modal */
}

.modal.active {
  display: flex;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Added holographic modal overlay system for detailed entity information (and later on even events but i forgor lol) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.3);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: modalFadeIn 0.3s ease-out;
}

.modal-overlay.active {
  display: flex;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
  
    backdrop-filter: blur(8px);
  }
}

.modal-content {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
  border: 2px solid #4a9eff;
  border-radius: 16px;
  max-width: 90vw;
  max-height: 90vh;
  width: 800px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 30px rgba(74, 158, 255, 0.4), inset 0 0 20px rgba(74, 158, 255, 0.1);
  animation: modalSlideIn 0.4s ease-out;
}

.modal-body {
  padding: 30px;
  display: flex;
  gap: 30px;
  
  padding-right: 20px; 
  max-height: calc(95vh - 100px);
  overflow-y: auto;
  padding-bottom: 80px;
}
.modal-body-events {
  padding: 30px;
  gap: 30px; 
  padding-right: 20px; 
  max-height: calc(95vh - 100px);
  overflow-y: auto;
  padding-bottom: 80px;
}


.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid #4a9eff;
  background: rgba(74, 158, 255, 0.1);
}

.modal-header h2 {
  color: #88ddff;
  font-size: 28px;
  margin: 0;
  text-shadow: 0 0 15px rgba(136, 221, 255, 0.5);
  font-family: "Courier New", monospace;
}

.modal-close {
  background: none;
  border: 2px solid #4a9eff;
  color: #4a9eff;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #4a9eff;
  color: #000;
  box-shadow: 0 0 15px rgba(74, 158, 255, 0.6);
  transform: rotate(90deg);
}

.modal-portrait {
  flex-shrink: 0;
  width: 250px;
}

.modal-portrait img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid #4a9eff;
  filter: contrast(1.2) brightness(0.9) sepia(0.2);
  box-shadow: 0 0 20px rgba(74, 158, 255, 0.3);
}

.modal-portrait-caption {
  background: rgba(74, 158, 255, 0.2);
  border: 1px solid #4a9eff;
  padding: 10px;
  margin-top: 10px;
  border-radius: 4px;
  font-size: 12px;
  color: #88ddff;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.modal-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-quote {
  background: rgba(74, 158, 255, 0.15);
  border: 1px solid #4a9eff;
  border-left: 4px solid #66ccff;
  border-radius: 8px;
  padding: 20px;
  font-style: italic;
  color: #88ddff;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.modal-quote::before {
  content: '"';
  font-size: 48px;
  color: #4a9eff;
  position: absolute;
  top: -5px;
  left: 10px;
  opacity: 0.3;
  font-family: serif;
}

/* Added specific styling for modal quote text and author */
.modal-quote .quote-text {
  flex: 1;
  padding-left: 20px;
  margin: 0;
}

.modal-quote .quote-author {
  color: #4a9eff;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(74, 158, 255, 0.2);
  white-space: nowrap;
}

.modal-quote .quote-author::before {
  content: "— ";
  color: #66ccff;
}

.modal-description {
  color: #c0c0c0;
  line-height: 1.6;
  font-size: 16px;
}

.modal-info {
  background: rgba(102, 204, 255, 0.1);
  border: 1px solid #66ccff;
  border-radius: 8px;
  padding: 20px;
  font-family: "Courier New", monospace;
  font-size: 14px;
}

.modal-main {
  max-height: calc(95vh - 150px);
  overflow-y: auto;
}

.modal-extended-info {
  background: rgba(74, 158, 255, 0.05);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  margin-top: 10px;
  margin-bottom: -10px;
}

.modal-extended-info h4 {
  color: #66ccff;
  margin-bottom: 15px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive modal design */
@media (max-width: 768px) {
  .modal-content {
    width: 95vw;
    max-height: 95vh;
  }

  .modal-body {
    flex-direction: column;
    padding: 20px;
    max-height: calc(95vh - 100px);
    overflow-y: auto;
    margin-bottom: -10px;
    gap: 20px;
  }

  .modal-portrait {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-header h2 {
    font-size: 24px;
  }
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
  border-radius: 6px;
  border: 1px solid #333;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #4a9eff 0%, #66ccff 100%);
  border-radius: 6px;
  border: 1px solid #333;
  box-shadow: 0 0 8px rgba(74, 158, 255, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #66ccff 0%, #88ddff 100%);
  box-shadow: 0 0 12px rgba(74, 158, 255, 0.5);
}

::-webkit-scrollbar-corner {
  background: #0a0a0a;
}



@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Discord Widget Styles */
.discord-widget {
  background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.3);
  color: white;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.discord-logo {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.server-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.server-name {
  font-weight: 700;
  font-size: 18px;
  color: white;
  line-height: 1.2;
}

.discord-text {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.user-count {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.widget-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.join-button {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 200px;
}

.join-button:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.server-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: none;
}

.server-icon-alt {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  clip-path: circle(50%);
}

.search-container {
  position: relative;
  display: inline-block;
  width: 250px;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  margin-top: 5px;
  padding: 5px 0;
  list-style: none;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: none	;
}

.search-results li {
  padding: 10px 15px;
  border-bottom: 1px solid #333;
}

.search-results li:last-child {
  border-bottom: none;
}

.search-results a {
  color: #c0c0c0;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.search-results a:hover {
  background: rgba(74, 158, 255, 0.2);
  color: #4a9eff;
  text-shadow: 0 0 5px rgba(74, 158, 255, 0.4);
}

/* very late spoiler additions for a spoiler section like the boss(es) */
.entity-spoiler-wrapper {
  position: relative;
  margin: 25px 0;
  padding-top: 20px;
  padding-bottom: 20px;
}

.entity-spoiler-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.3);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.5s ease;
}

.entity-spoiler-overlay.revealed {
  opacity: 0;
  pointer-events: none;
}

.spoiler-warning {
  text-align: center;
  align-items: center;
  padding: 40px;
  background: rgba(74, 158, 255, 0.1);
  border: 2px solid #4a9eff;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(74, 158, 255, 0.3);
}

.spoiler-warning p{
  text-align: center;
}

.spoiler-icon {
  font-size: 48px;
  margin-bottom: 15px;
  animation: pulse 2s infinite;
}

.spoiler-warning h4 {
  color: #ff4444;
  font-size: 24px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.spoiler-warning p {
  color: #88ddff;
  font-size: 16px;
  margin-bottom: 20px;
}

.spoiler-reveal-btn {
  background: linear-gradient(135deg, #4a9eff 0%, #66ccff 100%);
  border: 2px solid #88ddff;
  color: #000;
  font-family: "Courier New", monospace;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(74, 158, 255, 0.3);
}

.spoiler-reveal-btn:hover {
  background: linear-gradient(135deg, #66ccff 0%, #88ddff 100%);
  box-shadow: 0 0 25px rgba(74, 158, 255, 0.6);
  transform: scale(1.05);
}

.spoiler-reveal-btn:active {
  transform: scale(0.98);
}

.entity-profile.spoiler-hidden {
  filter: blur(15px);
  pointer-events: none;
  user-select: none;
}

.entity-profile.spoiler-revealed {
  filter: blur(0);
  pointer-events: auto;
  user-select: auto;
  animation: spoilerReveal 0.8s ease-out;
}

.modal-extended-content {
  margin-bottom: 30px;
}

.modal-extended-content:last-child {
  margin-bottom: 0;
}