/* ==========================================================================
   TOONEXY HALL OF FAME CSS — Specifični stilovi za Hall of Fame
   ========================================================================== */

.toonexyDocs {
  width: min(100%, 980px);
  position: relative;
  margin: 30px auto 20px;
  padding: clamp(26px, 5vw, 52px);
  overflow: hidden;
  border: 5px solid #171717;
  background: radial-gradient(rgba(23, 23, 23, 0.12) 1px, transparent 1px), #fffdf5;
  background-size: 8px 8px;
  box-shadow: 10px 10px 0 #171717, 20px 20px 0 #e5322d;
}

.toonexyDocs::before,
.toonexyDocs::after {
  position: absolute;
  z-index: 0;
  width: 130px;
  height: 130px;
  border: 5px solid #171717;
  content: "";
  opacity: 0.95;
}

.toonexyDocs::before {
  top: -72px;
  left: -62px;
  background: #ffd52e;
  transform: rotate(19deg);
}

.toonexyDocs::after {
  right: -62px;
  bottom: -72px;
  background: #3d8ee8;
  transform: rotate(19deg);
}

.toonexyDocs > * {
  position: relative;
  z-index: 1;
}

.docsHero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 auto 26px;
}

.docsLogoLink {
  display: inline-block;
  border-radius: 28%;
  line-height: 0;
}

.docsLogoLink:focus-visible {
  outline: 3px solid #3d8ee8;
  outline-offset: 5px;
}

.docsLogo {
  display: block;
  width: 112px;
  height: 112px;
  border: 4px solid #171717;
  border-radius: 28%;
  object-fit: cover;
  box-shadow: 5px 5px 0 #171717;
  transform: rotate(-4deg);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.docsLogoLink:hover .docsLogo {
  transform: translate(3px, 3px) rotate(-4deg);
  box-shadow: 2px 2px 0 #171717;
}

.docsHeroText {
  max-width: 540px;
}

.docsBurst {
  display: inline-block;
  margin-bottom: 15px;
  padding: 7px 13px;
  border: 3px solid #171717;
  background: #ffd52e;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  transform: rotate(-4deg);
}

.docsKicker {
  margin: 0 0 13px;
  color: #e5322d;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
}

#docsTitle {
  margin: 0;
  color: #171717;
  font-size: clamp(32px, 6vw, 64px);
  font-style: italic;
  font-weight: 950;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 3px 3px 0 #ffd52e, 6px 6px 0 #e5322d;
  text-transform: uppercase;
}

.docsIntro {
  max-width: 700px;
  margin: 27px auto 32px;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.docsCaption {
  margin: 27px 0 0;
  color: #555555;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-align: center;
}

.docsBackLink {
  display: block;
  width: fit-content;
  margin: 22px auto 0;
  color: #171717;
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.docsBackLink:hover {
  color: #e5322d;
}

.docsBackLink:focus-visible {
  outline: 3px solid #3d8ee8;
  outline-offset: 3px;
}

/* Hall of Fame specifične klase */
.hallList { display: grid; gap: 20px; }
.avatarCard { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 22px; align-items: center; min-width: 0; padding: 18px; border: 4px solid #171717; background: #fff; box-shadow: 6px 6px 0 #171717; }
.avatarCard:nth-child(3n+1) { background: #fff4b1; }
.avatarCard:nth-child(3n+2) { background: #e0efff; }
.avatarCard:nth-child(3n) { background: #e1f5dd; }
.avatarLink { display: block; width: 100%; line-height: 0; }
.avatarLink:hover img { border-color: #e5322d; }
.avatarLink:focus-visible { outline: 3px solid #3d8ee8; outline-offset: 5px; }
.avatarCard img { display: block; width: 100%; height: 185px; object-fit: contain; background: #fff; border: 3px solid #171717; }
.avatarCard h2 { margin: 0 0 12px; font-size: clamp(22px,3vw,32px); text-transform: uppercase; overflow-wrap: anywhere; }
.avatarCard p { margin: 0; font-size: 16px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }

@media (max-width: 700px) {
  .toonexyDocs { margin-top: 18px; padding: 20px 12px; }
  .docsHero { flex-direction: column; gap: 16px; text-align: center; }
  .docsHeroText { max-width: 100%; }
  #docsTitle { letter-spacing: -1px; }
  .avatarCard { grid-template-columns: 100px minmax(0,1fr); gap: 12px; padding: 10px; }
  .avatarCard img { height: 120px; }
  .avatarCard p { font-size: 14px; }
}

@media (max-width: 360px) {
  .avatarCard { grid-template-columns: 1fr; }
  .avatarCard img { width: 130px; height: 130px; margin: 0 auto; }
}