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

body {
    font-family: 'Inter', sans-serif;
    background: #f5faff;
    color: #142b44;
    line-height: 1.5;
}

/* 全宽导航栏 */
.navbar-full {
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(25, 118, 210, 0.2);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo span {
    font-size: 0.65rem;
    color: #5f7f9e;
    display: block;
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #1e3a5f;
    transition: 0.2s;
}
.nav-links a.active, .nav-links a:hover {
    color: #1976d2;
}
.nav-links a.active {
    border-bottom: 2px solid #1976d2;
    padding-bottom: 4px;
}
.search-icon {
    background: #ecf5fe;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #1976d2;
    cursor: pointer;
}

/* 内容容器 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

/* 通用标题样式 */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 48px 0 24px 0;
    color: #0b2b44;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-title i {
    color: #1976d2;
    font-size: 1.6rem;
}
.section-title:after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #1976d2, transparent);
    margin-left: 18px;
}

/* 最近更新网格 - 图片占比更小（固定高度160px） */
.renew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}
.movie-compact {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.25s;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(25, 118, 210, 0.1);
    cursor: pointer;
}
.movie-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 24px -8px rgba(25, 118, 210, 0.2);
    border-color: #1976d2;
}
.compact-img {
    width: 100%;
    height: 160px;   /* 固定较小高度，图片占比缩小 */
    overflow: hidden;
    background: #d9e6f5;
}
.compact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.movie-compact:hover .compact-img img {
    transform: scale(1.03);
}
.compact-info {
    padding: 14px 16px 18px;
}
.compact-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.movie-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #6f8faf;
    margin: 8px 0 12px;
}
.rating {
    background: #fff3e0;
    color: #e68a2e;
    border-radius: 20px;
    padding: 2px 8px;
    font-weight: 600;
}
.watch-small {
    background: #1976d2;
    border: none;
    width: 100%;
    padding: 8px 0;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: 0.2s;
    cursor: pointer;
}

/* 明星区域保持不变 */
.stars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin: 20px 0 20px;
}
.star-card {
    background: white;
    border-radius: 32px;
    padding: 28px 20px;
    text-align: center;
    transition: 0.2s;
    border: 1px solid #e1ecfa;
}
.star-card:hover {
    border-color: #1976d2;
    background: #f5faff;
}
.star-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid #1976d2;
}
.star-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.star-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
}
.star-role {
    color: #1976d2;
    font-weight: 600;
    margin-bottom: 12px;
}

/* 焦点电影区域 */
.spotlight {
    background: white;
    border-radius: 36px;
    margin: 40px 0;
    padding: 32px 36px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(25, 118, 210, 0.2);
}
.spotlight-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.spotlight-poster {
    flex: 0 0 220px;
}
.spotlight-poster img {
    width: 100%;
    border-radius: 28px;
}
.movie-title-lg {
    font-size: 1.9rem;
    font-weight: 800;
}
.movie-meta-bar {
    background: #eef4fc;
    padding: 10px 18px;
    border-radius: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 16px 0;
}
.info-block h3 {
    font-size: 1.25rem;
    border-left: 4px solid #1976d2;
    padding-left: 14px;
    margin: 20px 0 10px;
}
.comment-section {
    background: #f8fcff;
    border-radius: 28px;
    padding: 24px;
    margin-top: 32px;
}
.btn-big {
    background: #1976d2;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    margin-top: 20px;
    cursor: pointer;
}

/* 热播剧集网格 - 图片占比同样缩小 */
.hot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}
.hot-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.2s;
    border: 1px solid #e1ecfa;
}
.hot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 24px -8px rgba(25, 118, 210, 0.15);
}
.hot-img {
    height: 160px;   /* 图片占比缩小 */
    overflow: hidden;
}
.hot-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hot-info {
    padding: 14px 16px 18px;
}
.hot-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
}
.hot-meta {
    font-size: 0.7rem;
    color: #6f8faf;
    margin: 6px 0 8px;
    display: flex;
    justify-content: space-between;
}
.hotness {
    color: #ff8c42;
    font-size: 0.7rem;
    font-weight: 600;
}

footer {
    border-top: 1px solid #cde1f5;
    padding: 32px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #527a9b;
}
footer p a{
    color:#527a9b;
}
@media (max-width: 768px) {
    .navbar-container {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 20px;
        gap: 12px;
    }
    .nav-links {
        gap: 20px;
    }
    .compact-img, .hot-img {
        height: 140px;
    }
}
button {
    cursor: pointer;
}
a {
    text-decoration: none;
}
