
@font-face {
  font-family: 'Monocraft';
  src: url('https://github.com/IdreesInc/Monocraft/releases/download/v3.0/Monocraft.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #fff8f2;
  --surface-2: #fff1e6;
  --text: #26180f;
  --muted: #7b4b31;
  --accent: #ff6a00;
  --accent-strong: #da4d00;
  --line: rgba(255, 106, 0, 0.28);
  --line-strong: rgba(255, 106, 0, 0.48);
  --chip-bg: rgba(255, 106, 0, 0.08);
  --shadow: 0 16px 40px rgba(218, 77, 0, 0.14);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-hatter-kep: url("https://preview.redd.it/i-created-a-render-of-a-fox-stealing-a-totem-of-undying-v0-ofxnl4x22mt91.png?width=1080&crop=smart&auto=webp&s=26bddedbdba6650870fbdda3a750df6551c89971");
  --pixel-blokk-sarok: 6px;
  --pixel-gomb-arnyek-also: 0 6px 0 color-mix(in srgb, var(--accent-strong) 64%, #2f1608);
  --pixel-gomb-arnyek-lagy: 0 12px 18px rgba(0, 0, 0, 0.16);
  --pixel-gomb-arnyek-lenyomott: 0 3px 0 color-mix(in srgb, var(--accent-strong) 64%, #2f1608);
  --pixel-gomb-arnyek-lenyomott-lagy: 0 7px 12px rgba(0, 0, 0, 0.14);
  --kiemelt-szoveg-arnyek: 0 3px 0 rgba(125, 48, 0, 0.6), 0 8px 14px rgba(0, 0, 0, 0.18);
}

body.tema-amoled {
  --bg: #0b0f19;
  --surface: #111827;
  --surface-2: #1f2937;
  --text: #f3f4f6;
  --muted: #a5b4fc;
  --accent: #6366f1;
  --accent-strong: #4f46e5;
  --line: rgba(99, 102, 241, 0.18);
  --line-strong: rgba(99, 102, 241, 0.44);
  --chip-bg: rgba(99, 102, 241, 0.16);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.68);
  --kiemelt-szoveg-arnyek: 0 3px 0 rgba(79, 70, 229, 0.62), 0 8px 16px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Monocraft', ui-monospace, 'Cascadia Mono', 'Consolas', monospace;
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
  transition: background-color 320ms var(--ease-out), color 320ms var(--ease-out);
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: none;
  pointer-events: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 14px 0;
  background: transparent;
}

.nav-shell {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  justify-self: start;
}

.brand span {
  display: none;
}

.brand span::after {
  display: none;
}

.brand img {
  border: 0;
  border-radius: 10px;
  image-rendering: pixelated;
  filter: drop-shadow(0 6px 0 rgba(255, 106, 0, 0.72));
}

.top-nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  justify-self: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
}

.top-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 0;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow:
    0 6px 0 color-mix(in srgb, var(--accent-strong) 64%, #2f1608),
    0 12px 18px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: transform 220ms var(--ease-out), color 220ms var(--ease-out), box-shadow 220ms var(--ease-out), background-color 220ms var(--ease-out);
}

body.tema-amoled .top-nav a {
  background: #111111;
}

.top-nav a i {
  color: var(--accent);
  transition: transform 280ms var(--ease-out);
}

.top-nav a i,
.top-nav a span {
  position: relative;
  z-index: 1;
}

.top-nav a:hover {
  color: var(--accent-strong);
  transform: translateY(2px);
  box-shadow:
    0 3px 0 color-mix(in srgb, var(--accent-strong) 64%, #2f1608),
    0 7px 12px rgba(0, 0, 0, 0.14);
}

.top-nav a:hover i {
  transform: translateY(-1px) rotate(-8deg);
}

.top-nav a:focus-visible,
button:focus-visible,
.btn-ghost:focus-visible,
.ip-pill:focus-visible {
  outline: none;
}

.header-right-capsule {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  justify-self: end;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
}

body.tema-amoled .header-right-capsule {
  background: transparent;
}

.header-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--text);
  box-shadow: var(--pixel-gomb-arnyek-also), var(--pixel-gomb-arnyek-lagy);
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out), color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}

body.tema-amoled .header-social a {
  border-color: rgba(99, 102, 241, 0.48);
  background: #111111;
  color: var(--text);
}

.header-social a i {
  font-size: 17px;
  line-height: 1;
  text-shadow: none;
}

.header-social a:hover {
  color: var(--accent-strong);
  transform: translateY(2px);
  border-color: var(--line-strong);
  box-shadow: var(--pixel-gomb-arnyek-lenyomott), var(--pixel-gomb-arnyek-lenyomott-lagy);
}

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 500;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 6px 0 color-mix(in srgb, var(--accent-strong) 64%, #2f1608), 0 12px 18px rgba(0,0,0,0.18);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  color: var(--text);
  transition: transform 190ms ease, box-shadow 190ms ease;
}

.mobile-menu-toggle:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 color-mix(in srgb, var(--accent-strong) 64%, #2f1608), 0 7px 12px rgba(0,0,0,0.14);
}

.burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform 280ms cubic-bezier(0.22,1,0.36,1), opacity 200ms ease, width 280ms ease;
  transform-origin: center;
}

.mobile-menu-toggle.is-open .burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open .burger-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.mobile-menu-toggle.is-open .burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.theme-toggle,
.ip-pill,
button,
.btn-ghost {
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: transform 280ms var(--ease-out), filter 280ms var(--ease-out), background-color 280ms var(--ease-out), border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  background-color: transparent;
  color: var(--text);
  border-color: transparent;
  transition: color 220ms var(--ease-out);
}

.theme-toggle:hover {
  color: var(--accent-strong);
}

.theme-toggle i {
  color: var(--accent);
  font-size: 18px;
  transition: transform 320ms var(--ease-out), color 320ms var(--ease-out), opacity 320ms var(--ease-out);
}

.header-right-capsule .theme-toggle i {
  color: var(--text);
  text-shadow: none;
}

body.tema-amoled .header-right-capsule .theme-toggle i {
  color: var(--text);
}

.header-right-capsule .theme-toggle {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--pixel-gomb-arnyek-also), var(--pixel-gomb-arnyek-lagy);
}

.header-right-capsule .theme-toggle:hover i {
  color: var(--accent-strong);
}

.header-right-capsule .theme-toggle:hover {
  transform: translateY(2px);
  border-color: var(--line-strong);
  box-shadow: var(--pixel-gomb-arnyek-lenyomott), var(--pixel-gomb-arnyek-lenyomott-lagy);
}

body.tema-amoled .header-right-capsule .theme-toggle {
  border-color: rgba(99, 102, 241, 0.48);
  background: #111111;
}

.theme-toggle[data-theme="amoled"] i {
  transform: rotate(-12deg) scale(1.04);
}

.theme-toggle.is-switching i {
  animation: tema-ikon-csere 360ms var(--ease-out);
}

@keyframes tema-ikon-csere {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  40% {
    transform: rotate(70deg) scale(0.64);
    opacity: 0.2;
  }
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
}

.ip-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  background-color: var(--accent);
  color: #2b1306;
  box-shadow: 0 10px 24px rgba(218, 77, 0, 0.28);
}

.ip-pill:hover,
button:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

button.theme-toggle:hover {
  transform: none;
  filter: none;
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
}

main.container {
  padding-top: 0;
}

.hero {
  position: relative;
  overflow: visible;
  min-height: 100svh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 124px 24px 44px;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.hero::before,
.hero::after {
  display: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 1192px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  color: var(--text);
  padding-left: 0;
  position: relative;
}

.hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 44px);
}

.hero-text {
  min-width: 0;
}

.hero-integetes {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(210px, 25vw, 420px);
}

.hero-integetes img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 0 #000000) drop-shadow(0 18px 22px rgba(0, 0, 0, 0.5));
}

.hero-player-accent {
  color: var(--accent);
  text-shadow: var(--kiemelt-szoveg-arnyek);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.95rem, 3.4vw, 3.3rem);
  line-height: 1.08;
  max-width: 22ch;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  max-width: 52ch;
  text-wrap: pretty;
}

.actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

button,
.btn-ghost {
  min-height: 50px;
  padding: 11px 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.action-swap {
  position: relative;
  justify-content: center;
  min-width: 172px;
  overflow: hidden;
}

.action-swap i {
  position: absolute;
  inset: 50% auto auto 50%;
  opacity: 0;
  transform: translate(-50%, -42%) scale(0.86);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.action-swap span {
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.action-swap:hover i {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.action-swap:hover span {
  opacity: 0;
  transform: translateY(6px);
}

button {
  background-color: var(--accent);
  color: #2b1306;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background-color: color-mix(in srgb, var(--surface) 82%, transparent);
}

.top-nav a,
.ip-pill,
button:not(.theme-toggle),
.btn-ghost,
.partner-link,
.pixelwiki-link,
.mobile-menu-links a,
.mobile-menu-theme-toggle,
.back-to-top {
  border-radius: var(--pixel-blokk-sarok) !important;
  border: 1px solid var(--line-strong);
  box-shadow: var(--pixel-gomb-arnyek-also), var(--pixel-gomb-arnyek-lagy);
}

body.tema-amoled .top-nav a,
body.tema-amoled .ip-pill,
body.tema-amoled button:not(.theme-toggle),
body.tema-amoled .btn-ghost,
body.tema-amoled .partner-link,
body.tema-amoled .pixelwiki-link,
body.tema-amoled .mobile-menu-links a,
body.tema-amoled .mobile-menu-theme-toggle,
body.tema-amoled .back-to-top {
  border-color: rgba(99, 102, 241, 0.48);
}

.top-nav a:hover,
.ip-pill:hover,
button:not(.theme-toggle):hover,
.btn-ghost:hover,
.partner-link:hover,
.pixelwiki-link:hover,
.mobile-menu-links a:hover,
.mobile-menu-theme-toggle:hover,
.back-to-top:hover {
  transform: translateY(2px);
  box-shadow: var(--pixel-gomb-arnyek-lenyomott), var(--pixel-gomb-arnyek-lenyomott-lagy);
}

.top-nav a:focus-visible,
.ip-pill:focus-visible,
button:focus-visible,
.btn-ghost:focus-visible,
.partner-link:focus-visible,
.pixelwiki-link:focus-visible,
.mobile-menu-links a:focus-visible,
.mobile-menu-theme-toggle:focus-visible,
.back-to-top:focus-visible {
  outline: none;
}

.section {
  min-height: 100svh;
  padding: 56px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-head {
  margin-bottom: 16px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.1vw, 2.55rem);
  text-shadow: var(--kiemelt-szoveg-arnyek);
}

.section-head p {
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 62ch;
}

.servers-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 520px));
  justify-content: center;
  align-items: stretch;
}

.servers-empty {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  background-color: color-mix(in srgb, var(--surface) 82%, transparent);
}

.server-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 390px;
  padding: 132px 32px 40px;
  background-color: color-mix(in srgb, var(--surface) 82%, transparent);
  transition: border-color 300ms var(--ease-out), transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), background-color 300ms var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  --kartya-kep: none;
}

body.tema-amoled .server-item {
  background-color: rgba(0, 0, 0, 0.9);
}

.server-survival { --kartya-kep: url("../kepek/szerverek/economy.svg"); }
.server-pvp { --kartya-kep: url("../kepek/szerverek/pvp.svg"); }
.server-creative { --kartya-kep: url("../kepek/szerverek/kreativ.svg"); }
.server-minigames { --kartya-kep: url("../kepek/szerverek/minigames.svg"); }

.server-item::before,
.server-item::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.server-item::before {
  inset: -28px;
  z-index: 0;
  background-image: var(--kartya-kep);
  background-size: cover;
  background-position: center;
  filter: saturate(1.12);
  opacity: 0.66;
  transform: scale(1.06);
  transition: opacity 320ms var(--ease-out), transform 420ms var(--ease-out), filter 420ms var(--ease-out);
}

.server-item::after {
  inset: 0;
  z-index: 1;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}

body.tema-amoled .server-item::after {
  background: rgba(0, 0, 0, 0.74);
}

.server-item:hover {
  transform: translateY(2px);
  border-color: var(--line-strong);
  box-shadow: var(--pixel-gomb-arnyek-lenyomott), var(--pixel-gomb-arnyek-lenyomott-lagy);
}

.server-item:hover::before {
  opacity: 0.82;
  transform: scale(1.1);
  filter: blur(2px) saturate(1.22) contrast(1.06);
}

.server-bg-icon {
  position: absolute;
  right: -18px;
  top: 12px;
  font-size: 112px;
  color: var(--accent);
  opacity: 0.12;
  transform: rotate(-16deg);
  pointer-events: none;
  transition: transform 360ms var(--ease-out), opacity 360ms var(--ease-out);
  z-index: 2;
}

.server-item:hover .server-bg-icon {
  opacity: 0.2;
  transform: rotate(-10deg) scale(1.04);
}

.server-item h3 {
  margin: 0 0 14px;
  font-size: 1.36rem;
  position: relative;
  z-index: 2;
  width: max-content;
  max-width: 100%;
  padding-bottom: 10px;
}

.server-top-image {
  position: absolute;
  top: 24px;
  left: 24px;
  transform: none;
  width: clamp(72px, 9vw, 110px);
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 8px 0 #000000) drop-shadow(0 14px 16px rgba(0, 0, 0, 0.48));
  pointer-events: none;
}

.server-item h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(132px, 100%);
  height: 3px;
  border-radius: 999px;
  background-color: var(--accent);
}

.server-item p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
  position: relative;
  z-index: 2;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 14px;
  background-color: color-mix(in srgb, var(--surface) 58%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
}

.gallery-desktop-wrap {
  position: relative;
}

.gallery-fox-decor {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  width: clamp(120px, 14vw, 220px);
  transform: translate(-42%, -16%) scaleX(-1);
  pointer-events: none;
  z-index: 4;
}

.gallery-fox-decor img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 0 #000000) drop-shadow(0 16px 20px rgba(0, 0, 0, 0.5));
}

.gallery-empty {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
}

.gallery-item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background-color: var(--surface);
  transition: transform 380ms var(--ease-out), box-shadow 380ms var(--ease-out), border-color 300ms var(--ease-out);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 380ms var(--ease-out);
}

.gallery-item img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 8px 0 #000000) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.46));
  transition: transform 420ms var(--ease-out), filter 420ms var(--ease-out);
}

.gallery-item:hover {
  transform: translateY(2px);
  border-color: var(--line-strong);
  box-shadow: var(--pixel-gomb-arnyek-lenyomott), var(--pixel-gomb-arnyek-lenyomott-lagy);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: drop-shadow(0 8px 0 #000000) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.46)) saturate(1.08) contrast(1.04);
}

.mobile-gallery { display: none; }
.mobile-gallery .gallery-item img { height: 304px; }
.mobile-gallery .swiper-pagination-bullet { background: var(--accent); }

.gallery-partner {
  margin: auto 0 0;
  padding-top: 18px;
  text-align: center;
  color: var(--muted);
}

.partner-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--accent);
  color: #1f0a00;
  font-weight: 700;
  text-decoration: none;
  transition: transform 220ms var(--ease-out), filter 220ms var(--ease-out), background-color 220ms var(--ease-out);
}

.partner-link:hover {
  color: #120600;
  text-decoration: none;
  background-color: var(--accent-strong);
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.partner-alert {
  display: inline-block;
  margin-left: 8px;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  text-shadow: none;
}

.pixelwiki-section {
  min-height: auto;
  padding-top: 64px;
}

.pixelwiki-card {
  margin: 0 auto;
  max-width: 540px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

body.tema-amoled .pixelwiki-card {
  background: transparent;
}

.pixelwiki-logo {
  width: 100%;
  max-width: 210px;
  height: auto;
  display: block;
  margin: 0 auto;
  image-rendering: pixelated;
  filter: none;
}

.pixelwiki-content h3 {
  margin: 0 0 12px;
  font-size: clamp(1.32rem, 2vw, 1.75rem);
}

.pixelwiki-content p {
  margin: 0 0 10px;
  color: var(--muted);
}

.pixelwiki-link {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-height: 50px;
  min-width: 172px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 20px;
  color: #2b1306;
  background-color: var(--accent);
  transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out), color 260ms var(--ease-out);
}

.pixelwiki-link:hover {
  transform: translateY(2px);
  border-color: transparent;
  color: #2b1306;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 360ms var(--ease-out), visibility 0s linear 360ms;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox.is-visible,
.gallery-lightbox.is-closing {
  visibility: visible;
  transition: opacity 360ms var(--ease-out), visibility 0s linear 0s;
}

.gallery-lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox.is-closing {
  opacity: 0;
  pointer-events: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 360ms var(--ease-out);
}

.lightbox-dialog {
  position: relative;
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out);
}

.lightbox-figure {
  margin: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lightbox-figure img {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transform: scale(0.965);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}

#lightboxCaption {
  color: #ffd8bf;
  font-size: 0.95rem;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(255, 138, 42, 0.52);
  background: rgba(24, 18, 12, 0.9);
  color: #ff8a2a;
  box-shadow: 0 6px 0 #6e2b00, 0 12px 18px rgba(0, 0, 0, 0.28);
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #6e2b00, 0 7px 12px rgba(0, 0, 0, 0.22);
}

.gallery-lightbox.is-visible .lightbox-backdrop {
  opacity: 1;
}

.gallery-lightbox.is-visible .lightbox-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-lightbox.is-visible .lightbox-figure img {
  opacity: 1;
  transform: scale(1);
}

.gallery-lightbox.is-visible #lightboxCaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item {
  cursor: zoom-in;
}

.brand img,
.top-nav,
.top-nav a,
.header-right-capsule,
.theme-toggle,
.ip-pill,
button,
.btn-ghost,
.servers-empty,
.server-item,
.server-item p,
.gallery-empty,
.gallery-item,
.partner-link,
.mobile-menu,
.mobile-menu-nav,
.mobile-menu-theme-toggle,
.footer-social a,
.back-to-top {
  border-radius: 6px !important;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background-color: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), visibility 260ms var(--ease-out);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

body.tema-amoled .mobile-menu {
  background-color: rgba(0, 0, 0, 0.92);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(460px, 100%);
  min-height: min(78vh, 640px);
}

.mobile-menu-brand {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  text-decoration: none;
}

.mobile-menu-brand img {
  display: block;
  width: 74px;
  height: 74px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 7px 0 rgba(255, 106, 0, 0.72));
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: clamp(120px, 22vh, 190px);
}

.mobile-menu-links a {
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px 16px;
  font-size: clamp(1.02rem, 2.6vw, 1.14rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #d25700 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
  transition: color 240ms var(--ease-out), transform 240ms var(--ease-out), opacity 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.mobile-menu-links a:hover,
.mobile-menu-links a:focus-visible {
  color: #ff8a2a !important;
  transform: translateY(2px);
  box-shadow: none !important;
}

.mobile-menu-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
}

.mobile-menu-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  width: auto;
  min-height: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #d25700 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
  transition: color 240ms var(--ease-out), transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.mobile-menu-theme-toggle i {
  color: #d25700;
}

.mobile-menu-theme-toggle:hover,
.mobile-menu-theme-toggle:focus-visible {
  color: #ff8a2a !important;
  transform: translateY(2px);
  box-shadow: none !important;
}

button.mobile-menu-theme-toggle:hover,
button.mobile-menu-theme-toggle:focus-visible {
  transform: translateY(2px);
  filter: none;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.mobile-menu-theme-toggle:hover i,
.mobile-menu-theme-toggle:focus-visible i {
  color: #ff8a2a;
}

.mobile-social {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.mobile-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--text);
  box-shadow: var(--pixel-gomb-arnyek-also), var(--pixel-gomb-arnyek-lagy);
  transition: color 240ms var(--ease-out), transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

body.tema-amoled .mobile-social a {
  background: #111111;
  border-color: rgba(99, 102, 241, 0.48);
}

.mobile-social a i {
  font-size: 20px;
}

.mobile-social a:hover,
.mobile-social a:focus-visible {
  color: var(--accent-strong);
  transform: translateY(2px);
  box-shadow: var(--pixel-gomb-arnyek-lenyomott), var(--pixel-gomb-arnyek-lenyomott-lagy);
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

.site-footer {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.footer-grid p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  min-height: 40px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--pixel-gomb-arnyek-also), var(--pixel-gomb-arnyek-lagy);
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out), color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}

.footer-social a i {
  font-size: 17px;
  line-height: 1;
}

.footer-social a:hover {
  transform: translateY(2px);
  color: var(--accent-strong);
  border-color: var(--line-strong);
  box-shadow: var(--pixel-gomb-arnyek-lenyomott), var(--pixel-gomb-arnyek-lenyomott-lagy);
}

.header-social a:focus-visible,
.mobile-social a:focus-visible,
.footer-social a:focus-visible {
  outline: none;
}

.server-item,
.gallery-item {
  box-shadow: var(--pixel-gomb-arnyek-also), var(--pixel-gomb-arnyek-lagy);
}

.footer-copy {
  justify-self: center;
  text-align: center;
}

.footer-grid .ip-pill {
  justify-self: end;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 0;
  background-color: var(--accent);
  color: #2b1306;
  box-shadow: 0 12px 26px rgba(218, 77, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
  z-index: 60;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ugyfelkapu-main {
  min-height: 100svh;
  padding-top: 230px;
  padding-bottom: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.ugyfelkapu-panel-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: clamp(84px, 16vh, 180px);
}

.ugyfelkapu-panel {
  width: min(560px, 100%);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 28px 24px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--pixel-gomb-arnyek-also), var(--pixel-gomb-arnyek-lagy);
}

body.tema-amoled .ugyfelkapu-panel {
  background: #0a0a0a;
}

.ugyfelkapu-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  text-shadow: var(--kiemelt-szoveg-arnyek);
}

.ugyfelkapu-lead {
  margin: 0 0 20px;
  color: var(--muted);
}

.ugyfelkapu-form {
  display: grid;
  gap: 10px;
}

.ugyfelkapu-form label {
  font-size: 0.96rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ugyfelkapu-form input {
  width: 100%;
  min-height: 46px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  padding: 10px 12px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.28);
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out), transform 220ms var(--ease-out);
}

body.tema-amoled .ugyfelkapu-form input {
  background: #0f0f0f;
}

.ugyfelkapu-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.32), 0 0 0 2px color-mix(in srgb, var(--accent) 24%, transparent);
}

#felhasznalonevInput {
  min-height: 54px;
  line-height: 54px;
  padding-top: 0;
  padding-bottom: 0;
}

#ugyfelkapuSubmit {
  margin-top: 8px;
  justify-content: center;
}

#ugyfelkapuSubmit:disabled {
  opacity: 0.82;
  cursor: wait;
}

.toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 260;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.toast {
  --toast-accent: #ff9a24;
  --popup-icon: "\f05a";
  min-width: min(84vw, 280px);
  max-width: min(90vw, 360px);
  position: relative;
  border-radius: 14px;
  background: var(--surface, #ffffff);
  color: var(--text, #22160d);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18), 0 1px 4px rgba(0, 0, 0, 0.10);
  border-left: 4px solid var(--toast-accent);
  padding: 14px 18px 14px 50px;
  display: inline-flex;
  align-items: center;
  font-size: 0.97rem;
  line-height: 1.45;
  pointer-events: auto;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}

.toast::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: var(--popup-icon);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--toast-accent);
}

.toast-success {
  --toast-accent: #2ba84a;
  --popup-icon: "\f058";
}

.toast-error {
  --toast-accent: #d14124;
  --popup-icon: "\f057";
}

body.tema-amoled .toast {
  background: #111;
  color: #fff7f0;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.toast.is-hiding {
  opacity: 0;
  transform: translateX(18px);
}

.back-to-top:hover {
  transform: translateY(-2px);
}

:focus-visible {
  outline: none;
}

@media (max-width: 1100px) {
  .top-nav a { padding: 9px 14px; font-size: 12px; }
  .servers-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 480px)); }
  .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 300px)); }
}

@media (max-width: 900px) {
  .hero {
    gap: 28px;
    align-items: center;
    padding-top: 118px;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
    padding-left: 0;
  }

  .hero-main {
    display: block;
  }

  .hero-integetes {
    display: none;
  }

  .hero-copy::before {
    display: none;
  }

  .hero h1 {
    margin: 0 auto 14px;
  }

  .lead {
    margin: 0 auto;
  }

  .actions {
    justify-content: center;
  }

  .nav-shell {
    display: flex;
    border-radius: 0;
    min-height: 76px;
    padding: 12px;
    flex-wrap: nowrap;
    justify-content: space-between;
    border: 0;
    background-color: transparent;
    box-shadow: none;
  }

  .top-nav,
  .header-right-capsule {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 820px) {
  .desktop-gallery { display: none; }
  .gallery-fox-decor { display: none; }
  .mobile-gallery {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: static;
    overflow: visible;
  }

  .mobile-gallery .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
    overflow: visible;
  }

  .mobile-gallery .swiper-slide {
    flex: none;
    min-width: 0;
    width: 100%;
    margin: 0;
  }

  .mobile-gallery .gallery-item {
    width: 100%;
    min-width: 0;
    max-width: 80%;
    margin: 0 auto;
  }

  .mobile-gallery .swiper-pagination {
    display: none;
  }

  .lightbox-dialog {
    padding: 12px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .top-nav {
    width: 100%;
    justify-content: center;
  }

  .servers-grid { grid-template-columns: minmax(0, 520px); }
  .server-item {
    min-height: 360px;
    padding: 116px 24px 34px;
  }
  .server-top-image {
    top: 18px;
    left: 18px;
    transform: none;
    width: clamp(64px, 19vw, 92px);
  }
  .hero h1 { max-width: 100%; }

  .hero {
    min-height: 100svh;
    padding-top: 108px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 14px 0;
  }

  .footer-social,
  .footer-copy {
    justify-self: center;
  }

  .footer-grid .ip-pill {
    display: none;
  }

  .toast-stack {
    bottom: 16px;
    right: 16px;
  }

  .pixelwiki-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

body.tema-amoled .brand img,
body.tema-amoled .mobile-menu-brand img {
  filter: drop-shadow(0 6px 0 rgba(99, 102, 241, 0.72));
}

body.tema-amoled .hero-integetes img {
  filter: drop-shadow(0 10px 0 #020617) drop-shadow(0 18px 22px rgba(79, 70, 229, 0.28));
}

body.tema-amoled .header-social a,
body.tema-amoled .header-right-capsule .theme-toggle,
body.tema-amoled .mobile-social a,
body.tema-amoled .mobile-menu-toggle {
  background: #111827;
  border-color: rgba(99, 102, 241, 0.44);
}

body.tema-amoled .mobile-menu-links a,
body.tema-amoled .mobile-menu-theme-toggle,
body.tema-amoled .mobile-menu-theme-toggle i {
  color: #a5b4fc !important;
}

body.tema-amoled .mobile-menu-links a:hover,
body.tema-amoled .mobile-menu-links a:focus-visible,
body.tema-amoled .mobile-menu-theme-toggle:hover,
body.tema-amoled .mobile-menu-theme-toggle:focus-visible,
body.tema-amoled .mobile-menu-theme-toggle:hover i,
body.tema-amoled .mobile-menu-theme-toggle:focus-visible i {
  color: #ffffff !important;
}

.mobile-menu {
  transform: translateY(-12px) scale(0.98);
}

.mobile-menu.is-open {
  transform: translateY(0) scale(1);
}

.mobile-menu-nav {
  min-height: min(72vh, 680px);
  width: min(420px, 92vw);
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0;
}

.mobile-menu-links {
  width: 100%;
  padding-top: clamp(118px, 20vh, 178px);
}

.mobile-menu-links a {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line-strong) !important;
  border-radius: 8px !important;
  background: color-mix(in srgb, var(--surface) 88%, transparent) !important;
  box-shadow: var(--pixel-gomb-arnyek-also), var(--pixel-gomb-arnyek-lagy) !important;
  color: var(--muted) !important;
}

.mobile-menu-links a:hover,
.mobile-menu-links a:focus-visible {
  color: var(--text) !important;
  background: color-mix(in srgb, var(--accent) 18%, var(--surface)) !important;
  box-shadow: var(--pixel-gomb-arnyek-lenyomott), var(--pixel-gomb-arnyek-lenyomott-lagy) !important;
}

.mobile-menu-theme-toggle {
  min-height: 46px;
  border: 1px solid var(--line-strong) !important;
  border-radius: 8px !important;
  background: color-mix(in srgb, var(--surface) 92%, transparent) !important;
  box-shadow: var(--pixel-gomb-arnyek-also), var(--pixel-gomb-arnyek-lagy) !important;
  color: var(--text) !important;
}

.mobile-menu-theme-toggle:hover,
.mobile-menu-theme-toggle:focus-visible,
button.mobile-menu-theme-toggle:hover,
button.mobile-menu-theme-toggle:focus-visible {
  background: color-mix(in srgb, var(--accent) 18%, var(--surface)) !important;
  border-color: var(--line-strong) !important;
  box-shadow: var(--pixel-gomb-arnyek-lenyomott), var(--pixel-gomb-arnyek-lenyomott-lagy) !important;
}

.ugyfelkapu-main {
  min-height: 100svh;
  padding-top: 112px;
  padding-bottom: 56px;
  align-items: center;
}

.ugyfelkapu-panel-wrap {
  padding-top: 0;
}

.footer-made-by {
  width: max-content;
  margin: 0 auto 18px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: #050505;
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

@media (max-width: 760px) {
  .ugyfelkapu-main {
    padding-top: 88px;
    padding-bottom: 34px;
  }

  .footer-made-by {
    margin-bottom: 14px;
  }
}


body.tema-amoled {
  --pixel-gomb-arnyek-also: 0 6px 0 rgba(67, 56, 202, 0.86);
  --pixel-gomb-arnyek-lagy: 0 14px 22px rgba(79, 70, 229, 0.2);
  --pixel-gomb-arnyek-lenyomott: 0 3px 0 rgba(55, 48, 163, 0.92);
  --pixel-gomb-arnyek-lenyomott-lagy: 0 8px 16px rgba(79, 70, 229, 0.18);
}

body.tema-amoled .top-nav a,
body.tema-amoled .header-social a,
body.tema-amoled .header-right-capsule .theme-toggle,
body.tema-amoled .action-swap,
body.tema-amoled .btn-ghost,
body.tema-amoled .mobile-menu-links a,
body.tema-amoled .mobile-menu-theme-toggle {
  box-shadow: var(--pixel-gomb-arnyek-also), var(--pixel-gomb-arnyek-lagy) !important;
}

body.tema-amoled .top-nav a:hover,
body.tema-amoled .top-nav a:focus-visible,
body.tema-amoled .header-social a:hover,
body.tema-amoled .header-social a:focus-visible,
body.tema-amoled .header-right-capsule .theme-toggle:hover,
body.tema-amoled .header-right-capsule .theme-toggle:focus-visible,
body.tema-amoled .action-swap:hover,
body.tema-amoled .action-swap:focus-visible,
body.tema-amoled .btn-ghost:hover,
body.tema-amoled .btn-ghost:focus-visible,
body.tema-amoled .mobile-menu-links a:hover,
body.tema-amoled .mobile-menu-links a:focus-visible,
body.tema-amoled .mobile-menu-theme-toggle:hover,
body.tema-amoled .mobile-menu-theme-toggle:focus-visible {
  box-shadow: var(--pixel-gomb-arnyek-lenyomott), var(--pixel-gomb-arnyek-lenyomott-lagy) !important;
}

.server-item--custom-image::before {
  opacity: 0.88;
  background-size: cover;
  background-position: center;
}

.server-item--custom-image .server-top-image {
  display: none;
}

.server-item--custom-image::after {
  background: linear-gradient(180deg, rgba(255, 248, 242, 0.22), rgba(255, 248, 242, 0.72) 52%, rgba(255, 248, 242, 0.9));
}

body.tema-amoled .server-item--custom-image {
  background-color: #020617;
}

body.tema-amoled .server-item--custom-image::before {
  opacity: 0.92;
  filter: saturate(1.18) contrast(1.04);
}

body.tema-amoled .server-item--custom-image::after {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.44) 42%, rgba(2, 6, 23, 0.9));
}

.mobile-menu-links a i {
  width: 22px;
  text-align: center;
  color: var(--accent);
}

body.tema-amoled .mobile-menu-links a i {
  color: #818cf8;
}

* {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent) 78%, #ffffff) color-mix(in srgb, var(--surface) 86%, #000000);
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--surface) 86%, #000000);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  border: 3px solid color-mix(in srgb, var(--surface) 86%, #000000);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 78%, #ffffff), var(--accent));
}

/* Feltöltött szerverkép láthatósága */
.server-upload-image {
  position: absolute;
  inset: auto;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.server-item--custom-image::before {
  inset: -18px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.68;
  filter: blur(7px) saturate(1.14) contrast(1.06);
  transform: scale(1.12);
}

.server-item--custom-image:hover::before {
  opacity: 0.78;
  transform: scale(1.16);
  filter: blur(9px) saturate(1.22) contrast(1.08);
}

.server-item--custom-image::after {
  background: linear-gradient(180deg, rgba(255, 248, 242, 0.36), rgba(255, 248, 242, 0.68) 42%, rgba(255, 248, 242, 0.93));
}

.server-item--custom-image .server-bg-icon {
  opacity: 0.08;
}

body.tema-amoled .server-item--custom-image::before {
  opacity: 0.62;
  filter: blur(8px) saturate(1.2) contrast(1.08);
}

body.tema-amoled .server-item--custom-image:hover::before {
  opacity: 0.74;
  filter: blur(10px) saturate(1.24) contrast(1.1);
}

body.tema-amoled .server-item--custom-image::after {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.22), rgba(2, 6, 23, 0.54) 40%, rgba(2, 6, 23, 0.9));
}

body.tema-amoled .top-nav a,
body.tema-amoled .header-social a,
body.tema-amoled .header-right-capsule .theme-toggle,
body.tema-amoled .action-swap,
body.tema-amoled .btn-ghost,
body.tema-amoled .mobile-menu-links a,
body.tema-amoled .mobile-menu-theme-toggle {
  box-shadow: 0 6px 0 rgba(67, 56, 202, 0.92), 0 14px 24px rgba(79, 70, 229, 0.2) !important;
}

body.tema-amoled .top-nav a:hover,
body.tema-amoled .top-nav a:focus-visible,
body.tema-amoled .header-social a:hover,
body.tema-amoled .header-social a:focus-visible,
body.tema-amoled .header-right-capsule .theme-toggle:hover,
body.tema-amoled .header-right-capsule .theme-toggle:focus-visible,
body.tema-amoled .action-swap:hover,
body.tema-amoled .action-swap:focus-visible,
body.tema-amoled .btn-ghost:hover,
body.tema-amoled .btn-ghost:focus-visible,
body.tema-amoled .mobile-menu-links a:hover,
body.tema-amoled .mobile-menu-links a:focus-visible,
body.tema-amoled .mobile-menu-theme-toggle:hover,
body.tema-amoled .mobile-menu-theme-toggle:focus-visible {
  box-shadow: 0 3px 0 rgba(55, 48, 163, 0.95), 0 8px 16px rgba(99, 102, 241, 0.22) !important;
}

/* === Javítások: egységes logó és árnyékmentes hamburger menü világos témában === */
.brand img,
.mobile-menu-brand img {
  width: 186px !important;
  height: 60px !important;
  object-fit: contain;
  image-rendering: auto;
}

.mobile-menu-brand {
  width: 206px !important;
  height: 76px !important;
}

.mobile-menu-brand img,
body.tema-amoled .mobile-menu-brand img {
  filter: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body:not(.tema-amoled) .mobile-menu,
body:not(.tema-amoled) .mobile-menu *,
body:not(.tema-amoled) .mobile-menu-toggle.is-open {
  box-shadow: none !important;
  text-shadow: none !important;
}
