:root {
    --primary-bg: #e6e9f5;
    --secondary-bg: rgba(255, 255, 255, 0.88);
    --accent-color: #304ffe;
    --accent-dark: #1e2c8a;
    --text-main: #222222;
    --text-muted: #555555;
    --border-color: rgba(220, 224, 237, 0.6);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* 背景保持动感 */
body {
    padding-bottom:100px;
    background-color: var(--primary-bg);
    background-image:
            linear-gradient(to bottom, rgba(247, 249, 255, 0.95) 0%, rgba(160, 179, 255, 0.75) 100%),
            url('../img/background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

/* 顶部品牌栏 */
.top-brand-bar {
    background: linear-gradient(90deg, #304ffe 0%, var(--accent-color) 50%, #304ffe 100%);
    color: #fff;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    box-shadow: 0 4px 12px rgba(22,44,125,0.2);
}

.top-brand-bar i {
    font-size: 28px;
    color: #4df0ff;
}

.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
}

/* 顶部导航区 */
.site-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 16px rgba(21, 40, 110, 0.08);
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    min-height: 72px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-title {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.site-title:hover {
    color: var(--accent-dark);
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    gap: 42px;
}

.header-nav a {
    position: relative;
    color: var(--accent-dark);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 0;
    white-space: nowrap;
}

.header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.header-nav a:hover {
    color: var(--accent-color);
}

.header-nav a:hover::after {
    transform: scaleX(1);
}

@media (max-width: 1024px) {
    .header-nav {
        display: none;
    }
}

/* Language 切换按钮微调 */
.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.lang-switch button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 18px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.lang-switch button.active {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 10px rgba(42, 65, 214, 0.3);
}

/* 标题样式 */
.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-dark);
}

.section-title::before {
    content: '';
    display: block;
    width: 5px;
    height: 20px;
    background: linear-gradient(to bottom, #4df0ff, var(--accent-color));
    border-radius: 3px;
}

/* 视频播放区域 */
.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.video-wrapper img.thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: transform 0.6s ease, opacity 0.6s ease;
    z-index: 1;
}

.video-wrapper:hover img.thumbnail {
    transform: scale(1.05);
    opacity: 0.6;
}

.live-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.video-wrapper.has-video .live-video {
    opacity: 1;
    pointer-events: auto;
}

.video-wrapper.has-video img.thumbnail {
    opacity: 0;
    pointer-events: none;
}

.video-wrapper.video-unavailable img.thumbnail {
    opacity: 0.78;
}

.video-fallback-message {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 3;
    width: min(88%, 430px);
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(8, 18, 52, 0.74);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.trial-countdown {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(3, 16, 56, 0.78);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    font-size: 12px;
    font-weight: 800;
}

.trial-countdown[hidden] {
    display: none;
}

.trial-countdown strong {
    color: #ffda62;
    font-size: 18px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.video-wrapper.trial-ended .trial-countdown {
    background: rgba(220, 53, 69, 0.9);
}

@keyframes pulse-play {
    0% { transform: scale(1); text-shadow: 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.15); text-shadow: 0 0 25px rgba(255, 255, 255, 1); color: #fff; }
    100% { transform: scale(1); text-shadow: 0 0 0 rgba(255, 255, 255, 0.4); }
}

.play-btn-large {
    appearance: none;
    border: 0;
    background: transparent;
    position: absolute;
    font-size: 70px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: all 0.3s ease;
    z-index: 5;
    animation: pulse-play 2s infinite;
}

.play-btn-large:hover {
    color: #4df0ff;
    animation-play-state: paused;
    transform: scale(1.2);
}

.video-wrapper.is-playing .play-btn-large,
.video-wrapper.video-unavailable .play-btn-large {
    opacity: 0;
    pointer-events: none;
}

.video-status {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(220, 53, 69, 0.95);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 4;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.4);
    letter-spacing: 1px;
}

.video-status i {
    animation: blink 1.2s infinite ease-in-out;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* 注册/登录大按钮 */
.action-btn-container {
    text-align: center;
    margin-bottom: 40px;
}

.register-btn {
    background: linear-gradient(45deg, var(--accent-color), #3f83ff, var(--accent-color));
    background-size: 200% auto;
    color: #ffffff;
    border: none;
    padding: 14px 35px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    max-width: 600px;
    transition: 0.5s;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(42, 65, 214, 0.4);
    letter-spacing: 0.5px;
    line-height: normal;
}

.register-btn:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 65, 214, 0.6);
}

/* 底部列表卡片 */
.list-card {
    background-color: var(--secondary-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 25px 25px 0 25px;
    min-height:350px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.list-card.expanded {
    padding-bottom:25px!important;
}

.row:has(.list-card) {
    align-items: flex-start;
}

.list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.list-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 2px solid rgba(42, 65, 214, 0.1);
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.list-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-dark);
    margin-top: 0;
    margin-bottom: 0;
}

.expand-list-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--accent-color);
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 0;
}

.expand-list-btn:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.expand-list-btn[hidden] {
    display: none;
}

.match-list-expand-cue {
    position:relative;
    z-index:1;
    appearance: none;

    border: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(48,79,254,0.08));
    color: rgba(42, 65, 214, 0.58);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    margin-top: -60px;
    padding: 14px 10px 16px;
    transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
    margin-left: -25px;
    margin-right: -25px;
    width: calc(100% + 50px);
}

.match-list-expand-cue::before,
.match-list-expand-cue::after {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: 0.38;
}

.match-list-expand-cue:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

.list-card.expanded .match-list-expand-cue,
.match-list-expand-cue[hidden] {
    display: none;
}

.match-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 10px;
    border-bottom: 1px dashed var(--border-color);
    opacity: 1;
    transform: translateY(0);
    transition: background 0.3s ease, border-radius 0.3s, opacity 0.28s ease, transform 0.28s ease;
}

.match-item:hover {
    background: rgba(42, 65, 214, 0.04);
    border-radius: 8px;
}

.match-item:last-child {
    border-bottom: none;
}

.match-list {
    overflow: hidden;
    transition: max-height 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: max-height;
}

.match-item.is-hidden {
    display: none;
}

.list-card.expanded .match-item.is-hidden {
    display: flex;
}

.list-card.is-collapsing .match-list .match-item:nth-child(n+4),
.list-card:not(.expanded) .match-list .match-item:nth-child(n+4) {
    opacity: 0;
    transform: translateY(-8px);
}

.match-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.match-status {
    font-size: 11px;
    color: #fff;
    background: #304ffe;
    padding: 4px 8px;
    border-radius: 4px;
    width: 50px;
    text-align: center;
}

.team-names {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.score-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 800;
    font-size: 16px;
    text-align: right;
    margin-right: 15px;
    color: var(--accent-color);
}

.action-icon {
    display:flex;
    justify-content: center;
    width:36px;
    height:36px;
    color: #a0a8d6;
    cursor: pointer;
    font-size: 20px;
    padding: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
}
.fa-play.action-icon {
    padding: 9px 8px 8px 10px;
}

.action-icon:hover {
    transform: scale(1.15) rotate(0deg);
    color: #dc3545;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.action-icon.star {
    color: #cbd0e8;
}

.action-icon.star:hover {
    color: #f1c40f;
    transform: scale(1.2);
}

/* =========================================
    新增：弹窗 (Popup Modal) 样式
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: rgba(255, 255, 255, 0.95);
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

/* 弹窗头部 */
.modal-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: rgba(255,255,255,0.5);
}

.modal-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close {
    cursor: pointer;
    font-size: 20px;
    color: #999;
    transition: 0.3s;
}

.modal-close:hover {
    color: #e74c3c;
    transform: rotate(90deg);
}

/* 弹窗主体表单 */
.modal-body {
    padding: 25px;
}

.input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 0 15px;
    border: 1px solid transparent;
    transition: 0.3s;
    flex-wrap: nowrap;
}

.input-group:focus-within {
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(42, 65, 214, 0.1);
}

.input-group i {
    color: #8893c4;
    font-size: 16px;
    width: 20px;
}

.input-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 10px;
    outline: none;
    font-size: 14px;
    color: #333;
}

/* 验证码特殊布局 */
.captcha-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.captcha-img {
    background: linear-gradient(135deg, #e0e4f5, #c1c8e8);
    border-radius: 8px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 20px;
    color: var(--accent-dark);
    letter-spacing: 2px;
    cursor: pointer;
    user-select: none;
}

/* 忘记密码 */
.modal-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.modal-actions a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.modal-actions a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* 弹窗提交按钮 */
.submit-btn {
    background: var(--accent-color);
    color: #fff;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(42, 65, 214, 0.3);
}

.submit-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(42, 65, 214, 0.4);
}

/* 弹窗底部版权 */
.modal-footer {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 15px;
    background: #f8f9fc;
    border-top: 1px solid rgba(0,0,0,0.03);
    font-size: 12px;
    color: #a0a8d6;
}

body.modal-open {
    overflow: hidden;
}

.modal-overlay {
    padding: 20px;
    background:
            radial-gradient(circle at 25% 20%, rgba(52, 130, 255, 0.35), transparent 32%),
            radial-gradient(circle at 80% 75%, rgba(255, 192, 66, 0.2), transparent 30%),
            rgba(3, 12, 44, 0.72);
}

.modal-box.login-gate-modal {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    width: min(92vw, 760px);
    max-width: 760px;
    background: #06184a;
    color: #fff;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 28px 90px rgba(0, 18, 84, 0.48);
    overflow: hidden;
    transform: translateY(18px) scale(0.96);
}

.modal-box.login-gate-modal::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 217, 92, 0.28), transparent 66%);
    pointer-events: none;
    z-index: 1;
}

.modal-overlay.active .modal-box.login-gate-modal {
    transform: translateY(0) scale(1);
}

.login-gate-modal .modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(5, 18, 55, 0.58);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.login-gate-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.96);
    color: #dc3545;
    transform: rotate(90deg);
}

.modal-visual {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    background:
            linear-gradient(135deg, rgba(10, 40, 132, 0.94), rgba(7, 17, 54, 0.95)),
            url('../img/livedemo.jpg') center/cover;
}

.modal-preview-video {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    opacity: 0.82;
    transform: scale(1.03);
}

.modal-visual-overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(180deg, rgba(0, 15, 58, 0.08), rgba(3, 13, 45, 0.58)),
            linear-gradient(90deg, rgba(0, 0, 0, 0.04), rgba(6, 24, 74, 0.68));
}

.modal-live-pill {
    position: absolute;
    top: 22px;
    left: 22px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(235, 45, 82, 0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(235, 45, 82, 0.35);
}

.modal-live-pill i {
    font-size: 9px;
    animation: livePulse 1.15s ease-in-out infinite;
}

.modal-visual-copy {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.login-gate-modal .modal-body {
    position: relative;
    z-index: 2;
    padding: 40px 34px 30px;
    background:
            linear-gradient(150deg, rgba(18, 57, 174, 0.98), rgba(8, 22, 66, 0.98)),
            radial-gradient(circle at 90% 10%, rgba(255, 219, 92, 0.2), transparent 38%);
}

.modal-kicker {
    color: #ffd766;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 12px;
}

.login-gate-modal .modal-body h4 {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.16;
    margin: 0 0 14px;
}

.modal-copy {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 20px;
}

.modal-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.modal-benefits > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 800;
}

.modal-benefits i {
    color: #ffd766;
}

.modal-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-cta-row .submit-btn {
    width: auto;
    margin: 0;
    border-radius: 12px;
    padding: 14px 12px;
    font-size: 15px;
    font-weight: 900;
}

.submit-btn-primary {
    background: linear-gradient(135deg, #ffdc65, #ff982f);
    color: #06184a;
    box-shadow: 0 14px 28px rgba(255, 174, 49, 0.32);
}

.submit-btn-primary:hover {
    background: linear-gradient(135deg, #ffe27b, #ff8b1f);
    color: #06184a;
    box-shadow: 0 18px 36px rgba(255, 174, 49, 0.42);
}

.submit-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: none;
}

.submit-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.modal-note {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    line-height: 1.5;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.55;
        transform: scale(1.28);
    }
}
.fa-solid.fa-trophy {
    color: #f1c40f;
    margin-right: 8px;
    font-size: 20px;
}

.match-status span {
    line-height:normal;
}

.hero-banner-full {
    --hero-scroll-shift: 0px;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 16px 20px;
    background-image:
            linear-gradient(180deg, rgba(3, 37, 161, 0.88), rgba(80, 118, 255, 0.74)),
            url('../img/header-bg.jpg');
    background-size: 100% 100%, cover;
    background-position: center, center calc(38% + var(--hero-scroll-shift));
    border-top: 1px solid rgba(48, 79, 254, 0.5);
    border-bottom: 2px solid rgba(52, 121, 255, 0.65);
    isolation: isolate;
    animation: heroStadiumDrift 18s ease-in-out infinite alternate;
}

.hero-banner-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
            linear-gradient(90deg, rgba(5, 26, 102, 0.85) 0%, rgba(5, 26, 102, 0.08) 28%, rgba(5, 26, 102, 0.08) 72%, rgba(5, 26, 102, 0.85) 100%);
    pointer-events: none;
    z-index: 0;
    animation: heroCrowdPulse 4.5s ease-in-out infinite;
}

.hero-banner-full::after {
    content: '';
    position: absolute;
    inset: -20% -45%;
    background:
            linear-gradient(102deg, transparent 24%, rgba(255, 255, 255, 0.26) 30%, rgba(110, 196, 255, 0.16) 34%, transparent 42%),
            linear-gradient(78deg, transparent 58%, rgba(255, 230, 139, 0.18) 64%, transparent 72%);
    mix-blend-mode: screen;
    opacity: 0.72;
    transform: translateX(-28%) skewX(-10deg);
    pointer-events: none;
    z-index: 0;
    animation: heroLightSweep 5.8s cubic-bezier(.45, 0, .25, 1) infinite;
}

.hero-banner-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    align-items: center;
    gap: 22px;
}

.hero-brand-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.hero-title-art {
    display: block;
    width: min(100%, 700px);
    max-height: 210px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 10, 46, 0.45));
    transform-origin: center bottom;
    animation: heroTitleFloat 4.8s ease-in-out infinite;
}

.hero-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 170px;
    margin-top: 0;
    padding: 18px 20px;
    color: #ffffff;
    background:
            linear-gradient(180deg, rgba(32, 86, 255, 0.92) 0%, rgba(5, 39, 168, 0.94) 100%),
            radial-gradient(circle at 50% 0%, rgba(255, 222, 104, 0.18), transparent 42%);
    border: 1px solid rgba(76, 157, 255, 0.9);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(4, 21, 91, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    position: relative;
    overflow: hidden;
    animation: countdownGlow 3s ease-in-out infinite;
}

.hero-countdown::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 34%;
    left: -42%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
    transform: skewX(-18deg);
    animation: countdownShine 3.6s ease-in-out infinite;
}

.hero-countdown-text {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.2px;
    white-space: nowrap;
    opacity: 0.92;
}

.countdown-clock_countdownContainer {
    display: grid!important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
    justify-content: center;
}

.countdown-clock_countdownValueContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 10px;
    border-left: 0;
    border-radius: 12px;
    background: rgba(3, 18, 94, 0.22);

}

.countdown-clock_countdownValueContainer:first-child {
    border-left: none;
}

.countdown-clock_countdownValue {
    display: flex;
    justify-content: center;
    min-width: 2ch;
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 14px rgba(117, 199, 255, 0.5);
    animation: countdownNumberPulse 1.8s ease-in-out infinite;
}

.countdown-clock_countdownLabel {
    font-size: 12px;
    line-height: 1;
    text-align:center;
    opacity: 0.9;
}

.countdown-section_logo {
    width:auto!important;
    height: 50px;
    margin-right: 7px;
}

@keyframes heroStadiumDrift {
    0% { background-position: center, center calc(36% + var(--hero-scroll-shift)); }
    100% { background-position: center, center calc(48% + var(--hero-scroll-shift)); }
}

@keyframes heroCrowdPulse {
    0%, 100% { opacity: 0.84; }
    50% { opacity: 1; }
}

@keyframes heroLightSweep {
    0% { transform: translateX(-34%) skewX(-10deg); opacity: 0; }
    16% { opacity: 0.78; }
    54% { opacity: 0.42; }
    100% { transform: translateX(34%) skewX(-10deg); opacity: 0; }
}

@keyframes heroTitleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 12px 24px rgba(0, 10, 46, 0.45));
    }
    50% {
        transform: translateY(-6px) scale(1.012);
        filter: drop-shadow(0 18px 34px rgba(38, 148, 255, 0.45));
    }
}

@keyframes countdownGlow {
    0%, 100% { box-shadow: 0 12px 28px rgba(4, 21, 91, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
    50% { box-shadow: 0 14px 34px rgba(32, 119, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
}

@keyframes countdownShine {
    0%, 38% { left: -42%; opacity: 0; }
    52% { opacity: 1; }
    78%, 100% { left: 112%; opacity: 0; }
}

@keyframes countdownNumberPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-banner-full,
    .hero-banner-full::before,
    .hero-banner-full::after,
    .hero-title-art,
    .hero-countdown,
    .hero-countdown::after,
    .countdown-clock_countdownValue {
        animation: none;
    }
}

@media (max-height: 950px) and (min-width: 769px) {
    .hero-banner-full {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .hero-banner-inner {
        max-width: 1080px;
        gap: 18px;
    }
    .hero-title-art {
        width: min(100%, 600px);
        max-height: 170px;
    }
    .hero-countdown {
        min-height: 138px;
        padding: 14px 16px;
        gap: 10px;
    }
    .hero-countdown-text {
        font-size: 12px;
    }
    .countdown-clock_countdownContainer {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }
    .countdown-clock_countdownValueContainer {
        min-height: 40px;
        padding: 5px 6px;
        gap: 4px;
    }
    .countdown-clock_countdownValue {
        font-size: 22px;
    }
    .countdown-clock_countdownLabel {
        font-size: 10px;
    }
}

.page-footer {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    height:100px;
    color:#34374f;
    font-size:13px;
}

@media (max-width: 768px) {
    .header-inner {
        min-height: 0;
        padding: 10px 16px 12px;
        flex-wrap: wrap;
        gap: 10px 16px;
    }
    .site-title { font-size: 15px; flex:1 1 auto;}
    .top-brand-bar { font-size: 18px; }
    .top-brand-bar i { font-size: 24px; }
    .play-btn-large { font-size: 50px; }
    .lang-switch {border:0;}
    .lang-switch button {
        padding-left: 8px;
        padding-right: 8px;
        font-weight:normal;
        font-size:12px;
    }
    .fa-solid.fa-trophy {display:none;}
    .site-title {letter-spacing:0;}
    .section-title {font-size:16px;}
    .register-btn {font-size:14px;font-weight:normal;letter-spacing:0;}
    .team-names {font-size:13px;}
    .match-item {padding-top:12px;padding-bottom:12px;}
    i.fas.fa-user-circle {display:none;}
    .logo {height:32px;}
    .hero-banner-full {padding: 10px 10px 14px;}
    .hero-banner-inner {
        display: grid;
        grid-template-columns: minmax(0, 1.45fr) minmax(230px, 1fr);
        align-items: center;
        gap: 10px;
    }
    .hero-title-art {
        width: min(100%, 420px);
        max-height: 130px;
    }
    .hero-countdown {
        gap: 7px;
        min-height: 0;
        margin-top: 0;
        padding: 8px 10px;
        border-radius: 16px;
    }
    .hero-countdown-text {
        width: 100%;
        font-size: 12px;
        text-align: center;
    }
    .countdown-clock_countdownContainer {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        gap: 6px;
    }
    .countdown-clock_countdownValueContainer {
        min-height: 34px;
        padding: 4px 5px;
        gap: 3px;
    }
    .countdown-clock_countdownValue {font-size:20px;}
    .countdown-clock_countdownLabel {font-size:9px;}
    .modal-overlay {padding: 14px;}
    .modal-box.login-gate-modal {
        grid-template-columns: 1fr;
        width: min(94vw, 430px);
        border-radius: 20px;
    }
    .modal-visual {
        min-height: 190px;
    }
    .modal-preview-video {
        min-height: 190px;
    }
    .modal-visual-copy {
        font-size: 21px;
        bottom: 18px;
    }
    .login-gate-modal .modal-body {
        padding: 26px 22px 22px;
    }
    .login-gate-modal .modal-body h4 {
        font-size: 23px;
    }
}

@media (max-width: 600px) {
    .hero-banner-inner {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .hero-title-art {
        width: min(100%, 340px);
        max-height: 150px;
    }
    .hero-countdown {
        padding: 9px 12px;
        border-radius: 20px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    .hero-countdown-text {
        width: auto;
        flex: 0 0 auto;
        font-size: 11px;
        text-align: left;
    }
    .countdown-clock_countdownContainer {
        flex: 1 1 auto;
        min-width: 0;
        gap: 4px;
    }
    .countdown-clock_countdownValueContainer {
        min-height: 30px;
        padding: 3px 4px;
        border-radius: 9px;
    }
    .countdown-clock_countdownValue {font-size:18px;}
    .countdown-clock_countdownLabel {font-size:8px;}
}

@media (max-width: 430px) {
    body.lang-en .site-title {font-size:14px!important;}
    .logo {height:26px;}
    .hero-banner-full {padding: 8px 8px 12px;}
    .hero-title-art {
        width: min(100%, 320px);
        max-height: 135px;
    }
    .hero-countdown {
        padding: 7px 7px;
        gap: 5px;
    }
    .hero-countdown-text {font-size:10px;}
    .countdown-clock_countdownContainer {gap: 3px;}
    .countdown-clock_countdownValueContainer {
        min-height: 28px;
        gap: 2px;
        padding: 3px 3px;
    }
    .countdown-clock_countdownValue {font-size:16px;}
    .countdown-clock_countdownLabel {font-size:8px;}
    .modal-cta-row {
        grid-template-columns: 1fr;
    }
    .modal-benefits > span {
        font-size: 11px;
        padding: 7px 8px;
    }
    .trial-countdown {
        top: 12px;
        right: 12px;
        left: 12px;
        justify-content: center;
        gap: 6px;
        padding: 7px 9px;
        font-size: 11px;
    }
    .trial-countdown strong {
        font-size: 15px;
    }
    .video-fallback-message {
        width: calc(100% - 28px);
        bottom: 14px;
        font-size: 12px;
    }
}

/* Languages - CN (默认) */
body {font-family:'PingFang SC';}

/* Languages - EN */
body.lang-en {font-family:'Arial',sans-serif;}
body.lang-en .site-title {font-size:16px;letter-spacing:0;}




