/* ===== 赛季通行证样式 ===== */

/* 赛季头部信息 */
.season-hero {
    background: linear-gradient(135deg, #2c1810 0%, #4a2c17 50%, #2c1810 100%);
    padding: 40px 30px;
    text-align: center;
    border-bottom: 4px solid #8b5a2b;
    position: relative; overflow: hidden;
}
.season-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255,215,0,0.08) 0%, transparent 70%);
}
.season-hero h1 {
    font-size: 32px; font-weight: 900; color: #ffd700;
    text-shadow: 0 0 30px rgba(255,215,0,0.4), 2px 2px 0 rgba(0,0,0,0.5);
    margin-bottom: 8px; position: relative;
}
.season-hero p {
    color: #f5e6d3; opacity: 0.8;
    font-size: 14px; position: relative;
}
.season-timer {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(139,90,43,0.3);
    border: 2px solid rgba(139,90,43,0.6);
    padding: 8px 18px; margin-top: 14px;
    font-size: 14px; font-weight: 800;
    color: #ffd700; font-family: 'Courier New', monospace;
    position: relative;
}
.season-timer i { font-size: 16px; }

/* 经验进度条 */
.season-exp-bar {
    max-width: 500px; margin: 20px auto 0;
    position: relative;
}
.season-exp-track {
    width: 100%; height: 24px;
    background: rgba(0,0,0,0.3);
    border: 2px solid #8b5a2b;
    overflow: hidden;
}
.season-exp-fill {
    height: 100%;
    background: linear-gradient(90deg, #b8860b, #ffd700);
    transition: width 0.5s ease;
}
.season-exp-text {
    position: absolute; top: 0; left: 0; right: 0;
    height: 24px; display: flex;
    align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.season-level-badge {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 10px; font-size: 15px; font-weight: 900;
    color: #f5e6d3; position: relative;
}
.season-level-badge .lv-num { color: #ffd700; font-size: 22px; }

/* 购买高级通行证按钮 */
.btn-buy-premium {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 30px; margin-top: 16px;
    font-size: 16px; font-weight: 900;
    font-family: inherit;
    background: linear-gradient(135deg, #b8860b, #daa520, #ffd700);
    background-size: 200% 200%;
    animation: premiumGlow 3s ease-in-out infinite;
    color: #2c1810; border: 3px solid #ffd700;
    cursor: pointer; transition: all 0.2s;
    box-shadow: 0 0 20px rgba(255,215,0,0.3), 4px 4px 0 rgba(0,0,0,0.3);
    position: relative; text-decoration: none;
}
.btn-buy-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255,215,0,0.5), 6px 6px 0 rgba(0,0,0,0.35);
}
.btn-buy-premium.owned {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    border-color: #388e3c; cursor: default;
    animation: none; color: white;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}
@keyframes premiumGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 通行证轨道 */
.season-track-wrap {
    overflow-x: auto; padding: 30px 0 20px;
    scrollbar-width: thin;
    scrollbar-color: #8b5a2b #e8d4b8;
}
.season-track-wrap::-webkit-scrollbar { height: 8px; }
.season-track-wrap::-webkit-scrollbar-track { background: #e8d4b8; }
.season-track-wrap::-webkit-scrollbar-thumb { background: #8b5a2b; }

.season-track {
    display: flex; gap: 0;
    min-width: max-content;
    padding: 0 20px;
    position: relative;
}

/* 等级节点 */
.season-node {
    display: flex; flex-direction: column;
    align-items: center; width: 100px;
    position: relative; flex-shrink: 0;
}

/* 连接线 */
.season-node::after {
    content: '';
    position: absolute; top: 50%; left: 100%;
    width: 0; height: 3px;
    background: #8b5a2b;
    transform: translateY(25px);
}
.season-node:not(:last-child)::after { width: 100%; }
.season-node.passed::after { background: #4caf50; }

/* 免费奖励（上方） */
.season-reward-free {
    width: 72px; height: 72px;
    background: #faf6f0; border: 3px solid #8b5a2b;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    margin-bottom: 8px; position: relative;
    transition: all 0.2s; cursor: pointer;
    overflow: hidden;
}
.season-reward-free:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}
.season-reward-free img {
    width: 36px; height: 36px;
    object-fit: contain; image-rendering: pixelated;
}
.season-reward-free .reward-label {
    font-size: 9px; font-weight: 700;
    color: #8b5a2b; text-align: center;
    line-height: 1.1; margin-top: 2px;
    max-width: 66px; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap;
}
.season-reward-free.claimed-reward {
    opacity: 0.5; border-color: #4caf50;
}
.season-reward-free.claimed-reward::after {
    content: '\eb81';
    font-family: 'remixicon'; position: absolute;
    top: 2px; right: 2px; font-size: 14px;
    color: #4caf50;
}
.season-reward-free.claimable {
    border-color: #ffd700;
    box-shadow: 0 0 12px rgba(255,215,0,0.4), 2px 2px 0 rgba(0,0,0,0.15);
    animation: claimableGlow 2s ease-in-out infinite;
}
@keyframes claimableGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(255,215,0,0.3), 2px 2px 0 rgba(0,0,0,0.15); }
    50% { box-shadow: 0 0 20px rgba(255,215,0,0.6), 2px 2px 0 rgba(0,0,0,0.15); }
}
.free-tag {
    position: absolute; top: -1px; left: -1px;
    background: #4caf50; color: white;
    font-size: 8px; font-weight: 800;
    padding: 1px 5px; line-height: 1.4;
}

/* 等级圆圈（中间） */
.season-level-circle {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #e8d4b8;
    border: 3px solid #8b5a2b;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 900;
    color: #8b5a2b; margin: 6px 0;
    position: relative; z-index: 2;
    transition: all 0.2s;
}
.season-node.current .season-level-circle {
    background: linear-gradient(135deg, #b8860b, #ffd700);
    border-color: #ffd700; color: #2c1810;
    box-shadow: 0 0 16px rgba(255,215,0,0.5);
    transform: scale(1.15);
}
.season-node.passed .season-level-circle {
    background: #4caf50; border-color: #388e3c;
    color: white;
}
.season-node.locked .season-level-circle {
    background: #ddd; border-color: #bbb;
    color: #999;
}

/* 高级奖励（下方） */
.season-reward-premium {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, #3d2415, #2c1810);
    border: 3px solid #8b5a2b;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    margin-top: 8px; position: relative;
    transition: all 0.2s; cursor: pointer;
    overflow: hidden;
}
.season-reward-premium:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}
.season-reward-premium img {
    width: 36px; height: 36px;
    object-fit: contain; image-rendering: pixelated;
}
.season-reward-premium .reward-label {
    font-size: 9px; font-weight: 700;
    color: #b8860b; text-align: center;
    line-height: 1.1; margin-top: 2px;
    max-width: 66px; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap;
}
.season-reward-premium.locked-premium {
    filter: blur(2px) brightness(0.5);
    cursor: not-allowed;
}
.season-reward-premium.locked-premium:hover {
    transform: none;
}
.season-reward-premium.claimed-reward {
    opacity: 0.5; border-color: #4caf50;
}
.season-reward-premium.claimed-reward::after {
    content: '\eb81';
    font-family: 'remixicon'; position: absolute;
    top: 2px; right: 2px; font-size: 14px;
    color: #4caf50;
}
.season-reward-premium.claimable {
    border-color: #ffd700;
    box-shadow: 0 0 12px rgba(255,215,0,0.4), 2px 2px 0 rgba(0,0,0,0.15);
    animation: claimableGlow 2s ease-in-out infinite;
}
.premium-tag {
    position: absolute; top: -1px; left: -1px;
    background: linear-gradient(135deg, #b8860b, #ffd700);
    color: #2c1810; font-size: 8px;
    font-weight: 800; padding: 1px 5px;
    line-height: 1.4;
}

/* 行标签 */
.season-row-labels {
    display: flex; flex-direction: column;
    align-items: center; justify-content: space-between;
    width: 70px; flex-shrink: 0;
    padding: 0 0 0 0;
}
.row-label {
    font-size: 11px; font-weight: 800;
    color: #8b5a2b; writing-mode: vertical-lr;
    text-orientation: mixed; letter-spacing: 2px;
}

/* 确认弹窗 */
.season-modal-overlay {
    display: none; position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000; justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}
.season-modal-overlay.show { display: flex; }
.season-modal {
    background: #faf6f0; border: 4px solid #8b5a2b;
    box-shadow: 8px 8px 0 rgba(0,0,0,0.3);
    padding: 30px; max-width: 400px; width: 90%;
    text-align: center;
}
.season-modal h3 {
    font-size: 20px; font-weight: 900;
    color: #3a2a1a; margin-bottom: 12px;
}
.season-modal p {
    font-size: 14px; color: #8b5a2b;
    margin-bottom: 20px; line-height: 1.6;
}
.season-modal-actions {
    display: flex; gap: 10px; justify-content: center;
}

/* 无赛季状态 */
.season-empty {
    text-align: center; padding: 80px 20px;
    color: #8b5a2b;
}
.season-empty i {
    font-size: 56px; opacity: 0.3;
    display: block; margin-bottom: 16px;
}
.season-empty h3 { font-size: 20px; margin-bottom: 8px; }

/* 响应式 */
@media (max-width: 768px) {
    .season-hero { padding: 25px 15px; }
    .season-hero h1 { font-size: 22px; }
    .season-node { width: 80px; }
    .season-reward-free, .season-reward-premium {
        width: 58px; height: 58px;
    }
    .season-reward-free img, .season-reward-premium img {
        width: 28px; height: 28px;
    }
    .season-level-circle { width: 36px; height: 36px; font-size: 12px; }
    .btn-buy-premium { padding: 10px 20px; font-size: 14px; }
}
