/* 迷雾影阁 - 惊悚美院风 CSS 设计系统 */
:root {
    /* 恐怖惊悚主题配色 (Dark Gothic & Suspense Palette) */
    --color-bg-dark: #040406; /* 极夜漆黑 */
    --color-panel-dark: rgba(12, 12, 16, 0.75);
    --color-panel-hover: rgba(22, 16, 18, 0.9);
    --color-text-primary: #f5f5f7;
    --color-text-secondary: #a3a5ae;
    --color-text-muted: #5e606a;
    
    /* 惊悚艺术主题色 */
    --color-accent-amber: #d2b074;  /* 枯叶金/黄铜色 */
    --color-accent-red: #8f1d24;    /* 凝血红/勃艮第红 */
    --color-accent-green: #1a422b;  /* 幽灵绿/霉绿 */
    
    /* 字体族 */
    --font-serif: 'Cinzel', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    
    /* 圆角与阴影 */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-soft: 0 10px 30px 0 rgba(0, 0, 0, 0.5);
    --shadow-strong: 0 20px 50px 0 rgba(0, 0, 0, 0.85);
    
    /* 磨砂玻璃边缘高光（微红冷调） */
    --border-glass: 1px solid rgba(255, 255, 255, 0.04);
    --border-glass-bright: 1px solid rgba(255, 255, 255, 0.08);
    --border-glass-red: 1px solid rgba(143, 29, 36, 0.25);
    
    /* 动画 */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 基础重置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb {
    background: rgba(143, 29, 36, 0.2);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(143, 29, 36, 0.5);
}

/* 1. 诡秘氛围流光背景 & 噪点 */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #0d0607 0%, #040406 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.22;
    mix-blend-mode: color-dodge;
    animation: floatAround 25s infinite alternate ease-in-out;
}

/* 血月红 */
.blob-1 {
    top: -10%;
    left: -10%;
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, rgba(143, 29, 36, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
    animation-duration: 32s;
}

/* 幽灵绿 */
.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(26, 66, 43, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
    animation-duration: 38s;
    animation-delay: -5s;
}

/* 深渊冷紫 */
.blob-3 {
    top: 25%;
    left: 35%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(62, 32, 94, 0.45) 0%, rgba(0, 0, 0, 0) 70%);
    animation-duration: 26s;
    animation-delay: -12s;
}

@keyframes floatAround {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(6%, 10%) scale(1.1) rotate(60deg); }
    100% { transform: translate(-4%, -6%) scale(0.95) rotate(120deg); }
}

/* 噪点质感 */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.028'/%3E%3C/svg%3E");
}

/* 2. 头部标题区 */
.app-header {
    padding: 60px 4% 30px;
    border-bottom: 1px solid rgba(143, 29, 36, 0.08);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 25px;
}

.brand {
    display: flex;
    flex-direction: column;
}

.brand-subtitle {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--color-accent-red);
    margin-bottom: 8px;
}

.brand-title {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #ffffff 40%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* 搜索框 */
.search-wrapper {
    position: relative;
    width: 320px;
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    border-radius: 50px;
    padding: 11px 20px 11px 45px;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.search-wrapper:focus-within {
    width: 350px;
    border-color: rgba(143, 29, 36, 0.5);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(143, 29, 36, 0.1);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.search-wrapper:focus-within .search-icon {
    color: var(--color-accent-red);
}

.search-wrapper input {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: var(--color-text-primary);
    font-size: 0.9rem;
    font-family: var(--font-sans);
}

.search-wrapper input::placeholder {
    color: var(--color-text-muted);
}

/* 3. 筛选栏 */
.filter-section {
    max-width: 1300px;
    margin: 30px auto 15px;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-container {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.01);
    border: var(--border-glass);
    color: var(--color-text-secondary);
    padding: 7px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: var(--color-text-primary);
    border-color: rgba(143, 29, 36, 0.3);
    background: rgba(143, 29, 36, 0.05);
}

.filter-btn.active {
    background: var(--color-accent-red);
    color: var(--color-text-primary);
    border-color: var(--color-accent-red);
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(143, 29, 36, 0.3);
}

.stats-counter {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.stats-counter span {
    color: var(--color-accent-amber);
    font-weight: 600;
    margin: 0 2px;
}

/* 4. 展示网格与卡片 */
.gallery-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 4% 80px;
}

.movie-grid {
    display: grid;
    /* 采用自适应宽度，PC端最小宽度为250px，手机端会被媒介查询覆盖 */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 35px 25px;
}

/* 骨架屏 */
.skeleton-card {
    aspect-ratio: 2 / 3;
    border-radius: var(--radius-md);
    background: linear-gradient(90deg, rgba(255,255,255,0.01) 25%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.01) 75%);
    background-size: 200% 100%;
    animation: loadingSkeleton 1.6s infinite;
}

@keyframes loadingSkeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 惊悚海报卡片 */
.movie-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: var(--color-panel-dark);
    border: var(--border-glass);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.movie-card:hover {
    transform: translateY(-6px) scale(1.015);
    border-color: rgba(143, 29, 36, 0.4);
    box-shadow: 0 12px 30px rgba(0,0,0,0.7), 0 0 15px rgba(143, 29, 36, 0.15);
    background: var(--color-panel-hover);
}

.card-poster-wrapper {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background-color: #0b0b0f;
}

.card-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: grayscale(15%) brightness(90%);
}

.movie-card:hover .card-poster {
    transform: scale(1.04);
    filter: grayscale(0%) brightness(75%);
}

/* 暗角遮罩 */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(4, 4, 6, 0.95) 0%, rgba(4, 4, 6, 0.3) 60%, rgba(4, 4, 6, 0) 100%);
    opacity: 0.9;
    transition: var(--transition-smooth);
}

/* 元数据标牌 */
.card-meta-top {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.card-badge {
    background: rgba(4, 4, 6, 0.7);
    backdrop-filter: blur(6px);
    border: var(--border-glass);
    color: var(--color-text-secondary);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
}

.card-rating {
    background: rgba(143, 29, 36, 0.15);
    border: 1px solid rgba(143, 29, 36, 0.4);
    color: #ff4a53;
    font-family: var(--font-serif);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    backdrop-filter: blur(6px);
}

.card-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 2;
}

.card-year {
    font-size: 0.78rem;
    color: var(--color-accent-amber);
    margin-bottom: 2px;
    display: block;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--color-text-primary);
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.card-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    max-height: 0;
    overflow: hidden;
}

.movie-card:hover .card-tags {
    opacity: 1;
    transform: translateY(0);
    max-height: 50px;
}

.card-tag {
    font-size: 0.65rem;
    background: rgba(143, 29, 36, 0.15);
    border: 1px solid rgba(143, 29, 36, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
    color: #e5b9bd;
}

.card-action-hint {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: var(--color-accent-amber);
    opacity: 0;
    transition: var(--transition-smooth);
}

.movie-card:hover .card-action-hint {
    opacity: 1;
}

/* 5. 详情弹窗 (Modal) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: rgba(4, 4, 6, 0.75);
    backdrop-filter: blur(18px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background: rgba(14, 14, 18, 0.9);
    border: var(--border-glass-bright);
    box-shadow: var(--shadow-strong);
    width: 100%;
    max-width: 900px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transform: scale(0.92) translateY(25px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

/* 关闭按钮 */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(4, 4, 6, 0.6);
    border: var(--border-glass-bright);
    color: var(--color-text-secondary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    color: var(--color-text-primary);
    background: rgba(143, 29, 36, 0.25);
    border-color: rgba(143, 29, 36, 0.4);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

/* 弹窗内容排版 */
.modal-content {
    display: grid;
    grid-template-columns: 35% 65%;
    min-height: 500px;
}

.modal-poster-side {
    position: relative;
    background-color: #040406;
}

.modal-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-poster-shadow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(14, 14, 18, 1) 0%, rgba(14, 14, 18, 0) 100%);
    pointer-events: none;
}

.modal-info-side {
    padding: 40px;
    max-height: 80vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-meta-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.modal-category {
    font-size: 0.78rem;
    color: var(--color-accent-amber);
    border: 1px solid rgba(210, 176, 116, 0.3);
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.modal-year {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.modal-rating-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: #ff4a53;
    font-size: 0.9rem;
}

.modal-rating-star {
    width: 13px;
    height: 13px;
    fill: #ff4a53;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: 0.03em;
}

.modal-details-row {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.modal-details-row strong {
    color: var(--color-text-primary);
}

.modal-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.modal-tag {
    background: rgba(143, 29, 36, 0.12);
    border: 1px solid rgba(143, 29, 36, 0.25);
    padding: 3px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    color: #e5b9bd;
}

.modal-desc-heading {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    border-left: 2px solid var(--color-accent-red);
    padding-left: 8px;
}

.modal-desc {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* 网盘资源陈列 */
.resources-container {
    margin-top: auto;
}

.resources-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.resources-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.resource-card {
    background: rgba(255, 255, 255, 0.015);
    border: var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.resource-card:hover {
    background: rgba(143, 29, 36, 0.04);
    border-color: rgba(143, 29, 36, 0.2);
}

.resource-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.resource-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.resource-code {
    font-size: 0.72rem;
    color: var(--color-text-muted);
}

.resource-code span {
    color: var(--color-accent-amber);
    font-weight: 600;
}

.resource-actions {
    display: flex;
    gap: 8px;
}

.btn-action {
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    color: var(--color-text-secondary);
    padding: 7px 14px;
    font-size: 0.78rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.btn-action:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-action-primary {
    background: rgba(143, 29, 36, 0.15);
    border: 1px solid rgba(143, 29, 36, 0.4);
    color: #ff5c64;
}

.btn-action-primary:hover {
    background: rgba(143, 29, 36, 0.35);
    border-color: #ff5c64;
    color: var(--color-text-primary);
}

/* 6. 轻量浮动提示 (Toast) */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(12, 12, 16, 0.95);
    border: var(--border-glass-bright);
    box-shadow: var(--shadow-strong);
    padding: 10px 20px;
    border-radius: 50px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.toast-notification.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-message {
    color: var(--color-accent-amber);
    font-size: 0.82rem;
    font-weight: 500;
}

/* 7. 页脚 */
.app-footer {
    padding: 40px 0;
    border-top: 1px solid rgba(143, 29, 36, 0.08);
    text-align: center;
}

.footer-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.footer-tech {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

/* 8. 卡片淡入动画 */
@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   📱 移动端自适应与触控极致适配
   ========================================== */

/* 平板尺寸适配 */
@media (max-width: 900px) {
    .modal-content {
        grid-template-columns: 1fr;
    }
    
    .modal-poster-side {
        height: 250px;
    }
    
    .modal-poster-shadow {
        background: linear-gradient(to top, rgba(14, 14, 18, 1) 0%, rgba(14, 14, 18, 0) 100%);
    }
    
    .modal-info-side {
        padding: 24px;
        max-height: none;
    }
    
    .modal-container {
        max-height: 85vh;
        overflow-y: auto;
    }
}

/* 手机尺寸适配 (惊悚双列陈列 + 顺滑横向滑动菜单) */
@media (max-width: 480px) {
    /* 缩小页面主体边距，留给内容更多空间 */
    .app-header {
        padding: 24px 16px 16px;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .brand-subtitle {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }
    
    .search-wrapper {
        width: 100% !important;
        padding: 9px 15px 9px 38px;
    }
    
    .search-icon {
        left: 14px;
        width: 14px;
        height: 14px;
    }
    
    /* 筛选按钮实现手势横向滑动，防止折行占位，极具高档感 */
    .filter-section {
        margin: 15px auto 10px;
        padding: 0 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .filter-container {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 6px;
        gap: 8px;
        /* 隐藏滚动条 */
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-container::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex: 0 0 auto; /* 保证按钮不会缩水 */
        padding: 5px 14px;
        font-size: 0.78rem;
    }
    
    .stats-counter {
        align-self: flex-end;
        font-size: 0.72rem;
    }

    /* 移动端双栏卡片陈列 */
    .gallery-section {
        padding: 10px 16px 60px;
    }
    
    .movie-grid {
        grid-template-columns: repeat(2, 1fr); /* 完美的双列海报 */
        gap: 20px 12px;
    }
    
    .movie-card {
        border-radius: var(--radius-sm);
    }
    
    /* 移动端下把hover隐藏的细节直接调整为可见或微弱渐显 */
    .card-details {
        padding: 10px;
    }
    
    .card-title {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }
    
    .card-year {
        font-size: 0.7rem;
    }
    
    /* 手机端屏蔽太长或臃肿的元素，保持清爽 */
    .card-tags {
        display: none !important; /* 手机卡片较小，隐藏标签，在弹窗中展示即可 */
    }
    
    .card-action-hint {
        display: none !important;
    }
    
    /* 弹窗在手机下的极致适配 */
    .modal-overlay {
        padding: 10px;
    }
    
    .modal-container {
        border-radius: var(--radius-md);
        max-height: 90vh;
    }
    
    .modal-poster-side {
        height: 180px;
    }
    
    .modal-info-side {
        padding: 16px;
    }
    
    .modal-title {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }
    
    .modal-meta-header {
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .modal-category {
        font-size: 0.7rem;
        padding: 1px 7px;
    }
    
    .modal-year {
        font-size: 0.75rem;
    }
    
    .modal-desc-heading {
        font-size: 0.8rem;
    }
    
    .modal-desc {
        font-size: 0.78rem;
        margin-bottom: 20px;
    }
    
    /* 手机触控优化 (胖手指规范，按钮扩大交互响应区域) */
    .resource-card {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px;
    }
    
    .resource-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .btn-action {
        justify-content: center;
        padding: 11px 0; /* 加大上下内边距，达到44px的可触控面积 */
        font-size: 0.8rem;
        border-radius: 6px;
    }
}

/* 10. 观影状态装饰样式 (已观看/未观看) */
.watched-card .card-poster {
    filter: grayscale(60%) brightness(65%) contrast(85%);
}

.watched-card:hover .card-poster {
    filter: grayscale(15%) brightness(75%) contrast(100%);
}

/* 角标个性化 */
.watched-badge {
    background: rgba(18, 18, 24, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: var(--color-text-secondary) !important;
    font-weight: 500;
}

.unwatched-badge {
    background: rgba(143, 29, 36, 0.7) !important;
    border: 1px solid rgba(143, 29, 36, 0.9) !important;
    color: var(--color-text-primary) !important;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

/* 弹窗状态标签 */
.modal-status-badge {
    font-size: 0.78rem;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.status-watched {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-secondary);
}

.status-unwatched {
    background: rgba(143, 29, 36, 0.25);
    border: 1px solid rgba(143, 29, 36, 0.6);
    color: #ff5c64;
}

/* 页脚后台链接 */
.admin-link {
    color: var(--color-accent-amber);
    text-decoration: none;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-fast);
}

.admin-link:hover {
    color: var(--color-text-primary);
    text-shadow: 0 0 8px rgba(210, 176, 116, 0.4);
}

/* 前台详情弹窗的已看/未看切换按钮 */
.btn-toggle-status {
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-glass);
    color: var(--color-text-secondary);
    padding: 4px 10px;
    font-size: 0.72rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    outline: none;
    margin-left: 10px;
}

.btn-toggle-status:hover {
    color: var(--color-text-primary);
    background: rgba(143, 29, 36, 0.2);
    border-color: rgba(143, 29, 36, 0.5);
    box-shadow: 0 0 10px rgba(143, 29, 36, 0.15);
}

/* 旋转加载动画 */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

