
@font-face {
    font-family: 'MinecraftFive';
    src: url('/assets/grafiki/czcionki/MinecraftFive-Bold.woff2') format('woff2'),
         url('/assets/grafiki/czcionki/MinecraftFive-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.cursor-glow,
.bg-grid,
.noise-overlay {
    display: none !important;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background-color: #121212;
    background-image: url('/assets/grafiki/scrollbar-track.png');
    background-repeat: repeat;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    border-left: 2px solid #000000;
    box-shadow: inset 2px 0 0 0 #050505;
    border-radius: 0;
}

::-webkit-scrollbar-thumb {
    background-color: #c6c6c6;
    background-image: url('/assets/grafiki/scrollbar-thumb.png');
    background-repeat: repeat;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    border: 2px solid #000000;
    box-shadow:
        inset 2px 2px 0 0 #ffffff,
        inset -2px -2px 0 0 #555555;
    min-height: 50px;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #fa6eac;
    background-image: url('/assets/grafiki/scrollbar-thumb-hover.png');
    background-repeat: repeat;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    border: 2px solid #000000;
    box-shadow:
        inset 2px 2px 0 0 #ffc2dc,
        inset -2px -2px 0 0 #8b2d56;
}

::-webkit-scrollbar-thumb:active {
    background-color: #d84b8c;
    background-image: url('/assets/grafiki/scrollbar-thumb-hover.png');
    background-repeat: repeat;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    border: 2px solid #000000;
    box-shadow:
        inset -2px -2px 0 0 #ffc2dc,
        inset 2px 2px 0 0 #8b2d56;
}

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

@supports not (selector(::-webkit-scrollbar)) {
    * {
        scrollbar-width: auto;
        scrollbar-color: #c6c6c6 #0d0d0d;
    }
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.8s;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-bg-pulse {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250, 110, 172, 0.06) 0%, transparent 70%);
    animation: loaderPulse 2s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.loader-logo-wrap {
    position: relative;
}

.loader-logo {
    height: 52px;
    width: auto;
    display: block;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.98); }
}

.loader-bar-track {
    width: 280px;
    height: 14px;
    background-color: #0b0d0e;
    background-image: url('/assets/grafiki/ladowanie.png');
    background-size: 100% 100%;
    border: 2px solid #000000;
    overflow: hidden;
    position: relative;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.loader-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    background-image: url('/assets/grafiki/ladowanie-fill.png');
    background-size: 280px 14px;
    background-repeat: no-repeat;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    animation: fillBar 1.1s linear forwards;
}

@keyframes fillBar {
    0% { width: 0; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.loader-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.loader-percent {
    font-family: 'MinecraftFive', Inter, sans-serif;
    font-size: 14px;
    color: #ffffff;
    text-shadow: 2px 2px 0 #000;
    letter-spacing: 1px;
}

.loader-status {
    font-family: 'MinecraftFive', Inter, sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 1px 1px 0 #000;
    letter-spacing: 1px;
}

nav.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    height: 72px;
    margin: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
    background: #0d0d0d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 6px 20px rgba(0, 0, 0, 0.45);
    font-family: 'MinecraftFive', Inter, sans-serif;
}

nav.glass-nav::before,
nav.glass-nav::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: -1px;
    width: 100vw;
    background: #0d0d0d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

nav.glass-nav::before { right: 100%; }
nav.glass-nav::after { left: 100%; }

nav.glass-nav.scrolled {
    background: #0d0d0d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

nav.glass-nav .nav-left,
nav.glass-nav .nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

nav.glass-nav .nav-logo img,
nav.glass-nav .nav-logo-img {
    display: block;
    height: 30px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 10px rgba(250, 110, 172, 0.25));
}

nav.glass-nav ul.nav-links {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
    min-width: 0;
}

nav.glass-nav ul.nav-links > li {
    position: relative;
}

nav.glass-nav .nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px 10px;
    transition: color 0.15s ease, background-color 0.15s ease;
    font-family: 'MinecraftFive', Inter, sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.85);
    border: none;
    background: none;
    cursor: pointer;
}

nav.glass-nav .nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(250, 110, 172, 0.12);
    border: 2px solid #000;
    box-shadow:
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.18),
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.7),
        0 0 12px rgba(250, 110, 172, 0.25);
    opacity: 0;
    transition: opacity 0.12s ease;
    pointer-events: none;
}

nav.glass-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 12px;
    bottom: 4px;
    width: calc(100% - 24px);
    height: 2px;
    background: #fa6eac;
    box-shadow: 0 0 8px rgba(250, 110, 172, 0.6);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

nav.glass-nav .nav-link:hover,
nav.glass-nav .nav-link.active {
    color: #fba9cd;
}

nav.glass-nav .nav-link:hover::before,
nav.glass-nav .nav-link.active::before {
    opacity: 1;
}

nav.glass-nav .nav-link:hover::after,
nav.glass-nav .nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

nav.glass-nav .dropdown-arrow {
    font-size: 11px;
    margin-left: 4px;
}

nav.glass-nav .nav-dropdown {
    position: relative;
}

nav.glass-nav .nav-dropdown:hover > .dropdown-menu,
nav.glass-nav .nav-dropdown:focus-within > .dropdown-menu,
nav.glass-nav .nav-dropdown.open > .dropdown-menu {
    display: flex;
}

nav.glass-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 520px;
    margin: 0;
    padding: 10px;
    list-style: none;
    gap: 10px;
    background: #0d0d0d;
    border: 2px solid #000;
    box-shadow:
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.08),
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.6),
        0 10px 24px rgba(0, 0, 0, 0.5);
    z-index: 120;
    border-radius: 0;
    clip-path: none;
}

nav.glass-nav .nav-tools-col {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

nav.glass-nav .nav-tools-col > ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

nav.glass-nav .dropdown-label {
    display: block;
    margin: 0 0 8px;
    padding: 6px 12px 8px;
    font-size: 12px;
    font-family: 'MinecraftFive', Inter, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    color: #fba9cd;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.85);
    background: rgba(250, 110, 172, 0.10);
    border: 2px solid #000;
    box-shadow:
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.06),
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.5);
}

nav.glass-nav .dropdown-link {
    display: block;
    padding: 10px 14px 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-family: 'MinecraftFive', Inter, sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.85);
    transition: color 0.12s ease, background-color 0.12s ease;
}

nav.glass-nav .dropdown-link:hover {
    color: #fba9cd;
    background: rgba(250, 110, 172, 0.12);
    box-shadow:
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.06),
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.4);
}

nav.glass-nav .dropdown-link.active {
    color: #fba9cd;
    background: rgba(250, 110, 172, 0.18);
    border: 2px solid #000;
    box-shadow:
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.12),
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.6);
}

nav.glass-nav .nav-user-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 8px;
    padding: 10px 24px;
    border: 2px solid #000;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    background: #ececec;
    box-shadow:
        inset 2px 2px 0 0 #ffffff,
        inset -2px -2px 0 0 #b3b3b3,
        inset 0 -7px 0 0 #b3b3b3;
    color: #1f1f1f;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
    border-radius: 0;
    transition: none;
    font-family: 'MinecraftFive', Inter, sans-serif;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

nav.glass-nav .nav-user-btn svg {
    display: none !important;
}

nav.glass-nav .nav-user-btn:hover {
    background: #fa6eac;
    box-shadow:
        inset 2px 2px 0 0 #ffb7d4,
        inset -2px -2px 0 0 #a54972,
        inset 0 -7px 0 0 #a54972;
    color: #fff;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6);
}

nav.glass-nav .nav-user-btn:active {
    background: #e05a99;
    transform: translateY(2px);
    box-shadow:
        inset 2px 2px 0 0 rgba(0, 0, 0, 0.3),
        inset -2px -2px 0 0 rgba(255, 255, 255, 0.35),
        inset 0 -3px 0 0 #a54972;
}

nav.glass-nav .nav-btn-discord {
    margin-left: auto;
    text-decoration: none;
    background: #5865f2;
    box-shadow:
        inset 2px 2px 0 0 #9aa4ff,
        inset -2px -2px 0 0 #3b45c9,
        inset 0 -7px 0 0 #3b45c9;
    color: #fff;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6);
    border-radius: 0;
    transition: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px 24px;
    border: 2px solid #000;
    font-family: 'MinecraftFive', Inter, sans-serif;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

/* Cień pod logo Discorda na przycisku */
nav.glass-nav .nav-btn-discord svg {
    filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.6));
}

nav.glass-nav .nav-btn-discord:hover {
    background: #6d78f7;
    box-shadow:
        inset 2px 2px 0 0 #9aa4ff,
        inset -2px -2px 0 0 #3b45c9,
        inset 0 -7px 0 0 #3b45c9;
    color: #fff;
}

nav.glass-nav .nav-btn-discord:active {
    background: #4752d4;
    transform: translateY(2px);
    box-shadow:
        inset 2px 2px 0 0 rgba(0, 0, 0, 0.3),
        inset -2px -2px 0 0 rgba(255, 255, 255, 0.35),
        inset 0 -3px 0 0 #3b45c9;
}

nav.glass-nav .nav-btn-discord + .nav-user-btn,
nav.glass-nav .nav-btn-discord + .account-chip-wrap,
nav.glass-nav .nav-btn-discord + [data-account-btn] {
    margin-left: 12px !important;
}

footer.glass-footer,
.glass-footer {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    margin: 0;
    margin-top: auto;
    padding: 56px 40px 22px;
    background: #0d0d0d;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'MinecraftFive', Inter, sans-serif;
    color: #fff;
    display: block;
    text-align: left;
}

footer.glass-footer::before,
footer.glass-footer::after,
.glass-footer::before,
.glass-footer::after {
    content: '';
    position: absolute;
    top: -1px;
    bottom: 0;
    width: 100vw;
    background: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

footer.glass-footer::before,
.glass-footer::before { right: 100%; }

footer.glass-footer::after,
.glass-footer::after { left: 100%; }

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-logo:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.footer-logo-img {
    height: 34px;
    width: 202px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.footer-desc,
.footer-about {
    margin: 14px 0 0;
    font-family: 'MinecraftFive', Inter, sans-serif;
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.85);
    letter-spacing: 0.5px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.footer-col-title {
    display: block;
    margin: 0 0 16px;
    font-family: 'MinecraftFive', Inter, sans-serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fba9cd;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.85);
}

.footer-col-links,
.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-links a,
.footer-list a {
    font-family: 'MinecraftFive', Inter, sans-serif;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.85);
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-block;
}

.footer-col-links a:hover,
.footer-list a:hover {
    color: #fa6eac;
    transform: translateX(3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 44px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-family: 'MinecraftFive', Inter, sans-serif;
}

.footer-copy {
    font-family: 'MinecraftFive', Inter, sans-serif;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.45);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.85);
    margin: 0;
}

.footer-top-link {
    font-family: 'MinecraftFive', Inter, sans-serif;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.85);
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-top-link:hover {
    color: #fa6eac;
    transform: translateY(-2px);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #1a1a1a;
    border: 2px solid #000;
    box-shadow:
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.08),
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 0;
    clip-path: polygon(
        0 2px, 2px 2px, 2px 0,
        calc(100% - 2px) 0, calc(100% - 2px) 2px, 100% 2px,
        100% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 100%,
        2px 100%, 2px calc(100% - 2px), 0 calc(100% - 2px)
    );
    transition: color 0.12s ease, background-color 0.12s ease, transform 0.12s ease;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    background: #fa6eac;
    border-color: #000;
    color: #fff;
    box-shadow:
        inset 2px 2px 0 0 #ffb7d4,
        inset -2px -2px 0 0 #a54972;
    transform: translateY(-2px);
}

.social-icon.yt:hover {
    background: #ff0000;
    color: #fff;
    box-shadow:
        inset 2px 2px 0 0 #ff8080,
        inset -2px -2px 0 0 #800000;
}

.social-icon.tt:hover {
    background: #000000;
    color: #00f2fe;
    box-shadow:
        inset 2px 2px 0 0 #00f2fe,
        inset -2px -2px 0 0 #fe004f;
}

.social-icon.dc:hover {
    background: #5865f2;
    color: #fff;
    box-shadow:
        inset 2px 2px 0 0 #9aa4ff,
        inset -2px -2px 0 0 #3b45c9;
}

nav.glass-nav ul.nav-links .nav-mobile-actions {
    display: none;
}

/* Kompaktowy poziomy pasek na średnich szerokościach - linki nie nachodzą na przyciski */
@media (max-width: 1400px) {
    nav.glass-nav {
        padding: 0 28px;
    }
    nav.glass-nav ul.nav-links {
        gap: 14px;
    }
    nav.glass-nav .nav-link {
        font-size: 13.5px;
        padding: 8px 9px 10px;
    }
    nav.glass-nav .nav-btn-discord,
    nav.glass-nav .nav-user-btn {
        padding: 10px 18px;
        font-size: 13.5px;
    }
}

@media (max-width: 1150px) {
    nav.glass-nav {
        padding: 0 20px;
    }

    nav.glass-nav > .nav-user-btn,
    nav.glass-nav > .nav-btn-discord,
    nav.glass-nav > .account-chip-wrap {
        display: none !important;
    }

    nav.glass-nav .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    nav.glass-nav .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: #fff;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    nav.glass-nav .menu-toggle.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    nav.glass-nav .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    nav.glass-nav .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    nav.glass-nav ul.nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100vh - 72px);
        transform: none;
        background: #0d0d0d;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 24px 20px 40px;
        gap: 6px;
        overflow-y: auto;
        box-sizing: border-box;
        z-index: 999;
    }

    nav.glass-nav ul.nav-links.active {
        display: flex !important;
    }

    nav.glass-nav ul.nav-links > li {
        width: 100%;
    }

    nav.glass-nav ul.nav-links .nav-link {
        display: block;
        font-size: 17px;
        padding: 12px 14px 14px;
    }

    nav.glass-nav ul.nav-links .dropdown-link {
        font-size: 15px;
    }

    body.no-scroll {
        overflow: hidden;
    }

    nav.glass-nav ul.nav-links .nav-mobile-actions {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    nav.glass-nav ul.nav-links .nav-mobile-actions .nav-user-btn,
    nav.glass-nav ul.nav-links .nav-mobile-actions .nav-btn-discord {
        width: auto;
        margin-left: 0 !important;
        padding: 12px 18px;
        font-size: 15px;
    }

    nav.glass-nav ul.nav-links .nav-mobile-actions .account-chip-wrap {
        margin-left: 0 !important;
    }

    /* Rozwijane "Narzędzia" jako akordeon na mobile (nie wygląda jak na PC) */
    nav.glass-nav .nav-dropdown:hover > .dropdown-menu,
    nav.glass-nav .nav-dropdown:focus-within > .dropdown-menu {
        display: none;
    }

    nav.glass-nav .dropdown-menu {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        min-width: 0;
        width: 100%;
        margin: 0;
        padding: 6px 0 6px 14px;
        flex-direction: column;
        gap: 2px;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    nav.glass-nav .nav-dropdown.open > .dropdown-menu {
        display: flex !important;
    }

    nav.glass-nav .dropdown-arrow {
        transition: transform 0.2s ease;
    }

    nav.glass-nav .nav-dropdown.open .dropdown-arrow {
        transform: rotate(180deg);
    }

    nav.glass-nav .dropdown-label {
        text-align: left;
        margin: 6px 0 4px;
    }

    nav.glass-nav .dropdown-link {
        padding: 9px 12px 11px;
    }
}

@media (max-width: 900px) {
    footer.glass-footer,
    .glass-footer {
        padding: 44px 20px 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .footer-cols {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

html.theme-catcode { --primary: #fba9cd; --primary-hover: #fdc8e0; --primary-gradient: linear-gradient(135deg, #fa6eac, #fba9cd); --border-glow: rgba(250,110,172,0.25); }
html.theme-catcode .nav-link::after { box-shadow: 0 0 10px rgba(250,110,172,0.6) !important; }
html.theme-catcode .btn-primary { background: linear-gradient(135deg, #fa6eac, #fba9cd) !important; color: #000 !important; }
html.theme-catcode .btn-primary:hover { box-shadow: 0 8px 25px rgba(250,110,172,0.4) !important; }
html.theme-catcode .dot.active { background: #fba9cd !important; box-shadow: 0 0 10px rgba(250,110,172,0.5) !important; }
html.theme-catcode .btn-project.discord { background: rgba(250,110,172,0.1) !important; color: #fba9cd !important; }
html.theme-catcode .btn-project.discord:hover { background: #fa6eac !important; color: #000 !important; }
html.theme-catcode .btn-discord { background: linear-gradient(135deg, #fa6eac, #fba9cd) !important; border: none !important; }
html.theme-catcode .nav-link:hover, html.theme-catcode .nav-link.active { color: #fba9cd !important; }
html.theme-catcode .nav-link:hover::after, html.theme-catcode .nav-link.active::after { background: #fa6eac !important; }
html.theme-catcode .section-title span { background: linear-gradient(135deg, #fba9cd, #fa6eac) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; }
html.theme-catcode .contact-icon-circle { border-color: rgba(250,110,172,0.2) !important; }
html.theme-catcode .contact-link:hover .contact-icon-circle { background: #fba9cd !important; box-shadow: 0 0 20px rgba(250,110,172,0.4) !important; }
html.theme-catcode .contact-link:hover .contact-icon-circle svg { color: #000 !important; }
html.theme-catcode .social-icon { border-color: rgba(250,110,172,0.1) !important; color: rgba(255,255,255,0.5) !important; }
html.theme-catcode .social-icon:hover { border-color: rgba(250,110,172,0.3) !important; }
html.theme-catcode a { color: #fba9cd; }
html.theme-catcode .loader-bar { background: #fba9cd !important; box-shadow: 0 0 15px rgba(250,110,172,0.5) !important; }
html.theme-catcode .loader-logo span { color: #fba9cd !important; }
html.theme-catcode .nav-logo span { background: linear-gradient(135deg, #fba9cd, #fa6eac) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; }
html.theme-catcode .footer-logo span { background: linear-gradient(135deg, #fba9cd, #fa6eac) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; }
.theme-catcode .btn-secondary { border-color: rgba(250,110,172,0.2) !important; color: #fba9cd !important; }
.theme-catcode .btn-secondary:hover { background: rgba(250,110,172,0.1) !important; border-color: rgba(250,110,172,0.3) !important; }
.theme-catcode .nav-links.active { border-left-color: rgba(250,110,172,0.2) !important; }
.theme-catcode .dropdown-link:hover { background: rgba(250,110,172,0.1) !important; }

.account-chip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 12px;
}

.account-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    border: 2px solid #000000;
    outline: none;
    background: #1c1c1c;
    box-shadow:
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.12),
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.8),
        inset 0 -4px 0 0 rgba(0, 0, 0, 0.6);
    color: #ffffff;
    text-shadow: 2px 2px 0 #000000;
    border-radius: 0;
    text-decoration: none;
    font-family: 'MinecraftFive', Inter, sans-serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: none;
}

.account-chip:hover {
    background: #fa6eac;
    box-shadow:
        inset 2px 2px 0 0 #ffb7d4,
        inset -2px -2px 0 0 #a54972,
        inset 0 -5px 0 0 #a54972;
    color: #ffffff;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6);
}

.account-chip:active {
    background: #e05a99;
    transform: translateY(2px);
    box-shadow:
        inset 2px 2px 0 0 rgba(0, 0, 0, 0.3),
        inset -2px -2px 0 0 rgba(255, 255, 255, 0.35),
        inset 0 -2px 0 0 #a54972;
}

.account-chip-avatar,
.account-avatar {
    width: 24px;
    height: 24px;
    border-radius: 2px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    image-rendering: auto;
    border: 2px solid #000000;
    background: #1c1c1c;
    flex-shrink: 0;
    display: block;
}

.account-chip-name {
    font-family: 'MinecraftFive', Inter, sans-serif;
    font-size: 13px;
    letter-spacing: 0.5px;
    line-height: 1;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-pop,
.account-popover {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: #0d0d0d;
    border: 2px solid #000000;
    box-shadow:
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.08),
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.6),
        0 10px 24px rgba(0, 0, 0, 0.7);
    padding: 10px;
    z-index: 1001;
    border-radius: 0;
}

.account-pop.open,
.account-popover.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-pop-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(250, 110, 172, 0.08);
    border: 2px solid #000000;
    box-shadow:
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.06),
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.5);
}

.account-pop-avatar {
    width: 32px;
    height: 32px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    image-rendering: auto;
    background: #1c1c1c;
    border: 2px solid #000000;
    color: #fa6eac;
    font-family: 'MinecraftFive', Inter, sans-serif;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-pop-txt {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.account-pop-name {
    font-family: 'MinecraftFive', Inter, sans-serif;
    font-size: 13px;
    color: #fba9cd;
    text-shadow: 1px 1px 0 #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-pop-sub {
    font-family: Inter, sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-pop-note {
    font-family: Inter, sans-serif;
    font-size: 11px;
    color: rgba(250, 110, 172, 0.8);
    padding: 4px 8px;
    background: rgba(250, 110, 172, 0.05);
    border: 1px dashed rgba(250, 110, 172, 0.3);
    text-align: center;
}

.account-pop-out,
.account-pop-item,
.account-popover-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    font-family: 'MinecraftFive', Inter, sans-serif;
    font-size: 12px;
    color: #ff6b6b;
    text-shadow: 1px 1px 0 #000;
    text-decoration: none;
    background: rgba(255, 107, 107, 0.08);
    border: 2px solid #000000;
    box-shadow:
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.08),
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.5);
    text-align: center;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}

.account-pop-out:hover,
.account-pop-item:hover,
.account-popover-item:hover {
    color: #ffffff;
    background: #ff4747;
    box-shadow:
        inset 2px 2px 0 0 #ff8e8e,
        inset -2px -2px 0 0 #b32d2d;
}

.account-pop-divider,
.account-popover-divider {
    height: 2px;
    background: #000;
    margin: 6px 0;
}

a.soon-link,
nav.glass-nav a.dropdown-link.disabled {
    position: relative;
    color: rgba(255, 255, 255, 0.42);
    cursor: not-allowed;
}

nav.glass-nav a.soon-link:hover,
nav.glass-nav a.dropdown-link.disabled:hover {
    color: rgba(255, 255, 255, 0.42) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.soon-badge,
.soon-lock-chip {
    border-radius: 0;
    clip-path: polygon(
        0 4px, 4px 4px, 4px 0,
        calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px,
        100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%,
        4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px)
    );
}

.soon-badge {
    display: inline-block;
    flex-shrink: 0;
    padding: 2px 8px;
    border: 2px solid #000;
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.07),
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.66);
    font-family: 'MinecraftFive', 'Inter', sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    vertical-align: middle;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);
}

a.soon-link > .soon-badge,
nav.glass-nav a.dropdown-link.disabled > .soon-badge {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    display: none;
    z-index: 40;
    box-sizing: border-box;
    padding: 5px 12px;
    background: #151515;
    box-shadow:
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.06),
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.6),
        0 3px 0 rgba(0, 0, 0, 0.55);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.62rem;
    pointer-events: none;
}

a.soon-link:hover > .soon-badge,
nav.glass-nav a.dropdown-link.disabled:hover > .soon-badge {
    display: block;
}

@media (max-width: 768px) {
    a.soon-link > .soon-badge,
    nav.glass-nav a.dropdown-link.disabled > .soon-badge {
        position: static;
        transform: none;
        display: inline-block;
        margin-left: 8px;
    }
}

body.soon-locked {
    overflow: hidden;
}

.soon-lock {
    position: fixed;
    inset: 0;
    z-index: 99999;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 24px 48px;
    text-align: center;
    color: #fff;
    font-family: 'MinecraftFive', 'Inter', sans-serif;
    background-color: #0a0a0a;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 32px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 32px);
}

.soon-lock-box {
    width: 100%;
    max-width: 560px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 44px 40px 40px;
    background: #151515;
    border: 2px solid #000;
    border-radius: 0;
    box-shadow:
        inset 2px 2px 0 0 rgba(255, 255, 255, 0.06),
        inset -2px -2px 0 0 rgba(0, 0, 0, 0.6),
        0 14px 34px rgba(0, 0, 0, 0.6);
}

.mobile-block {
    display: none !important;
}
