@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=Silkscreen&display=swap');


:root, [data-md-color-scheme="default"] {
  --md-text-font: 'Outfit', sans-serif;
  --md-code-font: 'Roboto Mono', monospace;
  font-family: 'Outfit', sans-serif !important;

  --md-primary-color: #0c1b0c !important;
  --md-primary-color--dark: #000000 !important;
  --md-accent-color: #2ecc71 !important;

  --md-default-bg-color: #0d110d !important;
  --md-default-bg-color--light: #141a14 !important;
  --md-default-fg-color: #ecfdf5 !important;
  --md-default-fg-color--light: #a7f3d0 !important;

  --md-card-bg-color: #141a14 !important;
  --md-card-bg-color--active: #1e291e !important;
  --md-code-bg-color: #111611 !important;

  --md-typeset-border-color: rgba(46, 204, 113, 0.15) !important;
}


::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0d110d;
}
::-webkit-scrollbar-thumb {
  background: #1e2d1f;
  border-radius: 4px;
  border: 1px solid #2d4530;
}
::-webkit-scrollbar-thumb:hover {
  background: #2ecc71;
}


h1, h2, h3, h4, h5, h6, .md-nav__title, .md-header__topic, .md-nav__link--active {
  font-family: 'Silkscreen', monospace !important;
  font-weight: normal !important;
  letter-spacing: 0.8px;
}

h1 {
  color: #4ade80 !important;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.9);
  border-bottom: 2px dashed rgba(46, 204, 113, 0.4) !important;
  padding-bottom: 12px;
  margin-top: 1.5em !important;
  margin-bottom: 1em !important;
}

h2 {
  color: #a7f3d0 !important;
  text-shadow: 1.5px 1.5px 0px rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(46, 204, 113, 0.15);
  padding-bottom: 6px;
  margin-top: 1.8em !important;
}

h3 {
  color: #2ecc71 !important;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
}


.md-nav__link {
  transition: transform 0.2s ease, color 0.2s ease, padding-left 0.2s ease !important;
}
.md-nav__link:hover {
  color: #4ade80 !important;
  transform: translateX(4px);
}


.md-typeset .admonition, .md-typeset details {
  background-color: #141a14 !important;
  border-left: 4px solid var(--md-accent-color) !important;
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.02) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.02) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}


.md-typeset pre {
  background-color: #0d110d !important;
  border: 1px solid rgba(46, 204, 113, 0.15) !important;
  border-radius: 4px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}


.md-typeset :not(pre) > code {
  color: #4ade80 !important;
  background-color: #111611 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(46, 204, 113, 0.25) !important;
  font-size: 0.85em !important;
  font-weight: 500 !important;
}

.md-typeset strong :not(pre) > code {
  color: #4ade80 !important;
  font-weight: 700 !important;
}


.mc-recipe {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #c6c6c6 !important;
  padding: 12px;
  border: 4px solid #373737;
  border-color: #dfdfdf #555555 #555555 #dfdfdf;
  border-radius: 2px;
  width: fit-content;
  margin-bottom: 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.mc-grid {
  display: grid;
  grid-template-columns: repeat(3, 36px);
  gap: 4px;
}

.mc-slot {
  width: 36px;
  height: 36px;
  background: #8b8b8b !important;
  border: 2px solid;
  border-color: #373737 #ffffff #ffffff #373737;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.1s ease;
}

.mc-slot img {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.mc-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-arrow img {
  width: 28px;
  height: auto;
  image-rendering: pixelated;
  filter: brightness(0.28) drop-shadow(1px 1px 0px rgba(0, 0, 0, 0.4));
}

.mc-result {
  width: 56px;
  height: 56px;
  background: #8b8b8b !important;
  border: 2px solid;
  border-color: #373737 #ffffff #ffffff #373737;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s ease;
}

.mc-result img {
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
}

.mc-slot:hover, .mc-result:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  box-shadow: inset 2px 2px 4px rgba(255, 255, 255, 0.2);
}

.mc-slot[data-title]:hover::after, .mc-result[data-title]:hover::after {
  content: attr(data-title);
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  
  background: rgba(16, 0, 16, 0.94) !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 6px 12px;
  border-radius: 4px;
  border: 2px solid #1b4332 !important;
  box-shadow: 0 0 0 2px rgba(16, 0, 16, 0.94), 0 0 10px #2ecc71, 0 8px 24px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.6);
  animation: tooltipFadeIn 0.12s ease-out;
}

.mc-result[data-title]:hover::after {
  bottom: 64px;
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 4px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}


.md-header {
  background-color: rgba(12, 27, 12, 0.7) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(46, 204, 113, 0.15) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
}


.wiki-portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.wiki-portal-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #141a14 !important;
  border: 1px solid rgba(46, 204, 113, 0.15) !important;
  border-radius: 8px;
  text-decoration: none !important;
  color: #ecfdf5 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wiki-portal-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: #4ade80 !important;
  box-shadow: 0 8px 24px rgba(46, 204, 113, 0.25), 0 0 10px rgba(74, 222, 128, 0.15);
  background: #1e291e !important;
}

.wiki-portal-card .card-icon {
  font-size: 32px;
  line-height: 1;
  padding-top: 2px;
}

.wiki-portal-card .card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wiki-portal-card h3 {
  margin: 0 !important;
  padding: 0 !important;
  color: #a7f3d0 !important;
  font-family: 'Silkscreen', monospace !important;
  font-size: 15px !important;
  font-weight: normal !important;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
  border: none !important;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
}

.wiki-portal-card:hover h3 {
  color: #4ade80 !important;
}

.wiki-portal-card p {
  margin: 0 !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px !important;
  color: #a7f3d0 !important;
  line-height: 1.4 !important;
}


.trinket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.trinket-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #141a14 !important;
  border: 1px solid rgba(46, 204, 113, 0.15) !important;
  border-radius: 8px;
  text-decoration: none !important;
  color: #ecfdf5 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease-in-out;
}

.trinket-card:hover {
  transform: translateY(-3px);
  border-color: #4ade80 !important;
  background: #1e291e !important;
  box-shadow: 0 8px 16px rgba(46, 204, 113, 0.2);
}

.trinket-card img {
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
  margin-bottom: 8px;
}

.trinket-card span {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
  color: #a7f3d0;
  transition: color 0.2s ease;
}

.trinket-card:hover span {
  color: #4ade80;
}


.creeper-selector-container {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.creeper-selector-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 16px;
  background: rgba(20, 26, 20, 0.6) !important;
  border: 1px solid rgba(46, 204, 113, 0.15) !important;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.creeper-selector-slot {
  width: 56px;
  height: 56px;
  background: #141a14 !important;
  border: 2px solid rgba(46, 204, 113, 0.15) !important;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.creeper-selector-slot img {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  transition: transform 0.2s ease;
}

.creeper-selector-slot:hover {
  transform: translateY(-2px);
  background: #1e291e !important;
}

.creeper-selector-slot:hover img {
  transform: scale(1.1);
}

.creeper-selector-slot.active {
  background: #1e291e !important;
  transform: scale(1.05);
  box-shadow: 0 0 12px var(--theme-color, #2ecc71);
}


.creeper-selector-slot::after {
  content: attr(data-title);
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  z-index: 1000;
  background: rgba(16, 0, 16, 0.94) !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 6px 12px;
  border-radius: 4px;
  border: 2px solid var(--theme-color, #1b4332) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.creeper-selector-slot:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


.creeper-details-panel {
  background: rgba(20, 26, 20, 0.75) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(46, 204, 113, 0.15) !important;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  min-height: 250px;
  opacity: 0;
  transform: translateY(10px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.creeper-details-panel.visible {
  opacity: 1;
  transform: translateY(0);
}

.creeper-details-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px dashed rgba(46, 204, 113, 0.2);
  padding-bottom: 12px;
}

.creeper-details-header h3 {
  margin: 0 !important;
  font-size: 20px !important;
  color: var(--theme-color, #2ecc71) !important;
  text-shadow: 
    -1px -1px 0 rgba(255, 255, 255, 0.4),  
     1px -1px 0 rgba(255, 255, 255, 0.4),
    -1px  1px 0 rgba(255, 255, 255, 0.4),
     1px  1px 0 rgba(255, 255, 255, 0.4),
     2px  2px 0px rgba(0, 0, 0, 0.9);
}

.creeper-details-header img {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
}

.creeper-details-content {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
}

.creeper-details-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 16, 16, 0.4);
  border: 2px solid rgba(46, 204, 113, 0.1);
  border-radius: 8px;
  padding: 16px;
  flex: 0 0 120px;
  height: 120px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.creeper-details-image-container img {
  width: 96px;
  height: 96px;
  image-rendering: pixelated;
}

.creeper-details-stats {
  flex: 1 1 250px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.creeper-stat-card {
  background: rgba(20, 30, 20, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.02);
  padding: 10px 14px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.creeper-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #a7f3d0;
  opacity: 0.7;
}

.creeper-stat-value {
  font-size: 14px;
  font-weight: 500;
  color: #ecfdf5;
}

.creeper-stat-value code {
  color: #4ade80 !important;
  background: rgba(0, 0, 0, 0.2) !important;
  border: none !important;
  font-size: 13px !important;
}


.md-typeset table code {
  white-space: nowrap;
}

