/**
 * 2026世界杯专题 - 公共样式
 * 首页和子页面共用的基础样式
 */
.top_nav .navbar .navbar-list {
    position: static;
}

/* 导航栏 */
.nav-bar {
    width: 100%;
    height: 50px;
    background: #2a3552;
    background-size: cover;
    border-radius: 0 74px 74px 24px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    position: relative;
    margin: 0 auto 20px;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 60px;
}

.nav-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    color: #B69F73;
}

/* 下拉菜单 */
.nav-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    padding: 10px 0;
}

/*.arrow-down {*/
    /*width: 0;*/
    /*height: 0;*/
    /*border-left: 5px solid transparent;*/
    /*border-right: 5px solid transparent;*/
    /*border-top: 5px solid #ffffff;*/
    /*transition: transform 0.3s;*/
/*}*/
.arrow-down {
    width: 6px;
    height: 6px;
    display: inline-block;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}

.nav-dropdown:hover .arrow-down {
    position: relative;
    transform: rotate(225deg);
    top: 4px;
    border-right: 2px solid #B69F73;
    border-bottom: 2px solid #B69F73;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #272727;
    border-radius: 8px;
    padding: 8px 0;
    min-width: 120px;
    display: none;
    z-index: 100;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    transition: color 0.3s;
}

.dropdown-menu a:hover {
    color: #B69F73;
}

/* APP下载按钮 */
.nav-download-btn {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 110px;
    height: 30px;
    background: #ffffff;
    color: #000000;
    border-radius: 0 15px 15px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
    position: relative;
}

.nav-download-btn:hover {
    background: #f0f0f0;
}

.download-icon {
    width: 20px;
    height: 20px;
}

/* APP下载弹窗 - 美化版本 */
.download-popup {
    position: absolute;
    top: 64%;
    right: 0;
    display: none;
    z-index: 97;
    padding-top: 10px;
}

.download-popup.show {
    display: block;
    animation: fadeInSlide 0.3s ease-in-out;
}

.nav-download-btn:hover .download-popup {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

.popup-content {
    background: url("../images/lobby/popup-app.png") 0 0 no-repeat;
    background-size: 100% 100%;
    padding: 32px 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px 0;
    width: 260px;
    /*box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),*/
        /*0 0 0 1px rgba(255, 255, 255, 0.1) inset;*/
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background:*/
        /*radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),*/
        /*radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);*/
    pointer-events: none;
}

.popup-content::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 70%);
    pointer-events: none;
}

.popup-content>div:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.popup-logo {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.popup-logo img {
    width: 100px;
    height: auto;
    /*filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));*/
}

.popup-qrcode {
    /*box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);*/
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 6px;
    border-radius: 8px;
    box-sizing: border-box;
}

.popup-qrcode .qrcodeDown {
    text-align: center;
}



.popup-text {
    font-size: 14px;
    color: #ffffff;
    font-weight: normal;
    text-align: center;
    line-height: 1.4;
    /*text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);*/
    position: relative;
    z-index: 1;
    margin: 0;
    letter-spacing: 0.5px;
}

/* 年份切换 */
.year-switch,
.year-tabs {
    display: flex;
    justify-content: center;
}

.year-btn,
.year-tab {
    width: 255px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.year-btn.active,
.year-tab.active {
    background: linear-gradient(90deg, #1153C5 0%, #14125B 100%);
    border-radius: 0 0 0 20px;
}

.year-btn:not(.active),
.year-tab:not(.active) {
    background: rgba(14, 14, 14, 0.40);
    border-radius: 0 20px 0 0;
}

/* 比赛列表 */
.match-list {
    display: flex;
    flex-direction: column;
    background: #1E2231;
    padding: 0 20px;
    border-radius: 10px;
    box-sizing: border-box;
}

.match-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    padding: 0 60px;
    border-top: 1px solid #39316F;
}

.match-item:first-child {
    border-top: none;
}

.match-time,
.match-round {
    font-size: 14px;
    color: #ffffff;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 360px;
}

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

.team-info.home {
    justify-content: flex-end;
}

.team-info.away {
    justify-content: flex-start;
}

.team-name {
    font-size: 14px;
    color: #ffffff;
}

.team-flag {
    width: 50px;
    height: 30px;
    object-fit: cover;
}

.match-vs {
    font-size: 14px;
    color: #ffffff;
}

.match-score {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    min-width: 60px;
    text-align: center;
}

.match-score.gold {
    color: #FFD700;
}

.match-status {
    width: 80px;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
}

.match-status.finished {
    color: #fff;
}
* {
    box-sizing: border-box;
}
/* 投注按钮 */
button.bet-btn {
    width: 100px;
    height: 30px;
    background: linear-gradient(180deg, #F4DE99 0%, #DDC478 100%);
    border: none;
    border-radius: 0 15px 15px 15px;
    color: #1C2232;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.bet-btn:hover {
    background: #e02a4d;
}

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

.replay-btn {
    background: #4a6aef;
}

.replay-btn:hover {
    background: #4a6aef;
}

/* 排名徽章 */
.rank-badge {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

.rank-badge.rank-1 {
    background: linear-gradient(180deg, #F92C53 0%, #D32243 100%);
}

.rank-badge.rank-2 {
    background: linear-gradient(180deg, #CFE95E 0%, #849C1D 100%);
}

.rank-badge.rank-3 {
    background: linear-gradient(135deg, #CD7F32 0%, #A0522D 100%);
}

.rank-badge.rank-other {
    background: #08162e;
}

/* 空状态 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: rgba(0, 0, 0, 0.30);
}

.empty-state img {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
}

.empty-state p {
    font-size: 18px;
    color: #999999;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.full {
    width: 100%;
}