
main.content .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 240, 255, 0.2);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.btn-create {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
}

.btn-create:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 240, 255, 0.6);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: badgePulse 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.15);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.badge-hot {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.95), rgba(220, 20, 60, 0.95));
    color: #fff;
    border: 1px solid rgba(255, 0, 0, 0.6);
    box-shadow: 0 2px 15px rgba(255, 0, 0, 0.5);
}

.badge-hot i {
    animation: fireFlicker 1s ease-in-out infinite;
}

@keyframes fireFlicker {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
    }
    75% {
        transform: scale(1.1) rotate(5deg);
    }
}

.badge-recommend {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 193, 7, 0.95));
    color: #fff;
    border: 1px solid rgba(255, 215, 0, 0.6);
    box-shadow: 0 2px 15px rgba(255, 215, 0, 0.5);
}

.badge-recommend i {
    animation: starTwinkle 1.5s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-actions {
    display: flex;
    gap: 10px;
    width: 100%;
}

.btn-action {
    flex: 1;
    padding: 8px 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.btn-action i {
    font-size: 16px;
}

.btn-action:hover {
    background: rgba(0, 240, 255, 0.3);
    border-color: var(--primary-color);
}

.btn-action.btn-preview {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

.btn-action.btn-view {
    background: rgba(255, 193, 7, 0.3);
    border-color: rgba(255, 193, 7, 0.5);
}

.btn-action.btn-view:hover {
    background: rgba(255, 193, 7, 0.5);
    border-color: #ffc107;
}

.btn-action.btn-delete {
    background: rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 0, 0, 0.5);
}

.btn-action.btn-delete:hover {
    background: rgba(255, 0, 0, 0.5);
    border-color: #ff0000;
}

.project-info {
    padding: 20px;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-author {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.project-author i {
    font-size: 12px;
    color: var(--primary-color);
}

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

.project-scenes {
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-normal {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.status-hidden {
    background: rgba(255, 153, 0, 0.2);
    color: #ff9900;
    border: 1px solid rgba(255, 153, 0, 0.3);
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-text {
    font-size: 18px;
    margin-bottom: 30px;
}

.pagination-wrapper {
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 14px;
}

.pagination-info span {
    color: var(--primary-color);
    font-weight: 600;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-page {
    padding: 10px 20px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-page:hover:not(:disabled) {
    background: rgba(0, 240, 255, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-page:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-info {
    color: var(--text-primary);
    font-size: 14px;
}

.page-info span {
    color: var(--primary-color);
    font-weight: 600;
}

.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--primary-color);
    font-size: 18px;
}

.loading-state i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.loading-state span {
    display: block;
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .pagination-controls {
        flex-direction: column;
        gap: 15px;
    }

    .btn-page {
        width: 100%;
        justify-content: center;
    }
}

/* 项目表单样式 */
.project-form-wrapper {
    padding: 30px 0;
}

.project-form-card {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(15, 15, 25, 0.95));
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

.project-form-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.03) 0%, transparent 70%);
    animation: formRotate 20s linear infinite;
    pointer-events: none;
}

@keyframes formRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.form-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(0, 240, 255, 0.2);
}

.form-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.form-title i {
    color: var(--primary-color);
    font-size: 36px;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.form-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.project-form {
    position: relative;
    z-index: 1;
}

.form-section {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.section-title i {
    font-size: 22px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row.three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.form-label i {
    color: var(--primary-color);
    font-size: 16px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.form-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.upload-wrapper {
    display: flex;
    gap: 10px;
}

.upload-wrapper .form-input {
    flex: 1;
}

.upload-buttons {
    display: flex;
    gap: 10px;
}

.upload-buttons .btn {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upload-buttons .btn-upload {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.9), rgba(255, 0, 0, 0.9));
    color: #fff;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.upload-buttons .btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.6);
}

.upload-buttons .btn-choose {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
}

.upload-buttons .btn-choose:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.6);
}

.upload-preview {
    margin-top: 15px;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.upload-preview li {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(0, 240, 255, 0.3);
    position: relative;
    transition: all 0.3s ease;
    padding: 0 !important;
}

.upload-preview li a {
    display: block;
    width: 100%;
    height: 100%;
}

.upload-preview li:hover {
    border-color: rgba(0, 240, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.upload-preview li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 !important;
    display: block;
}

/* 覆盖 FastAdmin 默认上传预览删除按钮 */
.upload-preview li .btn-trash {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 10;
}

/* 隐藏原始默认的红色长条按钮 */
.upload-preview li .btn-trash.btn-danger {
    padding: 0;
    border: none;
    margin: 0;
}

/* 用伪元素绘制红底X */
.upload-preview li .btn-trash i {
    display: none;
}
.upload-preview li .btn-trash::before {
    content: '\f00d'; /* FontAwesome 的 fa-times 图标 */
    font-family: 'FontAwesome';
    font-size: 12px;
}

.upload-preview li:hover .btn-trash {
    opacity: 1;
}

.upload-preview li .btn-trash:hover {
    transform: scale(1.15);
    background: rgba(255, 0, 0, 1);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-color);
    background: rgba(0, 240, 255, 0.1);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.radio-label:hover .radio-custom {
    border-color: rgba(0, 240, 255, 0.5);
}

.radio-text {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.radio-label input[type="radio"]:checked ~ .radio-text {
    color: var(--primary-color);
}

.input-with-unit {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-unit .form-input {
    padding-right: 80px;
}

.unit {
    position: absolute;
    right: 15px;
    color: var(--text-secondary);
    font-size: 13px;
    pointer-events: none;
}

.form-hint {
    color: var(--text-secondary);
    font-size: 12px;
    margin: 8px 0 0 0;
    opacity: 0.7;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(0, 240, 255, 0.2);
}

.btn-submit {
    padding: 14px 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 240, 255, 0.4);
}

.btn-reset {
    padding: 14px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-reset:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 992px) {
    .form-row.two-columns,
    .form-row.three-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .project-form-card {
        padding: 30px 20px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .upload-wrapper {
        flex-direction: column;
    }
    
    .upload-buttons {
        width: 100%;
    }
    
    .btn-upload,
    .btn-choose {
        flex: 1;
        justify-content: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-submit,
    .btn-reset {
        width: 100%;
        justify-content: center;
    }
}

/* 场景管理样式 */
.scene-actions {
    margin-bottom: 25px;
}

.btn-add-scene {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-add-scene:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 240, 255, 0.4);
}

.scene-list-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    overflow: hidden;
}

.scene-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(0, 240, 255, 0.05);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.scene-list-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scene-list-title i {
    font-size: 18px;
}

.scene-count {
    color: var(--text-secondary);
    font-size: 14px;
}

.scene-count span {
    color: var(--primary-color);
    font-weight: 600;
}

.scene-list {
    padding: 20px;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.scene-list::-webkit-scrollbar {
    width: 8px;
}

.scene-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.scene-list::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.3);
    border-radius: 4px;
}

.scene-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.5);
}

.scene-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.scene-empty i {
    font-size: 60px;
    opacity: 0.3;
    margin-bottom: 15px;
    display: block;
}

.scene-empty p {
    margin: 0;
    font-size: 14px;
}

/* 上传预览样式 */
.upload-preview {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    overflow: hidden;
}

.upload-preview li {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.upload-preview .thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.upload-preview .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.upload-preview .btn-trash {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    background: rgba(255, 59, 48, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.upload-preview .btn-trash i {
    font-size: 14px;
    color: #fff;
}

.upload-preview .btn-trash:hover {
    background: rgba(255, 59, 48, 1);
    transform: scale(1.1);
}

.scene-item {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.scene-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
}

.scene-item:last-child {
    margin-bottom: 0;
}

.scene-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(255, 0, 0, 0.85);
    border: 1px solid rgba(255, 0, 0, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
}

.scene-item:hover .scene-remove-btn {
    opacity: 1;
    transform: scale(1);
}

.scene-remove-btn:hover {
    background: rgba(255, 0, 0, 1);
    border-color: #ff4444;
    transform: scale(1.1) rotate(90deg);
}

.scene-thumbnail {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 0;
    border: none;
    position: relative;
}

.scene-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
}

.scene-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.scene-item:hover .scene-thumbnail img {
    transform: scale(1.1);
}

.scene-info {
    padding: 15px;
}

.scene-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scene-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 12px;
}

.scene-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.scene-meta-item i {
    font-size: 11px;
    color: var(--primary-color);
    width: 14px;
}

@media (max-width: 768px) {
    .scene-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .scene-thumbnail {
        height: 120px;
    }

    .scene-info {
        padding: 12px;
    }

    .scene-name {
        font-size: 13px;
    }

    .scene-meta {
        font-size: 11px;
    }

    .scene-remove-btn {
        top: 8px;
        right: 8px;
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
}