        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: #000000;
            color: #ffffff;
            overflow-x: hidden;
        }

        /* Navigation */
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 25px 60px;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            background: transparent;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-icon {
            width: 45px;
            height: 45px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .logo-text {
            font-size: 20px;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.5px;
        }

        .nav-links {
            display: flex;
            gap: 50px;
            list-style: none;
        }

        .nav-links a {
            color: #ffffff;
            text-decoration: none;
            font-weight: 500;
            font-size: 15px;
            transition: all 0.3s;
            position: relative;
            padding-bottom: 5px;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: #ffffff;
            transition: width 0.3s;
        }

        .nav-links a:hover {
            color: #ffffff;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-buttons {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .icon-btn {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: #1a1f2e;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            padding: 10px;
            overflow: hidden;
        }

        .icon-btn img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .icon-btn:hover {
            background: #252b3d;
            transform: scale(1.05);
        }

.register-btn {
    padding: 13px 32px;
    background-image: linear-gradient(
        to right,
        #B2FEFA 0%,
        #0ED2F7 51%,
        #B2FEFA 100%
    );
    background-size: 200% auto;
    border: none;
    border-radius: 25px; /* kształt zostaje */
    color: #f5f7fa; /* ciemny tekst lepiej siada na jasnym gradiencie */
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background-position 0.5s, transform 0.3s;
    text-decoration: none;
    display: inline-block;
}

.register-btn:hover {
    background-position: right center;
    transform: translateY(-2px);
}


        /* Register Page */
.parallax-layer {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: 2;
    pointer-events: none; /* KLUCZOWE: myszka ignoruje tę warstwę */
    will-change: transform;
}
.parallax-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Ustawiamy wyższy z-index dla kontenera z formularzem */
.register-container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    pointer-events: all; /* Upewniamy się, że tu klikanie działa */
}

/* Postać też będzie pływać */
#characterParallax {
    will-change: transform;
}
        .register-page {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
    background-image: url('img/tlol.png'); 
            z-index: 200;
overflow-x: hidden; /* Blokada pozioma wewnątrz panelu */
    overflow-y: hidden;   /* Pozwala scrollować formularz, jeśli nie mieści się na ekranie */
            opacity: 0;
            transform: translateY(100%);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        .register-page.active {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .register-container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 60px;
            gap: 80px;
            position: relative;
            opacity: 0;
            transform: scale(0.95);
            transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
        }

        .register-page.active .register-container {
            opacity: 1;
            transform: scale(1);
        }


        .register-content {
            max-width: 500px;
            z-index: 2;
            position: relative;
            margin-top: 80px; /* Robi miejsce na przycisk "Powrót" */
    align-self: center;
        }

        .register-content h1 {
            font-size: 72px;
            font-weight: 900;
            line-height: 1;
            margin-bottom: 40px;
            letter-spacing: -2px;
            color: #ffffff;
        }

        .register-content h1 .highlight {
            color: rgb(0, 212, 255);
        }

        .register-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-input {
            padding: 16px 20px;
            background: transparent;
            border: 2px solid #1a1f2e;
            border-radius: 15px;
            color: #ffffff;
            font-size: 15px;
            transition: all 0.3s;
            font-family: 'Inter', sans-serif;
        }

        .form-input:focus {
            outline: none;
            border-color: #00d4ff;
        }

        .form-input::placeholder {
            color: #666;
        }

        .form-select {
            display: none;
        }

        .social-login {
            margin-top: 30px;
            padding-top: 30px;
            border-top: 2px solid #1a1f2e;
        }

        .social-title {
            font-size: 14px;
            color: #b8c5d6;
            margin-bottom: 15px;
            text-align: center;
        }

        .social-buttons {
            display: flex;
            gap: 15px;
        }

        .social-btn {
            flex: 1;
            padding: 16px 20px;
            background: #1a1f2e;
            border: 2px solid #1a1f2e;
            border-radius: 15px;
            color: #ffffff;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 15px;
        }

        .social-btn:hover {
            border-color: #00d4ff;
            background: rgba(0, 212, 255, 0.1);
        }

        .social-btn.discord:hover {
            border-color: #5865F2;
            background: rgba(88, 101, 242, 0.1);
        }

        .social-btn.steam:hover {
            border-color: #00adee;
            background: rgba(0, 173, 238, 0.1);
        }

        .social-icon {
            font-size: 20px;
        }


        .terms {
            margin-top: 20px;
            font-size: 13px;
            color: #666;
            line-height: 1.6;
        }

        .submit-btn {
            margin-top: 30px;
            padding: 18px 45px;
            background: #00d4ff;
            border: none;
            border-radius: 30px;
            color: #000000;
            font-weight: 700;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
            width: 100%;
        }

        .submit-btn:hover {
            background: #00b8e6;
            transform: translateY(-2px);
        }

.register-image {
    position: absolute; /* Wyjmujemy postać z układu, żeby nie przesuwała formularza */
    right: 0;           /* Przyklejamy do prawej krawędzi kontenera */
    top: 50%;           /* Ustawiamy górną krawędź na środku wysokości */
    transform: translateY(-50%) scale(1.2); /* Centrujemy pionowo i skalujemy w jednej linii */
    z-index: 5;         /* Ustawiamy pod napisem "SIĘ", jeśli na niego nachodzi */
    width: 700px;
    height: auto;       /* Pozwól wysokości dopasować się proporcjonalnie */
    pointer-events: none; /* Dzięki temu postać nie zablokuje klikania w przyciski pod nią */
}

.register-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

        .back-btn {
            position: absolute;
            top: 30px;
            left: 60px;
            z-index: 330;
            padding: 12px 28px;
            background: transparent;
            border: 2px solid #ffffff;
            border-radius: 25px;
            color: #ffffff;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            pointer-events: all; /* Upewniamy się, że tu klikanie działa */
        }

        .back-btn:hover {
            background: #ffffff;
            color: #000000;
        }

        /* Hero Section */
        .hero {
            padding: 120px 60px 100px 60px;
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('img/hero-main-image.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: 0;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
            z-index: 1;
        }

        .hero-content {
            max-width: 650px;
            z-index: 3;
            position: relative;
        }

        .hero h1 {
            font-size: 82px;
            font-weight: 900;
            line-height: 0.95;
            margin-bottom: 30px;
            letter-spacing: -2px;
        }

        .hero h1 .highlight {
            color: #00d4ff;
            display: block;
        }

        .hero p {
            font-size: 17px;
            line-height: 1.7;
            margin-bottom: 45px;
            color: #b8c5d6;
            max-width: 550px;
        }

.cta-button {
    padding: 18px 45px;
    background-image: linear-gradient(
        to right,
        #B2FEFA 0%,
        #0ED2F7 51%,
        #B2FEFA 100%
    );
    background-size: 200% auto;
    border: none;
    border-radius: 30px;
    color: #ffffff; /* ciemny tekst, bo gradient jasny */
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background-position 0.5s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.cta-button:hover {
    background-position: right center;
    transform: translateY(-2px);
}



        /* About Section */
.about {
    padding: 120px 60px;
    background: #000000;
    display: flex;
    gap: 60px;
    align-items: stretch; /* To wyrównuje lewą i prawą stronę do tej samej wysokości */
}

.about-left {
    flex: 0 0 450px; /* Stała szerokość lewej strony */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Rozciąga zawartość od góry do dołu */
}

        .about h2 {
            font-size: 64px;
            font-weight: 900;
            margin-bottom: 30px;
            letter-spacing: -2px;
            line-height: 1.1;
        }

        .about h2 .highlight {
            color: #00d4ff;
        }

        .about-content {
            display: flex;
            flex-direction: column;
            gap: 30px;
            margin-top: 50px;
        }

        .about-text {
            flex: 1;
        }

        .about-text p {
            font-size: 17px;
            line-height: 1.8;
            color: #b8c5d6;
            margin-bottom: 35px;
        }

        .about-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 30px;
        }

        .about-tag {
            padding: 12px 24px;
            background: transparent;
            border: 2px solid #ffffff;
            border-radius: 25px;
            color: #ffffff;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s;
            cursor: pointer;
        }

        .about-tag:hover {
            background: #ffffff;
            color: #000000;
        }

        .about-buttons {
            display: flex;
            gap: 20px;
            margin-top: 20px;
        }

.about-right {
    flex: 1;
    min-width: 0; /* Ważne dla poprawnego działania scrolla */
}

        .secondary-btn {
            padding: 16px 38px;
            background: transparent;
            border: 2px solid #00d4ff;
            border-radius: 25px;
            color: #00d4ff;
            font-weight: 700;
            font-size: 15px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .secondary-btn:hover {
            background: #00d4ff;
            color: #0a0e1a;
            transform: translateY(-2px);
        }

/* Cards Grid */
.cards-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cards-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    cursor: grab;
    height: 100%;
}

.cards-scroll-container::-webkit-scrollbar {
    display: none;
}

.cards-grid {
    display: flex;
    gap: 25px;
    height: 100%;
    padding-bottom: 10px;
}

/* Styl pojedynczej karty */
/* Styl pojedynczej karty - 1:1 jak w projekcie */
.card {
    background: #111111;
    border-radius: 24px;
    overflow: hidden;
    /* Obliczenie szerokości: (100% kontenera - luki między kartami) / 2.5 */
    width: calc((100% - 50px) / 2.5); 
    min-width: calc((100% - 50px) / 2.5);
    display: flex;
    flex-direction: column;
}

.card-image {
    width: 100%;
    height: 65%; /* Więcej miejsca na zdjęcie */
    background: #1a1a1a;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 25px;
    height: 35%; /* Reszta na tekst */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
    text-transform: uppercase;
}

.card-content p {
    font-size: 14px;
    color: #888;
    line-height: 1.5;
}

/* Pasek suwaka na dole */
/* Pasek suwaka na dole */
.scroll-indicator {
    width: 100%;
    height: 4px; /* Nieco grubszy, żeby łatwiej było złapać */
    background: rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    position: relative;
    border-radius: 10px;
    cursor: pointer; /* Kursor wskazujący na całą linię */
}

.scroll-indicator-bar {
    position: absolute;
    height: 100%;
    background: #00d4ff;
    width: 30%; /* Szerokość początkowa */
    border-radius: 10px;
    left: 0;
    transition: transform 0.1s linear; /* Krótki czas reakcji dla płynności */
    cursor: grab; /* Rączka do łapania */
}

.scroll-indicator-bar:active {
    cursor: grabbing;
}

/* --- Sekcja HOW TO START (którą miałeś urwaną) --- */

.how-to-start {
    padding: 100px 60px;
    background: #000000;
    position: relative;
}

.how-to-start h2 {
    font-size: 60px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.how-to-start-subtitle {
    color: #888;
    margin-bottom: 60px;
    font-size: 14px;
    letter-spacing: 1px;
}

.steps-container {
    display: flex;
    gap: 20px; /* Nieco mniejszy odstęp, żeby zmieścić węższe karty */
    justify-content: center; /* Wyśrodkowanie kart */
    align-items: stretch;
}

.step-card {
    background: #111;
    padding: 50px 30px; /* Więcej paddingu góra/dół, mniej na boki */
    border-radius: 30px;
    
    /* KLUCZOWE ZMIANY */
    flex: 0 1 300px;    /* Karta dąży do 300px szerokości (węższa) */
    min-height: 500px;  /* Znacznie wyższa */
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.step-card.highlight-card {
    background: linear-gradient(145deg, #1a1a1a, #000);
}

.step-content h3 {
    font-size: 28px; /* Nieco mniejszy font, żeby pasował do wąskiej karty */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #ffffff;
}

.step-content p {
    color: #888;
    font-size: 14px;
    line-height: 1.7;
}

.step-button {
    margin-top: auto; /* Pcha przycisk zawsze na sam dół karty */
    padding: 15px 25px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    width: 100%; /* Przycisk na całą szerokość wąskiej karty wygląda lepiej */
    transition: 0.3s;
    text-align: center;
}

.step-button:hover {
    background: #fff;
    color: #000;
}

/* Laptop Preview */
.laptop-preview {
    flex: 1.5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laptop-preview img {
    max-width: 50%;
    height: auto;
    z-index: 2;
}

.lime-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: #00d4ff; /* Limonkowy akcent z twojego obrazka */
    filter: blur(80px);
    opacity: 0.2;
    z-index: 1;
}

        /* FAQ Section */
        .faq {
            padding: 120px 60px;
            background: #000000;
        }

        .faq h2 {
            font-size: 64px;
            font-weight: 900;
            margin-bottom: 30px;
            letter-spacing: -2px;
            color: #ffffff;
        }

        .faq-subtitle {
            font-size: 17px;
            color: #b8c5d6;
            margin-bottom: 60px;
            line-height: 1.7;
            max-width: 800px;
        }

        .faq-container {
            max-width: 900px;
            margin: 0 auto;
        }

        .faq-item {
            border: 2px solid #1a1f2e;
            border-radius: 15px;
            margin-bottom: 15px;
            overflow: hidden;
            transition: all 0.3s;
        }

        .faq-item.active {
            background: #00d4ff;
            border-color: #00d4ff;
        }

        .faq-question {
            padding: 25px 30px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 16px;
            font-weight: 600;
            color: #ffffff;
            transition: all 0.3s;
            user-select: none;
        }

        .faq-item.active .faq-question {
            color: #000000;
        }

        .faq-question:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .faq-item.active .faq-question:hover {
            background: transparent;
        }

        .faq-icon {
            font-size: 20px;
            transition: transform 0.3s;
        }

        .faq-item.active .faq-icon {
            transform: rotate(180deg);
            color: #000000;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .faq-answer-content {
            padding: 0 30px 25px 30px;
            color: #000000;
            line-height: 1.7;
            font-size: 15px;
        }


/* --- KLUCZOWE ANIMACJE (Bez tego nie ma kolorów) --- */
@keyframes gradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.highlight {
    background: linear-gradient(to right, #00d4ff, #0066ff, #00d4ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
    animation: gradientFlow 4s linear infinite;
    display: inline-block;
}

/* Styl ikonki Scroll Down */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px; /* Odległość od dołu ekranu */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mouse-icon svg {
    display: block;
    color: #00d4ff; /* Kolor cyjanowy, żeby pasował do highlightu */
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.scroll-down-indicator.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
}
/* --- Animacje Scroll Reveal --- */

/* Stan początkowy: ukryte */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1);
    will-change: transform, opacity;
}

/* Wjazd z dołu */
.reveal-bottom {
    transform: translateY(50px);
}

/* Wjazd z lewej */
.reveal-left {
    transform: translateX(-50px);
}

/* Wjazd z prawej */
.reveal-right {
    transform: translateX(50px);
}

/* Efekt skali (zoom) */
.reveal-zoom {
    transform: scale(0.9);
}

/* Klasa aktywna - stan po przewinięciu */
.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Opóźnienia dla elementów w grupach (np. karty obok siebie) */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- Przycisk Powrotu na Górę --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #00d4ff; /* Kolor cyjanowy */
    color: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.back-to-top svg {
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: scale(1.1);
}
/* Warstwa przejścia między stronami */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 999999; /* Bardzo wysoki priorytet */
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.is-transitioning .page-transition {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
}

/* Ukrywamy pola rejestracji domyślnie */
.reg-only {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Kiedy formularz ma klasę 'registration-mode', pokaż pola */
.registration-mode .reg-only {
    display: flex;
    opacity: 1;
}

/* Opcjonalnie: mała animacja dla płynności */
.form-group {
    transition: all 0.3s ease;
}

.registration-mode h1 {
    font-size: 54px; /* Z 72px na 54px */
    margin-bottom: 20px;
}

/* Zmniejszamy odstępy między polami w trybie rejestracji, żeby było ciasnej */
.registration-mode .register-form {
    gap: 10px;
}

/* Zmniejszamy margines górny przycisku submit */
.registration-mode .submit-btn {
    margin-top: 15px;
}