body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #181a1b url('https://shadowpercifal.ru/img/denis-sebastian-tamas-unsplash.jpg') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    transition: background-position 0.2s;
}

.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 64px;
    background: rgba(24,26,27,0.85);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.logo {
    color: #a259ff;
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.2s;
}
.logo:hover {
    color: #fff;
}
.quick-nav a {
    color: #e0e0e0;
    text-decoration: none;
    margin-left: 24px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.quick-nav a:hover {
    color: #a259ff;
}
main {
    padding-top: 96px;
    padding-bottom: 64px;
}
.slides-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 48px 0;
}
.slide {
    position: relative;
    width: 320px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    background: rgba(35,39,42,0.7);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.slide:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px rgba(162,89,255,0.25);
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) grayscale(10%);
    transition: filter 0.3s;
}
.slide:hover img {
    filter: brightness(0.4) grayscale(0%);
}
.slide-text {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    background: rgba(24,26,27,0.0);
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
    padding: 24px;
    text-align: center;
}
.slide:hover .slide-text {
    opacity: 1;
    background: rgba(24,26,27,0.7);
}
.slide-text span {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 12px;
    color: #a259ff;
}
.scroll-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: #23272a;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: background 0.2s, box-shadow 0.2s;
}
.scroll-top:hover {
    background: #a259ff;
    box-shadow: 0 4px 24px rgba(162,89,255,0.25);
}
.scroll-top svg {
    display: block;
    margin: auto;
}
@media (max-width: 1100px) {
    .slides-row {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .slide {
        width: 90vw;
        max-width: 340px;
    }
}
