/* 全局基础设定：极简风格，使用无衬线字体 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: #1d1d1f;
}

/* 管理员主容器/* 容器布局 */
.admin-container {
    display: block; /* Removed grid for Dashboard mode */
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 毛玻璃通用样式 */
.glass-panel, .glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* 侧边栏 */
.sidebar {
    width: 250px;
    flex-shrink: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.sidebar h2 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #111;
}

.match-list {
    flex-grow: 1;
    overflow-y: auto;
}

.match-item {
    padding: 10px 15px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.match-item:hover, .match-item.active {
    background: #0071e3;
    color: white;
}

.add-match-section {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 主工作区 */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.header-card {
    padding: 20px 30px;
}

.header-card h1 {
    margin: 0;
    font-size: 24px;
}

.form-card, .table-card {
    padding: 25px 30px;
}

.form-card h3, .table-card h3 {
    margin-top: 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* 表单与输入框 */
.odds-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.input-apple {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.input-apple:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
}

/* Apple 风格按钮 */
.btn-apple {
    background-color: #0071e3;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 113, 227, 0.3);
}

.btn-apple:hover {
    background-color: #0077ed;
    transform: translateY(-1px);
}

.btn-apple:active {
    transform: translateY(1px);
}

.btn-apple:disabled {
    background-color: #a1a1a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background-color: #e8e8ed;
    color: #1d1d1f;
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: #d1d1d6;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

/* 表格样式 */
.table-responsive {
    overflow-x: auto;
}

.apple-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.apple-table th, .apple-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.apple-table th {
    font-weight: 600;
    color: #86868b;
    background: rgba(0,0,0,0.02);
}

.apple-table tr:last-child td {
    border-bottom: none;
}

/* 动态输入表格专用样式 (极简电子表格风) */
.input-table {
    border-collapse: collapse;
}
.input-table th {
    padding: 10px 8px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}
.input-table td {
    padding: 0;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}
.input-table input, .input-table select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 8px;
    border: 2px solid transparent; 
    border-radius: 0;
    background: transparent;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
}
.input-table input:hover, .input-table select:hover {
    background: rgba(0,0,0,0.02);
}
.input-table input:focus, .input-table select:focus {
    border: 2px solid #0071e3;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
    z-index: 10;
}
.input-table .btn-delete {
    background-color: transparent;
    color: #ff3b30;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 13px;
    width: 100%;
    transition: background 0.2s;
}
.input-table .btn-delete:hover {
    background-color: rgba(255, 59, 48, 0.1);
}
.input-table tr:hover td {
    background-color: rgba(0,0,0,0.01);
}

/* 动作按钮区 */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-end;
}

/* Loading 动画 */
.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 结果卡片及 Scroll Reveal 动画 */
.result-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.reveal {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
    visibility: visible;
}

.markdown-body {
    font-size: 15px;
    line-height: 1.6;
}
.markdown-body pre {
    background: #f6f8fa;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
}

/* 选项卡系统 (Pill Tabs) */
.company-tabs-wrapper {
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 25px;
}
.company-tabs {
    display: flex;
    gap: 12px;
    background: rgba(0,0,0,0.04);
    padding: 8px;
    border-radius: 20px;
    width: max-content;
}
.company-tab {
    padding: 10px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #86868b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.company-tab:hover {
    color: #1d1d1f;
}
.company-tab.active {
    background: #fff;
    color: #1d1d1f;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}
.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 全局大屏顶部导航条 */
.top-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 30px;
    padding: 15px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.nav-tab {
    padding: 12px 30px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #86868b;
    cursor: pointer;
    transition: all 0.3s;
}
.nav-tab:hover {
    color: #1d1d1f;
}
.nav-tab.active {
    background: #0071e3;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

/* 二级导航条 (Group Stage Sub Navigation) */
.sub-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}
.sub-tab {
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #86868b;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s;
}
.sub-tab:hover {
    color: #1d1d1f;
    background: rgba(255,255,255,0.8);
}
.sub-tab.active {
    background: #1d1d1f;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* 详情页 Tabs */
.detail-nav-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}
.detail-sub-tab {
    padding: 10px 25px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #86868b;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.detail-sub-tab:hover {
    color: #1d1d1f;
}
.detail-sub-tab.active {
    background: #fff;
    color: #0071e3;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.1);
}

/* 悬浮分析按钮 */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #0071e3, #41a1ff);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0,113,227,0.3);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.floating-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 25px rgba(0,113,227,0.4);
}
.floating-btn:disabled {
    background: #a1a1a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 淘汰赛赛事网格 */
.knockout-matches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1200px) {
    .knockout-matches-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .knockout-matches-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .knockout-matches-grid { grid-template-columns: 1fr; }
}

/* 全局对阵图 (Bracket Tree) */
.bracket-tree-container {
    overflow: auto; /* 允许滚动，防止截断 */
    width: 100%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0; /* 上下留空间 */
}

.bracket-wrapper {
    display: flex;
    width: 100%;
    max-width: 1750px;
    height: 1050px; /* 增加高度，避免卡片上下超出截断 */
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}

.bracket-half {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: stretch;
    max-width: 700px;
}

.bracket-half.left-half {
    flex-direction: row;
}

.bracket-half.right-half {
    flex-direction: row-reverse;
}

.bracket-tier {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    flex: 1;
    min-width: 110px;
}

.bracket-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 0 40px;
    width: 120px;
    flex-shrink: 0;
}

.bracket-node {
    width: 140px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 2;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.bracket-node:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,113,227,0.15);
    border-color: #0071e3;
}

.bracket-node .match-stage-label {
    font-size: 11px;
    color: #86868b;
    margin-bottom: 5px;
    font-weight: 600;
}

.bracket-node .team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 0;
}

.bracket-node .team-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75px;
    text-align: left;
}

.bracket-node .team-score {
    font-weight: 700;
    color: #0071e3;
    min-width: 15px;
    text-align: right;
}

.bracket-input {
    width: 30px;
    height: 20px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: #af52de;
    background: #fff;
    outline: none;
    -moz-appearance: textfield;
}
.bracket-input::-webkit-outer-spin-button,
.bracket-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.bracket-input:focus {
    border-color: #af52de;
    box-shadow: 0 0 5px rgba(175, 82, 222, 0.5);
}

/* 模式切换 (官方/沙盘) */
.mode-toggle {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    background: rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 4px;
}
.mode-btn {
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #86868b;
    border: none;
    background: transparent;
    transition: all 0.3s;
}
.mode-btn.active.official {
    background: #fff;
    color: #34c759;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.mode-btn.active.sandbox {
    background: #fff;
    color: #af52de;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 赛事网格 (Matches Grid) */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.match-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
}
.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #0071e3;
}
.match-card .group-badge {
    font-size: 12px;
    background: rgba(0, 113, 227, 0.1);
    color: #0071e3;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
}
.match-card .teams {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0;
    text-align: center;
}
.match-card .info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #86868b;
}
.match-card .score-badge {
    background: #34c759;
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: bold;
}

/* 赛事大厅 - 全景画幅 (Grand Dashboard) */
.grand-dashboard {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 小组赛面板 */
.groups-panel {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.groups-accordion {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .groups-accordion {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .groups-accordion {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .groups-accordion {
        grid-template-columns: 1fr;
    }
}

.group-section {
    margin-bottom: 15px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.group-header {
    background: #f6f8fa;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}
.group-header:hover {
    background: #e9ecef;
}
.group-matches {
    padding: 10px;
    display: block; /* Always expanded */
}

.mini-match-card {
    background: #f9f9f9;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}
.mini-match-card:hover {
    border-color: #0071e3;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,113,227,0.1);
}
.group-matches .mini-match-card:last-child {
    margin-bottom: 0;
}
.mini-match-time {
    font-size: 11px;
    color: #86868b;
    text-align: center;
    margin-bottom: 6px;
}
.mini-match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}
.mini-match-teams > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 淘汰赛全景面板 */
.bracket-panel {
    flex: 1;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    overflow: auto; /* Both X and Y */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* 淘汰赛全景面板的连线与多余列布局已由 SVG 和新型 flexbox 替代 */

/* 结算赛果输入区 */
.score-input-section {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(52, 199, 89, 0.05);
    border: 1px solid rgba(52, 199, 89, 0.2);
    padding: 15px 20px;
    border-radius: 16px;
    margin-bottom: 25px;
}
.score-input-section input {
    width: 60px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

/* 积分榜与树状图的基础占位 (大气、通透的玻璃拟物网格) */
.standings-container {
    display: grid;
    /* 强制在一行显示 4 个组，避免变成一长条 */
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 20px 0;
}

@media (max-width: 1300px) {
    .standings-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .standings-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .standings-container {
        grid-template-columns: 1fr;
    }
}

.group-table {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.group-table:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 113, 227, 0.12);
    border-color: rgba(0, 113, 227, 0.3);
}

.group-header-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #0071e3 0%, #34c759 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.group-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px; /* 增加行间距，更显大气 */
    font-size: 14px;
}

.group-table th {
    padding: 10px 8px;
    text-align: center;
    color: #86868b;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.group-table th:nth-child(2) {
    text-align: left;
}

.group-table td {
    padding: 12px 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(0,0,0,0.02);
    border-bottom: 1px solid rgba(0,0,0,0.02);
    transition: background 0.3s;
}

.group-table td:first-child {
    border-left: 1px solid rgba(0,0,0,0.02);
    border-radius: 12px 0 0 12px;
    font-weight: 600;
    color: #86868b;
}

.group-table td:last-child {
    border-right: 1px solid rgba(0,0,0,0.02);
    border-radius: 0 12px 12px 0;
    font-size: 16px;
}

.group-table td:nth-child(2) {
    text-align: left;
    font-weight: 700;
    color: #1d1d1f;
    font-size: 15px;
}

.group-table tr:hover td {
    background: #fff;
}

/* 直接晋级 (前两名) 的发光效果与左侧高亮 */
.group-table tr.adv-direct td {
    background: linear-gradient(90deg, rgba(52,199,89,0.08) 0%, rgba(255,255,255,0.9) 80%);
    border-color: rgba(52,199,89,0.15);
}
.group-table tr.adv-direct td:first-child {
    border-left: 4px solid #34c759;
    color: #34c759;
}
.group-table tr.adv-direct:hover td {
    background: linear-gradient(90deg, rgba(52,199,89,0.15) 0%, #fff 80%);
}

/* 潜在晋级 (成绩最好的小组第三) 的发光效果 */
.group-table tr.adv-third td {
    background: linear-gradient(90deg, rgba(0,113,227,0.08) 0%, rgba(255,255,255,0.9) 80%);
    border-color: rgba(0,113,227,0.15);
}
.group-table tr.adv-third td:first-child {
    border-left: 4px solid #0071e3;
    color: #0071e3;
}
.group-table tr.adv-third:hover td {
    background: linear-gradient(90deg, rgba(0,113,227,0.15) 0%, #fff 80%);
}

/* 焦点赛事卡片区域 */
.upcoming-matches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .upcoming-matches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .upcoming-matches-grid {
        grid-template-columns: 1fr;
    }
}

.upcoming-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.upcoming-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #ff9500, #ff2d55);
}

.upcoming-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 45, 85, 0.15);
}

.upcoming-time {
    font-size: 13px;
    color: #ff2d55;
    font-weight: 600;
    margin-bottom: 15px;
    background: rgba(255, 45, 85, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.upcoming-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
}

.upcoming-team-name {
    flex: 1;
    text-align: center;
}

.upcoming-vs {
    font-size: 14px;
    color: #86868b;
    margin: 0 10px;
    font-weight: 500;
}
