/* modules_extra/gallery/css/gallery.css */

/* ========== ГАЛЕРЕЯ ========== */
.gallery-grid {
    margin: 0 -10px;
}

.gallery-item {
    padding: 10px;
    cursor: pointer;
}

.screenshot-card {
    background: linear-gradient(145deg, #1e1e1e, #2d2d2d);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.screenshot-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #4a90e2;
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.3);
}

.screenshot-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #1a1a1a;
}

.screenshot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.screenshot-card:hover .screenshot-image img {
    transform: scale(1.1);
}

.screenshot-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.category-badge {
    background: rgba(74, 144, 226, 0.9);
    backdrop-filter: blur(5px);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.screenshot-info {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
}

.screenshot-title {
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    max-height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.screenshot-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #aaa;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.screenshot-meta span:hover {
    color: #4a90e2;
}

.screenshot-meta i {
    font-size: 14px;
    color: #4a90e2;
}

.screenshot-meta a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
}

.screenshot-meta a:hover {
    text-decoration: underline;
}

/* ========== КАТЕГОРИИ (КРАСИВЫЕ КНОПКИ) ========== */
.categories-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
    padding: 0 15px;
    justify-content: center;
}

.categories-filter .btn2 {
    background: transparent;
    color: #ccc;
    border: 2px solid rgba(74, 144, 226, 0.3);
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.categories-filter .btn2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(74, 144, 226, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    z-index: 0;
}

.categories-filter .btn2:hover {
    border-color: #4a90e2;
    color: #4a90e2;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

.categories-filter .btn2:hover::before {
    width: 300px;
    height: 300px;
}

.categories-filter .btn2.active {
    background: linear-gradient(135deg, #4a90e2, #5c9ce6);
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.5);
    transform: translateY(-2px);
}

.categories-filter .btn2.active::before {
    display: none;
}

/* Анимация появления кнопок */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.categories-filter .btn2 {
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(var(--btn-index) * 0.1s);
    opacity: 0;
}

/* ========== ФОРМА ЗАГРУЗКИ ========== */
#upload-form .form-group {
    margin-bottom: 20px;
}

#upload-form label {
    color: #ddd;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#upload-form .form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #444;
    color: #fff;
    border-radius: 16px;
    padding: 12px 16px;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 14px;
}

#upload-form .form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
    outline: none;
    background: rgba(0, 0, 0, 0.5);
}

#upload-form .file-load input {
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px dashed #4a90e2;
    border-radius: 16px;
    cursor: pointer;
}

#upload-form .file-load input:hover {
    border-color: #5c9ce6;
    background: rgba(74, 144, 226, 0.05);
}

#upload-status .alert {
    padding: 15px 20px;
    border-radius: 16px;
    margin-top: 15px;
    font-weight: 500;
    border: none;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#upload-status .alert-success {
    background: linear-gradient(135deg, #1e3a2e, #2a5a3a);
    color: #8bc34a;
    border-left: 4px solid #8bc34a;
}

#upload-status .alert-danger {
    background: linear-gradient(135deg, #3e2a2a, #5a3a3a);
    color: #ff6b6b;
    border-left: 4px solid #ff6b6b;
}

#upload-status .alert-info {
    background: linear-gradient(135deg, #1e3a4a, #2a4a6a);
    color: #64b5f6;
    border-left: 4px solid #64b5f6;
}

/* ========== ПРОСМОТР ИЗОБРАЖЕНИЯ ========== */
#viewModal .modal-body {
    padding: 0;
    overflow: hidden;
}

.screen-style-image-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    padding: 20px;
}

#view-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

#view-image:hover {
    transform: scale(1.02);
}

.flex_rait_panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.flex_rait {
    display: flex;
    gap: 12px;
}

.rait_top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #ddd;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rait_top:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #4a90e2;
    transform: translateY(-2px);
}

.rait_top.active {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.rait_top i {
    font-size: 18px;
}

.rait_right {
    display: flex;
    gap: 20px;
}

.rait_meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    font-size: 14px;
}

.author-name a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.author-name a:hover {
    color: #5c9ce6;
    text-decoration: underline;
}

.screenshot-desc-content {
    padding: 20px 25px;
    text-align: left;
    font-size: 15px;
    color: #ddd;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.1);
}

/* ========== БЛОК С КОВЕРОМ ИЗ АВАТАРА ========== */
.user-upload-block {
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cover-header {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.cover-content {
    width: 100%;
    color: white;
}

.cover-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cover-stats {
    margin-bottom: 15px;
}

.cover-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 14px;
}

.cover-stat-item i {
    color: #4a90e2;
    font-size: 16px;
}

.cover-stat-value {
    color: #4a90e2;
    font-weight: 700;
    font-size: 18px;
}

.cover-stat-label {
    color: #ddd;
    font-size: 14px;
}

.cover-upload-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4a90e2, #5c9ce6);
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cover-upload-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.6);
    background: linear-gradient(135deg, #5c9ce6, #6aa9f0);
}

/* Для гостей */
.guest-cover {
    height: 200px;
    background-size: cover;
    position: relative;
}

.guest-icon {
    font-size: 50px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    animation: bounce 2s infinite ease-in-out;
}

.guest-text {
    color: white;
    font-size: 14px;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========== КОММЕНТАРИИ (ОБНОВЛЁННЫЕ) ========== */
#scr_comments-block {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-top: 2px solid rgba(74, 144, 226, 0.3);
    padding: 25px;
}

.comments-header {
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(74, 144, 226, 0.2);
    padding-bottom: 15px;
}

.comments-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-title i {
    color: #4a90e2;
    font-size: 24px;
}

.comments-count {
    background: rgba(74, 144, 226, 0.2);
    color: #4a90e2;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-left: auto;
}

.comments-input-area {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #4a90e2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.comment-avatar img:hover {
    transform: scale(1.1);
}

.comment-input-wrapper {
    flex-grow: 1;
    position: relative;
}

.comment-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 20px;
    padding: 15px 50px 15px 20px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
    resize: none;
}

.comment-input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
    background: rgba(0, 0, 0, 0.5);
}

.comment-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.comment-send-btn {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: linear-gradient(135deg, #4a90e2, #5c9ce6);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

.comment-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.5);
}

.comment-send-btn i {
    font-size: 18px;
}

.comments-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Стилизация скроллбара */
.comments-container::-webkit-scrollbar {
    width: 8px;
}

.comments-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.comments-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4a90e2, #5c9ce6);
    border-radius: 10px;
}

.comments-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5c9ce6, #6aa9f0);
}

/* Комментарий */
.comment {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.comment:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(74, 144, 226, 0.3);
    transform: translateX(5px);
}

.comment img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #4a90e2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.comment-author {
    color: #4a90e2;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s;
}

.comment-author:hover {
    color: #5c9ce6;
    text-decoration: underline;
}

.comment-date {
    color: #888;
    font-size: 12px;
}

.comment-actions {
    margin-left: auto;
}

.comment-delete {
    color: #ff6b6b;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s;
    font-size: 16px;
}

.comment-delete:hover {
    opacity: 1;
    transform: scale(1.1);
}

.comment-text {
    color: #ddd;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    word-break: break-word;
}

.comment-text p {
    margin: 0;
}

/* Загрузчик */
.loader-wrapper {
    padding: 40px 20px;
    color: #aaa;
}

.loader {
    border: 3px solid rgba(74, 144, 226, 0.1);
    border-top: 3px solid #4a90e2;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ========== АНИМАЦИИ ========== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.gallery-item.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== АДАПТАЦИЯ ========== */
@media (max-width: 768px) {
    .screenshot-image {
        height: 160px;
    }
    
    .categories-filter {
        padding: 0 10px;
        gap: 8px;
    }
    
    .categories-filter .btn2 {
        padding: 8px 18px;
        font-size: 13px;
    }
    
    .screenshot-title {
        font-size: 14px;
    }
    
    .screenshot-meta {
        font-size: 12px;
        gap: 12px;
    }
    
    .flex_rait_panel {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .rait_right {
        width: 100%;
        justify-content: space-between;
    }

    .comments-input-area {
        flex-direction: column;
        gap: 10px;
    }

    .comment-avatar {
        align-self: center;
    }

    .comment-send-btn {
        bottom: 8px;
    }

    .comment {
        padding: 12px;
    }

    .comment img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 50%;
        padding: 6px;
    }
    
    .gallery-grid {
        margin: 0 -6px;
    }
    
    .screenshot-image {
        height: 130px;
    }
    
    .screenshot-info {
        padding: 12px;
    }
    
    .screenshot-title {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .screenshot-meta {
        gap: 10px;
        font-size: 11px;
    }
    
    .categories-filter .btn2 {
        padding: 6px 14px;
        font-size: 12px;
    }

    .comment-header {
        gap: 10px;
    }

    .comment-author {
        font-size: 13px;
    }

    .comment-date {
        font-size: 11px;
    }

    .comment-text {
        font-size: 13px;
    }
}

/* ========== ВИДЖЕТ ГАЛЕРЕИ ========== */
.widget-gallery {
    margin: 15px 0;
}

/* Горизонтальный виджет */
.widget-gallery.horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.widget-gallery.horizontal .widget-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #2a2a2a;
    transition: transform 0.3s ease;
}

.widget-gallery.horizontal .widget-item:hover {
    transform: translateY(-5px);
}

.widget-gallery.horizontal .widget-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.widget-info {
    padding: 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
}

.widget-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.widget-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    margin-bottom: 4px;
}

.widget-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.widget-meta i {
    font-size: 12px;
}

.widget-meta .fa-heart { color: #ff6b6b; }
.widget-meta .fa-comment { color: #4a90e2; }
.widget-meta .fa-eye { color: #8bc34a; }

.widget-author {
    font-size: 11px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Вертикальный виджет */
.widget-gallery.vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-gallery.vertical .widget-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: #2a2a2a;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.widget-gallery.vertical .widget-item:hover {
    background: #333;
    transform: translateX(5px);
    border-color: #4a90e2;
}

.widget-gallery.vertical .widget-item img {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.widget-gallery.vertical .widget-info {
    position: static;
    background: transparent;
    padding: 0;
    flex: 1;
}

.widget-gallery.vertical .widget-title {
    font-size: 14px;
    margin-bottom: 6px;
    color: #fff;
}

.widget-gallery.vertical .widget-meta {
    margin-bottom: 4px;
}

.widget-gallery.vertical .widget-author {
    font-size: 11px;
}

.widget-footer {
    margin-top: 20px;
    text-align: right;
}

.widget-footer a {
    color: #4a90e2;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.widget-footer a:hover {
    color: #5c9ce6;
    transform: translateX(5px);
}

.widget-footer a:after {

    transition: transform 0.3s ease;
}

.widget-footer a:hover:after {
    transform: translateX(5px);
}

/* Адаптация */
@media (max-width: 768px) {
    .widget-gallery.horizontal {
        grid-template-columns: 1fr;
    }
}/* ========== КНОПКА "ВСЕ СКРИНШОТЫ" ========== */
.widget-footer {
    margin-top: 20px;
    text-align: center;
}

.widget-footer .btn-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #4a90e2, #5c9ce6);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.widget-footer .btn-all i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.widget-footer .btn-all:hover {
    background: linear-gradient(135deg, #5c9ce6, #6aa9f0);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.5);
}

.widget-footer .btn-all:hover i {
    transform: translateX(5px);
}

.widget-footer .btn-all:active {
    transform: translateY(0);
}

/* Для мобилок */
@media (max-width: 768px) {
    .widget-footer .btn-all {
        max-width: 100%;
        padding: 10px 20px;
    }
}

