html {
            overflow-x: hidden;
            width: 100%;
        }
        body {
          /*background-image: url('background1.jpg');
          background-repeat: repeat;*/
          background-color: rgba(15,32,48,1);
          margin: 0;
          text-align: center;
          align-items: center;
          justify-content: flex-start;
          justify-items: center;
          display: flex;
          flex-direction: column;
            overflow-x: hidden;
            width: 100%;
            max-width: 100vw;
            user-select: none;
        }
        button {
            margin: 20px;
            cursor: pointer;
            width: 75%;
            height: 250px;
            background-image: url('ciemny.jpg');
            background-size: cover; 
            background-position: center;
            background-repeat: no-repeat;
            color: white; 
            border: none; 
            border-radius: 5px;
            transition: 0.5s;
            font-family: "Mukta", sans-serif;
            font-weight: 800;
            font-style: normal;
            font-size: 30px;
        }
        .pion {
            width: 40vw;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        .poziom {
            width: 100%;
            display: flex;
            flex-direction: row;
            gap: 6.7vw;
            justify-content: center;
            align-items: flex-start;

        }
        #sticky {
            position: fixed;
            text-align: center;
            align-items: center;
            justify-content: center;
            top: -1vh;
            left: 0;
            width: 100%;
            height: 12vh;
            background-color: rgba(255,255,255,0.7);
            padding-top: 1vh;
            border: none; 
            border-radius: 10px;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px); /* Safari support */
            overflow: hidden;
            z-index: 1000;
        }
        .nav {
            display: flex;
            flex-direction: row;
            width: 100%;
            height: 12vh;
            text-align: center;
            align-items: center;
            justify-content: space-between;
            gap: 5vw;
            padding: 0 5vw;
            box-sizing: border-box;
        }
        .nav a {
            flex: 1;              /* równa szerokość */
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
        }
        .nav-btn {
            margin: 0px;
            padding: 5px;
            cursor: pointer;
            width: 13%;
            height: 60%;
            background-color: rgba(255,255,255,0.4);
            line-height: 1;
            /*background-size: 100% 100%; 
            background-position: center;
            background-repeat: no-repeat;*/
            color: rgba(15,32,48,0.9);
            border: none; 
            backdrop-filter: none;
            -webkit-backdrop-filter: none; /* Safari support */
            border-radius: 10px;
            transition: 0.5s;
            font-family: "Special Gothic Expanded One", sans-serif;
            font-weight: 400;
            font-style: normal;
            font-size: 3vh;
        }
        .nav-btn:hover {
            background-image: none;
            background-color: white;
            color: rgba(15,32,48,1);
        }
        p {
            font-size: 5vw;
            color: white;
            font-family: "Special Gothic Expanded One", sans-serif;
        }
        .slow {
            position: fixed;
            left: 0;
            width: 100%;
            z-index: -2;
            will-change: transform;
            display: flex;
            flex-direction: column;
            justify-content: center; /* pionowe centrowanie */
            align-items: center;     /* poziome centrowanie */
        }
        #flag1 {
            top: 10vh;
        }
        #flag2 {
            top: 20vh;
        }
        #name {
            padding-top: 0;
            width: 100%;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center; /* pionowe centrowanie */
            align-items: center;     /* poziome centrowanie */
            background: linear-gradient(to bottom, rgba(15,32,48,0), rgba(15,32,48,0), rgba(15,32,48,0.7), rgba(15,32,48,0), rgba(15,32,48,0));
        }
        .box1 { 
            width: 80vw;
            height: auto;
            display: flex;
            flex-direction: column;
            justify-content: center; /* pionowe centrowanie */
            align-items: center;     /* poziome centrowanie */
            background-color: rgba(255,255,255,0.7);
            border: none; 
            border-radius: 10px;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px); /* Safari support */
            overflow: hidden;
            padding: 2vw;
            margin: 3vh 10vw;
        }
        .special {
            margin-top: -20vh;
        }
        .box1 img {
            width: 27vw;
            display: block;
            border-radius: 10px;
        }
        .box1 p {
            color: rgba(15,32,48,1);
            font-family: "Rasa", serif;
            font-size: 1.75vw;
            font-weight: 400;
            font-style: normal;
            margin-left: 1.5vw;
            text-align: justify;
            width: 54vw;
        }
        .mobile {
            display: none;
        }
        .box2 {
            display: flex;
            flex-direction: row;
            width: 100%;
            align-items: center;
        }
        .box2 img {
            width: 27vw;
            height: 18vw;      /* stała wysokość */
            object-fit: cover;
            flex-shrink: 0;
        }
        .box3 {
            display: flex;
            flex-direction: row;
            width: 100%;
            font-weight: 700;
            font-family: Mukta, sans-serif;
            color: rgba(15,32,48,1);
            font-size: 1.75vw;
        }
        .box31p {
            text-align: left;
            width: 27vw;
            margin: 0;
        }
        .box32p {
            text-align: left;
            width: 54vw;
            margin: 0 5vw;
        }
        #news {
             margin-top: -10vh;
             z-index: 100;
             transform: translateY(-17vh);
             text-align: left;
             width: 80%;
        }
        .pitch{
            width:90vw;
            height:50vw;
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            justify-content: center;
            align-items: center;
            clip-path: polygon(
                20% 0%,
                80% 0%,
                100% 100%,
                0% 100%
            );

            position: relative;
            overflow: hidden;
            margin-bottom: 5vh;
        }

        /* TO JEST KLUCZ */
        .pitch svg{
            position:absolute;
            inset:0;
            width:100%;
            height:100%;
            z-index: 1;
        }
        .pitch img{
            position: relative;
            z-index: 2;
            width: 10vw;
        }
        .target {
            scroll-margin-top: 20vh; /* przesuwa punkt “docelowy” mniej więcej na środek */
        }
        .toty {
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: linear-gradient(to bottom, rgba(15,32,48,0), rgba(15,32,48,0.7), rgba(15,32,48,0));
            margin-top: 30vh;
            line-height: 1; 
            margin-bottom: 5vh;
        }
        .p007 {
            margin-top: -5vh;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            font-size: 35px;
            color: rgba(15,32,48,1);
            cursor: pointer;
            width: auto;
            height: auto;
            margin-left: auto;
        }

        .mobile-menu {
            position: fixed;
            top: 12vh;
            left: 0;
            width: 100%;
            background: rgba(255,255,255,0.9);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 999;

            display: flex;
            flex-direction: column;

            border-radius: 10px;
            overflow: hidden;

            transform: translateY(-100%);
            opacity: 0;
            pointer-events: none;

            transition: transform 0.3s ease;
        }

        .mobile-menu.active {
            transform: translateY(0);
            opacity: 1;
            pointer-events: auto;

            transition: transform 0.3s ease;
        }
        .mobile-menu a {
            padding: 15px;
            text-decoration: none;
            color: rgba(15,32,48,1);
            font-family: "Mukta", sans-serif;
            font-weight: 700;
            border-bottom: 1px solid rgba(0,0,0,0.1);
        }
        #dvdBall{
            position: fixed;
            width: 10vw;
            height: auto;
            left: 0;
            top: 0;
            z-index: -1; /* najniższy */
            pointer-events: none;
            user-select: none;
        }
        #pilka {
            margin-top: 320vh;
            z-index: -100; /* najniższy */
        }
        #korki {
            margin-top: 160vh;
            z-index: -100; /* najniższy */
        }
        #rekawice {
            margin-top: 480vh;
            z-index: -100; /* najniższy */
        }
        #okienko{
            position: absolute;
            visibility: hidden;

            background: rgba(255,255,255,0.9);
            color: rgba(15,32,48,1);

            padding: 12px 16px;
            border-radius: 10px;

            font-family: Mukta, sans-serif;
            font-weight: 700;
            line-height: 1.2;

            z-index: 100;
            pointer-events: none;
        }
        .naglowek-rankingu{
            position: relative;
            width: 100%;
            margin-bottom: -2.5vh;
        }

        .naglowek-rankingu::before{
            content: "";
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);

            width: 100vw;
            height: 100%;

            background: linear-gradient(
                to bottom,
                rgba(15,32,48,0),
                rgba(15,32,48,0.35),
                rgba(15,32,48,0)
            );

            z-index: -1;
        }
        #okienko img{
            width: 10vw;
            height: auto;
        }
        .player {
            cursor: pointer;
            transition: transform 0.35s cubic-bezier(.17,.89,.32,1.49);
        }
        .player.active{
            transform: scale(1.25);
            z-index: 100;
        }
        .tabela-strzelcow {
            width: 100%;
            margin-top: 2vh;
            padding: 2vw;
        }

        .tabela-strzelcow table {
            width: 100%;
            table-layout: fixed;
            border-collapse: collapse;
            font-family: Mukta, sans-serif;
            color: rgba(15,32,48,1);
        }

        .tabela-strzelcow th,
        .tabela-strzelcow td {
            padding: 12px;
            text-align: center;
            border-bottom: 1px solid rgba(15,32,48,0.2);
        }
        .tabela-strzelcow th:first-child,
        .tabela-strzelcow td:first-child {
            width: 80px;
        }
        .tabela-strzelcow th:last-child,
        .tabela-strzelcow td:last-child {
            width: 80px;
        }        

        .tabela-strzelcow th {
            font-size: 1.5vw;
            font-weight: 800;
        }

        .tabela-strzelcow td {
            font-size: 1.3vw;
            font-weight: 600;
        }

        .tabela-strzelcow tr:last-child td {
            border-bottom: none;
        }
        #baner {
            height: 65vh;
            width: 90vw;
            object-fit: cover;

            -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
            mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
        }
        #baner2 {
            height: 50vw;
            margin-top: 3vh;
            width: 90vw;
            object-fit: cover;
            -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
            mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
        }
        .expand-info {
            font-family: Mukta, sans-serif;
            font-size: 1.2vw;
            opacity: 0.6;
            margin-top: 10px;
            text-align: center;
        }
        .expand-info2 {
            font-family: Mukta, sans-serif;
            color: white;
            font-size: 1.2vw;
            font-weight: 700;
            margin-top: 10px;
            text-align: center;
            margin-bottom: 3vh;
        }
        .horizontal-gallery {
            width: 100%;
            display: flex;
            gap: 2vw;
            align-items: center;
            overflow-x: auto;
            overflow-y: visible;
            scroll-snap-type: x mandatory;
            scrollbar-width: auto; /* Firefox */
            padding-top: 3vh;
            padding-bottom: 3vh;
            box-sizing: border-box;
            background-color: rgba(255,255,255,0.1);
            border: none; 
            border-radius: 10px;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px); /* Safari support */
        }

        .horizontal-gallery::-webkit-scrollbar {
            display: auto; /* Chrome */
        }

        .horizontal-gallery img {
            flex: 0 0 auto;
            max-height: 80vh;
            width: auto;
            max-width: 90vw;

            border-radius: 12px;
            object-fit: contain;
            scroll-snap-align: center;
            transition: transform 0.3s ease;
            filter: grayscale(70%);
        }
        .horizontal-gallery img.active {
            transform: scale(1.05);
            filter: grayscale(0%);
        }
        #n4 {
            margin-left: 5vw;
            margin-right: 5vw;
        }
        .ig-link {
            display: none !important;
            margin-left: auto;
            margin-right: 15px;
            align-items: center;
            justify-content: center;
        }

        .ig-link img {
            margin-top: -0.5vh;
            width: 40px;
            height: 40px;
            display: block;
        }
        .nav-right {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: auto;
        }
        #invert {
            font-size: 3vw;
            margin-top: 0;
            transition: 0.3s;
        }
        #invert:hover {
            opacity: 0.7;
        }
        #invert2 {
            font-size: 3vh;
        }
        @media (max-width: 760px) {
            #invert {
                font-size: 3vh;
            }
            #invert2 {
                font-size: 3vw;
            }
            .horizontal-gallery {
                padding: 3vh 0; /* brak bocznych "podglądów" */
                padding-left: 10vw;
                gap: 5vw;
            }

            .horizontal-gallery img {
                flex: 0 0 80vw; /* 1 zdjęcie = cały ekran */
            }
            .desktop {
                display: none;
            }
            .ig-link {
                display: flex !important;
            }
            .mobile {
                display:inline;
            }
            .expand-info {
                font-size: 1.5vh;
            }
            .expand-info2 {
                font-size: 3vw;
                margin: 5vh 0;
            }
            .tabela-strzelcow {
                width: 90vw;
            }
            #baner {
                margin-top: -3vh;
                height: 20vh;
            }
            .tabela-strzelcow th,
            .tabela-strzelcow td {
                font-size: 1.8vh;
                padding: 10px 5px;
            }
            #okienko img{
                width: 10vh;
                height: auto;
            }
            #pilka {
                margin-top: 295vw;
            }
            #korki {
                margin-top: 170vw;
            }
            #rekawice {
                margin-top: 435vw;
            }
            .pitch {
                zoom: 1.6;
                margin-bottom: 0;
            }
            .hamburger {
                display: block;
            }
            .p007 {
                margin-top: -1vh;
            }
            .toty {
                margin-top: 10vh;             
            }
            #name {
                transform: translateY(-20vh);
            }
            #news {
                transform: translateY(-50vh);
            }
            .box1 {
                flex-direction: column;
                height: auto;
            }
            .tabela-strzelcow {
                width: 80vw;
            }
            .special{
                margin-top: -50vh;
            }
            .box1 img {
                width: 90%;
                height: 50vw;
                display: block;
                border-radius: 10px;
                object-fit: cover;
            }
            .box1 p {
                width: 54vw;
                font-size: 1.75vh;
            }
            .box2 {
                display: flex;
                flex-direction: column;
                width: 100%;
                justify-content: center; /* pionowe centrowanie */
                align-items: center;     /* poziome centrowanie */
            }
            .box2 p {
                width: 90%;
                margin: 2vh 0;
                font-size: 1.75vh;
            }
            .box3 {
                display: flex;
                flex-direction: row;
                width: 100%;
                align-items: center;     /* poziome centrowanie */
            }
            .box31p {
                width: 30%;
                margin: 2vh 5%;
                margin-right: 0;
                font-size: 1.75vh;
                text-align: left;
            }
            .box32p {
                width: 70%;
                margin: 2vh 5%;
                margin-left: 0;
                font-size: 1.75vh;
                text-align: right;
            }
            #navbar {
                justify-content: left;
            }
            #navbar a {
                flex: 0;
            }
            .collapsed-text {
                cursor: pointer;
            }
            #dvdBall {
                width: 10vh;
            }
            .poziom {
                flex-direction: column;
                gap: 0;
                margin-bottom: 10vh;
            }
            .pion {
                width: 100%;
                gap: 1vh;
            }
            .naglowek-rankingu::before {
                background: linear-gradient(
                    to bottom,
                    rgba(15,32,48,0),
                    rgba(15,32,48,0.7),
                    rgba(15,32,48,0)
                );                
            }
            .end {
                margin: 1vh 0;
            }
        }