* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --primary-color: #3366ff;
    --primary-light: #e6f0ff;
    --secondary-color: #f5f7fa;
    --text-color: #333;
    --light-text: #666;
    --border-color: #eaeaea;
    --hover-color: #f0f5ff;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --overlay-bg: rgba(0, 0, 0, 0.5);
    --premium-gradient: linear-gradient(135deg, #ff9a00, #ff6b00)
}

body {
    font-family: 'PingFang SC','Helvetica Neue',Arial,sans-serif;
    color: var(--text-color);
    background-color: #fff;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px
}

::-webkit-scrollbar-track {
    background: #f1f1f1
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px
}

::-webkit-scrollbar-thumb:hover {
    background: #999
}

header {
    background-color: #fff;
    padding: 0 20px;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    position: relative;
    z-index: 100
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center
}
.logo img{
 height: 38px;
}
.logo svg {
    margin-right: 8px
}

.search-bar {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
    position: relative
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 5px;
    height: calc(100% - 10px);
    padding: 0 10px;
    border-radius: 50px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--transition)
}

.search-bar input {
    width: 100%;
    padding: 12px 20px 12px 50px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 15px;
    transition: var(--transition);
    background-color: var(--secondary-color)
}

.search-bar input:focus {
    outline: 0;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(51,102,255,.1);
    background-color: #fff
}

.search-bar svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    width: 18px;
    height: 18px
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px
}

.vip-button {
    padding: 8px 20px;
    background: var(--premium-gradient);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(255,107,0,.3)
}

.vip-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,0,.4)
}

.notification-icon {
    position: relative;
    cursor: pointer
}

.notification-icon svg {
    width: 22px;
    height: 22px;
    color: var(--light-text)
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 16px;
    height: 16px;
    background-color: #ff4d4f;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition)
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.avatar:hover {
    border-color: var(--primary-color)
}

.profile-card {
    position: absolute;
    top: 78px;
    right: 20px;
    width: 328px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0;
    display: none;
    z-index: 1000;
    animation: fadeIn .2s ease;
    overflow: hidden
}

.profile-card.active {
    display: block
}

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

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.profile-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--primary-light);
    border-bottom: 1px solid var(--border-color)
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.1)
}

.profile-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    display: flex;
    align-items: center
}

.profile-info p {
    font-size: 13px;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 210px
}

.vip-badge {
    background: var(--premium-gradient);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    display: inline-flex;
    align-items: center
}

.vip-badge svg {
    width: 12px;
    height: 12px;
    margin-right: 3px
}

.profile-stats {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #fff
}

.stat-item {
    text-align: center
}

.stat-item .number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color)
}

.stat-item .label {
    font-size: 12px;
    color: var(--light-text)
}

.profile-membership {
    padding: 15px 20px;
    background-color: #fffbf0;
    border-top: 1px solid #ffe7ba;
    border-bottom: 1px solid #ffe7ba
}

.membership-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px
}

.membership-title {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center
}

.membership-title svg {
    color: #ff9a00;
    margin-right: 5px;
    width: 16px;
    height: 16px
}

.upgrade-link {
    color: #ff6b00;
    font-size: 12px;
    text-decoration: none
}

.progress-bar {
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px
}

.progress-fill {
    height: 100%;
    background: var(--premium-gradient);
    width: 35%
}

.membership-usage {
    font-size: 12px;
    color: var(--light-text)
}

.profile-actions {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    padding: 15px 20px
}

.profile-action {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition)
}

.profile-action:hover {
    background-color: var(--hover-color);
    border-color: var(--primary-color)
}

.profile-action svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    color: var(--primary-color)
}

.profile-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between
}

.logout-button {
    display: flex;
    align-items: center;
    color: #ff4d4f;
    background: 0 0;
    border: none;
    font-size: 13px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: var(--transition)
}

.logout-button:hover {
    background-color: #fff1f0
}

.logout-button svg {
    width: 14px;
    height: 14px;
    margin-right: 5px
}

.settings-button {
    display: flex;
    align-items: center;
    color: var(--light-text);
    background: 0 0;
    border: none;
    font-size: 13px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: var(--transition)
}

.settings-button:hover {
    background-color: var(--secondary-color);
    color: var(--text-color)
}

.settings-button svg {
    width: 14px;
    height: 14px;
    margin-right: 5px
}

.main-container {
    display: flex;
    flex: 1;
    overflow: hidden
}

aside {
    width: 200px;
    background-color: #fff;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    transition: transform .3s ease;
    z-index: 90;
    padding-top: 20px;
}

.sidebar-menu {
    flex: 1;
    overflow-y: auto
}

.sidebar-menu ul {
    list-style-type: none
}

.menu-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
    font-size: 14px
}

.menu-item svg {
    margin-right: 10px;
    color: var(--light-text);
    width: 18px;
    height: 18px
}

.menu-item.active,.menu-item:hover {
    background-color: var(--hover-color);
    color: var(--primary-color)
}

.menu-item.active svg {
    color: var(--primary-color)
}

.sidebar-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color)
}

.download-app,.upgrade-team {
    padding: 15px;
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: var(--transition)
}

.upgrade-team {
    background-color: #f0f7ff;
    border: 1px solid #d6e8ff
}

.download-app {
    background-color: #fff7e6;
    border: 1px solid #ffe7ba
}

.download-app:hover,.upgrade-team:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.05)
}

.promo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px
}

.promo-title {
    font-weight: 500;
    display: flex;
    align-items: center
}

.promo-title svg {
    margin-right: 5px;
    color: var(--primary-color);
    width: 16px;
    height: 16px
}

.download-app .promo-title svg {
    color: #ff9a00
}

.promo-arrow svg {
    width: 14px;
    height: 14px;
    color: var(--light-text)
}

.promo-desc {
    font-size: 12px;
    color: var(--light-text)
}

.qr-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px
}

.qr-label {
    background-color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    border: 1px solid #ffe7ba
}

.qr-code {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--light-text);
    border: 1px solid #ffe7ba
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    overflow: hidden
}
.filter-footer {
    text-align: center;
    color: #b1b1b1;
}
.filter-footer a{
    color: #b1b1b1;
}
.filter-bar {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: #fff;
}
.filter-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.filter-row::-webkit-scrollbar {
    display: none
}

.filter-row:last-child {
    margin-bottom: 0
}

.filter-label {
    font-size: 14px;
    color: var(--light-text);
    margin-right: 15px;
    min-width: 60px;
    flex-shrink: 0
}

.filter-options {
    display: block;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.filter-options a {
    display: block;
    float: left;
    margin: 4px
}

@media (max-width: 768px) {
    .filter-options {
        display:flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 5px;
        scrollbar-width: none;
        -ms-overflow-style: none
    }
}

.filter-options::-webkit-scrollbar {
    display: none
}

.filter-option {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    background-color: #fff;
    border: 1px solid transparent;
    white-space: nowrap;
    flex-shrink: 0
}

.filter-option.active,.filter-option:hover {
    color: var(--primary-color);
    background-color: var(--hover-color);
    border-color: var(--primary-color)
}

.filter-option.active {
    font-weight: 500
}

.sort-options {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0
}

.sort-option {
    font-size: 13px;
    color: var(--light-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    white-space: nowrap
}

.sort-option svg {
    margin-left: 3px;
    width: 14px;
    height: 14px
}

.sort-option.active,.sort-option:hover {
    color: var(--primary-color)
}

.template-container {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f9fafb
}

.templates-grid {
    /* display: grid; */
    /* grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); */
    /* gap: 20px; */
    column-count: 6;
    column-gap: 20px;
}

.template-item {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    margin-bottom: 30px;
}

.template-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,.1)
}

.template-image {
    overflow: hidden;
    position: relative
}

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

.template-item:hover .template-image img {
    transform: scale(1.05)
}

.template-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease
}

.template-item:hover .template-overlay {
    opacity: 1
}

.template-actions {
    display: flex;
    gap: 10px
}

.template-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition)
}

.template-action:hover {
    background: var(--primary-color);
    transform: translateY(-3px)
}

.template-action:hover svg {
    color: #fff
}

.template-action svg {
    width: 16px;
    height: 16px;
    color: var(--text-color);
    transition: var(--transition)
}

.template-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    z-index: 1
}

.badge-premium {
    background: var(--premium-gradient);
    color: #fff;
    display: flex;
    align-items: center
}

.badge-premium svg {
    width: 12px;
    height: 12px;
    margin-right: 3px
}

.badge-new {
    background-color: #52c41a;
    color: #fff
}

.template-info {
    padding: 12px
}

.template-title {
    font-size: 14px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.template-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--light-text)
}

.template-tag {
    background-color: var(--secondary-color);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px
}

.template-downloads {
    display: flex;
    align-items: center
}

.template-downloads svg {
    margin-right: 3px;
    width: 12px;
    height: 12px
}

.mobile-menu-button {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--border-color);
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.mobile-menu-button svg {
    width: 20px;
    height: 20px;
    color: var(--text-color)
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--overlay-bg);
    z-index: 80;
    display: none;
    animation: fadeIn .2s ease
}
@media (max-width: 1400px) {
    .templates-grid {
        column-count: 5;
    }
}
@media (max-width: 1200px) {
    .templates-grid {
        column-count: 4;
    }
}
@media (max-width: 992px) {
    .search-bar {
        max-width:300px
    }
    .templates-grid {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    header {
        padding:0 15px
    }

    .search-bar {
        max-width: 200px;
        margin: 0 10px
    }

    .logo span {
        display: none
    }

    aside {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        transform: translateX(-100%);
        width: 250px
    }

    aside.active {
        transform: translateX(0)
    }

    .mobile-menu-button {
        display: flex
    }

    .overlay.active {
        display: block
    }

    .templates-grid {
        grid-template-columns: repeat(auto-fill,minmax(180px,1fr));
        gap: 15px
    }
}

@media (max-width: 576px) {
    .templates-grid {
        column-count: 2;
    }
    .header-right {
        gap:10px
    }

    .vip-button {
        padding: 6px 10px
    }

    .vip-button span {
        display: none
    }

    .search-bar {
        max-width: 150px
    }

    .search-bar input {
        padding: 8px 15px 8px 35px
    }

    .search-bar svg {
        left: 12px
    }

    .filter-row {
        margin-bottom: 8px
    }

    .filter-label {
        min-width: 40px;
        margin-right: 8px
    }

    .filter-option {
        padding: 4px 8px;
        font-size: 12px
    }

    .templates-grid {
        grid-template-columns: repeat(auto-fill,minmax(140px,1fr));
        gap: 10px
    }

    .template-image {
        height: 140px
    }
}

.login-container .login-header {
    background: linear-gradient(45deg,#6366f1,#8b5cf6);
    padding: 2rem;
    color: #fff;
    text-align: center
}

.login-container .login-header h2 {
    margin: 0;
    font-weight: 600;
    font-size: 1.8rem
}

.login-container .login-body {
    padding: 2rem;
    background: #fff
}

.login-container .input-group {
    position: relative;
    margin-bottom: 1.5rem
}

.login-container .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    z-index: 2
}

.login-container .form-input {
    width: 100%;
    padding: .8rem 1rem .8rem 2.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all .3s ease
}

.login-container .form-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.2);
    outline: 0
}

.login-container .captcha-img {
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    transition: transform .2s
}

.login-container .captcha-img:hover {
    transform: scale(1.03)
}

.login-container .get-code-btn {
    background: linear-gradient(45deg,#6366f1,#8b5cf6);
    color: #fff;
    border: none;
    padding: 9px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease;
    position: absolute;
    right: 5px;
    top: 5px
}

.login-container .get-code-btn:hover {
    opacity: .9;
    transform: translateY(-1px)
}

.login-container .submit-btn {
    width: 100%;
    background: linear-gradient(45deg,#10b981,#3b82f6);
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease
}

.login-container .submit-btn:hover {
    opacity: .9;
    box-shadow: 0 5px 15px rgba(59,130,246,.3)
}

.login-container .agreement-text {
    text-align: center;
    color: #6b7280;
    margin-top: 1.5rem;
    font-size: .9rem
}

.login-container .agreement-text a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500
}

.login-container .agreement-text a:hover {
    color: #070aa6
}

.login-container .flex-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 1.5rem
}

.login-container .input-wrapper {
    flex: 1;
    position: relative
}

.login-container .refresh-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6b7280
}

@keyframes shimmer {
    0% {
        background-position: -100% 0
    }

    100% {
        background-position: 200% 0
    }
}

@keyframes float {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }

    100% {
        transform: translateY(0)
    }
}

@keyframes pulse {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.page {
    display: flex;
    justify-content: center;
    margin: 2rem 0
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: .5rem;
    align-items: center
}

.pagination li {
    margin: 0;
    transition: all .3s ease
}

.pagination li a,.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 .5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    color: #4a5568;
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    transition: all .3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,.05)
}

.pagination li.active span {
    background: linear-gradient(135deg,#667eea 0,#764ba2 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 6px rgba(118,75,162,.3);
    transform: translateY(-2px)
}

.pagination li:not(.disabled):not(.active):hover a {
    background-color: #edf2f7;
    color: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,.1)
}

.pagination li.disabled span {
    color: #a0aec0;
    cursor: not-allowed;
    opacity: .7
}

.pagination li.disabled span[aria-hidden=true] {
    background: 0 0;
    border: none;
    box-shadow: none;
    min-width: 20px
}

.pagination li:first-child a,.pagination li:first-child span,.pagination li:last-child a,.pagination li:last-child span {
    font-size: 1.2rem;
    padding: 0 1rem
}

@media (max-width: 768px) {
    .pagination {
        flex-wrap:wrap;
        justify-content: center
    }

    .pagination li.hidden-mobile {
        display: none
    }
}

@keyframes pulse {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }

    100% {
        transform: scale(1)
    }
}

.pagination li.active {
    animation: pulse 1.5s infinite
}

.pagination li:not(.disabled):hover a::after,.pagination li:not(.disabled):hover a::before {
    transition: transform .3s ease
}

.no-data-module {
    text-align: center;
    padding: 40px
}

.no-data-module svg {
    color: #ccc;
    margin-bottom: 20px
}

.no-data-module p {
    color: #999;
    font-size: 16px
}

.lists-scope .gallery-wrapper {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 20px
}

.lists-scope .gallery-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
    transition: transform .4s,box-shadow .4s;
    animation: fadeIn .8s ease-in-out
}

.lists-scope .gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,.1)
}

.lists-scope .image-wrapper {
    position: relative;
    overflow: hidden;
    background-image: url(../img/bgpng.jpg);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(0);
    border: 1px solid #fff;
    border-radius: 10px
}

.lists-scope .image-wrapper-image {
    height: 270px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center
}

.lists-scope .image-wrapper img {
    height: auto;
    width: auto;
    min-width: 100%;
    max-height: 100%;
    transition: transform .5s
}

.lists-scope .gallery-item:hover .image-wrapper img {
    transform: scale(1.05)
}

.lists-scope .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity .4s
}

.lists-scope .gallery-item:hover .image-overlay {
    opacity: 1
}

.lists-scope .image-info {
    padding: 1.5rem;
    width: 100%;
    color: #fff
}

.lists-scope .image-info a {
    color: #fff;
    text-decoration: none
}

.lists-scope .image-info h3 {
    margin-bottom: .5rem;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.lists-scope .dimensions,.lists-scope .file-size {
    font-size: .85rem;
    opacity: .8;
    margin-bottom: .3rem
}

.lists-scope .action-buttons {
    display: flex;
    gap: .8rem;
    margin-top: 1rem;
    justify-content: space-between
}

.lists-scope .download-btn,.lists-scope .favorite-btn {
    padding: .6rem 1.2rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all .3s
}

.lists-scope .download-btn {
    background-color: #d33300;
    color: #fff;
    flex: 1
}

.lists-scope .download-btn:hover {
    background-color: #ff5722
}

.lists-scope .favorite-btn {
    background-color: rgba(255,255,255,.2);
    color: #fff;
    width: 50%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    padding: 0
}

.lists-scope .favorite-btn i {
    margin-right: 8px
}

.lists-scope .favorite-btn:hover {
    background-color: rgba(255,255,255,.3);
    color: #ff5e3a
}

.lists-scope .image-tags {
    padding: 1rem 1.5rem;
    display: flex;
    gap: .5rem
}

.lists-scope .image-tags .tag {
    font-size: .75rem;
    padding: .3rem .6rem
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media (max-width: 1400px) {
    .lists-scope .gallery-wrapper {
        grid-template-columns:repeat(5,1fr)
    }
}

@media (max-width: 1200px) {
    .lists-scope .gallery-wrapper {
        grid-template-columns:repeat(4,1fr)
    }
}

@media (max-width: 960px) {
    .lists-scope .gallery-wrapper {
        grid-template-columns:repeat(3,1fr)
    }
}

@media (max-width: 480px) {
    .lists-scope .gallery-wrapper {
        grid-template-columns:repeat(2,1fr)
    }
}

.positionFixed {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(51 102 255 / 20%)
}

.add-scope {
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --accent-color: #ff006e;
    --background-color: #f8f9fa;
    --card-color: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease
}

.add-scope .bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: .1
}

.add-scope .bg-animation span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,.8);
    border-radius: 50%;
    animation: animate 5s linear infinite
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0);
        opacity: 1;
        border-radius: 0
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%
    }
}

.add-scope .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem
}

.add-scope .specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 1.5rem
}

.add-scope .spec-card {
    background-color: var(--card-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer
}

.add-scope .spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,.15)
}

.add-scope .spec-card:hover .spec-visual {
    transform: scale(1.05)
}

.add-scope .spec-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: .5rem;
    color: var(--primary-color)
}

.add-scope .spec-size {
    font-size: 1.1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    margin-bottom: 1rem
}

.add-scope .spec-size svg {
    margin-right: .5rem
}

.add-scope .spec-visual {
    width: 100%;
    aspect-ratio: 1/1;
    min-height: 180px;
    background: linear-gradient(45deg,rgba(58,134,255,.1),rgba(131,56,236,.1));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    transition: var(--transition);
    position: relative
}

.add-scope .visual-box {
    background-color: rgba(255,255,255,.7);
    border: 2px dashed var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--secondary-color);
    position: relative
}

@media (max-width: 768px) {
    .add-scope header h1 {
        font-size:2rem
    }

    .add-scope header p {
        font-size: 1rem
    }

    .add-scope .specs-grid {
        grid-template-columns: repeat(auto-fill,minmax(250px,1fr))
    }
}

.item-scope {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 25px;
    transition: var(--transition);
    margin-bottom: 30px
}

.item-scope .breadcrumb {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px
}

.item-scope .breadcrumb a {
    color: #6e6e6e;
    text-decoration: none;
    margin: 0 5px;
    transition: var(--transition)
}

.item-scope .breadcrumb a:hover {
    color: #ff5722
}

.item-scope h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #2c3e50;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.item-scope h2 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 8px
}

.item-scope h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px
}

.item-scope .content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px
}

.item-scope .preview {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-bg);
    box-shadow: var(--shadow);
    transition: var(--transition)
}

.item-scope .preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15)
}

.item-scope .preview img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px
}

.item-scope .details {
    flex: 1;
    min-width: 300px
}

.item-scope .collect-btn,.item-scope .download-btn,.item-scope .editor-btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 0 10px 15px 0;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0,0,0,.1)
}

.item-scope .download-btn {
    background: var(--primary-color)
}

.item-scope .collect-btn {
    background: #ff5722
}

.item-scope .editor-btn {
    background: #9b59b6
}

.item-scope .collect-btn:hover,.item-scope .download-btn:hover,.item-scope .editor-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,.2)
}

.item-scope .download-btn:hover {
    background: #2980b9
}

.item-scope .collect-btn:hover {
    background: #27ae60
}

.item-scope .editor-btn:hover {
    background: #8e44ad
}

.item-scope table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    border-radius: 8px;
    overflow: hidden
}

.item-scope td,.item-scope th {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color)
}

.item-scope th {
    background-color: #f2f6f9;
    color: #555;
    font-weight: 600;
    width: 100px;
    text-align: center
}

.item-scope tr:last-child td,.item-scope tr:last-child th {
    border-bottom: none
}

.item-scope tr:hover {
    background-color: rgba(241,245,249,.6)
}

.item-scope .tags {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.item-scope .tag {
    display: inline-block;
    padding: 6px 15px;
    background: #f1f5f9;
    color: #555;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid #e5e9ef
}

.item-scope .tag:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px)
}

@media (max-width: 768px) {
    .item-scope .item {
        padding:15px;
        margin: 15px
    }

    .item-scope .content {
        flex-direction: column
    }

    .item-scope h1 {
        font-size: 24px
    }

    .item-scope .collect-btn,.item-scope .download-btn,.item-scope .editor-btn {
        padding: 10px 20px;
        font-size: 14px;
        margin-bottom: 10px
    }

    .item-scope .preview {
        margin-bottom: 20px
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.item-scope .item {
    animation: fadeIn .5s ease-out
}

.item-scope .tags:last-child {
    margin-top: 30px;
    border-top: 1px dashed var(--border-color);
    padding-top: 20px
}

.item-scope .tags:last-child .tag {
    background: #e8f4fd;
    color: var(--primary-color);
    font-weight: 500;
    padding: 8px 20px
}

.item-scope .tags:last-child .tag:hover {
    background: var(--primary-color);
    color: #fff
}
