:root {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --accent: #f97316;
    --dark-bg: #121826;
    --card-bg: #1e293b;
    --card-hover: #273449;
    --text-light: #f8fafc;
    --text-gray: #94a3b8;
    --border-color: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.05) 0%, transparent 25%);
}

/* 导航栏 */
.navbar {
    background-color: var(--card-bg);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.team-tag {
    background-color: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-item:hover {
    color: var(--primary);
}

.nav-item.active {
    color: var(--primary);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.live-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #00fff298;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.live-button:hover {
    background-color: #00fff2c5;
    transform: translateY(-2px);
}

.live-indicator {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}



.team-logo {
    /* width: 480px; */
    height: 400px;
    margin: -80px auto 1rem;
    display: block;
    /* border-radius: 50%; */
    /* box-shadow: 0 0 30px rgba(59, 130, 246, 0.3); */
    transition: all 0.5s ease;
    transform: scale(0.9);
    /* animation: logoPulse 3s infinite alternate, logoGrow 1s forwards 0.5s; */
}

@keyframes logoGrow {
    to {
        transform: scale(1);
    }
}

@keyframes logoPulse {
    from {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    }
    to {
        box-shadow: 0 0 50px rgba(59, 130, 246, 0.6);
    }
}



.team-motto {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin: 1.5rem 0 2rem;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeIn 1s forwards 0.8s;
}

.team-description {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    opacity: 0;
    animation: fadeIn 1s forwards 1s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.team-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    /* margin: 0rem 0 1rem; */
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    animation: statFadeIn 0.5s forwards;
    min-width: 120px;
}

.stat-item:nth-child(1) {
    animation-delay: 1s;
}

.stat-item:nth-child(2) {
    animation-delay: 1.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 1.4s;
}

.stat-item:nth-child(4) {
    animation-delay: 1.6s;
}

@keyframes statFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #66ccff;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.stat-value::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.stat-item:hover .stat-value::after {
    width: 100%;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.recent-match {
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.9rem;
    margin: 1.2rem auto;
    max-width: 700px;
    box-shadow: var(--shadow);
    opacity: 0;
    animation: fadeIn 0.5s forwards 0.8s;
}

.recent-match h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #77d8ac;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.match-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.team-info-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid var(--primary);
}

.team-info-name {
    font-weight: 600;
}

.match-result {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    padding: 0 1rem;
}

.match-date {
    margin-top: 1rem;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.championships {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeIn 1s forwards 1.4s;
}

.championship-badge {
    background-color: #83e4b73b;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 20px;
    color: var(--text-gray);
    transition: var(--transition);
    transform: translateY(10px);
    animation: badgeRise 1s forwards;
    animation-delay: calc(1.5s + (var(--index) * 0.2s));
}

@keyframes badgeRise {
    to {
        transform: translateY(0);
    }
}

.championship-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.badge-adventure {
    border-color: #a65925;
    color: #fbbf24;
}

.badge-dominance {
    border-color: #9ca3af;
    color: #e5e7eb;
}

.card {
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.3);
}

.card-header {
    padding: 1rem 1.25rem;
    background-color: rgba(59, 130, 246, 0.05);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-header i {
    color: var(--primary);
    font-size: 1.25rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.card-body {
    padding: 1rem;
}

/* 队员列表 */
.member-list {
    list-style: none;
}

.member-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.70rem 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    transition: var(--transition);
}

.member-item:last-child {
    border-bottom: none;
}

.member-item:hover {
    background-color: rgba(59, 130, 246, 0.05);
}

.member-rank {
    width: 30px;
    /* padding-left: 2px; */
}

.member-name {
    flex: 1;
    margin: 0 1rem;
}

.member-role {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item {
    border-radius: 8px;
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.news-item.golden {
    border-radius: 8px;
    background-color: rgba(0, 255, 213, 0.075);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}
.news-item.golden:hover {
    transform: translateY(-5px);
    background-color: rgba(0, 255, 85, 0.274);
    border-color: rgba(59, 130, 246, 0.3);
}

.news-item.golden:hover .news-title {
    color: limegreen;
}
.news-item:hover {
    transform: translateY(-5px);
    background-color: var(--card-hover);
    border-color: rgba(59, 130, 246, 0.3);
}

.news-content {
    padding: 1.25rem;
}

.news-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.news-item:hover .news-title {
    color: var(--primary);
}

.news-desc {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.news-author {
    color: var(--primary);
    font-weight: 500;
}

.news-right-text {
    color: #66ccff;
    font-size: 0.8125rem;
}

/* 赛程和活动 */
.upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.upcoming-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 6px;
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.upcoming-item:hover {
    background-color: var(--card-hover);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(5px);
}

.event-time {
    min-width: 60px;
    font-weight: 600;
    color: var(--primary);
    margin-right: 1rem;
    text-align: center;
}

.event-details {
    flex: 1;
}

.event-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.event-tournament {
    font-size: 0.8125rem;
    color: var(--text-gray);
}

.event-countdown {
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.pagination-btn {
    background-color: var(--card-bg);
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--card-hover);
    color: var(--primary);
    border-color: rgba(59, 130, 246, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}
.page-number:hover:not(.active) {
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--primary);
}

.page-number.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* 页脚 */
footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 5% 2rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0.6rem 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0 2rem;
}

.social-icon {
    color: var(--text-gray);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.sidebar-left .card:nth-child(1) {
    animation-delay: 0.1s;
}

.sidebar-left .card:nth-child(2) {
    animation-delay: 0.2s;
}

.main-content .card:nth-child(1) {
    animation-delay: 0.3s;
}

.sidebar-right .card:nth-child(1) {
    animation-delay: 0.4s;
}

.sidebar-right .card:nth-child(2) {
    animation-delay: 0.5s;
}

.rank-s {
    /* color: #ac6c0d; */
    /*https://static.pwesports.cn/esportsadmin/esports/pwa/../rank/svg/A11.svg*/
    background-image: url("../rank/S.png"); 
    background-repeat: no-repeat; 
    background-position: center; 
    color:rgba(0,0,0,0);
    margin-left: -7.5px;
}

.rank-a {
    /* color: #6CD094; */
    background-image: url("../rank/A.png"); 
    background-repeat: no-repeat; 
    background-position: center; 
    color:rgba(0,0,0,0);
    margin-left: -9px;
}
.rank-a1 {
    /* color: #6CD094; */
    background-image: url("../rank/A1.png"); 
    background-repeat: no-repeat; 
    background-position: center; 
    color:rgba(0,0,0,0);
    margin-left: -6px;
}

.rank-a11 {
    background-image: url("../rank/A11.png"); 
    background-repeat: no-repeat; 
    background-position: center; 
    background-size: 95%;
    color:rgba(0,0,0,0);
    margin-left: -6px;
}

.rank-b {
    background-image: url("../rank/B.png"); 
    background-repeat: no-repeat; 
    background-position: center; 
    color:rgba(0,0,0,0);
    margin-left: -9px;
}
.rank-b1 {
    background-image: url("../rank/B1.png"); 
    background-repeat: no-repeat; 
    background-position: center; 
    color:rgba(0,0,0,0);
    margin-left: -6px;
}
.rank-b11 {
    background-image: url("../rank/B11.png"); 
    background-repeat: no-repeat; 
    background-position: center; 
    background-size: 95%;
    color:rgba(0,0,0,0);
    margin-left: -6px;
}

.rank-c1 {
    background-image: url("../rank/C1.png"); 
    background-repeat: no-repeat; 
    background-position: center; 
    color:rgba(0,0,0,0);
    margin-left: -6px;
}
.rank-c11 {
    background-image: url("../rank/C11.png"); 
    background-repeat: no-repeat; 
    background-position: center; 
    background-size: 95%;
    color:rgba(0,0,0,0);
    margin-left: -6px;
}
.rank-jz {
    background-image: url("../rank/JZ.png"); 
    background-repeat: no-repeat; 
    background-position: center; 
    background-size: 80%;
    color:rgba(0,0,0,0);
    margin-left: -6px;
}
.rank-tz {
    background-image: url("../rank/TZ.png"); 
    background-repeat: no-repeat; 
    background-position: center; 
    background-size: 80%;
    color:rgba(0,0,0,0);
    margin-left: -6px;
}
.rank-mx {
    background-image: url("../rank/MX.png"); 
    background-repeat: no-repeat; 
    background-position: center; 
    background-size: 80%;
    color:rgba(0,0,0,0);
    margin-left: -6px;
}
red{
    color:rgb(255, 145, 0)
}

/* 主要内容区 */
.container {
    display: grid;
    grid-template-columns: 1.2fr 3fr 1.2fr;
    gap: 2rem;
    padding: 2rem;
    max-width: 2100px;
    margin: 0 auto;
}

@media (max-width: 1535px) {
    .container {
        grid-template-columns: 1fr 3fr 0fr; 
    }

    .sidebar-right {
        display: none
    }
    
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .sidebar-right {
        display: none;
    }

    .sidebar-left {
        display: none;
    }


    .accessibility-control-panel {
        display: none;
    }
    
    
    .match-details {
        flex-direction: column;
    }
}