:root {
    /* 页面背景颜色 */
    --srsc-bg-super-dark: #000e14;
    /* 辅助色 */
    --srsc-spain: #34383c;
    /* 页脚背景色 */
    --srsc-bg-footer: #191e24;
    --srsc-bg-border: #2e3136;
    /* 字体颜色 */
    --srsc-text-white: #ffffff;
    --srsc-text-gray: #888c90;
    --srsc-black: #000;
    /* 主体色 */
    --srsc-link-color: #ff404a;
    /* 副色 */
    --srsc-btn-link: #007bff;
    /* 表头 */
    --srsc-thead: #161b21;
    /* 线条 */
    --srsc-border-dark: #34383c;
    /* RGBA颜色变量 */
    --srsc-white-transparent-05: rgba(255, 255, 255, 0.05);
    --srsc-white-transparent-10: rgba(255, 255, 255, 0.1);
    --srsc-white-transparent-20: rgba(255, 255, 255, 0.2);
    --srsc-white-transparent-20-solid: #ffffff20;
}


/* 公用样式 */
body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background-color: var(--srsc-bg-super-dark);
    color: var(--srsc-text-white);
}

a {
    color: var(--srsc-link-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--srsc-link-color);
    border-bottom: 1px solid var(--srsc-link-color);
}

main {
    margin-top: 85px;
}

.main-container {
    max-width: 1566px !important;
}



.vacancy-container {
    margin: 10px;
}

/* 页头样式 */
.navbar {
    position: fixed;
    padding: 0 !important;
    width: 100%;
    top: 0;
    z-index: 999;
    border-bottom: none;
    background-color: var(--srsc-bg-super-dark);
    font-size: 1rem;
}

.navbar-collapse {
    justify-content: flex-end;
    flex-grow: 0;
}

.navbar-brand {
    color: var(--srsc-text-white) !important;
}

.me-auto-right {
    margin-right: 100px;
}

.me-auto-right  .home-lable-tab{
    display: none;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    padding: 20px 0;
}

.navbar-nav .nav-item:nth-child(8),
.navbar-nav .nav-item:nth-child(9) {
    display: none;
}

.navbar-nav .nav-link {
    color: var(--srsc-text-white) !important;
}

.navbar-nav .b-nav-link-on i,
.navbar-nav .d-inline-login i,
.navbar-nav .d-inline-register i {
    display: none;
}

.navbar-nav .nav-link:hover {
    color: var(--srsc-btn-link) !important;
    border-bottom: 1px solid var(--srsc-bg-super-dark);
}

.navbar-top .personal-image {
    display: none;
}

.navbar-top .default-avatar {
    display: none;
}

/* 整体页面布局 */
.new-container {
    background-color: var(--srsc-bg-super-dark);
    margin-bottom: 40px;
}

.new-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.new-header h1 {
    color: var(--srsc-text-white);
    font-size: 2rem;
    font-weight: bold;
}

.new-header a {
    color: var(--srsc-text-white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 球员列表表格样式 */
.player-list-table {
    border-collapse: collapse;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

.player-list-table th,
.player-list-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--srsc-border-dark);
    text-align: left;
}

.player-list-table tbody tr:last-child td {
    border-bottom: none;
}

/* 头像图标样式 */
.avatar-icon {
    vertical-align: middle;
    object-fit: cover;
}

/* 调整表格列宽和间距 */
.table th,
.table td {
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
    color: var(--srsc-text-white);
    background-color: var(--srsc-bg-footer);
}

/* 设置各列宽度 */
.table th:nth-child(1),
.table td:nth-child(1) {
    width: 60px;
    text-align: center;
}

.table th:nth-child(2),
.table td:nth-child(2) {
    width: 150px;
}

.table th:nth-child(3),
.table td:nth-child(3) {
    width: 200px;
}

.table td:nth-child(4),
.table th:nth-child(4) {
    width: 100px;
    text-align: center;
}

.table td:nth-child(5),
.table th:nth-child(5) {
    width: 60px;
    text-align: center;
}

.table td:nth-child(6),
.table th:nth-child(6) {
    width: 80px;
    text-align: center;
}

.table td:nth-child(7),
.table th:nth-child(7) {
    width: 80px;
    text-align: center;
}

.table td:nth-child(8),
.table th:nth-child(8) {
    width: 80px;
    text-align: center;
}

.table td:nth-child(9),
.table th:nth-child(9) {
    width: 60px;
    text-align: center;
}

/* 球员信息页样式 */
.player-detail-container {
    color: var(--srsc-text-gray);
    font-family: Arial, sans-serif;
    margin: 0 auto;
}

/* 球员卡片整体样式 */
.player-card {
    overflow: hidden;
    background-color: var(--srsc-bg-footer);
}

/* 头部区域 */
.player-header {
    padding: 30px;
    position: relative;
}

/* 面包屑与返回按钮 */
.breadcrumb-nav {
    margin-bottom: 50px;
}

.back-btn {
    color: var(--srsc-text-gray);
    text-decoration: none;
    font-size: 14px;
    padding: 4px 8px;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}

.back-btn:hover {
    color: var(--srsc-link-color);
    border-bottom: 1px solid var(--srsc-link-color);
}


/* 球员基本信息 */
.player-info {
    display: flex;
    align-items: flex-end;
}

.player-avatar {
    width: 130px;
    height: 130px;
    object-fit: cover;
    margin-right: 25px;
    border: 2px solid var(--srsc-white-transparent-10);
}

.player-name-section h1 {
    font-size: 29px;
    margin: 0 0 5px 0;
    color: var(--srsc-text-white);
}

.player-team {
    display: flex;
    align-items: center;
    color: var(--srsc-text-gray);
    font-size: 14px;
}

.team-logo {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    object-fit: contain;
}

/* 阵容信息 */
.zhenrong .team-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.zhenrong .player-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.zhenrong .player-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--srsc-text-white);
}

.zhenrong .home-team-lineup {
    padding-right: 15px;
}

.zhenrong .away-team-lineup {
    padding-left: 15px;
}

.zhenrong .player-row {
    min-height: 50px;
}

.zhenrong .lineup-content {
    min-height: 300px;
}

/* 底部信息区域（元数据+链接） */
.player-bottom {
    padding: 0 30px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 元数据项（职位、年龄等） */
.player-meta {
    display: flex;
}

.meta-item {
    background: var(--srsc-white-transparent-10);
    border: 1px solid var(--srsc-white-transparent-20);
    padding: 10px 18px;
    min-width: 90px;
    text-align: center;
}

.meta-item small {
    display: block;
    color: var(--srsc-text-gray);
    font-size: 12px;
    margin-bottom: 5px;
}

.meta-item .value {
    color: var(--srsc-text-white);
    font-size: 16px;
    font-weight: 500;
}

/* 右侧链接按钮 */
.links-container {
    display: flex;
    gap: 5px;
    padding: 10px 18px;
}

.link-btn {
    background: var(--srsc-white-transparent-10);
    border: 1px solid var(--srsc-white-transparent-20);
    padding: 10px;
    display: flex;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.link-btn:hover {
    background: var(--srsc-white-transparent-20);
}

.link-btn small {
    display: block;
    color: var(--srsc-text-gray);
    font-size: 12px;
    margin-top: 3px;
}

.link-btn img {
    width: 25px;
}

/* 按钮组 */
.player-card .btn-group {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.player-card .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
}

/* 分页 */
.pagination {
    margin-top: 20px;
}

.page-link {
    background-color: var(--srsc-bg-footer);
    border: 1px solid var(--srsc-border-dark);
    color: var(--srsc-text-white);
}

.page-link:hover {
    background-color: var(--srsc-border-dark);
    color: var(--srsc-text-white);
}

.page-item.active .page-link {
    background-color: var(--srsc-btn-link);
    border-color: var(--srsc-btn-link);
}

/* 徽章 */
.badge {
    font-size: 0.8rem;
    color: var(--srsc-bg-footer);
}

.badge .bg-warning {
    color: var(--srsc-bg-super-dark);
}

/* 表单控件 */
.form-control,
.form-select {
    color: var(--srsc-text-white);
    background-color: var(--srsc-bg-footer);
    border-radius: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--srsc-text-white);
}

.form-control:focus,
.form-select:focus {
    color: var(--srsc-text-white);
    background-color: var(--srsc-bg-footer);
    border-radius: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--srsc-text-white);
    box-shadow: none;
}

.form-label {
    color: var(--srsc-text-white);
    background-color: var(--srsc-bg-footer);
}

/* 按钮 */
.btn {
    margin-right: 5px;
}

.btn-primary,
.btn-secondary {
    background-color: var(--srsc-bg-super-dark);
    border-color: var(--srsc-spain);
    color: var(--srsc-text-white);
}

.btn-primary:hover,
.btn-secondary:hover {
    background-color: var(--srsc-bg-super-dark);
    border-color: var(--srsc-text-gray);
    color: var(--srsc-text-white);
}

/* 卡片 */
.card {
    background-color: var(--srsc-bg-footer) !important;
}

.card-title a {
    color: var(--srsc-text-white) !important;
}

.card-title a:hover {
    color: var(--srsc-text-white) !important;
    border-bottom: 1px solid var(--srsc-text-white);
}

.card-text {
    font-size: 0.8rem;
    color: var(--srsc-text-gray);
}

/* 警告框 */
.alert {
    background-color: var(--srsc-bg-super-dark);
    border: 1px solid var(--srsc-text-gray);
    color: var(--srsc-text-white);
}

.alert .btn-close {
    padding: 1.3rem !important;
}

/* 表格 */
.table a {
    color: var(--srsc-text-white);
}

.table a:hover {
    color: var(--srsc-btn-link);
    border: none;
}

.table th {
    width: 30%;
    color: var(--srsc-text-gray) !important;
    border-bottom: 1px solid var(--srsc-border-dark);
}

.table-hover tbody tr:hover {
    background-color: var(--srsc-thead);
}

tbody {
    border-bottom: 1px solid var(--srsc-bg-footer);
}

thead {
    background-color: var(--srsc-thead);
}

/* 筛选表单样式 */
.filter-form {
    background-color: var(--srsc-bg-footer);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--srsc-border-dark);
}

.filter-form .form-label {
    font-weight: bold;
}

/* 筛选结果信息 */
.filter-info {
    background-color: var(--srsc-bg-footer);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--srsc-border-dark);
}

/* 格子样式 */
.form-check {
    padding-left: 2.5rem !important;
}

/* 淘汰赛对阵图大小 */
.img-fluid {
    width: 50%;
    height: auto;
}

/* 图片暗化效果 */
.img-darken {
    filter: brightness(0.7);
}

.img-darken:hover {
    filter: brightness(1);
    transition: filter 0.3s ease;
}

/* Tab标签页样式 */
.custom-tabs {
    border-bottom: 1px solid var(--srsc-border-dark);
    margin-bottom: -1px;
}

.custom-tabs .nav-link {
    color: var(--srsc-text-white);
    border: none;
    padding: 12px 0;
    margin-right: 20px;
    position: relative;
    background-color: transparent;
    transition: color 0.2s;
}

.custom-tabs .nav-link:hover {
    color: var(--srsc-text-gray);
}

.custom-tabs .nav-link.active {
    color: var(--srsc-text-white);
    background-color: transparent;
    border: none;
}

.custom-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--srsc-btn-link);
}

/* venue_list样式 */
.venue-card {
    background-color: var(--srsc-bg-super-dark) !important;
}

.venue-card .venue-photo {
    width: 900px;
    height: 534px;
    object-fit: cover;
}

.venue-card .cards-left .venue-text {
    display: flex;
    justify-content: space-between;
}

.venue-card .cards-left .venue-text p strong {
    font-size: 11px;
    color: var(--srsc-text-gray);
}

.venue-card .cards-right {
    width: 100%;
}

/* 信息列表区域 */
.info-section {
    display: flex;
    flex-direction: column;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.info-item:nth-child(1),
.info-item:nth-child(3),
.info-item:nth-child(5),
.info-item:nth-child(7),
.info-item:nth-child(9) {
    background-color: var(--srsc-bg-footer);
    border: 2px solid var(--srsc-bg-border);
    border-bottom: none;
}

.info-item:nth-child(2),
.info-item:nth-child(4),
.info-item:nth-child(6),
.info-item:nth-child(8),
.info-item:nth-child(10) {
    background-color: var(--srsc-bg-super-dark);
    border: 2px solid var(--srsc-bg-border);
    border-bottom: none;
}

.info-item:nth-child(10) {
    border-bottom: 2px solid var(--srsc-bg-border);
}

.label {
    color: var(--srsc-text-white);
    font-size: 14px;
    font-weight: 500;
}

.value {
    font-size: 14px;
    font-weight: 600;
}

/* 链接样式 */
.link {
    color: var(--srsc-link-color);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.link::after {
    font-size: 12px;
}

.phone-container .player-bottom-phone{
    display: none;
}



/* 页脚整体样式 */
footer {
    background-color: var(--srsc-bg-footer);
    color: var(--srsc-text-white);
    padding: 40px 5% 20px;
    margin-top: 50px;
}

.footer-top {
    width: 100%;
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid var(--srsc-text-gray);
}

.footer-top-left {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    font-size: 24px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-top-left p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--srsc-text-gray);
    max-width: 500px;
}

.footer-top-right {
    display: flex;
    align-items: flex-end;
}

.footer-top-right a {
    width: 45px;
    height: 45px;
    padding: 2.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    border-radius: 10px;
    border: 1px solid var(--srsc-text-gray);
}

.footer-top-right a:hover {
    border: 1px solid var(--srsc-text-white);
}

.footer-main {
    display: flex;
    justify-content: space-between;
}

.footer-column {
    display: flex;
    padding: 15px 0;
}

.footer-column a {
    color: var(--srsc-text-white);
    transition: color 0.3s;
    text-align: center;
    margin: auto 0;
}

.footer-column a:hover {
    color: var(--srsc-btn-link);
    border: none;
}

.footer-contact {
    background-color: var(--srsc-spain);
    padding: 15px 1rem;
    display: flex;
    justify-content: flex-end;
}

.footer-contact a {
    color: var(--srsc-text-white);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--srsc-text-white);
    border-bottom: 1px solid var(--srsc-text-white);
}

.footer-copyright {
    font-size: 0.85rem;
    display: flex;
    padding: 15px 0;
    justify-content: space-between;
    border-top: 1px solid var(--srsc-text-gray);
}

.footer-copyright p {
    color: var(--srsc-text-gray);
}

.footer-copyright a {
    color: var(--srsc-text-gray);
    text-decoration: none;
    margin: 0 5px;
}