@font-face {
    font-family: 'Proxima Nova Black Italic';
    src: url('../font/proximanova_blackit.otf') format('opentype');
    font-weight: 900;
    font-style: Black Italic;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Dla WebKit (Chrome, Safari, etc.) */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

html {
    background: linear-gradient(to bottom, #1a1a1a 40%, #470122 100%) fixed;
}

body {
    font-family: 'Proxima Nova Black Italic';
    margin: 0;
    padding: 0;
    color: #fff;
    background: transparent;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.redux-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    margin-top: 100px;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

/* Ukryj scrollbar dla kontenera grid, zachowując funkcjonalność przewijania */
.redux-grid::-webkit-scrollbar {
    display: none;
}

.redux-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
}


.redux-card {
    width: 300px;
    flex: 0 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background-color: #151515;
    padding: 20px;
    text-align: center;
    color: white;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    margin-bottom: 20px;
}

.redux-download-link {
    text-decoration: none;
    color: white;
    display: block;
}

.redux-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.redux-preview {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 10px;
    object-fit: cover;
}

.redux-title {
    font-size: 2em;
    color: #fff;
    margin: 15px 0;
    font-family: 'Proxima Nova Black Italic';
}

.redux-platform {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1em;
    margin-top: 10px;
}

.tutorial-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.tutorial-button:hover {
    background: rgba(255, 255, 255, 0.2);
}


@media (max-width: 1640px) {
    .redux-grid {
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .redux-card {
        width: 100%;
        max-width: 300px;
    }
    
    .redux-title {
        font-size: 1.5em;
    }
}