/* ==========================================================================
   1. RESET I PODSTAWY (PREMIUM DARK THEME)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0d0d11;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

body.loading {
    overflow: hidden;
}

/* ==========================================================================
   3. FALOWANE MENU (WAVY HEADER)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    z-index: 900;
    pointer-events: none;
}

.wave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wave-svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 12px 30px rgba(255, 234, 0, 0.25));
}

.header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 25px 8% 0 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
}

.logo {
    display: block;
    width: 166px;
    height: 64px;
    padding: 3px;
    overflow: hidden;
    border: 2px solid rgba(13, 13, 17, .85);
    border-radius: 12px;
    background: #0d0d11;
    box-shadow: 0 8px 16px rgba(0,0,0,.16);
    transition: transform .3s cubic-bezier(.175,.885,.32,1.275), box-shadow .3s ease;
    user-select: none;
}
.logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.logo:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 22px rgba(0,0,0,.28);
}

@media (max-width: 700px) {
    header { height: 164px; }
    .header-content { padding: 15px 18px 0; align-items: flex-start; gap: 14px; }
    .logo { width: 124px; height: 48px; border-radius: 9px; }
    nav ul { flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
    nav ul li a { font-size: 14px; }
    main { margin-top: 185px; }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav ul li a {
    color: #0d0d11;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #0d0d11;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* ==========================================================================
   4. SEKCJE I PĂ“ĹKOLA (OKRÄ„GĹE SKOĹšNE BALANSE)
   ========================================================================== */
main {
    margin-top: 180px;
    display: flex;
    flex-direction: column;
    gap: 220px;
    padding-bottom: 120px;
}

.section-container {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.half-circle {
    position: absolute;
    width: 700px;
    height: 700px;
    background: #FFEA00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(255, 234, 0, 0.25);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    opacity: 0;
}

.circle-number {
    color: #0d0d11;
    font-size: 60px;
    font-weight: 900;
    opacity: 0.85;
    user-select: none;
    transition: transform 0.5s ease;
}

.half-circle:hover .circle-number {
    transform: scale(1.15) rotate(5deg);
}

.section-text {
    width: 40%;
    padding: 0 4%;
    opacity: 0;
    transform: translateY(60px);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}

.section-text h2 {
    font-size: 42px;
    color: #FFEA00;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.section-text p {
    color: #a5a5b2;
    line-height: 1.7;
    font-size: 18px;
}

/* --- KRZYĹ»OWE POZYCJONOWANIE (LEWO / PRAWO) --- */
.left-side .half-circle {
    left: -15%;
    transform: translateX(-150px);
}

.left-side .section-text {
    margin-left: auto;
    margin-right: 10%;
}

.left-side .circle-number {
    margin-left: 280px;
}

.right-side .half-circle {
    right: -300px;
    transform: translateX(150px);
}

.right-side .section-text {
    margin-right: auto;
    margin-left: 12%;
}

.right-side .circle-number {
    margin-right: 280px;
}

/* Klasy aktywujÄ…ce (GĂłra-DĂłĹ‚) */
.section-container.visible .half-circle {
    opacity: 1;
    transform: translateX(0);
}

.section-container.visible .section-text {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   5. SEKCJA DISCORD (ZOPTYMALIZOWANA)
   ========================================================================== */
.discord-section {
    position: relative;
    background-color: #000000;
    width: 100%;
    padding: 100px 0;
    margin-top: 100px;
}

.discord-wave-top {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 160px;
    z-index: 10;
}

.discord-wave-top svg {
    width: 100%;
    height: 100%;
    display: block;
}

.discord-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    /* ZmieĹ„ poniĹĽszÄ… wartoĹ›Ä‡ (np. na 100px), aby uzyskaÄ‡ wiÄ™kszy odstÄ™p */
    gap: 100px; 
}

.discord-text {
    flex: 1;
    min-width: 300px;
}

.discord-text .tag {
    color: #FFEA00;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 2px;
}

.discord-text h2 {
    font-size: 38px;
    font-weight: 900;
    color: #ffffff;
    margin: 10px 0 20px 0;
    letter-spacing: -1px;
}

.discord-text p {
    color: #8a8a98;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.discord-btn {
    display: inline-block;
    background: #FFEA00;
    color: #000;
    text-decoration: none;
    font-weight: 800;
    padding: 14px 35px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(255, 234, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 234, 0, 0.4);
}

.discord-widget {
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid #333;
}
@media (min-width: 900px) {
    .discord-content {
        gap: 120px; /* WiÄ™kszy odstÄ™p na szerokich ekranach */
    }
}

@media (max-width: 899px) {
    .discord-content {
        gap: 40px; /* Mniejszy odstÄ™p na urzÄ…dzeniach mobilnych */
    }
}
/* ==========================================================================
   6. FOOTER / KOĹCĂ“WKA
   ========================================================================== */
footer {
    position: relative;
    background-color: #141419;
    padding-bottom: 30px;
    width: 100%;
}

.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 60px;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: table;
    width: 100%;
}

.footer-left, .footer-right {
    display: table-cell;
    vertical-align: top;
    width: 50%;
}

.footer-left h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-left ul {
    list-style: none;
}

.footer-left ul li {
    margin-bottom: 12px;
}

.footer-left ul li a {
    color: #a5a5b2;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.footer-left ul li a:hover {
    color: #FFEA00;
}

.footer-right {
    text-align: right;
}

.contact-box {
    display: inline-block;
    border: 2px dashed rgba(255, 234, 0, 0.4);
    background-color: #0c0c0f;
    padding: 25px;
    text-align: left;
    max-width: 350px;
    width: 100%;
}

.contact-box h4 {
    color: #FFEA00;
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-box p {
    color: #8a8a98;
    font-size: 14px;
    margin-bottom: 15px;
}

.contact-link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #FFEA00;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.03);
    color: #555562;
    font-size: 14px;
}
/* --- Zmienne globalne dla Ĺ‚atwego zarzÄ…dzania --- */
:root {
    --main-avatar: 250px;
    --extra-avatar: 150px;
    --accent-color: #FFEA00;
}

/* --- Sekcja GĹ‚Ăłwnych TwĂłrcĂłw --- */
.about-container {
    margin-top: 200px;
    margin-bottom: 200px;
    padding: 0 5%;
}

.team-header {
    text-align: center;
    margin-bottom: 80px;
}

.team-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

.team-member {
    width: 350px;
    text-align: center;
}

/* DuĹĽy awatar */
.avatar-circle {
    width: var(--main-avatar);
    height: var(--main-avatar);
    border: 5px solid var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 234, 0, 0.2);
}

/* --- Sekcja WspĂłĹ‚twĂłrcĂłw (Siata 3x2) --- */
.team-extra-container {
    padding: 100px 8%;
    background: linear-gradient(180deg, #0d0d11 0%, #141419 100%);
}

.team-extra-header {
    text-align: center;
    margin-bottom: 60px;
}

.extra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.extra-member {
    text-align: center;
    padding: 20px;
}
/* Awatar EduRealm Studio */
.studio {
    width: 150px;
    height: 150px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    background: #1c1c24;
/* MaĹ‚y awatar */
}

.extra-avatar {
    width: var(--extra-avatar);
    height: var(--extra-avatar);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    background: #1c1c24;
}

/* Logo w sekcji EduRealm Studio - niezależne od układu kół. */
.section-text .studio {
    display: block;
    width: min(190px, 100%);
    height: 76px;
    margin: 0 0 20px;
    padding: 3px;
    border: 2px solid;
    border-radius: 12px;
    object-fit: cover;
    background: #0d0d11;
}

/* --- WSPĂ“LNY KOD DLA ZDJÄÄ† (Logika Canvy) --- */
.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Automatyczne kadrowanie */
    object-position: center;
}

/* --- Typografia i dodatki --- */
.team-member h3, .extra-member h4 {
    color: #ffffff;
    margin-bottom: 5px;
}

.role, .extra-member .meta {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.role { font-size: 20px; margin-bottom: 15px; }
.extra-member .meta { font-size: 13px; }

.task { color: #8a8a98; font-size: 14px; font-style: italic; margin-bottom: 10px; }
.bio, .extra-member .desc { color: #ffffff; font-size: 17px; line-height: 1.6; }

/* Linia falowana */
.wave-divider { width: 50px; height: 700px; }
.wave-divider svg { width: 100%; height: 100%; }
/* Klasa bazowa dla animowanych elementĂłw */
.fade-anim {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-anim.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ========================================================================== 
   PRELOADER â€” JEDNA, PROSTA WERSJA
   ========================================================================== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #0d0d11;
    transition: opacity .65s ease, visibility .65s ease;
}

html.preloader-seen #preloader { display: none; }
#preloader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }

#preloader::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image:
        linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
    background-size: 48px 48px;
}

.simple-loader-mark {
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 42px);
    grid-template-rows: repeat(2, 42px);
    gap: 7px;
    margin-top: -94px;
}

.simple-loader-mark i {
    display: block;
    opacity: 0;
    transform: scale(.25) rotate(24deg);
    background: #ffea00;
    box-shadow: inset 3px 3px 0 rgba(255,255,255,.55), inset -4px -4px 0 rgba(121,104,0,.36), 0 7px 14px rgba(0,0,0,.25);
}

.building .simple-loader-mark i { animation: simple-mark-in .42s cubic-bezier(.18,.9,.2,1.25) both; }
.building .simple-loader-mark i:nth-child(2) { animation-delay: .1s; }
.building .simple-loader-mark i:nth-child(3) { animation-delay: .2s; }
.building .simple-loader-mark i:nth-child(4) { animation-delay: .3s; }

.preloader-brand {
    position: absolute;
    z-index: 1;
    top: calc(50% + 8px);
    left: 50%;
    width: min(420px, 90vw);
    transform: translateX(-50%);
    color: #fff;
    font-size: clamp(47px, 8vw, 75px);
    font-weight: 950;
    line-height: 1;
    text-align: center;
}

.preloader-brand .brand-word { display: block; white-space: nowrap; }
.preloader-brand .brand-letter {
    display: inline-grid;
    width: .7em;
    height: 1em;
    place-items: center;
    color: #fff;
    font-family: ui-monospace, "Courier New", monospace;
    font-size: .9em;
    font-weight: 950;
    line-height: 1;
    text-shadow: 0 8px 0 rgba(0,0,0,.2);
    opacity: 0;
    transform: translateY(30px) rotateX(-75deg);
}

.preloader-brand small {
    display: block;
    margin-top: 14px;
    color: #ffea00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

.reveal-brand .brand-letter { animation: simple-brand-in .38s cubic-bezier(.2,.9,.2,1.15) calc(var(--i) * 50ms) forwards; }

/* ========================================================================== 
   PRZEJĹšCIE STRON â€” JEDNA, PROSTA WERSJA
   ========================================================================== */
#page-transition {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: grid;
    place-items: center;
    visibility: hidden;
    overflow: hidden;
    background: #0d0d11;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

#page-transition.active,
#page-transition.leaving,
html.transition-pending #page-transition {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}

#page-transition .loader-text { display: none !important; }

.simple-transition {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: min(680px, 90vw);
    color: #fff;
    font-size: clamp(28px, 5.5vw, 62px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    opacity: 0;
    transform: none;
    will-change: opacity;
}

.simple-transition span:first-child { color: #ffea00; }
.simple-transition b { color: #777b88; font-weight: 400; }
.simple-transition small {
    flex-basis: 100%;
    margin-top: 12px;
    color: #9a9eaa;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 5px;
    text-align: center;
}

#page-transition.active .simple-transition { animation: simple-transition-in .58s cubic-bezier(.2,.9,.2,1) forwards; }
html.transition-pending .simple-transition { opacity: 1; }
#page-transition.leaving .simple-transition { animation: simple-transition-out .72s cubic-bezier(.55,0,.82,.3) forwards; }

/* ========================================================================== 
   PRZEJŚCIA DO HOSTINGU I DISCORDA
   ========================================================================== */
.external-transition {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: #06070a;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.external-transition.active { opacity: 1; visibility: visible; pointer-events: all; }
.external-transition::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle, #000 10%, transparent 75%);
}

.hosting-scene, .discord-scene { position: relative; z-index: 2; width: min(900px, 90vw); text-align: center; }
.external-transition .hosting-scene, .external-transition .discord-scene { display: none; }
.external-transition.hosting .hosting-scene, .external-transition.discord .discord-scene { display: block; }
.scene-kicker { color: #ffb000; font-size: 13px; font-weight: 900; letter-spacing: 4px; text-transform: uppercase; }
.hosting-scene h2, .discord-scene h2 { margin: 10px 0; font-size: clamp(34px, 6vw, 66px); line-height: 1; letter-spacing: -2px; }
.scene-subtitle { color: #b8bdc9; font-size: clamp(15px, 2vw, 18px); }

.hosting-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    width: 42vw;
    max-width: 520px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,91,0,.3), transparent 68%);
    transform: translate(-50%, -20%);
    filter: blur(8px);
}

.server-rack { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 48px auto 28px; perspective: 900px; }
.host-server {
    position: relative;
    min-height: 150px;
    padding: 28px 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    background: linear-gradient(145deg, #242833, #0c0e14 68%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 16px 35px rgba(0,0,0,.4);
    opacity: 0;
    transform: translateY(140px) rotateX(-46deg) scale(.72);
}
.external-transition.active .host-server { animation: server-build .65s cubic-bezier(.18,.9,.2,1.25) var(--delay) forwards; }
.host-server::before { content: ''; position: absolute; top: 14px; right: 15px; left: 15px; height: 7px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 16px, transparent 16px 23px); }
.host-server::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.15) 50%, transparent 62%); transform: translateX(-150%); }
.external-transition.active .host-server::after { animation: server-scan 1.1s ease calc(var(--delay) + .35s) both; }
.host-server strong { font-size: clamp(13px, 2vw, 18px); letter-spacing: 1px; }
.host-server small { color: #aab0bc; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }
.minecraft-server strong { color: #91d85b; }
.fivem-server strong { color: #ff9246; }
.bot-server strong { color: #7289da; }
.server-light { position: absolute; right: 16px; bottom: 23px; width: 9px; height: 9px; border-radius: 50%; background: #6cff78; box-shadow: 0 0 12px #6cff78; animation: status-blink 1.2s ease-in-out infinite; }
.hosting-loading { width: min(560px, 85vw); height: 5px; margin: 0 auto; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.13); }
.hosting-loading span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #e54800, #ffcc00); box-shadow: 0 0 18px #ff8a00; }
.external-transition.active .hosting-loading span { animation: load-hosting 2s ease-out .25s forwards; }
.fire-particles { display: none; }
.external-transition.hosting .fire-particles { display: block; }
.fire-particles i { position: absolute; bottom: -30px; left: var(--x); width: var(--size); height: calc(var(--size) * 1.65); border-radius: 60% 40% 65% 35%; background: radial-gradient(circle at 50% 75%, #fff6a1 0 12%, #ffc400 24%, #ff5c00 58%, transparent 70%); opacity: 0; }
.external-transition.active .fire-particles i { animation: flame-rise var(--duration) ease-out var(--delay) infinite; }

.discord-scene { padding-top: 10px; }
.discord-orbit { position: absolute; top: 45%; left: 50%; width: min(46vw, 420px); aspect-ratio: 1; border: 1px solid rgba(114,137,218,.5); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { border-style: dashed; }
.orbit-two { width: min(31vw, 285px); border-color: rgba(255,234,0,.35); }
.external-transition.active .orbit-one { animation: orbit-spin 6s linear infinite; }
.external-transition.active .orbit-two { animation: orbit-spin 4s linear reverse infinite; }
.edu-core, .discord-core { position: relative; z-index: 1; width: 142px; height: 142px; margin: 0 auto 30px; display: grid; place-items: center; border-radius: 34px; }
.edu-core { color: #0d0d11; background: #ffea00; font-size: 49px; font-weight: 950; letter-spacing: -6px; box-shadow: 0 0 0 12px rgba(255,234,0,.12), 0 0 55px rgba(255,234,0,.45); }
.discord-core { position: absolute; top: 0; left: 50%; opacity: 0; background: #5865f2; transform: translateX(-50%) scale(0) rotate(-90deg); box-shadow: 0 0 0 12px rgba(88,101,242,.13), 0 0 55px rgba(88,101,242,.5); }
.discord-core::before { content: ''; width: 84px; height: 59px; border-radius: 42% 42% 50% 50%; background: #fff; }
.discord-core::after { content: ''; position: absolute; top: 81px; width: 48px; height: 19px; border: 5px solid #5865f2; border-top: 0; border-radius: 0 0 50% 50%; }
.discord-eye { position: absolute; z-index: 1; top: 66px; width: 11px; height: 14px; border-radius: 50%; background: #5865f2; }
.left-eye { left: 56px; }
.right-eye { right: 56px; }
.external-transition.active .edu-core { animation: edu-transform 1.1s cubic-bezier(.3,.9,.2,1) .25s forwards; }
.external-transition.active .discord-core { animation: discord-reveal .75s cubic-bezier(.18,.9,.2,1.2) .7s forwards; }

@keyframes server-build { to { opacity: 1; transform: translateY(0) rotateX(0) scale(1); } }
@keyframes server-scan { to { transform: translateX(150%); } }
@keyframes status-blink { 50% { opacity: .35; box-shadow: none; } }
@keyframes load-hosting { to { width: 100%; } }
@keyframes flame-rise { 0% { opacity: 0; transform: translate(-50%, 0) scale(.45); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + 50px), calc(var(--rise) * -1)) scale(1.15); } }
@keyframes orbit-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes edu-transform { 55% { opacity: 1; transform: rotate(190deg) scale(.3); } 100% { opacity: 0; transform: rotate(280deg) scale(0); } }
@keyframes discord-reveal { to { opacity: 1; transform: translateX(-50%) scale(1) rotate(0); } }

@media (max-width: 650px) {
    .server-rack { grid-template-columns: 1fr; gap: 10px; margin: 30px auto 20px; }
    .host-server { min-height: 88px; padding: 24px 16px 14px; }
    .hosting-scene h2, .discord-scene h2 { letter-spacing: -1px; }
    .discord-orbit { width: 78vw; }
    .orbit-two { width: 56vw; }
}

/* ========================================================================== 
   ANIMOWANE NICKI
   Stosuj: <span class="meta nick nick-ceo">NICK</span>
   ========================================================================== */
.team-member .meta.nick,
.extra-member .meta.nick {
    --nick-top: #fffbd1;
    --nick-mid: #ffdf5b;
    --nick-bottom: #f34a12;
    --nick-shadow: #9e250c;
    position: relative;
    display: inline-block;
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 5px;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: 1000;
    letter-spacing: .4px;
    background: linear-gradient(180deg, var(--nick-top) 0%, var(--nick-mid) 44%, var(--nick-bottom) 100%);
    background-size: 100% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 3px 2px var(--nick-shadow));
    animation: nickname-fire 2.7s ease-in-out infinite;
}

.team-member .meta.nick::before,
.extra-member .meta.nick::before {
    content: 'âś¦';
    position: absolute;
    top: -10px;
    left: -15px;
    color: var(--nick-mid);
    font-size: 11px;
    opacity: .8;
    text-shadow: 0 0 9px var(--nick-bottom);
    animation: ember-drift 2.3s ease-in-out infinite;
}

.team-member .meta.nick::after,
.extra-member .meta.nick::after {
    content: '';
    position: absolute;
    right: -11px;
    bottom: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50% 50% 50% 0;
    background: var(--nick-bottom);
    box-shadow: 0 0 10px var(--nick-mid);
    animation: ember-drift 1.7s ease-in-out -.6s infinite;
}

/* !important jest celowe: klasa roli musi nadpisać zmienne ustawione w bazowym selektorze .meta.nick. */
.nick-developer { --nick-top: #d7f4ff !important; --nick-mid: #52baff !important; --nick-bottom: #2361da !important; --nick-shadow: #183787 !important; }
.nick-ceo { --nick-top: #d52323 !important; --nick-mid: #ff3535 !important; --nick-bottom: #ff0000 !important; --nick-shadow: #6e0000 !important; }
.nick-dubbing { --nick-top: #ff0044 !important; --nick-mid: #e82452 !important; --nick-bottom: #fa2f91 !important; --nick-shadow: #88154d !important; }
.nick-media { --nick-top: #6600ff !important; --nick-mid: #d686fe !important; --nick-bottom: #920bbb !important; --nick-shadow: #226629 !important; }
.nick-grafik { --nick-top: #e100ff !important; --nick-mid: #e91d83 !important; --nick-bottom: #da10e4 !important; --nick-shadow: #661d94 !important; }
.nick-budowniczy { --nick-top: #e1ff00 !important; --nick-mid: #dae96c !important; --nick-bottom: #ffe20a !important; --nick-shadow: #645f01 !important; }
.nick-finanse { --nick-top: #00f93a !important; --nick-mid: #21a31f !important; --nick-bottom: #2dc73a !important; --nick-shadow: #076008 !important; }
.nick-wspieracz { --nick-top: #00ffd0 !important; --nick-mid: #14d5c5 !important; --nick-bottom: #179bff !important; --nick-shadow: #164984 !important; }

@keyframes simple-mark-in { 65% { opacity: 1; transform: scale(1.08) rotate(0); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes simple-brand-in { to { opacity: 1; transform: translateY(0) rotateX(0); } }
@keyframes simple-transition-in { to { opacity: 1; } }
@keyframes simple-transition-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes nickname-fire { 50% { background-position: 0 100%; transform: translateY(-2px) skewX(-2deg); filter: drop-shadow(0 5px 3px var(--nick-shadow)); } }
@keyframes ember-drift { 50% { opacity: 0; transform: translate(5px, -14px) scale(.5) rotate(35deg); } }

@media (prefers-reduced-motion: reduce) {
    .simple-loader-mark i,
    .reveal-brand .brand-letter,
    #page-transition .simple-transition,
    .external-transition .host-server,
    .external-transition .host-server::after,
    .external-transition .hosting-loading span,
    .external-transition .edu-core,
    .external-transition .discord-core,
    .external-transition .orbit-one,
    .external-transition .orbit-two,
    .external-transition .fire-particles i,
    .team-member .meta.nick,
    .team-member .meta.nick::before,
    .team-member .meta.nick::after,
    .extra-member .meta.nick,
    .extra-member .meta.nick::before,
    .extra-member .meta.nick::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ========================================================================== 
   CENNIK I KONTAKT
   ========================================================================== */
header nav a.active { color: #ffea00; }
.pricing-page, .contact-page { 
    min-height: 70vh; 
    padding: 72px 6vw 110px; 
    background: radial-gradient(circle at 50% 0%, #262738 0, #111217 43%, #0c0d11 100%); 
    color: #fff; 
    overflow: 
    hidden; }
.pricing-hero, .contact-heading { 
    position: relative; 
    max-width: 790px; 
    margin: 0 auto 64px; 
    text-align: center; }
.section-tag { 
    display: inline-block; 
    margin-bottom: 16px; 
    padding: 8px 13px; 
    border: 1px solid rgba(255,234,0,.45); 
    border-radius: 999px; 
    color: #ffea00; 
    font-size: 11px; 
    font-weight: 900; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    background: rgba(255,234,0,.06); }
.pricing-hero h1, .contact-heading h1 { position: relative; z-index: 1; margin: 0; font-size: clamp(40px, 6vw, 76px); line-height: .97; letter-spacing: -3px; }
.pricing-hero h1 em, .contact-heading h1 em { color: #ffea00; font-style: normal; }
.pricing-hero > p, .contact-heading > p { position: relative; z-index: 1; max-width: 600px; margin: 22px auto 0; color: #b9bdc9; font-size: 17px; line-height: 1.65; }
.hero-orbit { position: absolute; z-index: 0; top: -37px; left: 50%; width: 230px; height: 230px; border: 1px solid rgba(255,234,0,.15); border-radius: 50%; transform: translateX(-50%); }
.hero-orbit::before, .hero-orbit::after { content: ''; position: absolute; inset: 22px; border: 1px dashed rgba(255,255,255,.12); border-radius: 50%; }
.hero-orbit::after { inset: 55px; border-color: rgba(255,234,0,.22); }
.hero-orbit span { position: absolute; top: 18px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: #ffea00; box-shadow: 0 0 16px #ffea00; animation: pricing-orbit 5s linear infinite; transform-origin: 0 97px; }
.hero-orbit span:nth-child(2) { top: auto; bottom: 35px; left: 17px; width: 6px; height: 6px; background: #fff; animation-duration: 7s; animation-direction: reverse; transform-origin: 98px -18px; }
.hero-orbit b { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,234,0,.15); font-size: 46px; letter-spacing: -6px; }
.pricing-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1180px; margin: 0 auto; align-items: center; }
.price-card { position: relative; min-height: 470px; padding: 35px 30px 30px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: linear-gradient(145deg, rgba(45,46,59,.92), rgba(19,20,27,.95)); box-shadow: 0 20px 50px rgba(0,0,0,.2); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.price-card::before { content: ''; position: absolute; top: 0; left: -80%; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent); transform: skewX(-18deg); transition: left .7s ease; }
.price-card:hover { transform: translateY(-12px); border-color: rgba(255,234,0,.65); box-shadow: 0 24px 50px rgba(0,0,0,.38), 0 0 35px rgba(255,234,0,.1); }
.price-card:hover::before { left: 135%; }
.price-card.featured { min-height: 520px; border-color: #ffea00; background: linear-gradient(155deg, #41401e, #202018 55%, #171719); box-shadow: 0 17px 50px rgba(255,234,0,.16); }
.popular-badge { position: absolute; top: 17px; right: -34px; padding: 7px 35px; color: #111217; font-size: 10px; font-weight: 950; letter-spacing: .8px; text-transform: uppercase; background: #ffea00; transform: rotate(36deg); }
.plan-label { margin: 0 0 13px; color: #ffea00; font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.price-card h2 { margin: 0; font-size: 29px; letter-spacing: -1px; }
.plan-intro { min-height: 52px; color: #b9bdc9; line-height: 1.5; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 23px 0; }.price strong { color: #fff; font-size: 38px; letter-spacing: -2px; }.price span { color: #aeb3c0; font-size: 12px; }.custom-price strong { color: #ffea00; font-size: 32px; }
.price-card ul { display: grid; gap: 13px; min-height: 157px; padding: 0; margin: 0; list-style: none; }.price-card li { color: #d6d8df; font-size: 14px; }.price-card li::before { content: '✓'; display: inline-grid; width: 18px; height: 18px; margin-right: 9px; place-items: center; border-radius: 50%; color: #131419; font-size: 11px; font-weight: 900; background: #ffea00; }
.plan-btn, .send-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 28px; padding: 14px 17px; border: 0; border-radius: 10px; color: #111217; font-weight: 900; text-decoration: none; background: #ffea00; cursor: pointer; transition: transform .25s ease, background .25s ease; }.plan-btn:hover, .send-btn:hover { transform: translateX(4px); background: #fff276; }.plan-btn span, .send-btn b { font-size: 22px; line-height: 12px; }
.pricing-note { display: flex; align-items: center; justify-content: center; gap: 13px; max-width: 670px; margin: 52px auto 0; padding: 20px 25px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.04); }.pricing-note p { margin: 0; color: #d1d4dc; }.pricing-note a { color: #ffea00; font-weight: 800; text-decoration: none; }.note-icon { color: #ffea00; font-size: 24px; animation: twinkle 1.8s ease-in-out infinite; }
.contact-heading { margin-bottom: 48px; }.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; max-width: 1060px; margin: auto; }.contact-aside, .contact-form-wrap { border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(26,27,36,.8); }.contact-aside { padding: 35px; }.contact-pulse { position: relative; width: 80px; height: 80px; margin-bottom: 26px; display: grid; place-items: center; border-radius: 25px; color: #121317; background: #ffea00; box-shadow: 0 0 0 10px rgba(255,234,0,.08); }.contact-pulse::before, .contact-pulse::after { content: ''; position: absolute; inset: -17px; border: 1px solid rgba(255,234,0,.42); border-radius: 30px; animation: contact-ping 2.4s ease-out infinite; }.contact-pulse::after { animation-delay: 1.2s; }.contact-pulse b { font-size: 26px; letter-spacing: -4px; }.contact-aside h2, .contact-form-wrap h2 { margin: 0; font-size: 29px; letter-spacing: -1px; }.contact-aside > p, .contact-form-wrap > p { margin: 12px 0 27px; color: #b6bac6; line-height: 1.6; }.contact-method { display: flex; align-items: center; gap: 13px; margin-top: 12px; padding: 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; color: #fff; text-decoration: none; transition: border-color .25s, transform .25s, background .25s; }.contact-method:hover { border-color: rgba(255,234,0,.75); background: rgba(255,234,0,.06); transform: translateX(5px); }.contact-method i { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 10px; color: #17181d; font-style: normal; background: #ffea00; }.contact-method span { flex: 1; font-size: 13px; font-weight: 700; }.contact-method small { display: block; margin-bottom: 3px; color: #9da2b0; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }.contact-method b { color: #ffea00; }.contact-form-wrap { padding: 35px; }.contact-form-wrap form { display: grid; gap: 18px; }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.contact-form-wrap label { display: grid; gap: 8px; color: #e5e7eb; font-size: 12px; font-weight: 800; }.contact-form-wrap input, .contact-form-wrap select, .contact-form-wrap textarea { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; outline: none; color: #fff; font: inherit; font-size: 13px; background: #15161d; transition: border-color .25s, box-shadow .25s; }.contact-form-wrap select option { background: #15161d; }.contact-form-wrap textarea { resize: vertical; }.contact-form-wrap input:focus, .contact-form-wrap select:focus, .contact-form-wrap textarea:focus { border-color: #ffea00; box-shadow: 0 0 0 3px rgba(255,234,0,.1); }.send-btn { margin-top: 2px; font-size: 14px; }.form-status { min-height: 18px; margin: -8px 0 0; color: #b7ff8e; font-size: 13px; font-weight: 700; text-align: center; }
.reveal-on-scroll { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }.reveal-on-scroll.visible { opacity: 1; transform: translateY(0); }.price-card.reveal-on-scroll.visible { transition-delay: var(--card-delay); }
@keyframes pricing-orbit { to { transform: rotate(360deg); } } @keyframes contact-ping { 0% { opacity: .75; transform: scale(.75); } 100% { opacity: 0; transform: scale(1.32); } } @keyframes twinkle { 50% { transform: scale(1.3) rotate(25deg); opacity: .65; } }
@media (max-width: 850px) { .pricing-grid { grid-template-columns: 1fr; max-width: 490px; }.price-card, .price-card.featured { min-height: auto; }.contact-layout { grid-template-columns: 1fr; max-width: 610px; } }
@media (max-width: 560px) { .pricing-page, .contact-page { padding: 48px 20px 75px; }.pricing-hero h1, .contact-heading h1 { letter-spacing: -2px; }.pricing-note { align-items: flex-start; flex-wrap: wrap; }.form-row { grid-template-columns: 1fr; }.contact-aside, .contact-form-wrap, .price-card { padding: 26px 21px; } }
@media (prefers-reduced-motion: reduce) { .hero-orbit span, .contact-pulse::before, .contact-pulse::after, .note-icon { animation: none !important; } .reveal-on-scroll { opacity: 1; transform: none; } }

/* Dopasowanie tła oraz wyrównanie zawartości kart cennika. */
.pricing-page, .contact-page { 
    background: radial-gradient(ellipse at 50% 0%, #2b2c3c 0, #191a24 42%, #141419 78%, #141419 100%); }
.hero-orbit b { color: rgba(255,234,0,.17); font-size: 23px; font-weight: 900; letter-spacing: -1.5px; }
.contact-pulse b { font-size: 12px; font-weight: 950; letter-spacing: -.8px; }
.price-card { min-height: 485px; overflow: visible; }
.price-card.featured { min-height: 535px; }
.price-card h2 { min-height: 58px; line-height: 1.06; }
.plan-intro { min-height: 66px; margin-bottom: 18px; }
.plan-intro,.price>p,.price-card .plan-intro{white-space:pre-line}
.price-card ul { min-height: 172px; }
.price-card li { display: flex; align-items: flex-start; line-height: 1.35; }
.price-card li::before { flex: 0 0 18px; margin: 0 9px 0 0; }
.plan-btn { box-sizing: border-box; }

/* Stabilizacja animacji i wyraźniejsze tło sekcji cennika. */
.pricing-page {
    position: relative;
    isolation: isolate;
    background: radial-gradient(ellipse at 50% 0%, #35364a 0, #20212d 48%, #191a23 100%);
    border-bottom: 1px solid rgba(255,234,0,.22);
}
.contact-page {
    position: relative;
    isolation: isolate;
    background: radial-gradient(ellipse at 50% 0%, #303143 0, #1d1e29 50%, #17181f 100%);
    border-bottom: 1px solid rgba(255,234,0,.18);
}
.price-card { overflow: hidden; }
.price-card::before { pointer-events: none; }
.price-card:hover { transform: translateY(-7px); }
.reveal-on-scroll { will-change: transform, opacity; }
.reveal-on-scroll.visible { will-change: auto; }
@media (hover: none) { .price-card:hover { transform: none; } }

/* Bez ozdobnych pasków i bez widocznych suwaków, z zachowaniem przewijania. */
html,body,*{scrollbar-width:none!important;-ms-overflow-style:none!important}
*::-webkit-scrollbar,*::-webkit-scrollbar-track,*::-webkit-scrollbar-thumb,*::-webkit-scrollbar-corner{display:none!important;width:0!important;height:0!important;background:transparent!important}
.btn::before,.tab::before,.bot-mini-btn::before,.module-link::before,.bot-choice::before,.admin-nav a::before,
.send-btn::after,.plan-btn::after,.discord-btn::after,.price-card::before,.host-server::after{content:none!important;display:none!important;pointer-events:none!important;animation:none!important}
