/* ============================================================
   PLAYPOINT – EPICKI PORTAL DO REALU
   CSS Master Stylesheet – Dark Neon Futuristic Design
   ============================================================ */

/* ── IMPORTS & VARIABLES ── */
:root {
    --black:         #000000;
    --deep-dark:     #03010D;
    --dark:          #0A051C;
    --dark-mid:      #0D0720;
    --panel-bg:      rgba(255,255,255,0.04);
    --panel-border:  rgba(192, 38, 211, 0.25);
    --magenta:       #C026D3;
    --magenta-light: #E040FB;
    --violet:        #7C3AED;
    --violet-light:  #A855F7;
    --neon-glow:     0 0 20px rgba(192,38,211,0.9), 0 0 60px rgba(124,58,237,0.6), 0 0 100px rgba(192,38,211,0.2);
    --neon-glow-sm:  0 0 10px rgba(192,38,211,0.75), 0 0 30px rgba(124,58,237,0.5);
    --text-primary:  #FFFFFF;
    --text-secondary: rgba(255,255,255,0.65);
    --text-muted:    rgba(255,255,255,0.35);
    --font-display:  'Oxanium', 'Rajdhani', sans-serif;
    --font-hero:     'Oxanium', 'Rajdhani', sans-serif;
    --font-body:     'Inter', sans-serif;
    --radius-sm:     8px;
    --radius-md:     16px;
    --radius-lg:     24px;
    --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    background: var(--deep-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: auto;
}

/* hide any leftover cursor artefacts */
#gamingCursor, .cursor-trail-dot { display: none !important; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--magenta), var(--violet)); border-radius: 3px; }

/* Selection */
::selection { background: rgba(192, 38, 211, 0.4); color: #fff; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ── TYPOGRAPHY UTILITIES ── */
.text-neon {
    background: linear-gradient(135deg, var(--magenta), var(--violet-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(192,38,211,0.95))
            drop-shadow(0 0 30px rgba(192,38,211,0.4));
}

.text-highlight {
    color: var(--magenta-light);
    font-weight: 600;
}

.text-neon-inline {
    color: var(--magenta);
}

/* ── SECTION COMMON ── */
.section-tag {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--magenta);
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.8;
    text-align: center;
}

.light-tag { color: rgba(255,255,255,0.5); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    text-transform: uppercase;
    text-align: center;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.light-title { color: #fff; }
.text-light-neon {
    background: linear-gradient(135deg, #fff, var(--magenta-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── GLASS PANEL ── */
.glass-panel {
    background: rgba(10, 5, 28, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.panel-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: var(--magenta);
    border-style: solid;
    z-index: 2;
}
.panel-corner.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.panel-corner.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.panel-corner.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.panel-corner.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.panel-scan {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--magenta), transparent);
    animation: scanLine 3s linear infinite;
    z-index: 1;
}

@keyframes scanLine {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(200px); opacity: 0; }
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    text-transform: uppercase;
}

html.can-hover .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(192,38,211,0.8),
                0 0 80px rgba(124,58,237,0.5),
                0 0 120px rgba(192,38,211,0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--magenta-light), var(--violet-light));
    opacity: 0;
    transition: opacity 0.3s;
}
html.can-hover .btn-primary:hover::before { opacity: 1; }

.btn-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    border-radius: inherit;
    z-index: -1;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s;
}
html.can-hover .btn-primary:hover .btn-glow { opacity: 0.7; }

.btn-border {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    z-index: -1;
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.6; filter: blur(0px); }
    50% { opacity: 1; filter: blur(2px); }
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border: 1px solid rgba(192, 38, 211, 0.3);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    background: transparent;
}

html.can-hover .btn-secondary:hover {
    color: #fff;
    border-color: var(--magenta);
    background: rgba(192, 38, 211, 0.1);
    box-shadow: var(--neon-glow-sm);
}

.btn-text { position: relative; z-index: 1; }

/* ============================================================
   TOP GLOBAL NAVIGATION BAR
   ============================================================ */
.top-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1100;
    height: 58px;
    background: rgba(3, 1, 13, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.35s ease, border-color 0.35s ease,
                box-shadow 0.35s ease;
}

.top-nav.scrolled {
    background: rgba(3, 1, 13, 0.88);
    border-bottom-color: rgba(192, 38, 211, 0.18);
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
}

.top-nav-inner {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Logo */
.top-nav-logo {
    display: flex;
    align-items: center;
    margin-right: auto;
    flex-shrink: 0;
}

.logo-img {
    height: 30px; /* poprzednio było 40px, wcześniej 48px, 58px */
    width: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(192,38,211,0.55));
    transition: var(--transition);
}
html.can-hover .logo-img:hover {
    filter: drop-shadow(0 0 20px rgba(192,38,211,1));
    transform: scale(1.05);
}

/* Global links */
.top-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 20px;
}

.top-link {
    padding: 7px 14px;
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.top-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px; right: 14px;
    height: 1px;
    background: var(--magenta);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    transform-origin: center;
}

html.can-hover .top-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}
html.can-hover .top-link:hover::after {
    transform: scaleX(1);
    box-shadow: 0 0 6px rgba(192, 38, 211, 0.6);
}

/* WESPRZYJ CTA button */
.top-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 7px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    position: relative;
    animation: cta-breathe 3s ease-in-out infinite;
}

@keyframes cta-breathe {
    0%, 100% {
        box-shadow: 0 0 14px rgba(192,38,211,0.6),
                    0 0 32px rgba(124,58,237,0.3);
    }
    50% {
        box-shadow: 0 0 26px rgba(192,38,211,0.95),
                    0 0 60px rgba(124,58,237,0.6),
                    0 0 100px rgba(192,38,211,0.2);
    }
}

html.can-hover .top-nav-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 30px rgba(192, 38, 211, 0.7),
                0 0 60px rgba(124, 58, 237, 0.4);
    animation-play-state: paused;
}

.top-nav-cta i {
    font-size: 0.6rem;
    position: relative;
    z-index: 1;
}

/* Top burger (mobile only) */
.top-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    margin-left: 16px;
    cursor: pointer;
    flex-shrink: 0;
}
.top-burger span {
    display: block;
    width: 22px; height: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    transition: var(--transition);
}
.top-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.top-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.top-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Active nav link highlight ── */
.top-link.active {
    color: #fff;
}
.top-link.active::after {
    transform: scaleX(1);
    box-shadow: 0 0 6px rgba(192, 38, 211, 0.6);
}

/* ============================================================
   MOBILE MENU (full-screen slide-in)
   ============================================================ */
.mob-overlay {
    position: fixed;
    inset: 0;
    z-index: 1098;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(4px);
}
.mob-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(340px, 90vw);
    height: 100%;
    z-index: 1099;
    background: rgba(5, 2, 18, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(192, 38, 211, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 72px 32px 40px;
    gap: 0;
    overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mob-close {
    position: absolute;
    top: 18px; right: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}
html.can-hover .mob-close:hover {
    background: rgba(192, 38, 211, 0.15);
    border-color: var(--magenta);
    color: #fff;
}

.mob-section-label {
    font-family: var(--font-display);
    font-size: 0.55rem;
    letter-spacing: 0.22em;
    color: var(--magenta);
    text-transform: uppercase;
    margin-bottom: 14px;
    opacity: 0.8;
}

.mob-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.mob-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 8px;
    transition: var(--transition);
}
html.can-hover .mob-link:hover {
    color: #fff;
    background: rgba(192, 38, 211, 0.1);
}
html.can-hover .mob-link:hover .mob-dot {
    background: var(--magenta);
    box-shadow: 0 0 8px var(--magenta);
}

.mob-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
    transition: var(--transition);
}

.mob-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(192,38,211,0.25), transparent);
    margin: 8px 0 20px;
}

.mob-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 14px;
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(192, 38, 211, 0.3);
}
html.can-hover .mob-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(192, 38, 211, 0.55);
}

/* ============================================================
   LEFT SIDE HUD NAVIGATION – REBUILT v5
   Architecture:
   · .hud-nav  = fixed outer container (pointer-events: none shell)
   · .hud-track = thin absolute line running top-to-bottom through dot centres
   · .hud-fill  = growing coloured fill inside the track
   · .hud-nodes = flex column of nodes; gap drives node spacing
   · .hud-node  = each row: dot-wrap (24px) + label
   · Track is positioned so it threads through the exact centre of every dot
   ============================================================ */

/* ── DOT DIAMETER & GAP as custom properties for easy tuning ── */
:root {
    --hud-dot-d:      20px;   /* dot outer diameter                 */
    --hud-node-gap:   44px;   /* gap between consecutive nodes      */
    --hud-left:       28px;   /* left edge of the whole HUD         */
    --hud-label-gap:  18px;   /* space between dot and label        */
}

/* ── OUTER SHELL ── */
.hud-nav {
    position: fixed;
    left: var(--hud-left);
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    pointer-events: none;
    /* subtle dark pill so nav is legible on light video frames */
    padding: 20px 16px 20px 0;
}

/* ── VERTICAL TRACK (background grey line) ──
   Positioned inside .hud-nodes (position:relative).
   left = half of dot diameter minus half track width.
   top / bottom = half dot diameter so line starts & ends
   exactly at the dot centres of first and last nodes.           */
.hud-track {
    position: absolute;
    left: calc(var(--hud-dot-d) / 2 - 2px);  /* centre on dot column */
    top:    calc(var(--hud-dot-d) / 2);        /* start: centre of first dot */
    bottom: calc(var(--hud-dot-d) / 2);        /* end:   centre of last dot  */
    width:  4px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* ── NEON FILL (grows top→bottom as user scrolls) ── */
.hud-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;            /* set by JS */
    background: linear-gradient(180deg,
        var(--magenta) 0%,
        var(--violet)  100%);
    border-radius: 4px;
    transition: height 0.1s linear;
    box-shadow: 0 0 8px rgba(192,38,211,0.9),
                0 0 20px rgba(124,58,237,0.5);
}

/* Glowing travelling tip */
.hud-fill::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 50%;
    transform: translateX(-50%);
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--magenta-light);
    box-shadow:
        0 0 0 3px rgba(192,38,211,0.25),
        0 0 14px var(--magenta),
        0 0 30px rgba(192,38,211,0.6);
    opacity: 0;
    transition: opacity 0.3s;
}
.hud-fill.has-progress::after { opacity: 1; }

/* ── NODES CONTAINER ── */
.hud-nodes {
    display: flex;
    flex-direction: column;
    gap: var(--hud-node-gap);
    position: relative;
    pointer-events: all;
}

/* ── SINGLE NODE ROW ── */
.hud-node {
    display: flex;
    align-items: center;
    gap: var(--hud-label-gap);
    text-decoration: none;
    position: relative;
    cursor: pointer;
    z-index: 1;
    transition: none;
}

/* ── DOT WRAPPER (fixed square = dot diameter) ── */
.hud-dot-wrap {
    position: relative;
    width:  var(--hud-dot-d);
    height: var(--hud-dot-d);
    flex-shrink: 0;
}

/* ── DOT CORE (visible circle) ── */
.hud-dot-core {
    position: absolute;
    inset: 0;
    margin: auto;
    width:  10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.22);
    transition: background 0.25s ease, border-color 0.25s ease,
                box-shadow 0.25s ease, transform 0.25s ease;
}

/* ── RING HALO ── */
.hud-dot-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    transition: border-color 0.25s ease, transform 0.3s ease,
                box-shadow 0.25s ease;
    pointer-events: none;
}

/* ── LABEL ── */
.hud-label {
    font-family:     var(--font-display);
    font-size:       0.65rem;
    font-weight:     600;
    letter-spacing:  0.2em;
    text-transform:  uppercase;
    white-space:     nowrap;
    color:           rgba(255,255,255,0.35);
    /* always visible – no hidden/translate trick */
    opacity:    1;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

html.can-hover /* ── HOVER STATE ── */
.hud-node:hover .hud-dot-core {
    background:   rgba(192,38,211,0.55);
    border-color: var(--magenta);
    box-shadow:   0 0 10px rgba(192,38,211,0.8),
                  0 0 22px rgba(192,38,211,0.4);
    transform:    scale(1.25);
}
html.can-hover .hud-node:hover .hud-dot-ring {
    border-color: rgba(192,38,211,0.5);
    transform:    scale(1.6);
    box-shadow:   0 0 6px rgba(192,38,211,0.3);
}
html.can-hover .hud-node:hover .hud-label {
    color: rgba(255,255,255,0.8);
    text-shadow: 0 0 10px rgba(192,38,211,0.4);
}

/* ── ACTIVE STATE (section in view) ── */
.hud-node.active .hud-dot-core {
    background:   var(--magenta);
    border-color: var(--magenta-light);
    box-shadow:
        0 0 0 3px rgba(192,38,211,0.2),
        0 0 14px var(--magenta),
        0 0 28px rgba(192,38,211,0.6);
    transform:    scale(1.35);
    animation: hudDotPulse 2.2s ease-in-out infinite;
}
.hud-node.active .hud-dot-ring {
    border-color: rgba(192,38,211,0.6);
    transform:    scale(2.0);
    box-shadow:   0 0 12px rgba(192,38,211,0.35);
    animation: hudRingPulse 2.2s ease-in-out infinite;
}
.hud-node.active .hud-label {
    color:       var(--magenta-light);
    text-shadow: 0 0 16px rgba(192,38,211,0.9),
                 0 0 32px rgba(192,38,211,0.4);
    font-weight: 700;
}

@keyframes hudDotPulse {
    0%,100% { box-shadow: 0 0 0 3px rgba(192,38,211,0.2), 0 0 14px var(--magenta), 0 0 28px rgba(192,38,211,0.5); }
    50%      { box-shadow: 0 0 0 5px rgba(192,38,211,0.1), 0 0 22px var(--magenta), 0 0 44px rgba(192,38,211,0.35); }
}
@keyframes hudRingPulse {
    0%,100% { transform: scale(2.0); opacity: 0.7; }
    50%      { transform: scale(2.5); opacity: 0.3; }
}

/* ── SCROLL % READOUT ── */
.hud-pct-wrap {
    margin-top:    16px;
    padding-left:  0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
html.can-hover .hud-nav:hover .hud-pct-wrap { opacity: 1; }

.hud-pct {
    font-family:    var(--font-display);
    font-size:      0.6rem;
    letter-spacing: 0.12em;
    color:          var(--magenta);
    text-shadow:    0 0 8px rgba(192,38,211,0.7);
}

/* ============================================================
   HERO SECTION – wycentrowany, padding symetryczny
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* symetryczny padding – HUD jest fixed i nie wpływa na flow */
    padding: 120px 60px 60px 60px;
}

/* ============================================================
   BODY LAYOUT – sekcje nie wymagają offset’u za HUD (jest fixed)
   ============================================================ */
.filozofia,
.dzialania,
.twoja-droga,
.wsparcie,
.terminal-section {
    padding-left: 60px;
    padding-right: 60px;
}

/* ============================================================
   RESPONSIVE – hide HUD nav & collapse top nav on mobile
   ============================================================ */
@media (max-width: 960px) {
    .hud-nav { display: none !important; }
    .top-burger { display: flex; }
    .top-nav-links { display: none; }
    .top-nav-cta { display: none; }
    .hero { padding: 100px 24px 60px; }
    .filozofia,
    .dzialania,
    .twoja-droga,
    .wsparcie,
    .terminal-section {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* ============================================================
   OLD NAVBAR RULES (kept for logo-img class reuse, zeroed out)
   ============================================================ */
.navbar { display: none; }


/* Video BG */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-video {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.25;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(3, 1, 13, 0.5) 0%,
        rgba(3, 1, 13, 0.3) 50%,
        rgba(3, 1, 13, 0.95) 100%
    );
}
.hero-grid {
    position: absolute;
    /* Increase area so that we can translate to the left/top without cutting the edges off */
    inset: -60px;
    background-image:
        linear-gradient(rgba(192, 38, 211, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 38, 211, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    will-change: transform;
}
@keyframes gridMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(60px, 60px, 0); }
}

.hero-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.15) 2px,
        rgba(0,0,0,0.15) 4px
    );
    pointer-events: none;
}

/* Particles */
.particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.particle {
    position: absolute;
    border-radius: 50%;
    animation: floatParticle var(--duration, 8s) ease-in-out infinite;
    background: radial-gradient(circle, var(--magenta), transparent);
    opacity: 0.6;
}
@keyframes floatParticle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-60px) scale(1.2); opacity: 0.8; }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(192, 38, 211, 0.1);
    border: 1px solid rgba(192, 38, 211, 0.3);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--magenta-light);
    margin-bottom: 32px;
    text-transform: uppercase;
}

.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--magenta);
    animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(192, 38, 211, 0.7); }
    50% { box-shadow: 0 0 0 6px rgba(192, 38, 211, 0); }
}

.hero-title {
    font-family: var(--font-hero);
    font-size: clamp(2.4rem, 5.5vw, 5.2rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.title-line {
    display: block;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.title-line:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) { animation-delay: 0.5s; color: var(--text-secondary); }
.title-line:nth-child(3) { animation-delay: 0.7s; }

.title-accent {
    background: linear-gradient(135deg, var(--magenta), var(--violet-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(192, 38, 211, 0.6));
    animation: titleReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards, neonFlicker 4s ease-in-out 1.5s infinite;
}

@keyframes titleReveal {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes neonFlicker {
    0%, 95%, 100% { filter: drop-shadow(0 0 20px rgba(192, 38, 211, 0.6)); }
    96% { filter: drop-shadow(0 0 4px rgba(192, 38, 211, 0.2)); }
    97% { filter: drop-shadow(0 0 25px rgba(192, 38, 211, 0.9)); }
    98% { filter: drop-shadow(0 0 8px rgba(192, 38, 211, 0.3)); }
    99% { filter: drop-shadow(0 0 30px rgba(192, 38, 211, 1)); }
}

.neon-text {
    background: none !important;
    -webkit-text-fill-color: rgba(255,255,255,0.5) !important;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.2s forwards;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.5s forwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--magenta), var(--violet-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 6px;
    font-family: var(--font-display);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, rgba(192, 38, 211, 0.4), transparent);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 0.8s ease 2s forwards;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, var(--magenta), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.3; }
}

.scroll-indicator span {
    font-family: var(--font-display);
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    writing-mode: horizontal-tb;
}

/* ============================================================
   FILOZOFIA SECTION
   ============================================================ */
.filozofia {
    padding: 120px 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.section-bg-anim {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 50%, rgba(192, 38, 211, 0.06) 0%, transparent 60%);
    animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.filozofia .section-title {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.title-sub {
    display: block;
    background: linear-gradient(135deg, var(--magenta), var(--violet-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.filozofia-panel {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px;
}

.filozofia-text {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.filozofia-icons {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.f-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(192, 38, 211, 0.06);
    border: 1px solid rgba(192, 38, 211, 0.15);
    transition: var(--transition);
    min-width: 80px;
}

html.can-hover .f-icon:hover {
    background: rgba(192, 38, 211, 0.12);
    border-color: var(--magenta);
    transform: translateY(-4px);
    box-shadow: var(--neon-glow-sm);
}

.f-icon i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--magenta), var(--violet-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.f-icon span {
    font-size: 0.65rem;
    font-family: var(--font-display);
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Glitch title */
.glitch-title {
    position: relative;
}
.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0; right: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}
.glitch-title::before {
    color: var(--magenta);
    animation: glitch1 3s infinite linear alternate-reverse;
    clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
    opacity: 0;
}
.glitch-title::after {
    color: var(--violet-light);
    animation: glitch2 2s infinite linear alternate-reverse;
    clip-path: polygon(0 70%, 100% 70%, 100% 90%, 0 90%);
    opacity: 0;
}
html.can-hover .glitch-title:hover::before,
html.can-hover .glitch-title:hover::after { opacity: 1; }

@keyframes glitch1 {
    0% { transform: translateX(-2px); }
    25% { transform: translateX(2px); }
    50% { transform: translateX(-1px); }
    75% { transform: translateX(3px); }
    100% { transform: translateX(0); }
}
@keyframes glitch2 {
    0% { transform: translateX(2px); }
    33% { transform: translateX(-2px); }
    66% { transform: translateX(1px); }
    100% { transform: translateX(-3px); }
}

/* ============================================================
   DZIAŁANIA – BENTO GRID
   ============================================================ */
.dzialania {
    padding: 80px 0 120px;
    position: relative;
}

.dzialania .section-title { margin-bottom: 48px; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 20px;
}

/* Card base */
.bento-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(10, 5, 28, 0.8);
    border: 1px solid rgba(192, 38, 211, 0.1);
    transition: var(--transition);
    cursor: pointer;
    min-height: 320px;
}

html.can-hover .bento-card:hover {
    border-color: rgba(192, 38, 211, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--neon-glow-sm);
}

/* Grid positions */
.bento-large { grid-column: span 7; }
.bento-medium { grid-column: span 5; }
.bento-tall { grid-column: span 5; grid-row: span 2; min-height: 500px; }
.bento-stats { grid-column: span 7; }

/* Card backgrounds (B&W with color on hover) */
.card-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.5) brightness(0.8) saturate(0.2);
    transition: var(--transition-slow);
}

html.can-hover .bento-card:hover .card-bg-img {
    filter: grayscale(0) brightness(0.9) saturate(1.1);
}

.card-overlay-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(3, 1, 13, 0.7) 10%,
        rgba(3, 1, 13, 0.1) 100%
    );
    z-index: 1;
}

/* Neon border on hover */
.card-glitch-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: inset 0 0 30px rgba(192, 38, 211, 0.15);
}
html.can-hover .bento-card:hover .card-glitch-border { opacity: 1; }

.card-content {
    position: relative;
    z-index: 3;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-icon-wrap {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(192, 38, 211, 0.4);
    transition: var(--transition);
}
html.can-hover .bento-card:hover .card-icon-wrap {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(192, 38, 211, 0.6);
}

.card-icon-wrap i { color: #fff; font-size: 1.1rem; }

.card-title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    position: relative;
    line-height: 1.2;
}

/* Glitch on hover for card titles */
.glitch-on-hover {
    display: inline-block;
}
html.can-hover .bento-card:hover .glitch-on-hover {
    animation: cardGlitch 0.3s steps(2) 1;
}
@keyframes cardGlitch {
    0% { transform: translateX(-2px); clip-path: polygon(0 20%, 100% 20%, 100% 30%, 0 30%); }
    25% { transform: translateX(2px); clip-path: polygon(0 60%, 100% 60%, 100% 70%, 0 70%); }
    50% { transform: translateX(-1px); clip-path: none; }
    100% { transform: translateX(0); }
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--magenta-light);
    text-transform: uppercase;
    transition: var(--transition);
}
html.can-hover .card-link:hover { gap: 14px; color: #fff; }
.card-link i { transition: var(--transition); }
html.can-hover .card-link:hover i { transform: translateX(4px); }

.card-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255,255,255,0.04);
    z-index: 3;
    line-height: 1;
    transition: var(--transition);
}
html.can-hover .bento-card:hover .card-number {
    color: rgba(192, 38, 211, 0.12);
}

/* Stats card */
.stats-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    height: 100%;
    justify-content: flex-start;
}

.mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px;
    background: rgba(192, 38, 211, 0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(192, 38, 211, 0.12);
    transition: var(--transition);
}

html.can-hover .mini-stat:hover {
    background: rgba(192, 38, 211, 0.12);
    border-color: rgba(192, 38, 211, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--neon-glow-sm);
}

.mini-stat i {
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--magenta), var(--violet-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mini-num {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.mini-label {
    font-size: 0.65rem;
    font-family: var(--font-display);
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Reveal animation */
.reveal-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   TWOJA DROGA – SKILL TREE
   ============================================================ */
.twoja-droga {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.skill-tree-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(124, 58, 237, 0.06) 0%, transparent 70%),
        radial-gradient(circle at 20% 80%, rgba(192, 38, 211, 0.04) 0%, transparent 50%);
}

.twoja-droga .section-title { margin-bottom: 8px; }

/* Skill Tree container */
.skill-tree {
    position: relative;
    margin: 60px 0 48px;
    min-height: 480px;
}

/* SVG line overlay */
.skill-tree-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    height: 100px;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

/* Nodes layout */
.skill-nodes {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 2;
    padding: 40px 0;
}

/* Individual node */
.skill-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.8);
}

.skill-node.visible {
    opacity: 1;
    transform: scale(1);
}

.node-orb {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

html.can-hover .node-orb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 40px rgba(192, 38, 211, 0.7), 0 0 80px rgba(124, 58, 237, 0.4);
}

.node-orb.locked {
    background: linear-gradient(135deg, #2a1a3e, #1a1030);
    border: 2px solid rgba(192, 38, 211, 0.2);
}

.node-orb.locked .node-icon i {
    opacity: 0.3;
    filter: none !important;
}

.node-orb.activated {
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    animation: orbActivate 0.5s ease;
}

@keyframes orbActivate {
    0% { transform: scale(1); box-shadow: none; }
    50% { transform: scale(1.2); box-shadow: 0 0 60px rgba(192, 38, 211, 1); }
    100% { transform: scale(1.05); }
}

.node-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(192, 38, 211, 0.4);
    animation: ringPulse 2s ease-in-out infinite;
}
.ring2 {
    inset: -14px;
    border-color: rgba(124, 58, 237, 0.2);
    animation-delay: 0.5s;
}
.node-orb.locked .node-ring {
    border-color: rgba(255,255,255,0.05);
    animation: none;
}

@keyframes ringPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.1); }
}

.node-icon {
    position: relative;
    z-index: 2;
}
.node-icon i {
    font-size: 2rem;
    color: #fff;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
}

.node-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 38, 211, 0.3), transparent);
    animation: nodePulse 2s ease-in-out infinite;
}
.node-orb.locked .node-pulse { display: none; }

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0; }
}

/* Node info */
.node-info {
    text-align: center;
    max-width: 240px;
}

.node-level-badge {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(192, 38, 211, 0.15);
    border: 1px solid rgba(192, 38, 211, 0.3);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--magenta-light);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.node-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.node-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.node-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: var(--magenta-light);
    text-transform: uppercase;
}
.locked-status { color: var(--text-muted); }

.status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--magenta);
    animation: pulseDot 1.5s ease-in-out infinite;
}
.locked-dot {
    background: rgba(255,255,255,0.2);
    animation: none;
}

.skill-cta { margin-top: 20px; }

/* ============================================================
   WSPARCIE SECTION
   ============================================================ */
.wsparcie {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.wsparcie-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(192, 38, 211, 0.08) 0%,
        rgba(124, 58, 237, 0.12) 50%,
        rgba(192, 38, 211, 0.06) 100%
    );
}

.wsparcie-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.wsparcie-desc strong { color: #fff; }

/* ── Support cards grid ── */
.support-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0 40px;
}

@media (max-width: 960px) {
    .support-cards-grid {
        grid-template-columns: 1fr;
    }
}

.support-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 4px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.support-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(224,64,251,0.05), rgba(124,58,237,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}
html.can-hover .support-card:hover {
    transform: translateY(-6px);
    border-color: rgba(224,64,251,0.35);
    box-shadow: 0 20px 56px rgba(224,64,251,0.12);
    text-decoration: none;
    color: inherit;
}
html.can-hover .support-card:hover::before { opacity: 1; }

.support-card--accent {
    border-color: rgba(224,64,251,0.18);
    background: linear-gradient(135deg, rgba(224,64,251,0.05), rgba(124,58,237,0.05));
}
html.can-hover .support-card--accent:hover {
    border-color: var(--magenta);
    box-shadow: 0 20px 56px rgba(224,64,251,0.18);
}

.support-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    padding: 4px 10px;
    border-radius: 2px;
}

.support-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 4px;
    background: rgba(224,64,251,0.1);
    border: 1px solid rgba(224,64,251,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--magenta);
    transition: background 0.3s, box-shadow 0.3s;
}
html.can-hover .support-card:hover .support-card-icon {
    background: rgba(224,64,251,0.18);
    box-shadow: 0 0 18px rgba(224,64,251,0.25);
}

.support-card-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    margin: 0;
}

.support-card-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.support-card-krs {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
}
.support-card-krs strong {
    color: var(--magenta-light);
    font-family: var(--font-display);
    font-size: 0.9rem;
}

.support-card-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-top: 4px;
    transition: gap 0.25s ease;
}
html.can-hover .support-card:hover .support-card-cta { gap: 12px; }

.support-card-corner {
    position: absolute;
    width: 10px;
    height: 10px;
}
.sc-tl {
    top: 7px; left: 7px;
    border-top: 2px solid var(--magenta);
    border-left: 2px solid var(--magenta);
}
.sc-br {
    bottom: 7px; right: 7px;
    border-bottom: 2px solid rgba(124,58,237,0.4);
    border-right: 2px solid rgba(124,58,237,0.4);
}

/* Loot grid */
.loot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.loot-box {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(192, 38, 211, 0.2);
    background: rgba(10, 5, 28, 0.7);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

html.can-hover .loot-box:hover {
    border-color: var(--magenta);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--neon-glow);
}

.loot-box.featured {
    border-color: rgba(192, 38, 211, 0.5);
    background: rgba(10, 5, 28, 0.85);
    transform: scale(1.04);
}
html.can-hover .loot-box.featured:hover { transform: translateY(-8px) scale(1.06); }

.featured-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    padding: 4px 16px;
    border-radius: 0 0 8px 8px;
    text-transform: uppercase;
    z-index: 3;
}

.loot-glow {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    filter: blur(12px);
}
html.can-hover .loot-box:hover .loot-glow { opacity: 0.3; }
.loot-box.featured .loot-glow { opacity: 0.15; }

.loot-inner {
    padding: 36px 28px;
    position: relative;
    z-index: 2;
}

.loot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-top: 8px;
}

.loot-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    display: flex;
    align-items: center;
    justify-content: center;
}
.loot-icon i { color: #fff; font-size: 1rem; }

.loot-tier {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--magenta-light);
    text-transform: uppercase;
}

.loot-amount {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1;
    letter-spacing: -0.01em;
}

.loot-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(192, 38, 211, 0.3), transparent);
    margin-bottom: 20px;
}

.loot-rewards {
    text-align: left;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.loot-rewards li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.loot-rewards li i {
    color: var(--magenta);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.loot-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: rgba(192, 38, 211, 0.15);
    border: 1px solid rgba(192, 38, 211, 0.3);
    border-radius: var(--radius-sm);
    color: var(--magenta-light);
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
    transition: var(--transition);
}
html.can-hover .loot-btn:hover {
    background: rgba(192, 38, 211, 0.25);
    border-color: var(--magenta);
    color: #fff;
}

.featured-btn {
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    border-color: transparent;
    color: #fff !important;
}
html.can-hover .featured-btn:hover {
    box-shadow: 0 4px 20px rgba(192, 38, 211, 0.5);
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--magenta-light), var(--violet-light));
}

/* Fundacja Dane */
.fundacja-dane {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
}

.dane-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--magenta);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.dane-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.dane-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: rgba(192, 38, 211, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(192, 38, 211, 0.1);
}
.dane-full { grid-column: span 2; }

.dane-label {
    font-family: var(--font-display);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.dane-value {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
}

.account {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--magenta-light);
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(192, 38, 211, 0.3);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}
html.can-hover .copy-btn:hover {
    border-color: var(--magenta);
    color: var(--magenta-light);
    background: rgba(192, 38, 211, 0.08);
}
.copy-btn i { transition: var(--transition); }
html.can-hover .copy-btn:hover i { transform: scale(1.2); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--deep-dark), #000);
    border-top: 1px solid rgba(192, 38, 211, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    height: 40px;
    width: auto;
    /* nie przepalamy – zachowujemy oryginalne kolory logo */
    filter: drop-shadow(0 0 12px rgba(192,38,211,0.5));
    margin-bottom: 20px;
    opacity: 1;
    transition: var(--transition);
}
html.can-hover .footer-logo:hover {
    filter: drop-shadow(0 0 22px rgba(192,38,211,0.95));
    transform: scale(1.04);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

html.can-hover .social-icon:hover {
    background: rgba(192, 38, 211, 0.15);
    border-color: var(--magenta);
    color: var(--magenta-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(192, 38, 211, 0.3);
}

.footer-nav-title {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--magenta);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}
html.can-hover .footer-nav a:hover {
    color: #fff;
    padding-left: 6px;
    text-shadow: 0 0 12px rgba(192, 38, 211, 0.5);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.contact-item i {
    color: var(--magenta);
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
}
.contact-item a {
    color: var(--text-muted);
    transition: color 0.2s;
}
html.can-hover .contact-item a:hover { color: var(--magenta-light); }

/* Footer bottom */
.footer-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(192, 38, 211, 0.2), transparent);
    margin-bottom: 24px;
}

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

.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-made {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-made i { color: var(--magenta); }

/* ============================================================
   UTILITIES
   ============================================================ */

/* Toast */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(10, 5, 28, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(192, 38, 211, 0.4);
    border-radius: 100px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #fff;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast i { color: var(--magenta); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(192, 38, 211, 0.4);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
html.can-hover .back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(192, 38, 211, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .bento-large { grid-column: span 12; }
    .bento-medium { grid-column: span 12; }
    .bento-tall { grid-column: span 12; grid-row: span 1; min-height: 320px; }
    .bento-stats { grid-column: span 12; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: span 2; }

    .skill-nodes { flex-direction: column; gap: 60px; padding: 0; }
    .skill-tree-svg { display: none; }
    .skill-node { flex-direction: row; text-align: left; max-width: 600px; width: 100%; }
    .node-info { text-align: left; max-width: none; }
    .skill-node:not(:last-child)::after {
        content: '';
        display: none;
    }
    .loot-grid { grid-template-columns: 1fr; max-width: 400px; }
    .loot-box.featured { transform: scale(1); }

    .stats-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }

    .hero-title { font-size: clamp(2rem, 9vw, 3.5rem); }
    .hero-cta-group { flex-direction: column; align-items: center; }
    .hero-stats { gap: 0; flex-wrap: wrap; justify-content: center; }
    .stat-item { padding: 12px 20px; }

    .filozofia-panel { padding: 28px 20px; }
    .filozofia-icons { gap: 12px; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-brand { grid-column: 1; }
    .footer-nav ul { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
    .footer-contact { gap: 8px; }
    .footer-bottom-content { flex-direction: column; gap: 8px; text-align: center; }

    .dane-grid { grid-template-columns: 1fr; }
    .dane-full { grid-column: 1; }

    .section-title { font-size: clamp(1.6rem, 7vw, 2.5rem); }

    .skill-node { flex-direction: column; text-align: center; }
    .node-info { text-align: center; }
}

/* ─── ACTIVE NAV LINK ─── */
.nav-link.active {
    color: #fff;
}
.nav-link.active::after {
    left: 8px;
    right: 8px;
    box-shadow: 0 0 6px var(--magenta);
}

/* ─── CARD GLITCH BORDER ANIMATION ─── */
@keyframes borderGlitch {
    0% { box-shadow: inset 0 0 20px rgba(192,38,211,0.1), inset 2px 0 0 rgba(192,38,211,0.3); }
    33% { box-shadow: inset 0 0 30px rgba(124,58,237,0.2), inset -2px 0 0 rgba(124,58,237,0.4); }
    66% { box-shadow: inset 0 0 20px rgba(192,38,211,0.15); }
    100% { box-shadow: inset 0 0 30px rgba(192,38,211,0.15); }
}

/* ─── HERO VIDEO FALLBACK BG ─── */
.hero-video-wrap {
    background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(124,58,237,0.15) 0%, transparent 60%);
}

/* ─── SKILL TREE SECTION RESPONSIVE LINE ─── */
@media (max-width: 1024px) {
    .skill-nodes::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .stats-content { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { display: none; }
    .bento-card { min-height: 280px; }
    .bento-tall { min-height: 280px; }
}

/* ============================================================
   GAMING RPG CURSOR
   ============================================================ */

/* Trójkątna strzałka – nie translate(-50,-50), bo hotspot jest w rogu */
#gamingCursor {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    /* hotspot: top-left corner of triangle */
    transform: translate(0, 0);
    will-change: left, top;
    transition: transform .08s ease;
}

.gaming-cursor-svg {
    display: block;
    width: 22px;
    height: 24px;
    transition: width .15s ease, height .15s ease,
                filter .15s ease;
    filter: drop-shadow(0 0 4px rgba(192,38,211,0.7))
            drop-shadow(0 2px 6px rgba(0,0,0,0.8));
}

/* Hover state: bigger + magenta glow */
#gamingCursor.hover .gaming-cursor-svg {
    width: 28px;
    height: 30px;
    filter: drop-shadow(0 0 10px rgba(192,38,211,1))
            drop-shadow(0 0 20px rgba(192,38,211,0.5))
            drop-shadow(0 2px 8px rgba(0,0,0,0.9));
}

/* Click state */
#gamingCursor.clicking .gaming-cursor-svg {
    width: 18px;
    height: 20px;
    filter: drop-shadow(0 0 16px rgba(192,38,211,1));
}

/* Trail dots – short fading tail */
.cursor-trail-dot {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99990;
    mix-blend-mode: screen;
    transform: translate(0, 0);
}

/* ============================================================
   ONLINE BADGE DOT (GREEN)
   ============================================================ */
.online-dot {
    background: #22c55e !important;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.7) !important;
    animation: onlinePulse 1.5s ease-in-out infinite !important;
}

@keyframes onlinePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
    50%       { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
}

/* Badge cursor + interactive */
.hero-badge {
    border-color: rgba(34,197,94,0.3);
    color: #86efac;
    cursor: pointer;
    user-select: none;
    transition: border-color .3s, color .3s, background .3s;
}
html.can-hover .hero-badge:hover {
    background: rgba(34,197,94,0.08);
    border-color: rgba(34,197,94,0.6);
}

/* OFFLINE state */
.hero-badge.offline {
    border-color: rgba(120,120,120,0.3);
    color: rgba(180,180,180,0.6);
    background: rgba(255,255,255,0.03);
}
.hero-badge.offline .badge-dot {
    background: #555 !important;
    box-shadow: none !important;
    animation: none !important;
}


/* ============================================================
   SKILL TREE – REDESIGN (VERTICAL CABLE) – DARK FIRST
   ============================================================ */
.skill-nodes {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    position: relative;
}

/* Hide horizontal SVG – we use vertical cable instead */
.skill-tree-svg { display: none !important; }

/* ─── BASE NODE ─── */
.skill-node {
    display: grid;
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 0 36px;
    max-width: 720px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: relative;
}

.skill-node.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Grid areas */
.node-orb        { grid-column: 1; grid-row: 1; }
.node-cable-down { grid-column: 1; grid-row: 2; justify-self: center; margin-top: 0; }
.node-info       { grid-column: 2; grid-row: 1 / 3; align-self: start; padding-top: 6px; }

/* ─── ORB ─── */
.skill-node .node-orb {
    position: relative;
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .45s cubic-bezier(.4,0,.2,1);
}

/* DARK (default – all nodes start dark & off) */
.node-orb.orb-dark {
    background: #0c0a18;
    border: 2px solid rgba(255,255,255,0.07);
    box-shadow: none;
    filter: none;
}

.node-orb.orb-dark .node-ring {
    border-color: rgba(255,255,255,0.06) !important;
    animation: none !important;
}
.node-orb.orb-dark .node-pulse    { display: none; }
.node-orb.orb-dark .node-icon i   { opacity: 0.18; color: #fff; filter: none; }
.node-orb.orb-dark .node-lock-icon i { opacity: 0.3; }

/* ACTIVE – lit up neon violet after click */
.node-orb.orb-active {
    background: linear-gradient(135deg, var(--magenta), var(--violet));
    border: none;
    box-shadow:
        0 0 24px rgba(192,38,211,0.9),
        0 0 60px rgba(124,58,237,0.6),
        0 0 100px rgba(192,38,211,0.25),
        inset 0 0 24px rgba(255,255,255,0.08);
}
.node-orb.orb-active .node-ring {
    border-color: rgba(192,38,211,0.45) !important;
    animation: ringPulse 2s ease-in-out infinite !important;
}
.node-orb.orb-active .node-pulse    { display: block; }
.node-orb.orb-active .node-icon i   { opacity: 1; filter: drop-shadow(0 0 8px rgba(255,255,255,0.5)); }
.node-orb.orb-active .node-lock-icon { opacity: 0; pointer-events: none; }

/* ENABLED (unlocked by prev click, not yet clicked) */
.node-orb.orb-enabled {
    background: #150d28;
    border: 2px solid rgba(192,38,211,0.35);
    box-shadow: 0 0 10px rgba(192,38,211,0.15);
}
.node-orb.orb-enabled .node-ring {
    border-color: rgba(192,38,211,0.2) !important;
    animation: ringPulse 3s ease-in-out infinite !important;
}
.node-orb.orb-enabled .node-icon i { opacity: 0.5; }
.node-orb.orb-enabled .node-lock-icon { opacity: 0; pointer-events: none; }

html.can-hover /* Hover effects */
.node-orb.orb-enabled:hover {
    background: #1e0e38;
    border-color: rgba(192,38,211,0.65);
    box-shadow: 0 0 20px rgba(192,38,211,0.3);
    transform: scale(1.06);
}
html.can-hover .node-orb.orb-active:hover {
    transform: scale(1.08);
    box-shadow:
        0 0 30px rgba(192,38,211,0.8),
        0 0 70px rgba(124,58,237,0.5);
}
html.can-hover .node-orb.orb-dark:hover {
    cursor: not-allowed;
    animation: lockedShake .4s ease;
}

/* LOCK ICON */
.node-lock-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: opacity 0.3s ease;
}
.node-lock-icon i {
    font-size: 1rem;
    color: rgba(255,255,255,0.3);
    filter: none;
}

/* ─── CABLE ─── */
.node-cable-down {
    width: 4px;
    height: 80px;
    background: transparent;
    border: none;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: background .5s ease, box-shadow .5s ease;
    flex-shrink: 0;
    margin-top: -2px;
}

/* Lit cable after activation */
.node-cable-down.cable-active {
    background: linear-gradient(180deg, var(--magenta), var(--violet));
    box-shadow: 0 0 14px rgba(192,38,211,0.95),
                0 0 30px rgba(124,58,237,0.5),
                0 0 50px rgba(192,38,211,0.2);
}

.node-cable-down.cable-active::after {
    content: '';
    position: absolute;
    top: -40%;
    left: 0; right: 0;
    height: 40%;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.65), transparent);
    animation: cableFlow 2s linear infinite;
}

@keyframes cableFlow {
    0%   { top: -40%; }
    100% { top: 100%; }
}

/* Last node – hide cable */
.skill-node:last-child .node-cable-down { display: none; }

/* ─── INFO PANEL ─── */
.node-info {
    text-align: left;
    max-width: none;
    flex: 1;
    padding-top: 6px;
    transition: opacity .4s ease, filter .4s ease;
}

/* Dark info when node is off */
.node-dark .node-info {
    filter: grayscale(1) brightness(0.45);
    opacity: 0.5;
}

/* Enabled info (prev clicked) */
.node-enabled .node-info {
    filter: grayscale(.5) brightness(.7);
    opacity: .75;
}

/* Active info (clicked!) */
.node-active .node-info {
    filter: none;
    opacity: 1;
}

/* Badge – dark state */
.dark-badge {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.2) !important;
}

/* Badge active state override in JS */

/* Locks shake */
@keyframes lockedShake {
    0%,100% { transform: translateX(0); }
    20%     { transform: translateX(-5px); }
    40%     { transform: translateX(5px); }
    60%     { transform: translateX(-3px); }
    80%     { transform: translateX(3px); }
}

/* Activated title gradient */
.node-active .node-title {
    background: linear-gradient(135deg, var(--magenta), var(--violet-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Skill tree responsive */
@media (max-width: 600px) {
    .skill-node {
        grid-template-columns: 70px 1fr;
        gap: 0 20px;
    }
    .skill-node .node-orb { width: 70px; height: 70px; }
    .node-cable-down { height: 60px; }
}

/* ============================================================
   LOOT BOX – IMPACT & PERK BLOCKS
   ============================================================ */
.loot-impact,
.loot-perk {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    font-size: 0.82rem;
    line-height: 1.5;
}

.loot-impact {
    background: rgba(192,38,211,0.07);
    border: 1px solid rgba(192,38,211,0.15);
}

.loot-perk {
    background: rgba(124,58,237,0.07);
    border: 1px solid rgba(124,58,237,0.2);
    margin-bottom: 20px;
}

.impact-label,
.perk-label {
    font-family: var(--font-display);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.impact-label {
    color: var(--magenta);
}

.perk-label {
    color: var(--violet-light);
}

.impact-label i, .perk-label i {
    font-size: 0.6rem;
}

.loot-impact p, .loot-perk p {
    color: var(--text-secondary);
}

/* ============================================================
   LIVE STATUS BAR
   ============================================================ */
.live-status-bar {
    width: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(192,38,211,0.15);
    border-bottom: 1px solid rgba(192,38,211,0.15);
    height: 40px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.status-bar-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
}

.sb-live-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 18px;
    background: rgba(192,38,211,0.12);
    border-right: 1px solid rgba(192,38,211,0.2);
    height: 100%;
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--magenta-light);
    flex-shrink: 0;
    white-space: nowrap;
}

.sb-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f0163a;
    animation: livePulse 1s ease-in-out infinite;
    flex-shrink: 0;
    display: inline-block;
}

@keyframes livePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(240,22,58,0.8); }
    50%     { box-shadow: 0 0 0 5px rgba(240,22,58,0); }
}

.status-bar-track {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

/* Fade edges */
.status-bar-track::before,
.status-bar-track::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 40px;
    z-index: 2;
    pointer-events: none;
}
.status-bar-track::before {
    left: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.6), transparent);
}
.status-bar-track::after {
    right: 0;
    background: linear-gradient(270deg, rgba(0,0,0,0.6), transparent);
}

.status-bar-content {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    padding: 0 20px;
    animation: tickerScroll 32s linear infinite;
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.45);
}

html.can-hover .status-bar-content:hover { animation-play-state: paused; }

@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.sb-tag {
    color: var(--magenta);
    font-weight: 700;
}

.sb-sep {
    color: rgba(192,38,211,0.3);
    font-size: 0.7rem;
}

/* ============================================================
   TERMINAL SECTION
   ============================================================ */
.terminal-section {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.terminal-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(124,58,237,0.1) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(192,38,211,0.05) 0%, transparent 40%);
}

.terminal-section .section-subtitle {
    margin-bottom: 48px;
}

/* Terminal wrapper */
/* Terminal layout – info panel + form side by side */
.terminal-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
    max-width: 1060px;
    margin: 0 auto;
}

@media (max-width: 960px) {
    .terminal-layout {
        grid-template-columns: 1fr;
    }
}

/* Info panel */
.terminal-info {
    padding: 0;
    overflow: hidden;
    text-align: left;
    position: relative;
}

.term-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(192,38,211,0.15);
}

.term-info-title {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

.term-info-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.term-info-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.term-info-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 3px;
    background: rgba(192,38,211,0.1);
    border: 1px solid rgba(192,38,211,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--magenta);
    font-size: 0.85rem;
    margin-top: 2px;
}

.term-info-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.term-info-label {
    font-family: var(--font-ui);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.term-info-value {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
    display: block;
}

html.can-hover a.term-info-value:hover {
    color: var(--magenta-light);
}

.terminal-wrapper {
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-align: left;
}

/* Header bar */
.terminal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(192,38,211,0.15);
    flex-shrink: 0;
}

.term-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}

.term-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.term-dot.red    { background: #f0163a; }
.term-dot.yellow { background: #f5a623; }
.term-dot.tgreen { background: #22c55e; }

.term-title {
    flex: 1;
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.3);
    text-align: center;
}

.term-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-display);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: #22c55e;
}

.term-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: onlinePulse 1.5s ease-in-out infinite;
}

/* Terminal body */
.terminal-body {
    padding: 28px 36px 36px;
}

.term-prompt-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    opacity: 0.5;
}

.term-prompt {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--magenta);
    animation: termBlink 1.2s step-start infinite;
}

@keyframes termBlink {
    0%,100% { opacity: 1; }
    50%     { opacity: 0; }
}

.term-hint {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
}

/* Fields */
.terminal-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.term-field {
    position: relative;
}

.term-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--magenta);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.term-label-sub {
    color: rgba(255,255,255,0.3);
    font-size: 0.55rem;
}

.term-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.term-textarea-wrap {
    align-items: flex-start;
}

.term-cursor-icon {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--magenta);
    flex-shrink: 0;
    opacity: 0.7;
}

.term-cursor-icon.top {
    margin-top: 4px;
}

.term-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 6px 0;
    width: 100%;
    caret-color: var(--magenta);
}

.term-input::placeholder {
    color: rgba(255,255,255,0.12);
    letter-spacing: 0.25em;
}

.term-input:focus + .term-underline,
.term-input:focus ~ .term-underline {
    background: linear-gradient(90deg, var(--magenta), var(--violet));
    box-shadow: 0 0 8px rgba(192,38,211,0.5);
}

.term-textarea {
    resize: none;
    min-height: 100px;
    line-height: 1.6;
}

.term-underline {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin-top: 4px;
    transition: background 0.3s, box-shadow 0.3s;
}

/* Submit row */
.term-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.term-output {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.term-out-prefix {
    color: #22c55e;
    font-weight: 700;
}

.term-output.sending { color: var(--magenta-light); }
.term-output.success { color: #22c55e; }
.term-output.error   { color: #f0163a; }

.term-send-btn {
    gap: 10px;
    flex-shrink: 0;
}

.term-send-btn i {
    position: relative;
    z-index: 1;
}

/* Responsive terminal */
@media (max-width: 768px) {
    .terminal-body { padding: 20px 20px 28px; }
    .term-submit-row { flex-direction: column; align-items: flex-start; }
    .term-send-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   TOP NAV READING PROGRESS LINE
   ============================================================ */
.top-nav-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--magenta), var(--violet-light));
    box-shadow: 0 0 8px rgba(192,38,211,0.7);
    z-index: 10;
    transition: width 0.08s linear;
    border-radius: 0 2px 2px 0;
}

/* ============================================================
   TOP NAV – BORDER GLITCH KEYFRAMES
   ============================================================ */
@keyframes borderGlitch {
    0%, 90%, 100% { border-bottom-color: rgba(192,38,211,0.18); }
    92%           { border-bottom-color: rgba(192,38,211,0.8); box-shadow: 0 2px 20px rgba(192,38,211,0.5); }
    94%           { border-bottom-color: rgba(124,58,237,0.5); }
    96%           { border-bottom-color: rgba(192,38,211,0.9); }
}

.top-nav.scrolled {
    animation: borderGlitch 8s ease-in-out infinite;
}

/* ============================================================
   GLITCH TITLE HOVER
   ============================================================ */
.glitch-title {
    position: relative;
}
.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    opacity: 0;
}
.glitch-title::before {
    color: var(--magenta);
    clip-path: polygon(0 10%, 100% 10%, 100% 35%, 0 35%);
    transform: translateX(-3px);
    animation: glitchPre 6s ease-in-out infinite;
}
.glitch-title::after {
    color: var(--violet-light);
    clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
    transform: translateX(3px);
    animation: glitchPost 6s ease-in-out infinite 0.15s;
}
@keyframes glitchPre {
    0%,85%,100% { opacity:0; transform: translateX(-3px); }
    87%          { opacity:0.6; transform: translateX(-5px); }
    89%          { opacity:0; transform: translateX(2px); }
}
@keyframes glitchPost {
    0%,85%,100% { opacity:0; transform: translateX(3px); }
    87%          { opacity:0.5; transform: translateX(6px); }
    89%          { opacity:0; transform: translateX(-2px); }
}

/* ============================================================
   BENTO CARD HOVER – GLITCH BORDER ANIMATION
   ============================================================ */
.bento-card {
    position: relative;
}
.card-glitch-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s;
}
html.can-hover .bento-card:hover .card-glitch-border {
    opacity: 1;
    animation: cardBorderGlitch 0.4s steps(2) infinite;
    box-shadow:
        0 0 0 1px var(--magenta),
        0 0 18px rgba(192,38,211,0.5),
        inset 0 0 18px rgba(192,38,211,0.05);
}
@keyframes cardBorderGlitch {
    0%   { box-shadow: 0 0 0 1px var(--magenta), 0 0 18px rgba(192,38,211,0.5); }
    50%  { box-shadow: 0 0 0 1px var(--violet-light), 0 0 18px rgba(124,58,237,0.5), 2px 0 0 0 var(--magenta); }
    100% { box-shadow: 0 0 0 1px var(--magenta), 0 0 18px rgba(192,38,211,0.5); }
}

/* ============================================================
   MOBILE – ADDITIONAL FIXES
   ============================================================ */
@media (max-width: 768px) {
    .loot-grid { grid-template-columns: 1fr; max-width: 420px; }
    .skill-nodes { padding: 0 8px; }
    .node-info { padding-top: 4px; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large, .bento-medium, .bento-tall, .bento-stats { grid-column: 1; grid-row: auto; }
}

/* ============================================================
   EXTRA POLISH: Section separators
   ============================================================ */
.filozofia,
.dzialania,
.twoja-droga,
.wsparcie,
.terminal-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* ─── Scanline subtle overlay on all dark sections ─── */
.filozofia::before,
.twoja-droga::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0,0,0,0.06) 3px,
        rgba(0,0,0,0.06) 6px
    );
    pointer-events: none;
    z-index: 0;
}

/* ─── Neon corner glow on glass panels ─── */
.glass-panel::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(192,38,211,0.12), transparent 50%, rgba(124,58,237,0.08));
    pointer-events: none;
    z-index: -1;
}

/* end of stylesheet */


/* ============================================================
   PRIVACY POLICY & DISCLAIMERS
   ============================================================ */
.form-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 24px;
    text-align: center;
    line-height: 1.5;
}
.form-disclaimer a {
    color: var(--magenta);
    text-decoration: underline;
    transition: color 0.3s ease;
}
.form-disclaimer a:hover {
    color: var(--magenta-light);
}
.privacy-section {
    padding: 60px 0 100px;
    position: relative;
    z-index: 2;
}
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
}
.privacy-content h3 {
    font-family: var(--font-display);
    color: #fff;
    margin-top: 60px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    text-align: center;
}
.privacy-content p {
    margin-bottom: 16px;
}
