/* Enhanced Futsal Styles - Consistent with New Theme */
.scoreboard {
    background: linear-gradient(135deg, rgba(26,26,46,0.95), rgba(15,52,96,0.95));
    color: #fff;
    padding: 2.5rem;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.scoreboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,107,53,0.1), transparent);
    animation: shimmer 3s infinite;
}

#match-status {
    background: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.3);
    animation: pulse 2s infinite;
}

.timer {
    font-size: 2.5rem;
    font-family: 'Courier New', monospace;
    color: var(--secondary-color);
    background: rgba(0,0,0,0.6);
    padding: 1rem 2rem;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 2rem;
    border: 2px solid rgba(247, 147, 30, 0.3);
    box-shadow: 0 0 20px rgba(247, 147, 30, 0.2);
    font-weight: 700;
    letter-spacing: 3px;
}

.teams-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    position: relative;
}

.teams-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255,107,53,0.2), transparent);
    border-radius: 50%;
    z-index: 0;
}

.team {
    text-align: center;
    width: 35%;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.team:hover {
    transform: scale(1.05);
}

.team-logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 3px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.team:hover .team-logo {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    transform: rotate(5deg);
}

.team-logo img {
    max-width: 100%;
    max-height: 100%;
}

.team-name {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

.score-box {
    font-size: 5.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background: rgba(0,0,0,0.6);
    padding: 1rem 2rem;
    border-radius: 20px;
    min-width: 120px;
    display: inline-block;
    border: 2px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.score-box:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.match-info {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #ccc;
}

.timer {
    font-size: 2rem;
    font-family: monospace;
    color: #ff5252; /* Red for timer */
    background: #111;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Enhanced Match Content */
.match-content {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(26,26,46,0.8);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.tabs {
    display: flex;
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
    margin-bottom: 2rem;
    background: rgba(0,0,0,0.2);
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.tab-btn {
    flex: 1;
    padding: 1.2rem;
    background: transparent;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #fff;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-bottom: 3px solid var(--secondary-color);
}

.tab-content {
    padding: 2rem;
    background: rgba(0,0,0,0.2);
    border-radius: 0 0 15px 15px;
    min-height: 300px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-row:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(5px);
}

.stat-row span {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    min-width: 50px;
    text-align: center;
}

.stat-bar {
    flex-grow: 1;
    height: 12px;
    background: rgba(255,255,255,0.1);
    margin: 0 1.5rem;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}

.stat-fill-home {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.stat-fill-away {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #FF6B35);
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(255, 23, 68, 0.5);
}

.event-log {
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(26,26,46,0.6));
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid rgba(255, 107, 53, 0.2);
    backdrop-filter: blur(10px);
}

.event-log h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.event-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.event-item:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(10px);
}

.event-time {
    color: var(--secondary-color);
    font-weight: 800;
    min-width: 60px;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(247, 147, 30, 0.5);
}

/* Bracket Styles (Simple) */
.bracket-container {
    overflow-x: auto;
    padding: 2rem;
    background: #1e1e1e;
    margin: 2rem;
    border-radius: 10px;
}
