/* ============================================================
   影视官网前台 —— PC 端宽屏样式 home-pc.css
   ------------------------------------------------------------
   说明：在 home.css 组件样式基础上，覆盖为桌面端宽屏布局。
   手机端不会加载本文件，仅 PC 布局引用。
   ============================================================ */

/* 取消 H5 限宽手机壳 */
.pc-body {
    background: #070b14;
    min-height: 100vh;
    color: var(--text);
}

/* ===== 顶部导航 ===== */
.pc-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.pc-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 68px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 36px;
}
.pc-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.pc-brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
}
.pc-brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #e2e8f0, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pc-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pc-nav a {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 15px;
    color: var(--dim);
    transition: all .18s;
}
.pc-nav a:hover {
    color: #fff;
    background: rgba(56, 189, 248, 0.08);
}
.pc-nav a.on {
    color: #fff;
    background: linear-gradient(135deg, rgba(56,189,248,.25), rgba(99,102,241,.25));
    font-weight: 600;
}

.pc-header-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}
.pc-cart {
    position: relative;
    font-size: 20px;
}
.pc-cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
}
.pc-login, .pc-user {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}
.pc-login {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: #fff;
}
.pc-user {
    background: rgba(148, 163, 184, 0.12);
    color: var(--text);
}

/* ===== 主体容器 ===== */
.pc-main {
    padding: 32px 0 60px;
    min-height: calc(100vh - 68px - 80px);
}
.pc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}
.pc-page-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

/* ===== 首页区块在 PC 下的增强 ===== */
.pc-body .banner {
    height: 360px;
    border-radius: 20px;
    font-size: 42px;
    margin-bottom: 28px;
}

/* PC 公司首页增强 */
.pc-body .company-hero {
    margin: 0 0 28px;
    border-radius: 20px;
    padding: 56px 40px;
}
.pc-body .company-name { font-size: 40px; }
.pc-body .company-slogan { font-size: 18px; }
.pc-body .home-quick {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}
.pc-body .activity-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.pc-body .activity-card { padding: 14px; }
.pc-body .activity-cover { width: 160px; height: 110px; }
.pc-body .detail-cover { margin: 0 0 24px; height: 360px; border-radius: 16px; }
.pc-body .notice {
    font-size: 15px;
    padding: 14px 20px;
    margin-bottom: 28px;
}
.pc-body .nav-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 36px;
}
.pc-body .nav-cell {
    padding: 28px 0;
    border-radius: 18px;
}
.pc-body .nav-cell:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.35);
}
.pc-body .nav-cell .ico { font-size: 36px; }
.pc-body .nav-cell .name { font-size: 16px; margin-top: 8px; }

.pc-body .section-title {
    margin: 8px 0 18px;
}
.pc-body .section-title h3 {
    font-size: 22px;
}

/* 横向滚动在 PC 改为多列网格 */
.pc-body .hscroll {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    overflow: visible;
    padding-bottom: 0;
}
.pc-body .v-card {
    width: auto;
    flex: none;
}
.pc-body .v-card .cover {
    height: 220px;
    border-radius: 14px;
}
.pc-body .actor-card {
    width: auto;
}
.pc-body .actor-card .avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.pc-body .grid2 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 列表页卡片在 PC 加宽 */
.pc-body .list-grid,
.pc-body .grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
}

/* ===== 页脚 ===== */
.pc-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
    background: #05070d;
    color: var(--dim);
    font-size: 13px;
}
.pc-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pc-footer-links {
    display: flex;
    gap: 20px;
}
.pc-footer-links a {
    color: var(--dim);
}
.pc-footer-links a:hover {
    color: var(--primary);
}

/* 中等屏幕适配 */
@media (max-width: 1100px) {
    .pc-body .hscroll {
        grid-template-columns: repeat(4, 1fr);
    }
    .pc-body .grid2,
    .pc-body .list-grid,
    .pc-body .grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .pc-nav a { padding: 8px 12px; font-size: 14px; }
}

@media (max-width: 800px) {
    .pc-nav { display: none; }
    .pc-body .hscroll {
        grid-template-columns: repeat(2, 1fr);
    }
}
