:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

a {
    text-decoration: none !important;  /* 移除所有文本装饰（包括下划线） */
}
a:hover{
    color: #007bff;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
}

.navbar-brand i {
    color: var(--primary-color);
}
/* 面包屑导航 */
.breadcrumb {
    box-shadow: 0px 0px 12px -2px rgba(0, 0, 0, 0.1);
    border: 1px solid #ededed;
    border-radius: 8px;
    box-sizing: border-box;
    background: #FFFFFF;
}

/* 英雄区域/轮播 */
.hero-carousel {
    margin-bottom: 2rem;
}

.hero-item {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .sidebar {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-item {
        height: 300px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: center;
    padding: 0 3rem;
}

.hero-content {
    /*max-width: 600px;*/
    color: white;
    text-align: center;
    margin: auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}


/* 分页样式 */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-link {
    color: var(--primary-color);
}

/* 侧边栏样式 */
.sidebar-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.25rem;
}

.tag-item {
    margin: 0.25rem;
}

.tag-link {
    display: block;
    padding: 0.25rem 0.75rem;
    background-color: #f8f9fa;
    border-radius: 20px;
    color: #555;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.tag-link:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}



/* 页脚样式 */
footer {
    background-color: var(--dark-color);
    color: white;
    /*padding: 3rem 0;*/
    /*margin-top: 3rem;*/
}
footer p{
    padding: 0px;
    margin: 0px;
    color: #999999;
}
footer a{
    color: #999999;
}
footer a:hover{
    color: #999999;
}

.footer-links h5 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 0.5rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {

    padding: 1rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0069d9;
    transform: translateY(-3px);
}

/* 视频列表样式 */
.video-list-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 1rem;
}

.video-list-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.video-item {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-3px);
}

.user-container {
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


.login-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.login-header {
    text-align: center;
    margin-bottom: 30px;
}
.login-header i {
    font-size: 50px;
    color: #007bff;
}
.form-group {
    margin-bottom: 20px;
}
.btn-login {
    width: 100%;
}
.login-footer {
    text-align: center;
    margin-top: 20px;
    color: #6c757d;
}

.movie-title {
    font-weight: bold;
    color: #333;
}
.movie-meta span {
    margin-right: 10px;
    color: #666;
}
.movie-meta .badge {
    margin-right: 5px;
}
.movie-desc {
    color: #666;
    margin-top: 5px;
}
.movie-time {
    color: #999;
    font-size: 0.9em;
}

/* 筛选链接样式 */
.filter-section{
    border: 1px solid rgba(0, 0, 0, .125);;
}
.filter-link {
    display: inline-block;
    margin: 0 8px 5px 0;
    /*padding: 3px 10px;*/
    /*border-radius: 3px;*/
    color: #333;
    text-decoration: none;
    /*background-color: #f1f1f1;*/
    /*border: 1px solid #ddd;*/
    font-size: 0.9em;

}
.filter-link:hover {
    /*background-color: #e9e9e9;*/

}
.filter-link.active {
    font-weight: 800;
    /*background-color: #007bff;*/
    /*color: white;*/
    /*border-color: #007bff;*/
}
/*.filter-label {*/
/*    font-weight: bold;*/
/*    color: #666;*/
/*    margin-right: 5px;*/
/*    display: inline-block;*/
/*}*/
.filter-group {
    display: flex;
    margin-bottom: 5px;
}

.filter-label {
    font-weight: bold;
    color: #666;
    margin-right: 10px;
    min-width: 60px;
    text-align: right;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}



/* 手机端样式 */
@media (max-width: 767.98px) {
    .movie-title {
        display: block;
        margin-top: 5px;
    }
    .movie-meta span {
        display: inline-block;
        margin-right: 8px;
        margin-bottom: 3px;
    }

    .filter-section {
        padding: 10px;
    }
    .filter-group {
        display: block;
    }

    .filter-label {
        display: block;
        margin-bottom: 8px;
        text-align: left;
    }

    .filter-options {
        display: flex;
        flex-wrap: wrap;
    }
}

.copy-url{
    background-color: #419eff;
    border-radius: 8px;
    padding: 15px 10px;
    margin-bottom: 10px;
}
.copy-url a{
    color: #fff !important;
}
.copy-url a:hover{
    color: #fff !important;
}


.rank-columns {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.rank-columns {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 50px;
    border: 1px solid rgba(0, 0, 0, .125);
}

.rank-columns:last-child {
    padding-right: 0;
}


.rank {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rank li a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 10px;
    color: #2b2f3a;
}
.rank li a:hover {
    color: #007bff;
}

.rank-sm li a {
    padding: 5px 10px;
    color: #2b2f3a;
}
.rank-sm li a:hover{
    color: #007bff;
}

.rank li a i {
    font-size: 0.8rem;
    width: 20px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.rank li a span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank li:nth-child(1) i {
    font-weight: bold;
    color: #25772f;
}
.rank li:nth-child(2) i {
    font-weight: bold;
    color: #7d6a00;
}
.rank li:nth-child(3) i {
    font-weight: bold;
    color: #b2140c;
}

.resource_list{
    padding: 0;
    margin: 0;
}
.resource_list .text-gray-500 {
    color: #adb5bd;
}
.resource_list .link_txt a {
    color: #4a4c4f;
}
.resource_list .link_txt a:hover {
    color: #007bff;
}
.status-list a{ margin-right: 5px}


.fs-5 {
    font-size: 1.25rem !important;
}
.fs-8 {
    font-size: 0.8rem !important;
}
.text-gray-500 {
    color: #adb5bd;
}
.text-gray-600 {
    color: #6c757d;
}
.me-1{
    margin-right: .25rem !important;
}

.nav-link{
    color: #495057;
}
.fw-bolder{
    color: #495057;
    font-weight: bold;
}

.resource-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ededed;
    padding: 10px 0;
}

.list-group-item{
    padding:.75rem 0.75rem;;
    border: none ;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}
.list-group-item:last-child{
    border: none ;
}

.msg-container{
     width: 100%;
     margin: 20px auto;
     padding: 20px;
     background-color: white;
     border-radius: 5px;
     box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.main-box{
    box-shadow: 0px 0px 12px -2px rgba(0, 0, 0, 0.1);
    border: 1px solid #ededed;
    border-radius: 8px;
    box-sizing: border-box;
    background: #FFFFFF;
}
.ps-3{
    padding-left: 1rem !important;
}



