.spinner-container {
            position: relative;
            width: 200px;
            height: 250px;
            margin: 50px auto;
        }

        /* Główna łodyga liścia - wygięta w łuk */
        .leaf-stem {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 200px;
        }

        .leaf-stem svg {
            width: 100%;
            height: 100%;
        }

        .leaf-stem path {
            stroke: #4a6b2e;
            stroke-width: 4;
            fill: none;
            stroke-linecap: round;
            stroke-dasharray: 210;
            stroke-dashoffset: 210;
            animation: stemDraw 1.2s ease-out forwards;
            filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.3));
        }

        @keyframes stemDraw {
            0% {
                stroke-dashoffset: 210;
            }
            100% {
                stroke-dashoffset: 0;
            }
        }

        /* Pojedyncze piórko */
        .pinnae {
            position: absolute;
            width: 40px;
            height: 3px;
            background: linear-gradient(90deg, #4a6b2e 0%, #4CAF50 50%, #2d5016 100%);
            border-radius: 0 50% 50% 0;
            opacity: 0;
            animation: pinnaeAppear 0.3s ease-out forwards;
        }

        /* Cień piórka */
        .pinnae::after {
            content: '';
            position: absolute;
            left: 0;
            top: 1px;
            width: 100%;
            height: 1px;
            background: rgba(255,255,255,0.4);
            border-radius: 0 50% 50% 0;
        }

        /* Piórka po lewej stronie */
        .pinnae-left {
            transform-origin: right center;
        }

        /* Piórka po prawej stronie */
        .pinnae-right {
            transform-origin: left center;
        }

        /* Pozycje piór od dołu do góry - dostosowane do łuku */
        .pinnae:nth-child(2) {
            bottom: 20px;
            left: calc(50% + 2px - 40px);
            animation-delay: 1.2s;
        }

        .pinnae:nth-child(3) {
            bottom: 20px;
            left: calc(50% + 2px);
            animation-delay: 1.25s;
        }

        .pinnae:nth-child(4) {
            bottom: 40px;
            left: calc(50% + 5px - 40px);
            animation-delay: 1.3s;
        }

        .pinnae:nth-child(5) {
            bottom: 40px;
            left: calc(50% + 5px);
            animation-delay: 1.35s;
        }

        .pinnae:nth-child(6) {
            bottom: 60px;
            left: calc(50% + 6px - 38px);
            width: 38px;
            animation-delay: 1.4s;
        }

        .pinnae:nth-child(7) {
            bottom: 60px;
            left: calc(50% + 6px);
            width: 38px;
            animation-delay: 1.45s;
        }

        .pinnae:nth-child(8) {
            bottom: 80px;
            left: calc(50% + 8px - 36px);
            width: 36px;
            animation-delay: 1.5s;
        }

        .pinnae:nth-child(9) {
            bottom: 80px;
            left: calc(50% + 8px);
            width: 36px;
            animation-delay: 1.55s;
        }

        .pinnae:nth-child(10) {
            bottom: 100px;
            left: calc(50% + 10px - 34px);
            width: 34px;
            animation-delay: 1.6s;
        }

        .pinnae:nth-child(11) {
            bottom: 100px;
            left: calc(50% + 10px);
            width: 34px;
            animation-delay: 1.65s;
        }

        .pinnae:nth-child(12) {
            bottom: 120px;
            left: calc(50% + 12px - 32px);
            width: 32px;
            animation-delay: 1.7s;
        }

        .pinnae:nth-child(13) {
            bottom: 120px;
            left: calc(50% + 12px);
            width: 32px;
            animation-delay: 1.75s;
        }

        .pinnae:nth-child(14) {
            bottom: 140px;
            left: calc(50% + 14px - 28px);
            width: 28px;
            animation-delay: 1.8s;
        }

        .pinnae:nth-child(15) {
            bottom: 140px;
            left: calc(50% + 14px);
            width: 28px;
            animation-delay: 1.85s;
        }

        .pinnae:nth-child(16) {
            bottom: 160px;
            left: calc(50% + 14px - 20px);
            width: 24px;
            animation-delay: 1.9s;
        }

        .pinnae:nth-child(17) {
            bottom: 160px;
            left: calc(50% + 18px);
            width: 24px;
            animation-delay: 1.95s;
        }

        .pinnae:nth-child(18) {
            bottom: 180px;
            left: calc(50% + 24px - 20px);
            width: 20px;
            animation-delay: 2.0s;
        }

        .pinnae:nth-child(19) {
            bottom: 180px;
            left: calc(50% + 24px);
            width: 20px;
            animation-delay: 2.05s;
        }

        @keyframes pinnaeAppear {
            0% {
                opacity: 0;
                transform: rotate(-90deg) scale(0);
            }
            100% {
                opacity: 1;
                transform: rotate(-45deg) scale(1);
            }
        }

        /* Animacja dla piór po lewej */
        .pinnae-left {
            animation: pinnaeAppearLeft 0.3s ease-out forwards;
        }

        @keyframes pinnaeAppearLeft {
            0% {
                opacity: 0;
                transform: rotate(90deg) scale(0);
            }
            100% {
                opacity: 1;
                transform: rotate(45deg) scale(1);
            }
        }

        .loading-text {
            position: absolute;
            bottom: -40px;
            left: 50%;
            transform: translateX(-50%);
            color: #333;
            font-size: 16px;
            letter-spacing: 1px;
            white-space: nowrap;
            font-family: Arial, sans-serif;
        }

        /* Animacja zapętlająca */
        @keyframes fadeOut {
            0%, 75% {
                opacity: 1;
            }
            100% {
                opacity: 0;
            }
        }

        .spinner-container {
            animation: fadeOut 3s ease-in-out infinite;
        }