body::-webkit-scrollbar {
            width: 10px;
            background-color: var(--bg-dark);
        }

        body::-webkit-scrollbar-thumb {
            background-color: #3e4352;
            border-radius: 10px;
            border: 2px solid var(--bg-dark);
        }

        body::-webkit-scrollbar-thumb:hover {
            background-color: #5c637a;
        }

        /* --- ZMIENNE I RESET --- */
        :root {
            --bg-dark: #121418;
            --bg-card: #1c1f26;
            --bg-input: #131519;
            --primary: #ffffff;
            --accent: #3e4352;
            --text-main: #f1f5f9;
            --text-muted: #94a3b8;
            --glass-border: 1px solid rgba(255, 255, 255, 0.08);
            --glow: 0 0 20px rgba(255, 255, 255, 0.05);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-main);
            overflow-x: hidden;
            line-height: 1.6;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* --- TŁO --- */
        #particles-js {
            position: fixed;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, #1c1f26 0%, #121418 100%);
            z-index: -1;
        }

        /* --- SEKCJA main --- */
        #main {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 50px 20px 0;
            position: relative;
        }

        .main-content {
            max-width: 800px;
            margin-bottom: 80px; 
            width: 100%; /* Zapewnia poprawne skalowanie */
        }

        .logo-wrapper {
            /* Dodano dla pewności animacji */
            display: inline-block;
        }

        .main-logo-main {
            width: 180px;
            margin-bottom: 20px;
            filter: drop-shadow(0 0 10px rgba(255,255,255,0.2)); 
        }

        #main h1 {
            text-align: center;
            font-size: 3.8rem;
            margin-bottom: 20px;
            font-weight: 700;
            color: white;
        }

        #main b {
            font-size: 1rem;
            text-align: center;
            margin-bottom: 20px;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.822);
            margin-left: -1.5%;
            letter-spacing: 1px;
        }

        .gradient-text {
            background: linear-gradient(to right, #ffffff, #94a3b8);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        #main p {
            font-size: 1.25rem;
            color: var(--text-muted);
            margin-bottom: 40px;
            font-weight: 300;
        }

        /* Buttons main */
        .main-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-bottom: 40px;
        }

        .cta-button {
            padding: 16px 40px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center; /* Centrowanie tekstu wewnątrz */
            gap: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            white-space: nowrap; /* Zapobiega łamaniu tekstu */
        }

        .cta-button.primary {
            background: linear-gradient(180deg, #2a2e38 0%, #1f2229 100%);
            color: white;
            border: 1px solid rgba(255,255,255,0.08);
            box-shadow: 0 4px 6px rgba(0,0,0,0.2);
        }

        .cta-button.primary:hover {
            background: linear-gradient(180deg, #323642 0%, #252933 100%);
            border-color: rgba(255,255,255,0.2);
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }

        .cta-button.secondary {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.1);
            color: var(--text-muted);
        }

        .cta-button.secondary:hover {
            background: rgba(255,255,255,0.05);
            border-color: var(--text-main);
            color: white;
        }

        /* Status Serwera */
        .server-status {
            display: inline-flex;
            align-items: center;
            background: #1c1f26;
            padding: 12px 30px;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            cursor: pointer;
            position: relative;
            transition: 0.3s;
            max-width: 100%; /* Zabezpieczenie na mobile */
        }

        .server-status:hover {
            border-color: rgba(255,255,255,0.2);
            background: #232730;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            background: #ffffff;
            border-radius: 50%;
            margin-right: 12px;
            box-shadow: 0 0 10px rgba(255,255,255,0.5);
            animation: pulse 2s infinite;
            flex-shrink: 0; /* Kropka się nie zgniata */
        }

        .status-text strong {
            color: white;
        }

        .copy-tooltip {
            position: absolute;
            bottom: -40px;
            left: 50%;
            transform: translateX(-50%);
            background: #333;
            padding: 6px 12px;
            font-size: 0.8rem;
            border-radius: 4px;
            opacity: 0;
            transition: 0.3s;
            pointer-events: none;
            white-space: nowrap;
            border: 1px solid #444;
        }

        .server-status:hover .copy-tooltip {
            opacity: 1;
            bottom: -45px;
        }

        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.8; }
            50% { transform: scale(1.2); opacity: 0.4; }
            100% { transform: scale(1); opacity: 0.8; }
        }

        /* Scroll Icon */
        .scroll-down-icon {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 2rem;
            color: var(--text-muted);
            opacity: 0.6;
            text-decoration: none;
            transition: all 0.5s ease-in-out;
            animation: bounce 2s infinite;
        }

        .scroll-down-icon:hover {
            opacity: 1;
            color: var(--text-main);
        }

        .scroll-down-icon.scroll-to-top {
            animation: none;
            transform: translateX(-50%) rotate(180deg);
            cursor: pointer;
            opacity: 0.8;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
            40% { transform: translateY(-10px) translateX(-50%); }
            60% { transform: translateY(-5px) translateX(-50%); }
        }

        /* --- FEATURES --- */
        .section-padding {
            padding: 100px 0;
        }

        .section-title {
            text-align: center;
            font-size: 2rem;
            margin-bottom: 60px;
            font-weight: 700;
            color: white;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 30px;
        }

        .feature-card {
            background: var(--bg-card);
            padding: 40px 30px;
            border-radius: 8px;
            border: var(--glass-border);
            text-align: left;
            transition: 0.4s;
            position: relative;
            overflow: hidden;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            border-color: rgba(255,255,255,0.15);
            background: #23262e;
        }

        .icon-box {
            font-size: 2rem;
            color: white;
            margin-bottom: 20px;
            opacity: 0.8;
        }

        .feature-card h3 {
            margin-bottom: 10px;
            font-size: 1.1rem;
            color: white;
        }

        .feature-card p {
            color: var(--text-muted);
            font-size: 0.85rem;
            font-weight: 300;
        }

        /* --- ANIMACJE KLASY POMOCNICZE --- */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }
        
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .animated-item {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s ease;
        }

        .animated-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .delay-1 { transition-delay: 0.1s; }
        .delay-2 { transition-delay: 0.2s; }
        .delay-3 { transition-delay: 0.3s; }


        /* --- RESPANSYWNOŚĆ (MEDIA QUERIES) --- */
        @media (max-width: 768px) {
            
            /* --- TUTAJ UKRYWAMY IKONĘ SCROLLOWANIA --- */
            .scroll-down-icon {
                display: none;
            }
            
            /* Nagłówek mniejszy na telefonie */
            #main h1 { 
                font-size: 2.2rem; 
                padding: 0 10px;
            }
            
            #main p {
                font-size: 1rem;
                padding: 0 10px;
            }

            /* SKALOWANIE BUTTONÓW */
            .main-buttons {
                flex-direction: column; /* Ustawia przyciski pionowo */
                width: 100%;            /* Kontener zajmuje całą szerokość */
                gap: 15px;              /* Odstęp między przyciskami */
                padding: 0 10px;        /* Margines od krawędzi ekranu */
            }

            .cta-button {
                width: 100%;            /* Rozciąga przycisk na całą szerokość */
                justify-content: center; /* Tekst na środku */
                padding: 15px 20px;     /* Odpowiedni rozmiar pod palec */
            }
            
            /* Stopka na telefonie (jeśli będzie dodana) */
            .footer-content { 
                flex-direction: column; 
                text-align: center; 
                gap: 30px;
            }
            .footer-left {
                align-items: center;
            }
            .logo-container {
                justify-content: center;
            }
        }