@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Comfortaa", sans-serif;
    font-size: 16px;
    background-color: #262626;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.no-scroll {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

/* Header Styles */
header {
    background-color: #1f1f1f;
    color: white;
    padding: 10px 15px;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-icon {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.menu-icon span {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 40px;
    }
}

@media (max-width: 320px) {
    .logo {
        height: 36px;
    }
}

/* New Search Styles */
.search-container {
    position: relative;
    flex-grow: 1;
    max-width: 600px;
    margin: 0 20px;
}

.search-box {
    display: flex;
    width: 100%;
    position: relative;
}

#searchInput {
    flex-grow: 1;
    padding: 12px 20px 12px 45px;
    border: none;
    border-radius: 30px;
    background-color: #333;
    color: #e0e0e0;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    font-family: "Comfortaa", sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#searchInput:focus {
    background-color: #3a3a3a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffcc00;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: #262626;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.search-btn:hover {
    background-color: #ffdd33;
    transform: translateY(-50%) scale(1.05);
}

.search-results {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #2d2d2d;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.search-results.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.search-result-item {
    padding: 12px 20px;
    border-bottom: 1px solid #3a3a3a;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
}

.search-result-item:hover {
    background-color: #3a3a3a;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.search-result-item .info {
    flex: 1;
}

.search-result-item .name {
    font-weight: bold;
    margin-bottom: 3px;
}

.search-result-item .style {
    font-size: 0.85em;
    color: #aaa;
}

.highlight {
    background-color: transparent;
    color: inherit;
    padding: 0;
}

.artist-highlight {
    animation: highlightFade 3s ease-out;
    position: relative;
}

@keyframes highlightFade {
    0% {
        box-shadow: 0 0 15px rgba(255, 204, 0, 0.8);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 5px rgba(255, 204, 0, 0);
        transform: scale(1);
    }
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #ff6b6b;
    font-weight: bold;
}

.mobile-search-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
}

/* Improved Mobile Search */
@media (max-width: 768px) {
    .search-container {
        position: fixed;
        top: 10px;
        left: 10px;
        right: 10px;
        margin: 0;
        padding: 0;
        background: transparent;
        display: none;
        z-index: 1001;
        max-width: none;
    }

    .search-container.active {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

    .mobile-search-btn {
        display: block;
    }

    #searchInput {
        padding: 14px 20px 14px 50px;
        font-size: 16px;
        border-radius: 30px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .search-icon {
        left: 20px;
        font-size: 18px;
    }

    .search-btn {
        width: 40px;
        height: 40px;
    }

    .search-results {
        position: fixed;
        top: 80px;
        left: 10px;
        right: 10px;
        max-height: calc(100vh - 100px);
        border-radius: 10px;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Mobile search backdrop */
.search-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

@media (max-width: 768px) {
    .search-backdrop.active {
        display: block;
    }
}

/* Drawer Menu Styles */
.drawer {
    position: fixed;
    left: -250px;
    top: 60px;
    /* Оставляем хедер сверху */
    width: 250px;
    height: calc(100vh - 60px);
    background: #1f1f1f;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    will-change: transform;
    margin: 0;
    padding: 0;
}

.drawer.open {
    transform: translateX(250px);
}

.overlay {
    position: fixed;
    top: 60px;
    /* Оставляем только хедер сверху */
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
    pointer-events: none;
}

.overlay.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}


body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.menu {
    font-size: 18px;
    list-style: none;
    padding: 20px;
    margin: 0;
}

.menu li {
    position: relative;
    margin: 10px 0;
}

.menu a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    padding: 12px;
    transition: 0.2s;
    border-radius: 4px;
}

.menu a:hover {
    background: #2d2d2d;
}

.menu img {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    object-fit: contain;
    transition: 0.3s;
}

.menu span {
    margin-left: 12px;
    transition: 0.3s;
}

.submenu {
    list-style: none;
    padding-left: 15px;
    max-height: 0;
    /* Было 0 */
    overflow: hidden;
    transition: 0.3s;
    background: #2d2d2d;
    margin-top: 5px;
    border-radius: 4px;


}

.submenu.active {
    max-height: 500px;
}

.submenu a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px;
}

.submenu-link:hover {
    color: #ffcc00;
    text-decoration: underline;
}

.has-submenu::after {
    content: '▼';
    margin-left: auto;
    font-size: 12px;
    transition: 0.2s;
    color: white;
}

.has-submenu.active::after {
    transform: rotate(180deg);
}

.separator-menu {
    border-top: 2px solid #fff;
    margin: 10px 0;
}

/* Banner Styles */
.banner {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    margin-top: 60px;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .banner {
        height: 300px;
    }
}

@media (max-width: 996px) {
    .banner {
        height: 300px;
    }
}

@media (max-width: 790px) {
    .banner {
        height: 290px;
    }
}

@media (max-width: 600px) {
    .banner {
        height: 200px;
    }
}

@media (max-width: 390px) {
    .banner {
        height: 140px;
    }
}

.black-stripe {
    width: 100%;
    height: 4px;
    background-color: #2d2d2d;
}

/* New Publications Section */
.new-publications {
    text-align: center;
    padding: 40px 20px 20px;
    width: 100%;
    color: white;
    font-size: 2em;
    margin-top: 20px;
    transition: all 0.5s ease;
    word-break: break-word;
}

@media (max-width: 768px) {
    .new-publications {
        font-size: 1.8em;
        padding: 30px 15px 15px;
    }
}

@media (max-width: 480px) {
    .new-publications {
        font-size: 1.5em;
        padding: 25px 10px 10px;
    }
}

/* Works Carousel Styles */
.works-carousel {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    transition: all 0.5s ease;
}

.works-inner {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    padding: 20px 0;
    gap: 20px;
}

.work-thumb {
    width: 400px;
    height: 260px;
    object-fit: scale-down;
    border-radius: 10px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.work-thumb-1 {
    width: 300px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.work-thumb-2 {
    width: 300px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.work-thumb-3 {
    width: 200px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.work-thumb-1:hover,
.work-thumb:hover,
.work-thumb-2:hover,
.work-thumb-3:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.works-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.works-control:hover {
    background: rgba(0, 0, 0, 0.9);
}

.works-control.prev {
    left: 10px;
}

.works-control.next {
    right: 10px;
}

/* Artist Profile Styles */
.profile-section {
    display: flex;
    align-items: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 30px auto 0;
    width: 100%;
    background-color: #2d2d2d;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

.avatar-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-right: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffcc00;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4),
        0 0 0 8px rgba(45, 45, 45, 0.7);
    filter: brightness(1.05) contrast(1.1);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.avatar-border {
    position: absolute;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    border-radius: 50%;
    background: linear-gradient(45deg,
            #ff0000, #ff7300, #fffb00, #48ff00,
            #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400% 400%;
    animation: gradientBorder 8s ease infinite;
    z-index: 1;
    filter: blur(5px);
    opacity: 0.7;
}

.avatar-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg,
            #ff0000, #ff7300, #fffb00, #48ff00,
            #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400% 400%;
    animation: gradientBorder 8s ease infinite;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.5;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.profile-info {
    flex: 1;
}

.profile-info h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #ffcc00;
    word-break: break-word;
}

.profile-info a {
    color: #ffcc00;
    text-decoration: none;
    font-size: 1.2em;
    display: block;
    margin-bottom: 10px;
    transition: opacity 0.3s;
    word-break: break-all;
}

.profile-info a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.profile-info p {
    font-size: 1.1em;
    color: #e0e0e0;
    word-break: break-word;
}

/* Social Links */
.social-links {
    --icon-size: 2rem;
    --icon-gap: 0.75rem;
    --hover-scale: 1.15;
    --active-scale: 0.95;
    --transition-duration: 0.2s;

    display: flex;
    gap: var(--icon-gap);
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
}

.social-link {
    display: block;
    width: var(--icon-size);
    height: var(--icon-size);
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transform: scale(1);
    transition:
        transform var(--transition-duration) ease,
        filter var(--transition-duration) ease;
    will-change: transform;
    filter: grayscale(20%) brightness(0.9);
}

.social-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.social-link:hover {
    transform: scale(var(--hover-scale));
    filter: grayscale(0%) brightness(1.05);
    z-index: 1;
}

.social-link:active {
    transform: scale(var(--active-scale));
}

/* Profile Link */
.profile-link {
    color: #ffcc00;
    text-decoration: none;
    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
    transition: all 0.3s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.profile-link:hover {
    color: #fff;
    text-decoration: underline;
}

.profile-link-icon {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    filter: brightness(0.9);
}

/* Popular Artists Section */
.popular-artists {
    text-align: center;
    padding: 40px 20px 20px;
    width: 100%;
    color: white;
    font-size: 2em;
    margin-top: 20px;
    transition: all 0.5s ease;
}

@media (max-width: 768px) {
    .popular-artists {
        font-size: 1.8em;
        padding: 30px 15px 15px;
    }
}

@media (max-width: 480px) {
    .popular-artists {
        font-size: 1.5em;
        padding: 25px 10px 10px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    z-index: 1000;
    padding: 20px;
}

.modal-header {
    color: white;
    text-align: center;
    padding: 30px 20px 20px;
    font-size: 24px;
}

.modal-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.modal-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.modal-img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.close-btn {
    position: fixed;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close-btn:hover,
.close-btn:focus {
    color: #ffcc00;
    text-decoration: none;
    cursor: pointer;
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    overflow: auto;
    padding: 20px;
    box-sizing: border-box;
}

.image-modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    padding: 20px 0;
}

.image-modal-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    animation: zoom 0.3s;
    cursor: zoom-out;
}

.image-close-btn {
    position: fixed;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1101;
}

.image-close-btn:hover {
    color: #ffcc00;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Footer */
.site-footer {
    background-color: #1f1f1f;
    padding: 30px 15px;
    margin-top: auto;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.footer-logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-logo-link:hover {
    transform: scale(1.05);
}

.footer-logo {
    height: 36px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FFD700;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    text-align: center;
}

.footer-text {
    color: #aaa;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: #FFD700;
    transform: translateY(-3px);
}

.social-icon:hover svg {
    fill: #333;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #ffcc00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top-btn:hover {
    background-color: #ffdd33;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top-btn.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .work-thumb {
        width: 220px;
        height: 220px;
    }

    .work-thumb-1 {
        width: 300px;
        height: 220px;
    }

    .work-thumb-2 {
        width: 220px;
        height: 220px;
    }

    .work-thumb-3 {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 900px) {
    .footer-links {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .works-carousel {
        padding: 0 50px;
    }

    .work-thumb {
        width: 180px;
        height: 180px;
    }

    .work-thumb-1 {
        width: 260px;
        height: 180px;
    }

    .work-thumb-2 {
        width: 180px;
        height: 180px;
    }

    .work-thumb-3 {
        width: 180px;
        height: 180px;
    }

    .works-control {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .profile-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 15px;
    }

    .avatar-container {
        width: 150px;
        height: 150px;
        margin: 0 0 20px 0;
    }

    .avatar {
        width: 150px;
        height: 150px;
    }

    .profile-info h1 {
        font-size: 1.8em;
    }

    .profile-info a {
        font-size: 1em;
    }

    .profile-info p {
        font-size: 1em;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding-bottom: 30px;
    }

    .footer-section {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 30px;
    }

    .footer-link {
        font-size: 0.95rem;
    }

    .update-text {
        font-size: 0.95rem;
    }

    .back-to-top-btn {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .works-carousel {
        padding: 0 40px;
    }

    .work-thumb {
        width: 150px;
        height: 150px;
    }

    .work-thumb-1 {
        width: 230px;
        height: 150px;
    }

    .work-thumb-2 {
        width: 150px;
        height: 150px;
    }

    .work-thumb-3 {
        width: 150px;
        height: 150px;
    }

    .works-control {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .profile-section {
        padding: 20px 10px;
    }

    .avatar-container {
        width: 120px;
        height: 120px;
    }

    .avatar {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }

    .profile-info h1 {
        font-size: 1.5em;
        margin-bottom: 8px;
    }

    .profile-info a {
        font-size: 0.9em;
        margin-bottom: 8px;
    }

    .profile-info p {
        font-size: 0.9em;
    }

    .site-footer {
        padding: 30px 15px 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-link {
        font-size: 0.9rem;
        padding: 4px 0;
    }

    .update-text {
        font-size: 0.9rem;
    }

    .footer-logo {
        height: 30px;
    }

    .image-modal-img {
        max-width: 95%;
        max-height: 85vh;
    }

    .image-close-btn {
        font-size: 30px;
        right: 20px;
        top: 15px;
    }
}

/* Добавим начальные стили и анимации */
.new-publications,
.popular-artists,
.works-carousel,
.profile-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.new-publications.visible,
.popular-artists.visible,
.works-carousel.visible,
.profile-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Анимация для модальных окон */
.modal-content img {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.modal-content img.visible {
    opacity: 1;
    transform: scale(1);
}

/* Artist Cards Styles */
.artists-inner {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    scroll-padding: 0 20px;
}

.artist-card {
    width: 280px;
    background-color: #3a3a3a;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    scroll-snap-align: center;
    transform: translateZ(0);
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.artist-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.artist-avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.artist-avatar-container:hover {
    transform: scale(1.05);
}

.artist-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffcc00;
    position: relative;
    z-index: 2;
    background-color: #3a3a3a;
}

.artist-avatar-container.prem .artist-avatar-border {
    position: absolute;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    border-radius: 50%;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400% 400%;
    animation: gradientBorder 8s ease infinite;
    z-index: 1;
    filter: blur(4px);
    opacity: 0.7;
    top: -4px;
    left: -4px;
    border: none;
}

.artist-avatar-container:not(.prem) .artist-avatar-border {
    position: absolute;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    border-radius: 50%;
    background: #ffcc00;
    z-index: 1;
    top: -4px;
    left: -4px;
    display: none;
}

.artist-info {
    text-align: center;
    width: 100%;
}

.artist-info h3 {
    color: #ffcc00;
    font-size: 1.3em;
    margin-bottom: 5px;
}

.artist-username {
    color: #aaa;
    font-size: 0.9em;
    margin-bottom: 8px;
}

.artist-style {
    color: #e0e0e0;
    font-size: 0.9em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}

.artist-social-links {
    display: flex;
    justify-content: center;
    /* Центрируем по горизонтали */
    align-items: center;
    /* Центрируем по вертикали */
    gap: 10px;
    width: 100%;
    /* Занимаем всю ширину */
    margin-top: 10px;
    /* Добавляем отступ сверху */
}

.artist-social-links .social-icon {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s;
    margin: 0;
    /* Убираем возможные отступы */
}

.artist-social-links .social-icon:hover {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .artist-card {
        width: 260px;
        padding: 15px;
        scroll-snap-align: center;
    }

    .artists-inner {
        scroll-padding: 0 20px;
    }

    .artist-avatar-container {
        width: 100px;
        height: 100px;
    }

    .artist-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .artist-card {
        width: 220px;
        padding: 12px;
        scroll-snap-align: center;
    }

    .artists-inner {
        scroll-padding: 0 15px;
    }

    .artist-avatar-container {
        width: 80px;
        height: 80px;
    }

    .artist-avatar {
        width: 80px;
        height: 80px;
    }

    .artist-info h3 {
        font-size: 1.1em;
    }

    .artist-username,
    .artist-style {
        font-size: 0.8em;
    }

    .artist-social-links .social-icon {
        width: 20px;
        height: 20px;
    }
}

/* Section Header */
.section-header {
    max-width: 1350px;
    margin: 40px auto 30px;
    padding: 0 20px;
    text-align: center;
    position: relative;
}

.section-title {
    font-size: 2em;
    color: white;
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Линия на всю ширину текста */
    height: 3px;
    background: linear-gradient(90deg, #ffcc00, transparent);
    border-radius: 3px;
}

/* Адаптивные стили */
@media (max-width: 1024px) {
    .section-title {
        font-size: 1.9em;
        padding-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.7em;
        padding-bottom: 10px;
    }

    .section-header {
        margin: 35px auto 25px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5em;
        padding-bottom: 8px;
    }

    .section-header {
        margin: 30px auto 20px;
        padding: 0 15px;
    }

    .section-title::after {
        height: 2px;
    }
}

@media (max-width: 350px) {
    .section-title {
        font-size: 1.3em;
    }
}

/* Find Artist Button */
.find-artist-btn {
    display: block;
    margin: 30px auto;
    padding: 15px 40px;
    background: #ffcc00;
    color: #262626;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 300px;
    text-decoration: none;
}

.find-artist-btn:hover {
    background: #ffdd33;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .find-artist-btn {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .find-artist-btn {
        padding: 10px 25px;
        font-size: 15px;
        max-width: 200px;
        margin: 20px auto;
    }
}

/* New Popular Illustrators Section */
.popular-illustrators-section {
    max-width: 1350px;
    margin: 40px auto;
    padding: 0 20px;
}

.popular-illustrators-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.popular-illustrators-title {
    font-size: 2em;
    color: white;
    margin: 0;
    position: relative;
    display: inline-block;
}

.popular-illustrators-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, #ffcc00, transparent);
    border-radius: 3px;
}

.illustrators-filters {
    display: flex;
    gap: 10px;
    background: #2d2d2d;
    padding: 8px;
    border-radius: 30px;
}

.illustrator-filter-btn {
    padding: 8px 20px;
    background: transparent;
    color: #aaa;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.illustrator-filter-btn.active {
    background: #ffcc00;
    color: #262626;
}

.illustrator-filter-btn:hover {
    color: white;
}

.illustrators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.illustrator-card-v2 {
    background: #2d2d2d;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.illustrator-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.illustrator-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffcc00;
    color: #262626;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.illustrator-image-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.illustrator-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.illustrator-card-v2:hover .illustrator-image {
    transform: scale(1.05);
}

.illustrator-info {
    padding: 20px;
}

.illustrator-name {
    color: #ffcc00;
    font-size: 1.3em;
    margin: 0 0 5px 0;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.illustrator-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 2px solid #ffcc00;
}

.illustrator-style {
    color: #aaa;
    font-size: 0.9em;
    margin: 0 0 15px 0;
}

.illustrator-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.illustrator-likes {
    display: flex;
    align-items: center;
    color: #e0e0e0;
    font-size: 0.9em;
}

.illustrator-likes svg {
    margin-right: 5px;
    fill: #ff6b6b;
}

.illustrator-price {
    color: #ffcc00;
    font-weight: bold;
    font-size: 1.1em;
}

.view-all-btn {
    display: block;
    margin: 40px auto 0;
    padding: 12px 30px;
    background: transparent;
    color: #ffcc00;
    border: 2px solid #ffcc00;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 200px;
}

.view-all-btn:hover {
    background: #ffcc00;
    color: #262626;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.hidden-illustrators {
    display: none;
}

.show-all .hidden-illustrators {
    display: block;
}

@media (max-width: 1024px) {
    .illustrators-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .illustrator-image-container {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .popular-illustrators-title {
        font-size: 1.8em;
    }

    .illustrators-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .illustrator-image-container {
        height: 180px;
    }

    .illustrator-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .popular-illustrators-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .illustrators-filters {
        width: 100%;
        justify-content: space-between;
    }

    .illustrator-filter-btn {
        padding: 8px 15px;
        font-size: 13px;
    }

    .illustrators-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .illustrator-image-container {
        height: 220px;
    }
}

/* Добавьте эти стили в ваш CSS */
.back-to-bottom-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #ffcc00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-bottom-btn.with-up {
    bottom: 90px;
    /* Располагаем выше кнопки "Вверх" */
}

.back-to-bottom-btn:hover {
    background-color: #ffdd33;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-bottom-btn.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .back-to-bottom-btn {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }

    .back-to-bottom-btn.with-up {
        bottom: 70px;
        /* Адаптивное расположение для мобильных */
    }
}


/* Новые стили для секции подписки */
.subscription-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.subscription-title {
    text-align: center;
    font-size: 2em;
    color: #ffcc00;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    width: 100%;
}



.subscription-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: stretch;
    /* Добавлено для выравнивания высоты */
}

.subscription-card {
    background: #2d2d2d;
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    /* Добавлено */
    flex-direction: column;
    /* Добавлено */
    flex: 1;
    /* Добавлено для одинаковой ширины */
    min-width: 300px;
    /* Минимальная ширина */
}

.subscription-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.subscription-card.prem {
    border: 2px solid #ffcc00;
}

.subscription-card.free {
    border: 2px solid #666;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.subscription-name {
    font-size: 1.8em;
    color: white;
    margin: 0;
}

.subscription-name.prem {
    color: #ffcc00;
}

.subscription-badge {
    background: #ffcc00;
    color: #262626;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.subscription-price {
    font-size: 1.5em;
    color: white;
    margin-bottom: 20px;
}

.subscription-price.prem {
    color: #ffcc00;
}

.subscription-price .old-price {
    text-decoration: line-through;
    color: #aaa;
    font-size: 0.8em;
    margin-right: 10px;
}

.subscription-discount {
    position: absolute;
    top: 20px;
    right: -50px;
    background: #ff3333;
    color: white;
    padding: 5px 50px;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 0.9em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.subscription-features {
    margin-bottom: 30px;
    flex-grow: 1;
    /* Добавлено для выравнивания высоты */
}

.subscription-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.subscription-feature.prem {
    color: white;
}

.subscription-feature-icon {
    margin-right: 10px;
    color: #ffcc00;
    min-width: 20px;
}

.subscription-contact {
    background: rgba(255, 204, 0, 0.1);
    border-left: 3px solid #ffcc00;
    padding: 15px;
    border-radius: 0 5px 5px 0;
    margin-top: auto;
    /* Добавлено для прижатия к низу */
}

.subscription-contact-title {
    color: #ffcc00;
    font-weight: bold;
    margin-bottom: 10px;
}

.subscription-contact-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.subscription-contact-link:hover {
    color: #ffcc00;
    text-decoration: underline;
}

.subscription-contact-icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.subscription-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 20px;
}

.subscription-btn.prem {
    background: #ffcc00;
    color: #262626;
    border: 2px solid #ffcc00;
}

.subscription-btn.prem:hover {
    background: #ffdd33;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.subscription-btn.free {
    background: transparent;
    color: white;
    border: 2px solid #666;
}

.subscription-btn.free:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #999;
}

/* Адаптация для мобильных устройств */
@media (max-width: 1024px) {
    .subscription-cards {
        gap: 20px;
    }

    .subscription-card {
        max-width: 450px;
    }
}

@media (max-width: 900px) {
    .subscription-cards {
        flex-direction: column;
        align-items: center;
    }

    .subscription-card {
        max-width: 500px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .subscription-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .subscription-card {
        padding: 25px;
    }

    .subscription-name {
        font-size: 1.6em;
    }

    .subscription-price {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .subscription-section {
        padding: 0 15px;
    }

    .subscription-title {
        font-size: 1.6em;
        margin-bottom: 20px;
    }

    .subscription-card {
        padding: 20px;
        min-width: unset;
    }

    .subscription-name {
        font-size: 1.4em;
    }

    .subscription-price {
        font-size: 1.2em;
    }

    .subscription-feature {
        font-size: 0.9em;
    }

    .subscription-contact {
        padding: 12px;
    }
}

@media (max-width: 350px) {
    .subscription-title {
        font-size: 1.4em;
    }

    .subscription-card {
        padding: 15px;
    }
}

.works-inner,
.artists-inner {
    will-change: transform;
    /* Оптимизация для аппаратного ускорения */
    touch-action: pan-y;
    /* Улучшение обработки касаний на мобильных */
}

/* Стили для карточки автозагрузки */
.auto-upload-card {
    background-color: #2C2C2C;
    /* Темно-серый фон */
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
    border: 1px solid #444;
    position: relative;
    overflow: hidden;
}

.auto-upload-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #FFD700;
    /* Желтая полоса сверху */
}

.auto-upload-left {
    flex: 1;
    padding-right: 30px;
    position: relative;
    z-index: 2;
    border-right: 1px solid #444;
}

.auto-upload-right {
    flex: 1.5;
    position: relative;
    z-index: 2;
    padding-left: 30px;
}

.auto-upload-header {
    margin-bottom: 25px;
}

.auto-upload-header h3 {
    font-size: 24px;
    margin: 15px 0 5px;
    color: #FFD700;
    /* Желтый заголовок */
    font-weight: 600;
}

.auto-upload-header p {
    font-size: 15px;
    margin: 0;
    color: #AAA;
    /* Светло-серый текст */
}

.auto-upload-discount {
    background-color: #FFD700;
    /* Желтый фон */
    color: #2C2C2C;
    /* Темно-серый текст */
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    font-size: 14px;
    margin-bottom: 10px;
}

.auto-upload-price {
    margin: 25px 0;
}

.old-price {
    text-decoration: line-through;
    color: #777;
    font-size: 16px;
    margin-right: 10px;
    display: block;
}

.current-price {
    font-size: 32px;
    font-weight: bold;
    color: #FFD700;
    /* Желтая цена */
    display: block;
    margin-top: 5px;
}

.auto-upload-btn {
    display: inline-block;
    background-color: #FFD700;
    /* Желтый фон */
    color: #2C2C2C;
    /* Темно-серый текст */
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.auto-upload-btn:hover {
    background-color: #FFC600;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 214, 0, 0.3);
}

.auto-upload-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auto-upload-feature {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #EEE;
}

.auto-upload-feature svg {
    margin-right: 12px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .auto-upload-card {
        flex-direction: column;
    }

    .auto-upload-left {
        padding-right: 0;
        margin-bottom: 25px;
        border-right: none;
        border-bottom: 1px solid #444;
        padding-bottom: 25px;
    }

    .auto-upload-right {
        padding-left: 0;
    }

    .auto-upload-feature {
        font-size: 14px;
    }
}

/* Добавленные стили для работы с авторами в ленте */
.work-container {
    position: relative;
    margin-right: 20px;
}

.work-author {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 20px;
    color: white;
    z-index: 2;
    cursor: pointer;
}

.work-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
    border: 2px solid white;
}

.work-author-name {
    font-size: 12px;
    font-weight: 500;
}

/* Модификации для модального окна изображений */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    touch-action: none;
}

.image-modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: relative;
}

.image-modal-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    z-index: 2;
}

.image-prev {
    left: 0;
}

.image-next {
    right: 0;
}

.image-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .image-nav {
        font-size: 24px;
        padding: 15px;
    }

    .image-counter {
        top: 10px;
        font-size: 14px;
    }
}