* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: all 0.15s ease;
}
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

[data-aos] {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #003399;
    border-radius: 4px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #004499;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

.preloader.fade-out {
    opacity: 0;
}

.loader {
    width: 100px;
    height: 100px;
    border: 5px solid #003399;
    border-top: 5px solid #00f7ff;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../Images_website/background.webp') no-repeat center center fixed;
    background-size: cover;
    color: white;
}

.navbar {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 10, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 35px;
    border: 1px solid rgba(0, 247, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 51, 153, 0.3);
    z-index: 1000;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 50%;
    max-width: 900px;
}

.navbar:hover {
    border-color: rgba(0, 247, 255, 0.2);
    box-shadow: 0 0 25px rgba(0, 51, 153, 0.4);
}

.navbar-logo {
    width: 48px;
    height: 48px;
    position: static;
    margin-right: auto;
    transition: transform 0.2s ease;
}

.navbar-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    display: flex;
    gap: 25px;
    flex-grow: 1;
    justify-content: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #00f7ff, transparent);
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #00f7ff;
    text-shadow: 0 0 10px #00f7ff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: absolute;
    left: -10px;
    /* top: 25px; */
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: white;
    transition: all 0.2s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    body {
        background-size: cover;
        background-attachment: scroll;
    }
    .navbar {
        width: 60%;
        padding: 8px 15px;
        justify-content: space-between;
    }

    .hamburger {
        position: relative;
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: -60%;
        right: -220%;
        height: 100vh;
        width: 170%;
        background: rgba(0, 10, 30, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.2s ease;
        justify-content: center;
    }

    .nav-links.active {
        right: -35%;
    }

    .nav-links a {
        font-size: 1.2em;
    }

    .home h1 {
        font-size: 2.5em !important;
    }

    .home p {
        font-size: 1.2em !important;
    }

    .logo {
        width: 180px !important;
        height: 180px !important;
    }

    .feature-row {
        flex-direction: column !important;
    }

    .feature-card {
        margin: 10px 0 !important;
    }

    .features-title {
        font-size: 2em !important;
    }
}

@media (max-width: 480px) {
    body {
        background-size: cover;
        background-attachment: scroll;
    }
    .navbar {
        width: 60%;
        padding: 6px 12px;
    }

    .navbar-logo {
        right: 25%;
        width: 30px;
        height: 30px;
    }

    .nav-links a {
        font-size: 1.1em;
    }

    .home h1 {
        font-size: 2em !important;
    }

    .home p {
        font-size: 1em !important;
    }

    .logo {
        width: 150px !important;
        height: 150px !important;
    }

    .features-title {
        font-size: 1.8em !important;
    }
}

@media (max-width: 1290px) {
    .nav-links a {
        font-size: 1.1em;
    }
}

@media (max-width: 1100px) {
    .nav-links a {
        font-size: 0.8em;
    }
}

@media (max-width: 960px) {
    .nav-links a {
        font-size: 1.3em;
    }
}

section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
}

.home {
    text-align: center;
}

.home h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff 20%, #00f7ff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
}

.home p {
    font-size: 1.5em;
    color: #a0a0a0;
}

.logo {
    margin-top: 3%;
    width: 220px;
    height: 220px;
    margin-bottom: 30px;
    animation: glow 2s infinite alternate;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-title {
    font-size: 2.5em;
    text-align: center;
    margin-top: 10%;
    margin-bottom: 2%;
    color: #00f7ff;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    background: linear-gradient(45deg, #fff, #00f7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-row {
    display: flex;
    gap: 30px;
    width: 100%;
    margin-bottom: 30px;
}

.feature-card {
    background: rgba(0, 10, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 247, 255, 0.1);
    flex: 1;
    transform-style: preserve-3d;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow, border-color;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 60px;
    min-height: 500px;
    margin-bottom: 3%;
    
}

.card-zalety {
    display: block;
    background: #000a1ecc url('../Images_website/kolejka.webp') 95% 80%/65% no-repeat;
}

.card-zalety2 {
    display: block;
    background: #000a1ecc url('../Images_website/render4.webp') 82% 80%/30% no-repeat;
}

.image_kolejka {
    display: none;
}
.image_refekty {
    display: none;
}

.feature-card.image-right {
    flex-direction: row;
}

.feature-card.image-left {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.feature-image {
    width: auto;
    height: auto;
    max-width: 630px;
    max-height: 385px;
    border-radius: 10px;
    object-fit: contain;
    transition: all 0.2s ease;
    align-self: center;
}

.feature-card:hover .feature-image {
    transform: scale(1.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 51, 153, 0.3);
    border-color: rgba(0, 247, 255, 0.2);
}

.feature-card h2 {
    color: #00f7ff;
    text-align: center;
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
}

.feature-card ul {
    list-style-type: none;
    position: relative;
    z-index: 1;
    text-align: left;
    width: 100%;
    margin-top: 20px;
}

.feature-card li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    line-height: 1.4;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: #a0a0a0;
}

.feature-card li:hover {
    transform: translateX(5px);
    color: #fff;
}

.feature-card li::before {
    content: "•";
    color: #00f7ff;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.feature-content ul li ul {
    padding-left: 1%;
}

@media (max-width: 768px) {
    .feature-card {
        flex-direction: column !important;
        gap: 40px;
        min-height: auto;
    }

    .card-zalety {
        display: block;
        background: #000a1ecc;
    }
    .card-zalety2 {
        display: block;
        background: #000a1ecc;
    }
    .image_kolejka {
        display: block;
        width: 100%;
    }
    .image_refekty {
        display: block;
        width: 50%;
    }

    .feature-image {
        width: 100%;
        height: auto;
        max-height: 210px;
    }

    .feature-content {
        width: 100%;
    }
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px #00f7ff); }
    to { filter: drop-shadow(0 0 20px #00f7ff); }
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: rgba(0, 10, 30, 0.8);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    margin: 20px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 247, 255, 0.2);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 247, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background: rgba(0, 51, 153, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
    border-color: #00f7ff;
}

#download {
    text-align: center;
    min-height: auto;
    padding: 50px 20px;
}

#download h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #00f7ff;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    margin-top: 3%;
    margin-bottom: 1%;
}

.download-cards {
    overflow: hidden;
    display: flex;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.download-card {
    background: rgba(0, 10, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 247, 255, 0.1);
    flex: 1;
    max-width: 400px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 247, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 51, 153, 0.3);
}

.download-card h3 {
    font-size: 2em;
    color: #00f7ff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.download-card .price {
    font-size: 1.3em;
    color: white;
    margin-bottom: 20px;
}

.download-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    width: 100%;
}

.download-card li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #a0a0a0;
    transition: all 0.2s ease;
}

.download-card li::before {
    content: "•";
    color: #00f7ff;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.download-card li:hover {
    color: white;
    transform: translateX(5px);
}

.download-card .btn {
    width: 80%;
    text-align: center;
    margin: 10px 0;
    align-self: center;
}

@media (max-width: 768px) {
    .download-cards {
        flex-direction: column;
        align-items: center;
    }

    .download-card {
        width: 100%;
    }
}

/* Nowa sekcja discord */
#discord {
    text-align: center;
    min-height: auto;
    padding: 50px 20px;
}

#discord h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #00f7ff;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    margin-top: 3%;
    margin-bottom: 1%;
}

.discord-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.discord-card {
    background: rgba(0, 10, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 247, 255, 0.1);
    flex: 1;
    max-width: 870px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.discord-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 247, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 51, 153, 0.3);
}

.discord-card h3 {
    font-size: 2em;
    color: #00f7ff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.discord-card .price {
    font-size: 1.8em;
    color: white;
    margin-bottom: 20px;
}

.discord-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    width: 100%;
}

.discord-card li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #a0a0a0;
    transition: all 0.2s ease;
}

.discord-card li::before {
    content: "•";
    color: #00f7ff;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.discord-card li:hover {
    color: white;
    transform: translateX(5px);
}

.discord-card .btn {
    width: 80%;
    text-align: center;
    margin: 10px 0;
    align-self: center;
}

.widgetbot-pc {
    display: block;
    /* background: #000a1ecc url('../Images_website/widgetbot.png') 95% 80%/65% no-repeat; */
}
.widgetbot-mobile {
    display: none;
}

@media (max-width: 768px) {
    .widgetbot-pc {
        display: none;
    }

    .widgetbot-mobile {
        display: block;
    }

    .discord-cards {
        flex-direction: column;
        align-items: center;
    }

    .discord-card {
        width: 100%;
    }
}

.discord-widget {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

footer {
    background: rgba(0, 10, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 247, 255, 0.1);
}

footer p {
    color: #a0a0a0;
    font-size: 0.9em;
    margin: 10px 0;
}

footer a {
    color: #00f7ff;
    text-decoration: none;
    transition: all 0.2s ease;
}

footer a:hover {
    color: #fff;
    text-shadow: 0 0 10px #00f7ff;
}